|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorReviewController
Controller that can be used to toggle the change tracking state, modify the review highlight author name, the highlight painting or to obtain information about the properties used in the serialization and representation of the review highlight (author name, reviewer auto color or the current time stamp in a format identical to the one used by Oxygen for insert, delete and comment review highlights).
Method Summary | |
---|---|
AuthorPersistentHighlight[] |
getCommentHighlights()
Fetches the list of comment highlights. |
java.lang.String |
getCurrentTimestamp()
Get the current time stamp in a format identical to the one used by Oxygen for insert and delete review highlights. |
java.lang.String |
getReviewerAuthorName()
Get the current reviewer author name. |
Color |
getReviewerAutoColor(java.lang.String reviewerAuthorName)
Get a color assigned automatically to the reviewer author name. |
void |
setReviewerAuthorName(java.lang.String authorName)
Set the current reviewer author name, used in the processing instruction that results when a Tracked Change
(<?oxy_insert_start author="reviewer_name"...?>xml content<?oxy_insert_end?>)
or Comment
(<?oxy_comment_start author="reviewer_name"...?>xml content<?oxy_comment_end?>)
is serialized, as value of the "author" attribute. |
void |
setReviewRenderer(PersistentHighlightRenderer renderer)
Set a renderer for customizing the way that the review highlights ( Insert , Delete or Comment ) are displayed. |
Methods inherited from interface ro.sync.ecss.extensions.api.AuthorChangeTrackingController |
---|
getChangeHighlights, isTrackingChanges, toggleTrackChanges |
Method Detail |
---|
void setReviewerAuthorName(java.lang.String authorName)
Tracked Change
(<?oxy_insert_start author="reviewer_name"...?>xml content<?oxy_insert_end?>)
Comment
(<?oxy_comment_start author="reviewer_name"...?>xml content<?oxy_comment_end?>)
authorName
- The reviewer author name.
If set to null
, the default author name (as set in the Oxygen Preferences)
will be used in Change Tracking and Comments serialization.java.lang.String getReviewerAuthorName()
setReviewerAuthorName(String)
.
java.lang.String getCurrentTimestamp()
yyyyMMdd'T'HHmmssZ
Color getReviewerAutoColor(java.lang.String reviewerAuthorName)
Insert
, Delete
or Comment
reviews.
reviewerAuthorName
- The reviewer author name.
void setReviewRenderer(PersistentHighlightRenderer renderer)
Insert
, Delete
or Comment
) are displayed.
renderer
- the renderer used to customize painting for the review highlights.AuthorPersistentHighlight[] getCommentHighlights()
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |