Exploring Tables-of-Contents in Open XML WordprocessingML Documents (Part 3)
Return to the
WordprocessingML Screen-Cast
Series
In the first screen-cast in this series, I examined the markup for tables-of-contents in WordprocessingML documents. In the second screen-cast, I presented a bit of code that showed how to insert a non-updated TOC into a document, and to set the
I’ve attached the code to this post.
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. |
Example – Download Code