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

Free Support Forum - aspose.com

Compare Word DOCX Documents with Lists using Java | Retain Text Position in Paragraphs

There are problem with compare list http://joxi.ru/823nnxlS9e798m
in ms office result http://joxi.ru/8An55oRTzLdzN2

Document doc = new Document("..\\source.docx");
Document doc2 = new Document("..\\changes.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "3", new Date());
doc.updateListLabels();
doc.save("...\\output.docx");

In attach you see example docx for reproduce test.zip (33.6 KB)

@vhostt,

For the sake of any corrections in Aspose.Words’ API, we have logged this problem in our issue tracking system with ID WORDSNET-22477. We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for your inconvenience.