Document.compare API not working when Table content is modified

Hi,


We need to compare two word documents and for this feature, we are using Document.compare(Document, User, Date) API.

We tried to evaluate this API with a specific scenario, where only table content is modified.
In the revision document, we are not seeing any modifications.

The code used for this feature is given below:

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

The revisions we got are:

Revisions:
1: Revision[type: 1: DELETION, parent-node: [Shape: Name: , Alt: ]
2: Revision[type: 0: INSERTION, parent-node: [Shape: Name: , Alt: ]
3: Revision[type: 1: DELETION, parent-node: [Shape: Name: Picture 2, Alt: ]
4: Revision[type: 0: INSERTION, parent-node: [Shape: Name: Picture 2, Alt: ]
5: Revision[type: 1: DELETION, parent-node: [Shape: Name: Picture 3, Alt: ]
6: Revision[type: 0: INSERTION, parent-node: [Shape: Name: Picture 3, Alt: ]
7: Revision[type: 1: DELETION, parent-node: [Shape: Name: Picture 4, Alt: ]
8: Revision[type: 0: INSERTION, parent-node: [Shape: Name: Picture 4, Alt: ]

All the above revisions seems to be incorrect as we did not change any Shape element only table content got changed (Only text changes).


Please find the attached documents as well as pages snapshots to better understand the problem.

Please help us in resolving this issue.

Thanks
Manisha

Hi Manisha,


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-12351. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-12351) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.