Package org.odftoolkit.odfdom.changes
Class TextFieldSelection
- java.lang.Object
-
- org.odftoolkit.odfdom.changes.TextSelection
-
- org.odftoolkit.odfdom.changes.TextFieldSelection
-
- All Implemented Interfaces:
Comparable<TextSelection>
public class TextFieldSelection extends TextSelection
- 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()StringgetReplacementText()StringtoString()-
Methods inherited from class org.odftoolkit.odfdom.changes.TextSelection
compareTo, getEndPosition, getSelectionElement, getStartPosition, getURL, hasUrl, overLapping, setEndPosition, setURL
-
-
-
-
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.
-
-