Forum


Replies: 1   Views: 1672
Use transformdocadvhtml and transformdocadvhtmlplugin to omit elements
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  · 06-03-2019 - 12:45

Hello,

There's no option to avoid transforming specific content types, only section tags can be omited.

You can remove contents such as comments from the main body using DOCXPath (https://www.phpdocx.com/api-documentation/docx-path/remove-elements-in-docx) before transforming the content.

We have moved the request to dev team to add support in the next release of phpdocx.

Regards.