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.
Hello,
The method addTableContents doesn't support WordFragment class in the current version of phpdocx. Could not you add the TOC in the template with Word before using it with phpdocx?
Regards.