Hi Steve,
Thank you for your interest in Syncfusion products.
On analyzing your docx format document, we found that
the TOC filed preserved inside a StructureDocumentTag entity instead of with in
a paragraph. Currently DocIO only provides only preservation support for StructureDocumentTag
entity, so that it is not possible to loop through this entity to get TOC. As a
workaround for this problem please try to resave the document by some other
version of MS word or use DocIO, to preserve TOC with in a paragraph. For your reference
please find the resaved document with TOC preserved inside a paragraph from the
following link
Resaved Document:
http://www.syncfusion.com/downloads/Support/DirectTrac/96973/toc%20test-resaved-1222843957.zip
Please let us know if you have any other questions
Regards
Ramkumar
Hi Steve,
Thanks for your update.
We have resaved your Doc format
document ( toc test.doc ) as Docx document using DocIO ,but not the Docx
format( toc test.docx ). If you resave your docx formatted document the TOC
field will not preserve inside the paragraph instead of that it will remains as
it in StructureDocumentTag (Content control) .
Please let us know if you have
any question.
Regards
Ramkumar