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…...resolution code: import aspose.words as aw doc = aw.Document(file_stream)...produces correct page numbers The document uses Times New Roman 12pt...