Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.api.highlights
Interface AuthorPersistentHighlight

All Superinterfaces:
AuthorPersistentHighlightConstants

@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface AuthorPersistentHighlight
extends AuthorPersistentHighlightConstants

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:

The Comment, Insert and Delete persistent highlights can be accessed and customized by using the AuthorReviewController.

Since:
12

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

getStartOffset

int getStartOffset()
Get the highlight start offset.

Returns:
The start offset (inclusive).

getEndOffset

int getEndOffset()
Get the highlight end offset.

Returns:
The end offset (inclusive).

getClonedProperties

java.util.LinkedHashMap<java.lang.String,java.lang.String> getClonedProperties()
Returns a copy of the internal properties map. The properties can contain details about the highlight author or the highlight modification timestamp, depending on the highlight type:

Returns:
The copy of highlight properties.

getType

AuthorPersistentHighlight.PersistentHighlightType getType()
The persistent highlight type.

Returns:
The AuthorPersistentHighlight.PersistentHighlightType corresponding to this author persistent highlight.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.