Forum


Replies: 3   Views: 1110
Merge docx
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  · 18-10-2021 - 13:20

Hello,

The mergeDocx method doesn't include an option to remove specific headers/footers (only to keep or not the sections to be merged).

You can remove headers/footers before merging the documents. You can use removeHeaders/removeFooters to remove headers and footers, or DOCXPath (removeWordContent) to remove specific contents in a DOCX.

Regards.