100,000 total downloads and counting, thank you for your support!

Word Content Control Toolkit

This toolkit makes binding content controls to XML data in your Word document as easy as a drag and drop.

Details
  • This is a stand-alone, light-weight tool that opens any Word Open XML document (eg .docx) and lists all of the content controls inside of it.
  • The XML parts are also displayed, and a mapping between the content controls and the XML nodes can be accomplished by simply selecting the node and dropping it on the content control you wish to map to.
  • The editor allows you to also edit/add/remove Custom XML parts and manipulate content control properties.
  • The tool does not require Word to be installed because it operates directly on the new Open XML file formats by reading and writing to them using the System.IO.Packaging library available in .NET.
    • The code to do this is included in the releases and can be used as a handy resource on how to perform complex manipulations of the format.
Learning More Tutorials
  • Andrew Coates has posted a great tutorial using the Content Control Toolkit to bind a document to XML from scratch. View this tutorial here
  • Writing macro code to validate your content controls? Download this tutorial to learn how to use the lesser known, yet powerful schema validation feature of content controls that comes with it's very own UI!
The toolkit in action

bind.png

--Matt Scott

Last edited Apr 26 at 2:33 AM by mrscott, version 42