At the end of October 2008 I delivered an introductory presentation about the Open XML file formats and how we might use them from within C#, i.e. programmatically. Part of that presentation demonstrated the use of Word 2007 content controls and whilst it was the primary demonstration of the evening, it was one that prompted the most discussion. To that end, I have recorded an improved version of that demonstration, you can watch it here!
During this demonstration, I was using Visual Studio 2008 SP1, the Open XML SDK 2 CTP 1 and the Word 2007 Content Control Tookit.
I would recommend viewing this full-screen, double click on the video below to “go full-screen”. Pressing Escape cancels full-screen mode.
I recorded this screencast in one sitting, however during playback I noticed a minor issue with drag’n’drop inside the Word Content Control Toolkit. It wasn’t a show-stopper, however I decided to record the offending piece a second time – you may notice a slight change in background noise during that transition.
If you have any problems viewing the video below, please let me know.
Word 2007 Content Controls – demo from Craig Murphy on Vimeo.
Need the C# source code? Here you go: get the source.
Technorati Tags: Open XML, Word 2007, Content Controls
[…] History 04/11/2008 – I’ve updated the demo code to include the code used in my screencast demonstrating Word 2007 Content Controls. […]
Great web cast. Gave me a great head start to what I wanted to know about custom XML and web controls. Would have been nice to see how to bind to some of the other content control especially the drop-down list.
@Andrew – thanks! Good point, something for me to do in another web cast!
[…] You can find some demo C# code and a short video demonstrating Open XML over at my blog: http://www.craigmurphy.com/blog/?p=913 http://www.craigmurphy.com/blog/?p=871 HTH Rgs –Craig « […]
[…] I have updated the demos to use the Open XML SDK 2 RTM and have provided a more advanced example of the Content Controls demo. Remember, you can view the original Content Control demo here. […]