Hello,
The recommended method to merge docx is the MultiMerge class:
http://www.phpdocx.com/api-documentation/docxutilities/merge-Word-documents-with-PHP
The addExternalMethod uses altChunk tags and doesn't preserve most of the styles of the document.
Please try this code:
require_once 'classes/MultiMerge.inc';
$merge = new MultiMerge();
$merge->mergeDocx(
'file1.docx',
array('file2.docx'),
'output.docx',
array(
'mergeType' => 0,
'numbering' => 'restart',
'forceLatestStyles' => true,
)
);
If you still have issues please send to contact[at]phpdocx.com the documents you're trying to merge to check them.
Regards.