Forum


Replies: 2   Views: 3387
Merging docx files - page numbering
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 rjonge  · 11-04-2013 - 12:13

I see more format of the original docx file is lost when i use the addDOCX() method.

If I have got 3 docx files with each other marging top values.
doc1: marging-top = 4 cm
doc2: marging-top = 10 cm
doc3: marging-top = 16 cm

with the addDOCX function i combine these three
$docx = new CreateDocx();
$docx->addDOCX('doc1.docx');
$docx->addDOCX('doc2.docx');
$docx->addDOCX('doc3.docx');
$docx->createDocx('batch');

The batch.docx file has indead 3 pages but all the pages will start at the top of the page. (the original margins are lost)