Steps to reproduce:
- create an ODT-File with LibreOffice-Writer, activate tracking changes and change some text.
- LibreOffice-Writer -> Edit -> Changes -> Show [Selected]
The view shows the changes - LibreOffice-Writer -> Edit -> Changes -> Show [Not Selected]
The view shows the final versions without changes - LibreOffice-Writer -> Save the file i.e to test.odt
- 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);
- Open LibreOffice-Writer and make sure that
LibreOffice-Writer -> Edit -> Changes -> Show [Not Selected] - Open test-aspose.odt.
- The following configuration is changed than to
LibreOffice-Writer -> Edit -> Changes -> Show [Selected]
The view shows the changes. - 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…