Hi, I’m calling AcceptAllRevisions() on the attached document. But when I open it in word, it still shows a change in the footer. Any suggestions?
Also, Is there a way to set the document to open in word in View: Final (as opposed to Final: Show with Markup)?
Here’s the code I’m using to clean the document of revisions, and comments:
var doc = new Aspose.Words.Document(stream); // remove all comments NodeCollection comments = doc.GetChildNodes(NodeType.Comment, true); comments.Clear(); // accept all changes doc.TrackRevisions = false; doc.AcceptAllRevisions(); doc.Save(stream, SaveFormat.Docx);