Hi
We combine 3 different documents(FP.docx,UM.docx,LAS.docx) into a single docx using Aspose. In the generated docx, we see bullets being suppressed in page#15 /last page of “891053_Pilot.docx” though the input document(LAS.docx) contains them.
Here is the code snippet we use to create document.
ByteArrayInputStream fpByteStream = null;
fpByteStream = new ByteArrayInputStream(byteArray);
doc = new Document(fpByteStream);
After that, we merge the documents using
Document FP, Document LAS, Document UM;
LAS.getFirstSection().getPageSetup().setSectionStart(SectionStart.NEW_PAGE);
// Link the headers and footers in the source document to the previous section.
// This will override any headers or footers already found in the source document
UM.getFirstSection().getPageSetup().setDifferentFirstPageHeaderFooter(false);
LAS.getFirstSection().getHeadersFooters().linkToPrevious(true);
Document finalDoc = FP.appendDocument(LAS, ImportFormatMode.KEEP_SOURCE_FORMATTING);
Please find the LAS docx created before(LAS_before_merging.docx) and after(LAS_after_merging.docx) calling the merge ,method. We see that bullets are suppressed after merge.
regards
Hari