Hi,
I am using Aspose 16.12 version to compare two documents. Although difference document generated by comapare Api is correct but getting revisions from difference document is not giving correct revisions.
I have attached the document :
Doc1 - Sample Chinese.docx
Doc2- Chinese Modified.docx
Diff Doc - DifferenceDoc.docx
Sample code I am using :
doc1 = new Document(getFilePath(folder, file1));
doc2 = new Document(getFilePath(folder, file2));
doc1.save(getFilePath(folder, "_rev.docx"));
RevisionCollection revisionCollection = doc1.getRevisions();
List revisions = new ArrayList();
if (revisionCollection != null) {
for (int index = 0; index < revisionCollection.getCount(); index++) {
revisions.add(revisionCollection.get(index));
}
}
Above code provided generates the list of revisions in the difference document.
List of revisions contains one of the revision as deleted paragraph revision which is not actually deleted and is incorrect.
I have attached the snapshot of the paragraph which is shown deleted (error.PNG).
Can you please look into this problem and provide the possible solution for this issue. It will be very helpful.
Thanks
Shubhangi