Hi,
I’m having a problem with following, in this document we have word ‘bold’ that has two revisions FORMAT_CHANGE and DELETION. I just want to accept FORMAT_CHANGE but when i do that text is gone in saved file.
code:
Document doc = new Document("double revision.docx");
Revision revision = doc.getRevisions().get(1);
assertTrue(revision.getRevisionType()==RevisionType.FORMAT_CHANGE);
revision.accept();
doc.save("double revisionASPOSE.docx");
file: double revision.zip (9.9 KB)