public class TextSpanElement extends OdfStylableElement
| Modifier and Type | Field and Description |
|---|---|
static OdfName |
ELEMENT_NAME |
mFamily, mStyleNameAttriblocalName, namespaceURIattributes, namefirstChild, fNodeListCache, ownerDocumentnextSibling, previousSiblingDOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION| Constructor and Description |
|---|
TextSpanElement(OdfFileDom ownerDoc)
Create the instance of
TextSpanElement |
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleNamecloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toStringgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserDatapublic static final OdfName ELEMENT_NAME
public TextSpanElement(OdfFileDom ownerDoc)
TextSpanElementownerDoc - The type is OdfFileDompublic OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element text:span.public String getTextClassNamesAttribute()
TextClassNamesAttribute
, See text:class-namesString , the value or null, if the attribute is not set
and no default value defined.public void setTextClassNamesAttribute(String textClassNamesValue)
TextClassNamesAttribute , See
text:class-namestextClassNamesValue - The type is Stringpublic String getTextStyleNameAttribute()
TextStyleNameAttribute ,
See text:style-nameString , the value or null, if the attribute is not set
and no default value defined.public void setTextStyleNameAttribute(String textStyleNameValue)
TextStyleNameAttribute , See
text:style-nametextStyleNameValue - The type is Stringpublic Dr3dSceneElement newDr3dSceneElement()
public DrawAElement newDrawAElement(String xlinkHrefValue, String xlinkTypeValue)
xlinkHrefValue - the String value of XlinkHrefAttribute, see
xlink:href at specificationxlinkTypeValue - the String value of XlinkTypeAttribute, see
xlink:type at specificationpublic DrawCaptionElement newDrawCaptionElement()
public DrawCircleElement newDrawCircleElement()
public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue)
svgViewBoxValue - the Integer value of SvgViewBoxAttribute, see
svg:viewBox at specificationpublic DrawControlElement newDrawControlElement(String drawControlValue)
drawControlValue - the String value of DrawControlAttribute, see
draw:control at specificationpublic DrawCustomShapeElement newDrawCustomShapeElement()
public DrawEllipseElement newDrawEllipseElement()
public DrawFrameElement newDrawFrameElement()
public DrawGElement newDrawGElement()
public DrawLineElement newDrawLineElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value - the String value of SvgX1Attribute, see
svg:x1 at specificationsvgX2Value - the String value of SvgX2Attribute, see
svg:x2 at specificationsvgY1Value - the String value of SvgY1Attribute, see
svg:y1 at specificationsvgY2Value - the String value of SvgY2Attribute, see
svg:y2 at specificationpublic DrawMeasureElement newDrawMeasureElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value - the String value of SvgX1Attribute, see
svg:x1 at specificationsvgX2Value - the String value of SvgX2Attribute, see
svg:x2 at specificationsvgY1Value - the String value of SvgY1Attribute, see
svg:y1 at specificationsvgY2Value - the String value of SvgY2Attribute, see
svg:y2 at specificationpublic DrawPageThumbnailElement newDrawPageThumbnailElement()
public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue)
svgDValue - the String value of SvgDAttribute, see
svg:d at specificationsvgViewBoxValue - the Integer value of SvgViewBoxAttribute, see
svg:viewBox at specificationpublic DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue)
drawPointsValue - the String value of DrawPointsAttribute, see
draw:points at specificationsvgViewBoxValue - the Integer value of SvgViewBoxAttribute, see
svg:viewBox at specificationpublic DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue)
drawPointsValue - the String value of DrawPointsAttribute, see
draw:points at specificationsvgViewBoxValue - the Integer value of SvgViewBoxAttribute, see
svg:viewBox at specificationpublic DrawRectElement newDrawRectElement()
public DrawRegularPolygonElement newDrawRegularPolygonElement(boolean drawConcaveValue, int drawCornersValue)
drawConcaveValue - the Boolean value of DrawConcaveAttribute,
see draw:concave at specificationdrawCornersValue - the Integer value of DrawCornersAttribute,
see draw:corners at specificationpublic OfficeAnnotationElement newOfficeAnnotationElement()
public OfficeAnnotationEndElement newOfficeAnnotationEndElement(String officeNameValue)
officeNameValue - the String value of OfficeNameAttribute, see
office:name at specification Child element is new in Odf 1.2public PresentationDateTimeElement newPresentationDateTimeElement()
public PresentationFooterElement newPresentationFooterElement()
public PresentationHeaderElement newPresentationHeaderElement()
public TextAElement newTextAElement(String xlinkHrefValue, String xlinkTypeValue)
xlinkHrefValue - the String value of XlinkHrefAttribute, see
xlink:href at specificationxlinkTypeValue - the String value of XlinkTypeAttribute, see
xlink:type at specificationpublic TextAlphabeticalIndexMarkElement newTextAlphabeticalIndexMarkElement(String textStringValueValue)
textStringValueValue - the String value of TextStringValueAttribute
, see text:string-value at specificationpublic TextAlphabeticalIndexMarkEndElement newTextAlphabeticalIndexMarkEndElement(String textIdValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationpublic TextAlphabeticalIndexMarkStartElement newTextAlphabeticalIndexMarkStartElement(String textIdValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationpublic TextAuthorInitialsElement newTextAuthorInitialsElement()
public TextAuthorNameElement newTextAuthorNameElement()
public TextBibliographyMarkElement newTextBibliographyMarkElement(String textBibliographyTypeValue)
textBibliographyTypeValue - the String value of
TextBibliographyTypeAttribute, see text:bibliography-type at
specificationpublic TextBookmarkElement newTextBookmarkElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextBookmarkEndElement newTextBookmarkEndElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextBookmarkRefElement newTextBookmarkRefElement()
public TextBookmarkStartElement newTextBookmarkStartElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextChangeElement newTextChangeElement(String textChangeIdValue)
textChangeIdValue - the String value of TextChangeIdAttribute,
see text:change-id at specificationpublic TextChangeEndElement newTextChangeEndElement(String textChangeIdValue)
textChangeIdValue - the String value of TextChangeIdAttribute,
see text:change-id at specificationpublic TextChangeStartElement newTextChangeStartElement(String textChangeIdValue)
textChangeIdValue - the String value of TextChangeIdAttribute,
see text:change-id at specificationpublic TextChapterElement newTextChapterElement(String textDisplayValue, int textOutlineLevelValue)
textDisplayValue - the String value of TextDisplayAttribute, see
text:display at specificationtextOutlineLevelValue - the Integer value of TextOutlineLevelAttribute
, see text:outline-level at specificationpublic TextCharacterCountElement newTextCharacterCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextConditionalTextElement newTextConditionalTextElement(String textConditionValue, String textStringValueIfFalseValue, String textStringValueIfTrueValue)
textConditionValue - the String value of TextConditionAttribute,
see text:condition at specificationtextStringValueIfFalseValue - the String value of
TextStringValueIfFalseAttribute, see text:string-value-if-false at
specificationtextStringValueIfTrueValue - the String value of
TextStringValueIfTrueAttribute, see text:string-value-if-true at
specificationpublic TextCreationDateElement newTextCreationDateElement()
public TextCreationTimeElement newTextCreationTimeElement()
public TextCreatorElement newTextCreatorElement()
public TextDatabaseDisplayElement newTextDatabaseDisplayElement(String textColumnNameValue, String textTableNameValue)
textColumnNameValue - the String value of TextColumnNameAttribute
, see text:column-name at specificationtextTableNameValue - the String value of TextTableNameAttribute,
see text:table-name at specificationpublic TextDatabaseNameElement newTextDatabaseNameElement(String textTableNameValue)
textTableNameValue - the String value of TextTableNameAttribute,
see text:table-name at specificationpublic TextDatabaseNextElement newTextDatabaseNextElement(String textTableNameValue)
textTableNameValue - the String value of TextTableNameAttribute,
see text:table-name at specificationpublic TextDatabaseRowNumberElement newTextDatabaseRowNumberElement(String styleNumFormatValue, String textTableNameValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationtextTableNameValue - the String value of TextTableNameAttribute,
see text:table-name at specificationpublic TextDatabaseRowSelectElement newTextDatabaseRowSelectElement(String textTableNameValue)
textTableNameValue - the String value of TextTableNameAttribute,
see text:table-name at specificationpublic TextDateElement newTextDateElement()
public TextDdeConnectionElement newTextDdeConnectionElement(String textConnectionNameValue)
textConnectionNameValue - the String value of
TextConnectionNameAttribute, see text:connection-name at
specificationpublic TextDescriptionElement newTextDescriptionElement()
public TextEditingCyclesElement newTextEditingCyclesElement()
public TextEditingDurationElement newTextEditingDurationElement()
public TextExecuteMacroElement newTextExecuteMacroElement()
public TextExpressionElement newTextExpressionElement(double officeValueValue, String officeValueTypeValue)
officeValueValue - the Double value of OfficeValueAttribute, see
office:value at specificationofficeValueTypeValue - the String value of OfficeValueTypeAttribute
, see office:value-type at specificationpublic TextFileNameElement newTextFileNameElement()
public TextHiddenParagraphElement newTextHiddenParagraphElement(String textConditionValue)
textConditionValue - the String value of TextConditionAttribute,
see text:condition at specificationpublic TextHiddenTextElement newTextHiddenTextElement(String textConditionValue, String textStringValueValue)
textConditionValue - the String value of TextConditionAttribute,
see text:condition at specificationtextStringValueValue - the String value of TextStringValueAttribute
, see text:string-value at specificationpublic TextImageCountElement newTextImageCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextInitialCreatorElement newTextInitialCreatorElement()
public TextKeywordsElement newTextKeywordsElement()
public TextLineBreakElement newTextLineBreakElement()
public TextMeasureElement newTextMeasureElement(String textKindValue)
textKindValue - the String value of TextKindAttribute, see
text:kind at specificationpublic TextMetaElement newTextMetaElement()
Child element is new in Odf 1.2
public TextMetaFieldElement newTextMetaFieldElement(String xmlIdValue)
xmlIdValue - the String value of XmlIdAttribute, see
xml:id at specification Child element is new in Odf 1.2public TextModificationDateElement newTextModificationDateElement()
public TextModificationTimeElement newTextModificationTimeElement()
public TextNoteElement newTextNoteElement(String textNoteClassValue)
textNoteClassValue - the String value of TextNoteClassAttribute,
see text:note-class at specificationpublic TextNoteRefElement newTextNoteRefElement(String textNoteClassValue)
textNoteClassValue - the String value of TextNoteClassAttribute,
see text:note-class at specificationpublic TextObjectCountElement newTextObjectCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextPageContinuationElement newTextPageContinuationElement(String textSelectPageValue)
textSelectPageValue - the String value of TextSelectPageAttribute
, see text:select-page at specificationpublic TextPageCountElement newTextPageCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextPageNumberElement newTextPageNumberElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextPageVariableGetElement newTextPageVariableGetElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextPageVariableSetElement newTextPageVariableSetElement()
public TextParagraphCountElement newTextParagraphCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextPlaceholderElement newTextPlaceholderElement(String textPlaceholderTypeValue)
textPlaceholderTypeValue - the String value of
TextPlaceholderTypeAttribute, see text:placeholder-type at
specificationpublic TextPrintDateElement newTextPrintDateElement()
public TextPrintTimeElement newTextPrintTimeElement()
public TextPrintedByElement newTextPrintedByElement()
public TextReferenceMarkElement newTextReferenceMarkElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextReferenceMarkEndElement newTextReferenceMarkEndElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextReferenceMarkStartElement newTextReferenceMarkStartElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextReferenceRefElement newTextReferenceRefElement()
public TextRubyElement newTextRubyElement()
public TextSElement newTextSElement()
public TextScriptElement newTextScriptElement()
public TextSenderCityElement newTextSenderCityElement()
public TextSenderCompanyElement newTextSenderCompanyElement()
public TextSenderCountryElement newTextSenderCountryElement()
public TextSenderEmailElement newTextSenderEmailElement()
public TextSenderFaxElement newTextSenderFaxElement()
public TextSenderFirstnameElement newTextSenderFirstnameElement()
public TextSenderInitialsElement newTextSenderInitialsElement()
public TextSenderLastnameElement newTextSenderLastnameElement()
public TextSenderPhonePrivateElement newTextSenderPhonePrivateElement()
public TextSenderPhoneWorkElement newTextSenderPhoneWorkElement()
public TextSenderPositionElement newTextSenderPositionElement()
public TextSenderPostalCodeElement newTextSenderPostalCodeElement()
public TextSenderStateOrProvinceElement newTextSenderStateOrProvinceElement()
public TextSenderStreetElement newTextSenderStreetElement()
public TextSenderTitleElement newTextSenderTitleElement()
public TextSequenceElement newTextSequenceElement(String styleNumFormatValue, String textNameValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationtextNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextSequenceRefElement newTextSequenceRefElement()
public TextSheetNameElement newTextSheetNameElement()
public TextSoftPageBreakElement newTextSoftPageBreakElement()
public TextSpanElement newTextSpanElement()
public TextSubjectElement newTextSubjectElement()
public TextTabElement newTextTabElement()
public TextTableCountElement newTextTableCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic TextTableFormulaElement newTextTableFormulaElement()
public TextTemplateNameElement newTextTemplateNameElement()
public TextTextInputElement newTextTextInputElement()
public TextTimeElement newTextTimeElement()
public TextTitleElement newTextTitleElement()
public TextTocMarkElement newTextTocMarkElement(String textStringValueValue)
textStringValueValue - the String value of TextStringValueAttribute
, see text:string-value at specificationpublic TextTocMarkEndElement newTextTocMarkEndElement(String textIdValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationpublic TextTocMarkStartElement newTextTocMarkStartElement(String textIdValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationpublic TextUserDefinedElement newTextUserDefinedElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextUserFieldGetElement newTextUserFieldGetElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextUserFieldInputElement newTextUserFieldInputElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextUserIndexMarkElement newTextUserIndexMarkElement(String textIndexNameValue, String textStringValueValue)
textIndexNameValue - the String value of TextIndexNameAttribute,
see text:index-name at specificationtextStringValueValue - the String value of TextStringValueAttribute
, see text:string-value at specificationpublic TextUserIndexMarkEndElement newTextUserIndexMarkEndElement(String textIdValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationpublic TextUserIndexMarkStartElement newTextUserIndexMarkStartElement(String textIdValue, String textIndexNameValue)
textIdValue - the String value of TextIdAttribute, see
text:id at specificationtextIndexNameValue - the String value of TextIndexNameAttribute,
see text:index-name at specificationpublic TextVariableGetElement newTextVariableGetElement(String textNameValue)
textNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextVariableInputElement newTextVariableInputElement(String officeValueTypeValue, String textNameValue)
officeValueTypeValue - the String value of OfficeValueTypeAttribute
, see office:value-type at specificationtextNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextVariableSetElement newTextVariableSetElement(double officeValueValue, String officeValueTypeValue, String textNameValue)
officeValueValue - the Double value of OfficeValueAttribute, see
office:value at specificationofficeValueTypeValue - the String value of OfficeValueTypeAttribute
, see office:value-type at specificationtextNameValue - the String value of TextNameAttribute, see
text:name at specificationpublic TextWordCountElement newTextWordCountElement(String styleNumFormatValue)
styleNumFormatValue - the String value of StyleNumFormatAttribute
, see style:num-format at specificationpublic void accept(ElementVisitor visitor)
OdfElementaccept in class OdfElementvisitor - an instance of DefaultElementVisitorpublic void newTextNode(String content)
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.