Forum


Replies: 3   Views: 3605
Adding a table of contents to a template
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 jorgelj  · 25-04-2013 - 09:18

Hello,



TOC content is created by Word after you open a document because it's dynamic. If you use a Windows server you could run transformDocxUsingMSWord method that uses COM functions.



Or you could create a custom TOC using tables or lists. It won't be a real TOC but something similar.



Regards.