|
Oxygen XML Editor 14.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 | |
---|---|
AuthorCalloutsController |
getAuthorCalloutsController()
The callouts are representations of Track Changes insert and delete highlights, review comment highlights and the custom review highlights in Author mode. |
AuthorPersistentHighlight[] |
getCommentHighlights()
Fetches the list of comment highlights. |
AuthorPersistentHighlight[] |
getCommentHighlights(int startOffset,
int endOffset)
Fetches the list of comment highlights that intersect the interval between the given start offset and end offset. |
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 |
---|
accept, accept, getChangeHighlights, getChangeHighlights, isTrackingChanges, reject, reject, 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)
.
AuthorCalloutsController getAuthorCalloutsController()
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
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()
AuthorPersistentHighlight[] getCommentHighlights(int startOffset, int endOffset)
startOffset
- The start offset(inclusive).endOffset
- The end offset (inclusive).
null
if
no comment highlight intersects the given offsets interval.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |