Forum


Replies: 6   Views: 2346
Multimerge mergedocx and total page numbers
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 kobbe  · 20-02-2020 - 06:10

I create two docx files using CreateDocxFromTemplate. They both have page numbering in footer so one shows "1 / 3 pages", the other one show "1 / 2 pages".

I then use MultiMerge mergeDocx using option ['numbering' => 'restart'].

The end result of page numbers becomes this:
1 / 5
2 / 5
3 / 5
1 / 5
2 / 5

The result I would want is this:
1 / 3
2 / 3
3 / 3
1 / 2
2 / 2

Is there any way to fix this?