Free Support Forum -

Document.Compare method, numbered list issue

I’m having an issue when using the Aspose.Words.Document.Compare method with a .docx file.

The document has a numbered list. When a new item is added the compare method is detecting that the numbering has reset for that item and showing a change that doesn’t really exist.

It’s easier to understand if you see it, I’ve attached an image which illustrates the issue clearly and a zip with the file versions being compared and the output.

The issue doesn’t happen if you set “IgnoreFormatting = true” in the CompareOptions, unfortunately that’s not an option for our use case as formatting is significant to our customers. (65.6 KB)
issue.png (12.5 KB)


Thanks for your inquiry. 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-16754. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16754) have been fixed in this Aspose.Words for .NET 18.5 update and this Aspose.Words for Java 18.5 update.