Forum


Replies: 8   Views: 4027
Importstyles issues
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  · 19-11-2015 - 10:32

Hello,

You need to use the importStyles method to import styles and use them. The method parseStyles is only to generate a DOCX with a preview of the existing styles and know which name and id they have and be able to use them.

Please run and check the included examples in the package to know how to use them, and also read the API methods (http://www.phpdocx.com/documentation/api-documentation) They explain how to use the methods and the available options.

Regards.