Create Table of Contents?

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

  • Posted 17 November 2019, 9:17 pm EST

    Hello,

    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

    Alan

  • Marked as Answer

    Replied 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.

    Regards,
    Ruchir
Need extra support?

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

Learn More

Forum Channels