Posted By: Rory | Nov 7th, 2006 @ 1:19 PM | 58,831 Views | 12 Comments

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

Media Downloads:
Rating:
0
0
Hi Matthew,

Do you have a good source for docx parsing?  I need chunk up sections between "Headers" and upload them to a SharePoint site.  Do you have anything I can use/reference for this?  I need to be able to parse out the formatting/Images associated with each Header section.  Thanks,
PL

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

Microsoft Communities