Forum


Replies: 4   Views: 3442
Mergedocx loses headers and footers
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 coconnor  · 13-12-2016 - 19:24

Hello,

Using the Professional edition, and I'm not seeing mergeDocx work as described on the site. Here's what I'm doing: 

First, I create multiple Word documents based on existing templates. When I open these documents after they've been created, I clearly see the appropriate headers & footers. Good so far.

After the documents have been successfully created, I run mergeDocx in order to consolidate them into one document, with mergeType set to 0. Per the documentation, I expect the result to be a document which keeps the headers/footers of each document that's been merged. Instead, what I'm seeing at the end of this process is a document where ALL headers and footers have completely disappeared.

Is there something I can do during this merge process in order to keep each documents' headers and footers?