Change the Default Track Changes (Review) Author NameEdit online
Question
How can I change the default author name used for Tracked Changes in the Author Component?
Answer
The Track Changes (Review) author name is determined in the following order:
- API - The review user name can be imposed through the following
API:
ro.sync.ecss.extensions.api.AuthorReviewController.setReviewerAuthorName(String)
- Options - If the author name was not imposed from the API, it is determined from the Author option set in the Review preferences page.
- System properties - If the author name was not imposed from the API or from the
application options then the following system property is
used:
System.getProperty("user.name")
So, to impose the Track Changes author, use one of the following
approaches:
- Use the API to impose the reviewer author name. Here is the online Javadoc of this method: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/api/AuthorReviewController.html#setReviewerAuthorName(java.lang.String)
- Customize the default options and set a specific value for the Author name option set in the Review preferences page.
- Set the value of
user.namesystem property when the applet is initializing and before any document is loaded.