Class TextSpanSelection
java.lang.Object
org.odftoolkit.odfdom.changes.TextSelection
org.odftoolkit.odfdom.changes.TextSpanSelection
- All Implemented Interfaces:
Comparable<TextSelection>
- Author:
- svante.schubertATgmail.com
-
Field Summary
Fields inherited from class TextSelection
mEndPosition, mSelectionElement, mStartPosition, mUrl -
Constructor Summary
ConstructorsConstructorDescriptionTextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition) Constructor.TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition, List<Integer> endPosition) Constructor. -
Method Summary
Methods inherited from class TextSelection
compareTo, getEndPosition, getSelectionElement, getStartPosition, getURL, hasUrl, overLapping, setEndPosition, setURL
-
Constructor Details
-
TextSpanSelection
Constructor.- Parameters:
spanElement- the spanElement of the Span element.startPosition- the startPosition of the Span element.
-
TextSpanSelection
public TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition, List<Integer> endPosition) Constructor.- Parameters:
spanElement- the spanElement of the Span element.startPosition- the startPosition of the Span element.
-
-
Method Details
-
getSpanElement
Returns the spanElement of the Span element.- Returns:
- the spanElement of the Span element.
-
toString
-