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

Free Support Forum - aspose.com

How to Auto select “All Markup” and the “Reviewing Pane” (Revisions) is MS Word using Java

In Aspose for Java, I have created a document with change tracking and I want users who open the document to see a particular view automatically. Specifically, under the Review/Tracking toolbar I want “All Markup” and the “Reviewing Pane” (Revisions) to be pre-selected when the user opens the DOCX file. Is it possible to set some options before saving programatically?


Please note that “All Markup” and the “Reviewing Pane” (Revisions) is MS Word (Application) level setting and does not store in the document. Therefore it cannot be controlled by Aspose.Words. This is completely controlled by the MS Word.

However, you can create VBA macros into Word document using Aspose.Wrods. You can write VBA code that select “All Markup” option and insert it into document. Please read the following article to work with macros.
Working with VBA Macros

Please check the following VBA code. Hope this helps you.

Public Sub AutoOpen()
With ActiveWindow.View.RevisionsFilter
  .Markup = wdRevisionsMarkupAll
End With
End Sub