Free Support Forum - aspose.com

Table Cell Deletion (ShiftUp/ShiftLeft) results in extra revisions

Hi,



I am trying to evaluate Document.compare API.
The scenario under evaluation is very simple. Deleted a cell (ShiftUp/ShiftLeft) from a table in the document.

The document generated by Aspose Document.compare API shows extra revisions mainly extra format changes.

The code used is given below:

Document doc1=new Document(“10k.docx”);
Document doc2=new Document(“Doc_Table_Cell_Deletion.docx”);
doc1.compare(doc2,“Manisha”,new Date());
doc1.save(“rev_Doc_Table_Col_Deletion.docx”);

The sample documents, comparison documents generated by Aspose and MS Word are attached in a zip folder. Also attaching two snapshots where left side is Word generated documents and right side is Aspose Compare API generated document.

Please look into this matter and let me know how we can resolve this issue.

Thanks
Manisha

Hi Manisha,


Thanks for your inquiry. After an initial test with Aspose.Words 15.8.0, I was unable to reproduce this issue on my side. Please upgrade to latest version from following link:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

Also, I have attached output comparison documents and screenshots here for your reference. I suggest you please re-test your scenarios using Aspose.Words 15.8.0 and MS Word 2013. Hope, this helps.

Best regards,