|
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 AuthorPersistentHighlight
Defines the Author Persistent Highlight which get serialized in the XML as
processing instruction.
The Author Persistent Highlight has one of the following types defined in
AuthorPersistentHighlight.PersistentHighlightType:
AuthorPersistentHighlight.PersistentHighlightType.CUSTOM_HIGHLIGHT represents the Custom defined
highlights that can be managed by using the AuthorPersistentHighlighter.
The name of the processing instruction markers corresponding to this type of highlight are
oxy_custom_start and oxy_custom_end
AuthorPersistentHighlight.PersistentHighlightType.COMMENT represents the Comment highlights
which get serialized using the oxy_comment_start and
oxy_comment_end processing instruction names.
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_INSERT represents the Insert
highlight from Change Tracking, with the oxy_insert_start
and oxy_insert_end corresponding processing instruction names.
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_DELETE represents the Delete
highlight from Change Tracking, which get serialized by using the
oxy_delete processing instruction name.
Comment, Insert and Delete
persistent highlights can be accessed and customized by using the
AuthorReviewController.
| Nested Class Summary | |
|---|---|
static class |
AuthorPersistentHighlight.PersistentHighlightType
The Author Persistent Highlight type. |
| Field Summary |
|---|
| Fields inherited from interface ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlightConstants |
|---|
AUTHOR_NAME_ATTRIBUTE, COMMENT_ATTRIBUTE, MODIFICATION_TIME |
| Method Summary | |
|---|---|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getClonedProperties()
Returns a copy of the internal properties map. |
int |
getEndOffset()
Get the highlight end offset. |
int |
getStartOffset()
Get the highlight start offset. |
AuthorPersistentHighlight.PersistentHighlightType |
getType()
The persistent highlight type. |
| Method Detail |
|---|
int getStartOffset()
int getEndOffset()
java.util.LinkedHashMap<java.lang.String,java.lang.String> getClonedProperties()
AuthorPersistentHighlightConstants.AUTHOR_NAME_ATTRIBUTE and
AuthorPersistentHighlightConstants.MODIFICATION_TIME.
AuthorPersistentHighlightConstants.AUTHOR_NAME_ATTRIBUTE,
AuthorPersistentHighlightConstants.MODIFICATION_TIME and
AuthorPersistentHighlightConstants.COMMENT_ATTRIBUTEAuthorPersistentHighlighter.addHighlight(int, int, LinkedHashMap))
and can be changed using the AuthorPersistentHighlighter.setProperties(AuthorPersistentHighlight, LinkedHashMap)
method.
AuthorPersistentHighlight.PersistentHighlightType getType()
AuthorPersistentHighlight.PersistentHighlightType corresponding to this author
persistent highlight.
|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||