How to: update table of contents docx
I would like to update the table of contents (TOC) after creating the Word-document.
My Word template and result till now looks like this:
My data and result till now looks like this:
Manually refressing (Ctrl A, F9) after opening the document in Word works but I want to do it automaticaIy. I tried to handle the update from the options menu within Word but didn't succeed. Has anyone figured out how it can be done?
hi! i did not find some way to make it auto-update on open, it seems it always required to manual update the table of contents.
the only way to make it work will be to generate the TOC programmatically also, but that will probably be complex, i'm opening an issue to evaluate this in the future