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

Free Support Forum - aspose.com

Generated ODT-File has by default ShowRedlineChanges set to true

Steps to reproduce:

  1. create an ODT-File with LibreOffice-Writer, activate tracking changes and change some text.
  2. LibreOffice-Writer -> Edit -> Changes -> Show [Selected]
    The view shows the changes
  3. LibreOffice-Writer -> Edit -> Changes -> Show [Not Selected]
    The view shows the final versions without changes
  4. LibreOffice-Writer -> Save the file i.e to test.odt
  5. Open test.odt with Aspose and add some text to it. Than save it to test-aspose.odt
var doc = new Document(@"d:\tmp</font>test.odt ");
var builder = new DocumentBuilder(doc);
builder.Write("Test…");
doc.Save(@"d:\tmp\test-aspose.odt", SaveFormat.Odt);
  1. Open LibreOffice-Writer and make sure that
    LibreOffice-Writer -> Edit -> Changes -> Show [Not Selected]
  2. Open test-aspose.odt.
  3. The following configuration is changed than to
    LibreOffice-Writer -> Edit -> Changes -> Show [Selected]
    The view shows the changes.
  4. Unzip and compare the files test.odt/settings.xml and test-aspose.odt/settings.xml
    test.odt/settings.xml => ShowRedlineChanges = false
    test-aspose.odt/settings.xml => ShowRedlineChanges = true

Affected Versions.
Aspose Version 15.4.0.0
LibreOffice 5.2.6.2

Is their a way to overcome this behavior?

I am using actually the following workaround:
dokument.AcceptAllRevisions();
But this changes the revision status in the document.

Thanks in Advance…

Hi there,

Thanks for your inquiry. We have tested the scenario and notice the reported issue. We have logged a new feature request WORDSNET-15317 to retain the revision changes view option in our issue tracking system. We will keep you updated about the issue resolution progress within this forum thread.

We are sorry for the inconvenience.

Best Regards,

The issues you have found earlier (filed as WORDSNET-15317) have been fixed in this Aspose.Words for .NET 17.6 update and this Aspose.Words for Java 17.6 update.

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