Edit online

Impose Custom Options for Authors

Use Case

You want to force Track Changes to be enabled at startup.

Solution

There are two ways to enable Track Changes for every document that you open:

  1. You could customize the default options that are used by your authors and set the Track Changes - Initial State option to Always On.
  2. Use an API to toggle the Track Changes state after a document is opened in Author mode:
    // Check the current state of Track Changes 
    boolean trackChangesOn = authorAccess.getReviewController().isTrackingChanges();
    if (!trackChangesOn) {
      // Set Track Changes state to On
      authorAccess.getReviewController().toggleTrackChanges();
    }