After document comparing the indents of a numbered list are disappeared. original (2.2 KB) edited.png (7.5 KB) compared.png (6.5 KB)
Test code:
License license = new License(); license.setLicense(ListCompareBug.class.getClassLoader().getResourceAsStream("Aspose.Words.lic")); Document original = new Document(new FileInputStream("./original_document.docx")); Document edited = new Document(new FileInputStream("./edited_document.docx")); original.compare(edited, "John Doe", new Date()); original.save("compared_document.docx", SaveFormat.DOCX);
Thanks for your inquiry. Please ZIP and attach your input Word documents here for testing. We will investigate the issue on our side and provide you more information.
Thanks for your inquiry. We have tested the scenario using the latest version of Aspose.Words for Java 18.12 and have not found the shared issue. So, please use Aspose.Words for Java 18.12.
We have noticed that the space between list number and its text is increased in output document. Please check the attached image for detail. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17971. You will be notified via this forum thread once this issue is resolved.
It looks like Microsoft Word and LibreOffice render the document differently. Actually it doesn’t depend on a version of Aspose.
But we still have an issue because after comparing we convert the document to HTML. And the numbered list isn’t converted correctly. Screenshot from 2018-12-25 10-25-34.png (4.2 KB)
I’ve attached a new snippet. wrongListIndentAfterComparingAndConvertingToHtml.zip (17.6 KB)
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-17972. You will be notified via this forum thread once this issue is resolved.
The issues you have found earlier (filed as WORDSNET-17971) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.raza