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

Free Support Forum - aspose.com

Bullets being supressed in the document

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.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

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

Hi

Thank you for reporting this problem to us and for the additional information. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is fixed.

As a workaround you can try open/save LAS.docx using MS Word. After open/save the problem does not occur.

Best regards,