Forum


Replies: 3   Views: 2073
Get contents (with info of style)
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  · 25-01-2019 - 08:28

Hello,

Adding custom tags or attributes to a DOCX will return a corrupted DOCX. The best approach to accomplish that task is getting DOCX contents using getDocxPathQueryInfo and query the style file. A heading content has always a w:outlineLvl tag in the w:pPr tag in the document content or in the style file.

The next release of phpdocx will include a new method to query styles.

Regards.