Create Table of Contents?

Posted by: alan.selby on 17 November 2019, 9:17 pm EST

    • Post Options:
    • Link

    Posted 17 November 2019, 9:17 pm EST


    I’m struggling to either update an existing TOC from a loaded template file, or insert a new TOC into a GcWordDocument object.

    As I understand it, a TOC is a complex field. I have been able to implement simple fields such as Dates, but not complex fields. Does anyone have any example code for the insertion of a TOC?

    Many thanks


  • Posted 20 November 2019, 3:20 pm EST

    Hi Alan,

    To implement complex fields in GcWordDocument, I would suggest you refer the following links:

    These links contain code for adding, modifying and deleting complex fields in GcWordDocument.



Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels