We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word merging


is there a way to merge documents with different headers, footers and page numbering retained? The code below causes that the headers, footers and page numbers are inherited from the first document.

document.appendDocument(doc, ImportFormatMode.USE_DESTINATION_STYLES);

Thanks in advance for any help.

Hi Mariusz,

Thanks for your inquiry. Please refer to the following section of documentation.

Controlling How Header and Footers Appear
Controlling How Page Numbering is Handled

Hope, this helps.

Best regards,