We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Accept revisions issue in tables

Hi,

Aspose Words for Java (tested v15.10.0.0) does not correctly accept revisions in tables.
This test file contains a table with a row that has been tracked as deleted.
But that row contains a cell which is not deleted.
When accepting all track changes with Ms Word (v2010) the entire row is removed.
However Aspose removes only one cell.

How to reproduce:

  1. create new document in Ms Word
  2. insert a 2x2 table
  3. insert text into first cell (A1)
  4. activate track changes
  5. delete entire second row
  6. deactivate track changes
  7. select the first cell (A1)
  8. copy
  9. select the cell below cell (A2)
  10. paste
  11. save as rtf
  12. Run this code:
   Document doc = new Document("test.rtf");
   doc.acceptAllRevisions();   doc.save("result.rtf");

Please find attached:

  • “result.png” is the result we get by accepting all revisions using Aspose (see sample code)
  • “expected.png” which is the result we get by accepting all revisions using Ms Word.

Best regards,

Romain

Hi Romain,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 15.10.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-12687. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

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

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