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:

    0_1615365845722_upload-34b15c38-5939-4cc1-8857-de6a5e87f1f4

    My data and result till now looks like this:

    0_1615365924858_upload-8e3aef55-c06c-4967-8da7-46d58b8db627

    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?


  • administrators

    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


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.