Package org.odftoolkit.odfdom.changes
Class TextFieldSelection
- java.lang.Object
-
- org.odftoolkit.odfdom.changes.TextSelection
-
- org.odftoolkit.odfdom.changes.TextFieldSelection
-
- All Implemented Interfaces:
Comparable
public class TextFieldSelection extends TextSelection implements Comparable
- Author:
- svante.schubertATgmail.com
-
-
Field Summary
-
Fields inherited from class org.odftoolkit.odfdom.changes.TextSelection
mEndPosition, mSelectionElement, mStartPosition, mUrl
-
-
Constructor Summary
Constructors Constructor Description TextFieldSelection(OdfElement fieldElement, List<Integer> startPosition, String replacementText)
Constructor.TextFieldSelection(OdfElement fieldElement, List<Integer> startPosition, OdfOfficeAutomaticStyles autoStyles, Map<String,TextUserFieldDeclElement> userFieldDecls)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAttributes()
String
getReplacementText()
String
toString()
-
Methods inherited from class org.odftoolkit.odfdom.changes.TextSelection
compareTo, getEndPosition, getSelectionElement, getStartPosition, getURL, hasUrl, overLapping, setEndPosition, setURL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
TextFieldSelection
public TextFieldSelection(OdfElement fieldElement, List<Integer> startPosition, OdfOfficeAutomaticStyles autoStyles, Map<String,TextUserFieldDeclElement> userFieldDecls)
Constructor.- Parameters:
fieldElement
- the fieldElement of the Field element.startPosition
- the startPosition of the Field element.
-
TextFieldSelection
public TextFieldSelection(OdfElement fieldElement, List<Integer> startPosition, String replacementText)
Constructor.- Parameters:
fieldElement
- the fieldElement of the Field element.startPosition
- the startPosition of the Field element.
-
-