Hello,
I’m facing a problem with the table of content. I made a simple scenario (in the zip file).
I load a word template, I insert html, I call the updateField method. In the end, when the table of content is more than one page long, the page number is wrong.
What’s funny is, when I right clic + update fields with microsoft word (or libreOffice Writer) the page number is well setted…
In my zip, you will find the result.docx with the wrong TOC. (I haven’t added the Aspose licence file)
TOC.zip (161.6 KB)