Hi,
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.
doc.getFirstSection().getPageSetup().setSectionStart(SectionStart.NEW_PAGE);
document.appendDocument(doc, ImportFormatMode.USE_DESTINATION_STYLES);
Thanks in advance for any help.
Mariusz