I am working on a tool that compares Word Documents and returns all the differences between them. When I compare two similar Documents with Grids your compare function gives me 72 Revisions (all FORMAT_CHANGE type). When I compare the two documents on Word I get no Revisions.
Documents.zip (46.0 KB)
The zip above has the documents I’m comparing. The code I use is simple:
- load the two docs
- Check the number of Revisions and display them using revision.getParentNode().getText().
I’m using Aspose Words v17.11 in Java.
Also, can you please tell me if there is a better way to compare two documents or at least get more information on the differences between the documents?