Hello.
We encountered an issue when creating PDF document from merging several Word documents.
After conversion generated pdf has different style (numbered list) in the tables of the 1st document
whereas bulleted list is expected, the style is “B3_ Bullet L1 (BODY STYLES)”.
Interestingly, merging the same documents into Word document produced proper result.
It can be observed starting from page 4 of 28 of generated PDF. Note that merged Word document contains bullet list as expected.
Attached is the zip archive TestBulletStylesMergeWordToPDF.zip (929.5 KB) containing the following:
- 000910 Document1.docx; 000920 Document2.docx; 000930 Document3.docx ; 000970 Document7.docx - input Word documents ;
- 24_1_Output_910_920_930_970.pdf and
- 24_1_Output_910_920_930_970.doc - merged and saved to PDF and DOCX output formats (used Aspose.Word for Java version 24.1);
- TestBulletStylesMergeWordToPDF.java - small test program illustrating the issue;
- WordToPdf_expected_actual.png - screenshot comparing expected PDF page (on the left) versus actual (on the right).
Environment Details:
- Aspose Words for Java 24.1 (the same result produced under latest version 24.6)
- Java version 1.8.0_411
- Windows 11 Pro OS (also reproducible under Linux7).
Please let us know if some workaround can be applied to resolve this issue.
Thank you.
TestBulletStylesMergeWordToPDF.zip (929.5 KB)