Forum


Replies: 5   Views: 3097
Generating toc using templates and embedhtml
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 30-10-2017 - 10:35

Hello,

You can include contents in the TOC using heading tags or custom MS Word styles, but embedHTML can't generate a TOC. We recommend you to use the addTableContents method or add the TOC into the template.

Regards.