Forum


Replies: 6   Views: 1877
Toc never generated after merge
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 FinCalc  · 11-05-2020 - 10:45

Thank you for the fast response however we have tried the following code which takes the final output document with TOC but which does not get updated : 

 $phpdocx->transformDocument($_SERVER['DOCUMENT_ROOT'] . '/pdf/output.docx', $_SERVER['DOCUMENT_ROOT'] . '/pdf/output.docx', null, array('toc' => true));

 

Any help appreciated.