Using PRO+, i merge 2 one page documents with forced page break between them; works fine.
If I merge that newly created document with another one page document, the page break between the first 2 pages disappears!
require_once '../libraries/PHPDocX/classes/DocxUtilities.inc';
$newDocx = new DocxUtilities();
$options = array('mergeType' => 1, 'enforceSectionPageBreak' => true, 'numbering' => 'restart');
$newDocx->mergeDocx('LSBRPNotice.docx', 'WageReqts.docx', 'merged.docx', $options);
$newDocx->mergeDocx('CoverPage.docx', 'merged.docx', 'merged2.docx', $options);
Is there something I need to do to preserve the pagination? I plan on merging a large number of document sections from separate word docx files to generate custom documents based upon selection of pages from a library.
Thanks
Colin