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,
To avoid adding headers of the first document to be merged, you need to replace or remove them.
To do this you can use the importHeadersAndFooters method using a DOCX with empty headers and footers.
Other approach is to make public this method:
private function removeHeadersAndFooters()
in the CreateDocx.inc, that removes both contents.
Regards.