views:

207

answers:

1

In Word 2007, you can right-click on a table of contents area and tell it to update its page numbers to point to wherever the current page of that link is. I'd like to do this programmatically, without COM, with the DocumentFormat.OpenXml assemblies. I'm having some troubles Googling it due to the nature of the phrase "table of contents," and can't find much in the namespace to work off of.

Is this possible with those assemblies?

+3  A: 

See this thread on OpenXML Developer:

How to update Word (.docx) TOC?

GalacticJello