Binding Data to Word 2007 Controls Using Visual Studio Tools for the Office System (3.0)

I found this article - Binding Data to Word 2007 Content Controls with Visual Studio Tools for the Office System (3.0) - and thought this is exactly what I am trying to do. I want to programmatically create a product brochure using Content Controls and Open XML.

The article in question is about the accompanying video, which, unfortunately, does not appear to be available, as well as the code.

I posted a comment to ask where they are, but so far does anyone know of a good example. There are many examples of linking / combining a single record into an Open XML Word document. But I want to link the entire list of entries to create a product brochure.

Can anyone point me to a good tutorial?

+2


a source to share


1 answer


This is probably one of the best articles I've seen on this subject from Eric White: Creating Content Controls Using the Open XML SDK and LINQ to XML .

Also, to get familiar with how Content Controls work in WordprocessingML, you might want to play around with the plain text Word Content Control Toolkit .



For a relay type scenario for entering chunks of data, there is a sample product catalog on how to do this in PowerPoint at Add duplicate data to PowerPoint . Concepts can be carried over to Word and Content Controls. (This original was done with tables transferred to Word by Pushing data from database into Word document )

+2


a source







All Articles