-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Hello Team,
I am generating docx using template. I am dynamically updating few tables in template. So on each scenario table content may be short or long so total page numbers will differ on each document that gets created.
And list of headings(TOC items) remain always same, but their content will vary dynamically.
Now what is happening is when click one heading in TOC, it takes me to right position. But the page number in TOC is not matching with actual page number of that.
Note: addTOC function helps to add new TOC item. I am looking something like updateTOC to update the existing TOC items in TEMPLATE based on dynamic content i write.
So i am looking for help to "Update the page numbers" at just before end of document created.
Thanks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.