Oxygen XML Editor 12.2 Author API

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


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:

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

*********************************
EXPERIMENTAL - Subject to change
*********************************

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.

Since:
12

Nested Class Summary
static class AuthorPersistentHighlight.PersistentHighlightType
          The Author Persistent Highlight type.
 
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 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.