Forum


Replies: 2   Views: 3423
Mergedocx() does not merge the way it should
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 darren77  · 21-02-2013 - 12:09

I am trying to merge a document made of multiple sections.

Each section should start on a new page

Each section is set to "New page" in the page layout settings of the word document

mergeType is set to '1' in the merge option

The layout of the merged document is broken: each new section is added right after the other (in "continuos" mode), I get a numbered bullet list per each section (why?) and the tables I have in my document are split randomly...

I can pm you a couple of sections to have a look, the merged document (wrong) and merged document tweaked to show you how it should look like.

Thanks

Posted by darren77  · 11-04-2013 - 12:13

All solved,

I got confused by the mergeType 0 and 1

I was using them the other way round