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

Free Support Forum - aspose.com

Aspose 5.0 - Unable to acceptAllRevisions in files with DOCX extensions

When we do a document.acceptAllRevisison, it does not remove all revisions in the docuemnt. See attached

Hi

Thanks for your request. I tried to use the following code for testing and it seems that all works fine on my side.

Document doc = new Document("Approved+Consent+-Aspose+5.0+test.docx");

doc.AcceptAllRevisions();

doc.Save("out.doc");

Please provide me more information how I can reproduce this problem.

Best regards.