Duncan Lawler - Virtual Earth 3D: What. How. Why.

In this video we talk with Matthew Scott, a developer on the Word team who takes us through the design and development of the Word 2007 Content Control Toolkit, an application that natively reads and writes Word documents saved in the Open XML file format. This application has been released to the developer community on Codeplex as an open source project, with full C# source code.
The content control tookit is a real-world example of working with the new Office Open XML file formats via the new System.IO.Packaging API in the .NET 3.0 framework. It’s also a very handy tool for developers, providing the ability
to map content controls to custom XML nodes through a simple drag&drop interface. Matt explains the architecture of the tool, shows how to use it, and then goes through some of the source code to demonstrate various best practices for Open XML
Links:
Project homepage
Open XML Developer Group
Brian Jones’s blog
Word team blog
Very nice. Working with openxml directly will make me a happy man. Its great to also get a hold of some real code to work with openxml.
nbradshaw wrote:Good and clear presentation!.
Only thing is I couldn't quite grasp the url for the open source tool for opening up docx files
how do we bind images to image content control through customXml ?
Matthew, Thank you for the post. It's really helpful and this is powerful technology. The data in your example is a single item, I'm finding it very difficult to find documentation to see exactly how a customxml doc can be dropped into the package that has varying numbers of child elements (e.g. perhaps <order><item1>...<item2>.. etc ) that could display as a single row in a table that is expanded or in say their own unique table.. any thoughts on where I might go to find an example of this? Thank for all your help!!
Jeremy
How does Microsoft's decision to remove Custom XML affect this method of document injection? I have a working solution very popular with my customers based on the ideas presented in this post and others. I do not know what my options are now that Custom XML is to be removed? I would imagine that Content Controls are here to stay... the question is "what can I bind them to if not Custom XML"?
Hi Wadebee, Custom XML Parts will not be removed. So your solution might be safe. Here's more information:
Hi Jeremy
Unfortunately there is no support for bound repeating tables.
Thanks
Matt
Hi Pdlevine
Yes, try this SDK:
Thanks
Matt
What a wonderful presentation! As a lowly end user interested in making Word keep track of data and make use of data, I really appreciated the chance to listen in on the behind-the-scenes beauty of separating the form from the content. Really clear, really helpful. Just thought you should know that even end users appreciate your work.
I'd really like to use the word content control toolkit for Word 2010. I'm not a programmer, and I don't understand how to install it based on the Archived package at dbe on Codeplex. Can anyone provide me a simple how-to? I see a whole lot of Visual studio files that I'm not familiar with organizing/compiling to a running program.
Hallo,
I have the same request as Toby.
I need the Word content control toolkit to insert in a safe mode metadata information into a Word XML document. How is it possible to create an installer?
Same question from me...
Hi,
Just had to use the Word Content Control Toolkit 2007 and it does not load the controls or schema anymore.
What is the reason for this - can I fix this somehow?