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,
You could:
· Use the method addHeading to add a new heading
· Import the existing styles in a DOCX with importStyles
· Get the ID of your styles with the method parseStyles, and use it with the pStyle parameter of addText
· Use the headingLevel parameter of addText to set the heading level
Regards.