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

Free Support Forum - aspose.com

List numbers are lost after DOCX to PDF conversion using Java

Good day!
There was a problem when saving a WORD document to a PDF document using Aspose.Words for Java.
If an element of the STRAIGHT_CONNECTOR_1 type is present in a WORD document opposite the first item of a numbered list (see 4.1 and 5.1 in Document.zip (43.8 KB)
), then after saving to PDF numbers 4.1 and 5.1 disappear (see Document.pdf (25.6 KB)
).
Code for java:

PdfLoadOptions pdfLoadOptions3 = new PdfLoadOptions();
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
Document doc4 = new Document(dataDir1 + “Document.docx”);
doc4.save(dataDir1+“Document.pdf”);

Please help us to deal with this problem. Maybe we need to enable a specific property when saving to PDF to correctly save numbered lists?

@beralex

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-20916 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@tahir.manzoor, good day!
Are there any progress in solving our problem? Can you orientate me on the date of the future release of the fix?

@beralex

Please note that we work on issues on first come, first served basis. We feel this is the fairest and most appropriate way to satisfy the needs of the majority of our customers.

Unfortunately, there is no update available on this issue at the moment. However, we will be sure to inform you via this forum thread once this issue is resolved.