Forum


Replies: 7   Views: 4772
Create toc when use a 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 Sven May  · 12-02-2015 - 09:37

Hello Admin! Thank you for your help! I think I can resolve what I want :) Could you help me or tell me how can I get any information about Word stlye. Exxample: I create my tamplate, use Phpdocx addText() function and want to add Word stlye like Heading 1 to be able refresh my TOC. Up to now I did not find a name of the style what I can use in my Php code. $docx->addText('My Maintitle text', array('pStyle'=>?????????)); Thanks!