Forum


Replies: 5   Views: 3515
Titles are not working
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  · 11-04-2013 - 12:13

Titles are not naturally assigned in Word to the TOC. We know that sounds weird but it is the way Word handles them by default.
If you want to generate a Heading you should use the styles for that that you may get from parse styles method and that you have already correctly identified as Heading 1 PHPDOCX, Heading 2 PHPDOCX, etcetera...