We use the library aspose.words.java to transform a .docx document obtained by running a Jasper Report and using the AWDocxExporter exporter from aspose.words.jasperreports_2.3.0.
This processing worked fine with aspose.words.java_15.2.0 and delivers wrong rendering for word lists with all newer versions (15.3.0 – 15.6.0).
The issue can be reproduced using the attached files:
- Copy the files AsposeListIssueInputOk.docx and AsposeListIssueInputNotOk.docx to c:\temp
- Run the java class AsposeListIssueTest.java
- Check the obtained files C:\temp\AsposeListIssueOutputOk.docx and C:\temp\AsposeListIssueOutputNotOk.docx. These files should be identical.
The file “AsposeListIssueInputOk.docx” was created by editing a new Word document; the obtained result is correct.
The file “AsposeListIssueInputNotOk.docx” has the same content, but was generated by running a Jasper Report; the obtained result is not correct (wrong indentation in word lists).
Many thanks for your help.