Hi,
We’re generating DOCX reports programmatically (using Go to build the WordprocessingML XML) and then passing them through Aspose.Words for Python to resolve field codes. The TOC uses PAGEREF fields referencing bookm…...referencing a bookmark on the section heading: <!-- TOC entry -->...</w:pPr> <w:hyperlink w:anchor="_section_0"> <w:r><w:rPr><w:color w...