Forum


Replies: 1   Views: 3666
Updating table contents in 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 rutenioh  · 03-03-2015 - 15:17

Hello, I'm using a template which has a Table of Contents after the title of the document. I want to update it when I finish the creation but I don`t know how. I see that it exists a addTableContents method, and it updates my own TOC but it creates another one at the end of the document. Is there any way to do only the update? Thanks.