Second Screen-Cast in Series on Adding / Updating Tables of Contents in Open XML WordprocessingML Documents
I’ve just published the second screen-cast in this series on updating the TOC of a WordprocessingML document. In the first screen-cast, I explored the markup around TOCs. In this second screen-cast, I discuss the markup a bit more, and then introduce some code that makes it easy to add a TOC to a document. This code will become part of the PowerTools for Open XML project.
As part of the definition of each TOC, you specify a set of switches that Word uses as instructions on how to construct the TOC. This screen-cast discusses the TOC switches, and shows how to find out more about them from the text of the Open XML standard.
You can find the code that I discuss in this video on OpenXMLDeveloper.org.
Now, back to editing the third screen-cast in this series. Looks as though there are going to be four.
Here is the complete list of screen-casts in this series.
Link |
Summary |
Explains the markup of tables-of-contents. TOCs use field markup. |
|
Presents some sample code that shows how to insert TOC markup into a document. |
|
Shows how to use Word Automation to update the TOC. |
|
Shows how to use Word Automation Services to update the TOC. |
|
Shows how to use an AutoOpen macro to update the TOC whenever any document that contains a TOC is opened. |
-Eric
mandar said,
November 17, 2011 @ 9:42 am
I am looking for tutorial on open xml for my upcoming project.
Landed on your blog while looking for quickstart, but found screen cast links are broken.
Pls update this,it will be helpful to any more like me.
Eric White said,
November 17, 2011 @ 7:10 pm
Hi, thanks for the info on broken links. I’ve fixed them. You can find these screen-casts, along with many more on Open XML development over at OpenXmlDeveloper.org.
-Eric