My question is: Is this possible?
I have an existing template file, which already contains a table of contents. However, each time to the document is created by PHPDocX, the table of contents remains the same. Is there some way that I can either:
a) Automatically update the existing table of contents after document creation?, or.
b) Add a table of contents to the document?