Class TextAElement
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.text.TextAElement
- All Implemented Interfaces:
Serializable
,Cloneable
,OdfStylePropertySet
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
DOM implementation of OpenDocument element <text:a>.
- See Also:
-
Field Summary
FieldsFields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
mFamily, mStyleNameAttrib
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
Fields inherited from class org.apache.xerces.dom.NodeImpl
DOCUMENT_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_NODE
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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_NODE
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ElementVisitor visitor) Accept an visitor instance to allow the visitor to do some operations.Get the element nameReceives the value of the ODFDOM attribute representationOfficeNameAttribute
, See @office:nameReceives the value of the ODFDOM attribute representationOfficeTargetFrameNameAttribute
, See @office:target-frame-nameReceives the value of the ODFDOM attribute representationOfficeTitleAttribute
, See @office:titleReceives the value of the ODFDOM attribute representationTextStyleNameAttribute
, See @text:style-nameReceives the value of the ODFDOM attribute representationTextVisitedStyleNameAttribute
, See @text:visited-style-nameReceives the value of the ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuateReceives the value of the ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:hrefReceives the value of the ODFDOM attribute representationXlinkShowAttribute
, See @xlink:showReceives the value of the ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:typeCreate child element <dr3d:scene>.newDrawAElement
(String xlinkHrefValue, String xlinkTypeValue) Create child element <draw:a>.Create child element <draw:caption>.Create child element <draw:circle>.newDrawConnectorElement
(int svgViewBoxValue) Create child element <draw:connector>.newDrawControlElement
(String drawControlValue) Create child element <draw:control>.Create child element <draw:custom-shape>.Create child element <draw:ellipse>.Create child element <draw:frame>.Create child element <draw:g>.newDrawLineElement
(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) Create child element <draw:line>.newDrawMeasureElement
(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) Create child element <draw:measure>.Create child element <draw:page-thumbnail>.newDrawPathElement
(String svgDValue, int svgViewBoxValue) Create child element <draw:path>.newDrawPolygonElement
(String drawPointsValue, int svgViewBoxValue) Create child element <draw:polygon>.newDrawPolylineElement
(String drawPointsValue, int svgViewBoxValue) Create child element <draw:polyline>.Create child element <draw:rect>.newDrawRegularPolygonElement
(boolean drawConcaveValue, int drawCornersValue) Create child element <draw:regular-polygon>.Create child element <office:annotation>.newOfficeAnnotationEndElement
(String officeNameValue) Create child element <office:annotation-end>.Create child element <office:event-listeners>.Create child element <presentation:date-time>.Create child element <presentation:footer>.Create child element <presentation:header>.newTextAlphabeticalIndexMarkElement
(String textStringValueValue) Create child element <text:alphabetical-index-mark>.newTextAlphabeticalIndexMarkEndElement
(String textIdValue) Create child element <text:alphabetical-index-mark-end>.newTextAlphabeticalIndexMarkStartElement
(String textIdValue) Create child element <text:alphabetical-index-mark-start>.Create child element <text:author-initials>.Create child element <text:author-name>.newTextBibliographyMarkElement
(String textBibliographyTypeValue) Create child element <text:bibliography-mark>.newTextBookmarkElement
(String textNameValue) Create child element <text:bookmark>.newTextBookmarkEndElement
(String textNameValue) Create child element <text:bookmark-end>.Create child element <text:bookmark-ref>.newTextBookmarkStartElement
(String textNameValue) Create child element <text:bookmark-start>.newTextChangeElement
(String textChangeIdValue) Create child element <text:change>.newTextChangeEndElement
(String textChangeIdValue) Create child element <text:change-end>.newTextChangeStartElement
(String textChangeIdValue) Create child element <text:change-start>.newTextChapterElement
(String textDisplayValue, int textOutlineLevelValue) Create child element <text:chapter>.newTextCharacterCountElement
(String styleNumFormatValue) Create child element <text:character-count>.newTextConditionalTextElement
(String textConditionValue, String textStringValueIfFalseValue, String textStringValueIfTrueValue) Create child element <text:conditional-text>.Create child element <text:creation-date>.Create child element <text:creation-time>.Create child element <text:creator>.newTextDatabaseDisplayElement
(String textColumnNameValue, String textTableNameValue) Create child element <text:database-display>.newTextDatabaseNameElement
(String textTableNameValue) Create child element <text:database-name>.newTextDatabaseNextElement
(String textTableNameValue) Create child element <text:database-next>.newTextDatabaseRowNumberElement
(String styleNumFormatValue, String textTableNameValue) Create child element <text:database-row-number>.newTextDatabaseRowSelectElement
(String textTableNameValue) Create child element <text:database-row-select>.Create child element <text:date>.newTextDdeConnectionElement
(String textConnectionNameValue) Create child element <text:dde-connection>.Create child element <text:description>.Create child element <text:editing-cycles>.Create child element <text:editing-duration>.Create child element <text:execute-macro>.newTextExpressionElement
(double officeValueValue, String officeValueTypeValue) Create child element <text:expression>.Create child element <text:file-name>.newTextHiddenParagraphElement
(String textConditionValue) Create child element <text:hidden-paragraph>.newTextHiddenTextElement
(String textConditionValue, String textStringValueValue) Create child element <text:hidden-text>.newTextImageCountElement
(String styleNumFormatValue) Create child element <text:image-count>.Create child element <text:initial-creator>.Create child element <text:keywords>.Create child element <text:line-break>.newTextMeasureElement
(String textKindValue) Create child element <text:measure>.Create child element <text:meta>.newTextMetaFieldElement
(String xmlIdValue) Create child element <text:meta-field>.Create child element <text:modification-date>.Create child element <text:modification-time>.void
newTextNode
(String content) Add text content.newTextNoteElement
(String textNoteClassValue) Create child element <text:note>.newTextNoteRefElement
(String textNoteClassValue) Create child element <text:note-ref>.newTextObjectCountElement
(String styleNumFormatValue) Create child element <text:object-count>.newTextPageContinuationElement
(String textSelectPageValue) Create child element <text:page-continuation>.newTextPageCountElement
(String styleNumFormatValue) Create child element <text:page-count>.newTextPageNumberElement
(String styleNumFormatValue) Create child element <text:page-number>.newTextPageVariableGetElement
(String styleNumFormatValue) Create child element <text:page-variable-get>.Create child element <text:page-variable-set>.newTextParagraphCountElement
(String styleNumFormatValue) Create child element <text:paragraph-count>.newTextPlaceholderElement
(String textPlaceholderTypeValue) Create child element <text:placeholder>.Create child element <text:print-date>.Create child element <text:printed-by>.Create child element <text:print-time>.newTextReferenceMarkElement
(String textNameValue) Create child element <text:reference-mark>.newTextReferenceMarkEndElement
(String textNameValue) Create child element <text:reference-mark-end>.newTextReferenceMarkStartElement
(String textNameValue) Create child element <text:reference-mark-start>.Create child element <text:reference-ref>.Create child element <text:ruby>.Create child element <text:script>.Create child element <text:s>.Create child element <text:sender-city>.Create child element <text:sender-company>.Create child element <text:sender-country>.Create child element <text:sender-email>.Create child element <text:sender-fax>.Create child element <text:sender-firstname>.Create child element <text:sender-initials>.Create child element <text:sender-lastname>.Create child element <text:sender-phone-private>.Create child element <text:sender-phone-work>.Create child element <text:sender-position>.Create child element <text:sender-postal-code>.Create child element <text:sender-state-or-province>.Create child element <text:sender-street>.Create child element <text:sender-title>.newTextSequenceElement
(String styleNumFormatValue, String textNameValue) Create child element <text:sequence>.Create child element <text:sequence-ref>.Create child element <text:sheet-name>.Create child element <text:soft-page-break>.Create child element <text:span>.Create child element <text:subject>.Create child element <text:tab>.newTextTableCountElement
(String styleNumFormatValue) Create child element <text:table-count>.Create child element <text:table-formula>.Create child element <text:template-name>.Create child element <text:text-input>.Create child element <text:time>.Create child element <text:title>.newTextTocMarkElement
(String textStringValueValue) Create child element <text:toc-mark>.newTextTocMarkEndElement
(String textIdValue) Create child element <text:toc-mark-end>.newTextTocMarkStartElement
(String textIdValue) Create child element <text:toc-mark-start>.newTextUserDefinedElement
(String textNameValue) Create child element <text:user-defined>.newTextUserFieldGetElement
(String textNameValue) Create child element <text:user-field-get>.newTextUserFieldInputElement
(String textNameValue) Create child element <text:user-field-input>.newTextUserIndexMarkElement
(String textIndexNameValue, String textStringValueValue) Create child element <text:user-index-mark>.newTextUserIndexMarkEndElement
(String textIdValue) Create child element <text:user-index-mark-end>.newTextUserIndexMarkStartElement
(String textIdValue, String textIndexNameValue) Create child element <text:user-index-mark-start>.newTextVariableGetElement
(String textNameValue) Create child element <text:variable-get>.newTextVariableInputElement
(String officeValueTypeValue, String textNameValue) Create child element <text:variable-input>.newTextVariableSetElement
(double officeValueValue, String officeValueTypeValue, String textNameValue) Create child element <text:variable-set>.newTextWordCountElement
(String styleNumFormatValue) Create child element <text:word-count>.void
setOfficeNameAttribute
(String officeNameValue) Sets the value of ODFDOM attribute representationOfficeNameAttribute
, See @office:namevoid
setOfficeTargetFrameNameAttribute
(String officeTargetFrameNameValue) Sets the value of ODFDOM attribute representationOfficeTargetFrameNameAttribute
, See @office:target-frame-namevoid
setOfficeTitleAttribute
(String officeTitleValue) Sets the value of ODFDOM attribute representationOfficeTitleAttribute
, See @office:titlevoid
setTextStyleNameAttribute
(String textStyleNameValue) Sets the value of ODFDOM attribute representationTextStyleNameAttribute
, See @text:style-namevoid
setTextVisitedStyleNameAttribute
(String textVisitedStyleNameValue) Sets the value of ODFDOM attribute representationTextVisitedStyleNameAttribute
, See @text:visited-style-namevoid
setXlinkActuateAttribute
(String xlinkActuateValue) Sets the value of ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuatevoid
setXlinkHrefAttribute
(String xlinkHrefValue) Sets the value of ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:hrefvoid
setXlinkShowAttribute
(String xlinkShowValue) Sets the value of ODFDOM attribute representationXlinkShowAttribute
, See @xlink:showvoid
setXlinkTypeAttribute
(String xlinkTypeValue) Sets the value of ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:typeMethods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getDocumentStyleName, getOrCreateAutomaticStyles, getOrCreateUnqiueAutomaticStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setAttributeNS, setDocumentStyle, setProperties, setProperty, setStyleName
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onRemoveNode, receiveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toString
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, 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, synchronizeData
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, item, setTextContent, synchronizeChildren
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
Methods inherited from class org.apache.xerces.dom.NodeImpl
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
Field Details
-
ELEMENT_NAME
-
-
Constructor Details
-
TextAElement
Create the instance ofTextAElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Details
-
getOdfName
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <text:a>.
-
getOfficeNameAttribute
Receives the value of the ODFDOM attribute representationOfficeNameAttribute
, See @office:name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setOfficeNameAttribute
Sets the value of ODFDOM attribute representationOfficeNameAttribute
, See @office:name- Parameters:
officeNameValue
- The type isString
-
getOfficeTargetFrameNameAttribute
Receives the value of the ODFDOM attribute representationOfficeTargetFrameNameAttribute
, See @office:target-frame-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setOfficeTargetFrameNameAttribute
Sets the value of ODFDOM attribute representationOfficeTargetFrameNameAttribute
, See @office:target-frame-name- Parameters:
officeTargetFrameNameValue
- The type isString
-
getOfficeTitleAttribute
Receives the value of the ODFDOM attribute representationOfficeTitleAttribute
, See @office:title- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setOfficeTitleAttribute
Sets the value of ODFDOM attribute representationOfficeTitleAttribute
, See @office:title- Parameters:
officeTitleValue
- The type isString
-
getTextStyleNameAttribute
Receives the value of the ODFDOM attribute representationTextStyleNameAttribute
, See @text:style-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTextStyleNameAttribute
Sets the value of ODFDOM attribute representationTextStyleNameAttribute
, See @text:style-name- Parameters:
textStyleNameValue
- The type isString
-
getTextVisitedStyleNameAttribute
Receives the value of the ODFDOM attribute representationTextVisitedStyleNameAttribute
, See @text:visited-style-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTextVisitedStyleNameAttribute
Sets the value of ODFDOM attribute representationTextVisitedStyleNameAttribute
, See @text:visited-style-name- Parameters:
textVisitedStyleNameValue
- The type isString
-
getXlinkActuateAttribute
Receives the value of the ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuate- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkActuateAttribute
Sets the value of ODFDOM attribute representationXlinkActuateAttribute
, See @xlink:actuate- Parameters:
xlinkActuateValue
- The type isString
-
getXlinkHrefAttribute
Receives the value of the ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:hrefAttribute is mandatory.
- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkHrefAttribute
Sets the value of ODFDOM attribute representationXlinkHrefAttribute
, See @xlink:href- Parameters:
xlinkHrefValue
- The type isString
-
getXlinkShowAttribute
Receives the value of the ODFDOM attribute representationXlinkShowAttribute
, See @xlink:show- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkShowAttribute
Sets the value of ODFDOM attribute representationXlinkShowAttribute
, See @xlink:show- Parameters:
xlinkShowValue
- The type isString
-
getXlinkTypeAttribute
Receives the value of the ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:typeAttribute is mandatory.
- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXlinkTypeAttribute
Sets the value of ODFDOM attribute representationXlinkTypeAttribute
, See @xlink:type- Parameters:
xlinkTypeValue
- The type isString
-
newDr3dSceneElement
Create child element <dr3d:scene>.- Returns:
- the element <dr3d:scene>
-
newDrawAElement
Create child element <draw:a>.- Parameters:
xlinkHrefValue
- theString
value ofXlinkHrefAttribute
, see @xlink:href at specificationxlinkTypeValue
- theString
value ofXlinkTypeAttribute
, see @xlink:type at specification- Returns:
- the element <draw:a>
-
newDrawCaptionElement
Create child element <draw:caption>.- Returns:
- the element <draw:caption>
-
newDrawCircleElement
Create child element <draw:circle>.- Returns:
- the element <draw:circle>
-
newDrawConnectorElement
Create child element <draw:connector>.- Parameters:
svgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <draw:connector>
-
newDrawControlElement
Create child element <draw:control>.- Parameters:
drawControlValue
- theString
value ofDrawControlAttribute
, see @draw:control at specification- Returns:
- the element <draw:control>
-
newDrawCustomShapeElement
Create child element <draw:custom-shape>.- Returns:
- the element <draw:custom-shape>
-
newDrawEllipseElement
Create child element <draw:ellipse>.- Returns:
- the element <draw:ellipse>
-
newDrawFrameElement
Create child element <draw:frame>.- Returns:
- the element <draw:frame>
-
newDrawGElement
Create child element <draw:g>.- Returns:
- the element <draw:g>
-
newDrawLineElement
public DrawLineElement newDrawLineElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) Create child element <draw:line>.- Parameters:
svgX1Value
- theString
value ofSvgX1Attribute
, see @svg:x1 at specificationsvgX2Value
- theString
value ofSvgX2Attribute
, see @svg:x2 at specificationsvgY1Value
- theString
value ofSvgY1Attribute
, see @svg:y1 at specificationsvgY2Value
- theString
value ofSvgY2Attribute
, see @svg:y2 at specification- Returns:
- the element <draw:line>
-
newDrawMeasureElement
public DrawMeasureElement newDrawMeasureElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value) Create child element <draw:measure>.- Parameters:
svgX1Value
- theString
value ofSvgX1Attribute
, see @svg:x1 at specificationsvgX2Value
- theString
value ofSvgX2Attribute
, see @svg:x2 at specificationsvgY1Value
- theString
value ofSvgY1Attribute
, see @svg:y1 at specificationsvgY2Value
- theString
value ofSvgY2Attribute
, see @svg:y2 at specification- Returns:
- the element <draw:measure>
-
newDrawPageThumbnailElement
Create child element <draw:page-thumbnail>.- Returns:
- the element <draw:page-thumbnail>
-
newDrawPathElement
Create child element <draw:path>.- Parameters:
svgDValue
- theString
value ofSvgDAttribute
, see @svg:d at specificationsvgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <draw:path>
-
newDrawPolygonElement
Create child element <draw:polygon>.- Parameters:
drawPointsValue
- theString
value ofDrawPointsAttribute
, see @draw:points at specificationsvgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <draw:polygon>
-
newDrawPolylineElement
Create child element <draw:polyline>.- Parameters:
drawPointsValue
- theString
value ofDrawPointsAttribute
, see @draw:points at specificationsvgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <draw:polyline>
-
newDrawRectElement
Create child element <draw:rect>.- Returns:
- the element <draw:rect>
-
newDrawRegularPolygonElement
public DrawRegularPolygonElement newDrawRegularPolygonElement(boolean drawConcaveValue, int drawCornersValue) Create child element <draw:regular-polygon>.- Parameters:
drawConcaveValue
- theBoolean
value ofDrawConcaveAttribute
, see @draw:concave at specificationdrawCornersValue
- theInteger
value ofDrawCornersAttribute
, see @draw:corners at specification- Returns:
- the element <draw:regular-polygon>
-
newOfficeAnnotationElement
Create child element <office:annotation>.- Returns:
- the element <office:annotation>
-
newOfficeAnnotationEndElement
Create child element <office:annotation-end>.- Parameters:
officeNameValue
- theString
value ofOfficeNameAttribute
, see @office:name at specification Child element was added in ODF 1.2- Returns:
- the element <office:annotation-end>
-
newOfficeEventListenersElement
Create child element <office:event-listeners>.- Returns:
- the element <office:event-listeners>
-
newPresentationDateTimeElement
Create child element <presentation:date-time>.- Returns:
- the element <presentation:date-time>
-
newPresentationHeaderElement
Create child element <presentation:header>.- Returns:
- the element <presentation:header>
-
newTextAlphabeticalIndexMarkElement
public TextAlphabeticalIndexMarkElement newTextAlphabeticalIndexMarkElement(String textStringValueValue) Create child element <text:alphabetical-index-mark>.- Parameters:
textStringValueValue
- theString
value ofTextStringValueAttribute
, see @text:string-value at specification- Returns:
- the element <text:alphabetical-index-mark>
-
newTextAlphabeticalIndexMarkEndElement
public TextAlphabeticalIndexMarkEndElement newTextAlphabeticalIndexMarkEndElement(String textIdValue) Create child element <text:alphabetical-index-mark-end>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specification- Returns:
- the element <text:alphabetical-index-mark-end>
-
newTextAlphabeticalIndexMarkStartElement
public TextAlphabeticalIndexMarkStartElement newTextAlphabeticalIndexMarkStartElement(String textIdValue) Create child element <text:alphabetical-index-mark-start>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specification- Returns:
- the element <text:alphabetical-index-mark-start>
-
newTextAuthorInitialsElement
Create child element <text:author-initials>.- Returns:
- the element <text:author-initials>
-
newTextAuthorNameElement
Create child element <text:author-name>.- Returns:
- the element <text:author-name>
-
newTextBibliographyMarkElement
Create child element <text:bibliography-mark>.- Parameters:
textBibliographyTypeValue
- theString
value ofTextBibliographyTypeAttribute
, see @text:bibliography-type at specification- Returns:
- the element <text:bibliography-mark>
-
newTextBookmarkElement
Create child element <text:bookmark>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark>
-
newTextBookmarkEndElement
Create child element <text:bookmark-end>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark-end>
-
newTextBookmarkRefElement
Create child element <text:bookmark-ref>.- Returns:
- the element <text:bookmark-ref>
-
newTextBookmarkStartElement
Create child element <text:bookmark-start>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark-start>
-
newTextChangeElement
Create child element <text:change>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change>
-
newTextChangeEndElement
Create child element <text:change-end>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change-end>
-
newTextChangeStartElement
Create child element <text:change-start>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change-start>
-
newTextChapterElement
Create child element <text:chapter>.- Parameters:
textDisplayValue
- theString
value ofTextDisplayAttribute
, see @text:display at specificationtextOutlineLevelValue
- theInteger
value ofTextOutlineLevelAttribute
, see @text:outline-level at specification- Returns:
- the element <text:chapter>
-
newTextCharacterCountElement
Create child element <text:character-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:character-count>
-
newTextConditionalTextElement
public TextConditionalTextElement newTextConditionalTextElement(String textConditionValue, String textStringValueIfFalseValue, String textStringValueIfTrueValue) Create child element <text:conditional-text>.- Parameters:
textConditionValue
- theString
value ofTextConditionAttribute
, see @text:condition at specificationtextStringValueIfFalseValue
- theString
value ofTextStringValueIfFalseAttribute
, see @text:string-value-if-false at specificationtextStringValueIfTrueValue
- theString
value ofTextStringValueIfTrueAttribute
, see @text:string-value-if-true at specification- Returns:
- the element <text:conditional-text>
-
newTextCreationDateElement
Create child element <text:creation-date>.- Returns:
- the element <text:creation-date>
-
newTextCreationTimeElement
Create child element <text:creation-time>.- Returns:
- the element <text:creation-time>
-
newTextCreatorElement
Create child element <text:creator>.- Returns:
- the element <text:creator>
-
newTextDatabaseDisplayElement
public TextDatabaseDisplayElement newTextDatabaseDisplayElement(String textColumnNameValue, String textTableNameValue) Create child element <text:database-display>.- Parameters:
textColumnNameValue
- theString
value ofTextColumnNameAttribute
, see @text:column-name at specificationtextTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-display>
-
newTextDatabaseNameElement
Create child element <text:database-name>.- Parameters:
textTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-name>
-
newTextDatabaseNextElement
Create child element <text:database-next>.- Parameters:
textTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-next>
-
newTextDatabaseRowNumberElement
public TextDatabaseRowNumberElement newTextDatabaseRowNumberElement(String styleNumFormatValue, String textTableNameValue) Create child element <text:database-row-number>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specificationtextTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-row-number>
-
newTextDatabaseRowSelectElement
Create child element <text:database-row-select>.- Parameters:
textTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-row-select>
-
newTextDateElement
Create child element <text:date>.- Returns:
- the element <text:date>
-
newTextDdeConnectionElement
Create child element <text:dde-connection>.- Parameters:
textConnectionNameValue
- theString
value ofTextConnectionNameAttribute
, see @text:connection-name at specification- Returns:
- the element <text:dde-connection>
-
newTextDescriptionElement
Create child element <text:description>.- Returns:
- the element <text:description>
-
newTextEditingCyclesElement
Create child element <text:editing-cycles>.- Returns:
- the element <text:editing-cycles>
-
newTextEditingDurationElement
Create child element <text:editing-duration>.- Returns:
- the element <text:editing-duration>
-
newTextExecuteMacroElement
Create child element <text:execute-macro>.- Returns:
- the element <text:execute-macro>
-
newTextExpressionElement
public TextExpressionElement newTextExpressionElement(double officeValueValue, String officeValueTypeValue) Create child element <text:expression>.- Parameters:
officeValueValue
- theDouble
value ofOfficeValueAttribute
, see @office:value at specificationofficeValueTypeValue
- theString
value ofOfficeValueTypeAttribute
, see @office:value-type at specification- Returns:
- the element <text:expression>
-
newTextFileNameElement
Create child element <text:file-name>.- Returns:
- the element <text:file-name>
-
newTextHiddenParagraphElement
Create child element <text:hidden-paragraph>.- Parameters:
textConditionValue
- theString
value ofTextConditionAttribute
, see @text:condition at specification- Returns:
- the element <text:hidden-paragraph>
-
newTextHiddenTextElement
public TextHiddenTextElement newTextHiddenTextElement(String textConditionValue, String textStringValueValue) Create child element <text:hidden-text>.- Parameters:
textConditionValue
- theString
value ofTextConditionAttribute
, see @text:condition at specificationtextStringValueValue
- theString
value ofTextStringValueAttribute
, see @text:string-value at specification- Returns:
- the element <text:hidden-text>
-
newTextImageCountElement
Create child element <text:image-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:image-count>
-
newTextInitialCreatorElement
Create child element <text:initial-creator>.- Returns:
- the element <text:initial-creator>
-
newTextKeywordsElement
Create child element <text:keywords>.- Returns:
- the element <text:keywords>
-
newTextLineBreakElement
Create child element <text:line-break>.- Returns:
- the element <text:line-break>
-
newTextMeasureElement
Create child element <text:measure>.- Parameters:
textKindValue
- theString
value ofTextKindAttribute
, see @text:kind at specification- Returns:
- the element <text:measure>
-
newTextMetaElement
Create child element <text:meta>.Child element was added in ODF 1.2
- Returns:
- the element <text:meta>
-
newTextMetaFieldElement
Create child element <text:meta-field>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification Child element was added in ODF 1.2- Returns:
- the element <text:meta-field>
-
newTextModificationDateElement
Create child element <text:modification-date>.- Returns:
- the element <text:modification-date>
-
newTextModificationTimeElement
Create child element <text:modification-time>.- Returns:
- the element <text:modification-time>
-
newTextNoteElement
Create child element <text:note>.- Parameters:
textNoteClassValue
- theString
value ofTextNoteClassAttribute
, see @text:note-class at specification- Returns:
- the element <text:note>
-
newTextNoteRefElement
Create child element <text:note-ref>.- Parameters:
textNoteClassValue
- theString
value ofTextNoteClassAttribute
, see @text:note-class at specification- Returns:
- the element <text:note-ref>
-
newTextObjectCountElement
Create child element <text:object-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:object-count>
-
newTextPageContinuationElement
Create child element <text:page-continuation>.- Parameters:
textSelectPageValue
- theString
value ofTextSelectPageAttribute
, see @text:select-page at specification- Returns:
- the element <text:page-continuation>
-
newTextPageCountElement
Create child element <text:page-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:page-count>
-
newTextPageNumberElement
Create child element <text:page-number>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:page-number>
-
newTextPageVariableGetElement
Create child element <text:page-variable-get>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:page-variable-get>
-
newTextPageVariableSetElement
Create child element <text:page-variable-set>.- Returns:
- the element <text:page-variable-set>
-
newTextParagraphCountElement
Create child element <text:paragraph-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:paragraph-count>
-
newTextPlaceholderElement
Create child element <text:placeholder>.- Parameters:
textPlaceholderTypeValue
- theString
value ofTextPlaceholderTypeAttribute
, see @text:placeholder-type at specification- Returns:
- the element <text:placeholder>
-
newTextPrintDateElement
Create child element <text:print-date>.- Returns:
- the element <text:print-date>
-
newTextPrintTimeElement
Create child element <text:print-time>.- Returns:
- the element <text:print-time>
-
newTextPrintedByElement
Create child element <text:printed-by>.- Returns:
- the element <text:printed-by>
-
newTextReferenceMarkElement
Create child element <text:reference-mark>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:reference-mark>
-
newTextReferenceMarkEndElement
Create child element <text:reference-mark-end>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:reference-mark-end>
-
newTextReferenceMarkStartElement
Create child element <text:reference-mark-start>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:reference-mark-start>
-
newTextReferenceRefElement
Create child element <text:reference-ref>.- Returns:
- the element <text:reference-ref>
-
newTextRubyElement
Create child element <text:ruby>.- Returns:
- the element <text:ruby>
-
newTextSElement
Create child element <text:s>.- Returns:
- the element <text:s>
-
newTextScriptElement
Create child element <text:script>.- Returns:
- the element <text:script>
-
newTextSenderCityElement
Create child element <text:sender-city>.- Returns:
- the element <text:sender-city>
-
newTextSenderCompanyElement
Create child element <text:sender-company>.- Returns:
- the element <text:sender-company>
-
newTextSenderCountryElement
Create child element <text:sender-country>.- Returns:
- the element <text:sender-country>
-
newTextSenderEmailElement
Create child element <text:sender-email>.- Returns:
- the element <text:sender-email>
-
newTextSenderFaxElement
Create child element <text:sender-fax>.- Returns:
- the element <text:sender-fax>
-
newTextSenderFirstnameElement
Create child element <text:sender-firstname>.- Returns:
- the element <text:sender-firstname>
-
newTextSenderInitialsElement
Create child element <text:sender-initials>.- Returns:
- the element <text:sender-initials>
-
newTextSenderLastnameElement
Create child element <text:sender-lastname>.- Returns:
- the element <text:sender-lastname>
-
newTextSenderPhonePrivateElement
Create child element <text:sender-phone-private>.- Returns:
- the element <text:sender-phone-private>
-
newTextSenderPhoneWorkElement
Create child element <text:sender-phone-work>.- Returns:
- the element <text:sender-phone-work>
-
newTextSenderPositionElement
Create child element <text:sender-position>.- Returns:
- the element <text:sender-position>
-
newTextSenderPostalCodeElement
Create child element <text:sender-postal-code>.- Returns:
- the element <text:sender-postal-code>
-
newTextSenderStateOrProvinceElement
Create child element <text:sender-state-or-province>.- Returns:
- the element <text:sender-state-or-province>
-
newTextSenderStreetElement
Create child element <text:sender-street>.- Returns:
- the element <text:sender-street>
-
newTextSenderTitleElement
Create child element <text:sender-title>.- Returns:
- the element <text:sender-title>
-
newTextSequenceElement
Create child element <text:sequence>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specificationtextNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:sequence>
-
newTextSequenceRefElement
Create child element <text:sequence-ref>.- Returns:
- the element <text:sequence-ref>
-
newTextSheetNameElement
Create child element <text:sheet-name>.- Returns:
- the element <text:sheet-name>
-
newTextSoftPageBreakElement
Create child element <text:soft-page-break>.Child element was added in ODF 1.1
- Returns:
- the element <text:soft-page-break>
-
newTextSpanElement
Create child element <text:span>.- Returns:
- the element <text:span>
-
newTextSubjectElement
Create child element <text:subject>.- Returns:
- the element <text:subject>
-
newTextTabElement
Create child element <text:tab>.- Returns:
- the element <text:tab>
-
newTextTableCountElement
Create child element <text:table-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:table-count>
-
newTextTableFormulaElement
Create child element <text:table-formula>.- Returns:
- the element <text:table-formula>
-
newTextTemplateNameElement
Create child element <text:template-name>.- Returns:
- the element <text:template-name>
-
newTextTextInputElement
Create child element <text:text-input>.- Returns:
- the element <text:text-input>
-
newTextTimeElement
Create child element <text:time>.- Returns:
- the element <text:time>
-
newTextTitleElement
Create child element <text:title>.- Returns:
- the element <text:title>
-
newTextTocMarkElement
Create child element <text:toc-mark>.- Parameters:
textStringValueValue
- theString
value ofTextStringValueAttribute
, see @text:string-value at specification- Returns:
- the element <text:toc-mark>
-
newTextTocMarkEndElement
Create child element <text:toc-mark-end>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specification- Returns:
- the element <text:toc-mark-end>
-
newTextTocMarkStartElement
Create child element <text:toc-mark-start>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specification- Returns:
- the element <text:toc-mark-start>
-
newTextUserDefinedElement
Create child element <text:user-defined>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:user-defined>
-
newTextUserFieldGetElement
Create child element <text:user-field-get>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:user-field-get>
-
newTextUserFieldInputElement
Create child element <text:user-field-input>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:user-field-input>
-
newTextUserIndexMarkElement
public TextUserIndexMarkElement newTextUserIndexMarkElement(String textIndexNameValue, String textStringValueValue) Create child element <text:user-index-mark>.- Parameters:
textIndexNameValue
- theString
value ofTextIndexNameAttribute
, see @text:index-name at specificationtextStringValueValue
- theString
value ofTextStringValueAttribute
, see @text:string-value at specification- Returns:
- the element <text:user-index-mark>
-
newTextUserIndexMarkEndElement
Create child element <text:user-index-mark-end>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specification- Returns:
- the element <text:user-index-mark-end>
-
newTextUserIndexMarkStartElement
public TextUserIndexMarkStartElement newTextUserIndexMarkStartElement(String textIdValue, String textIndexNameValue) Create child element <text:user-index-mark-start>.- Parameters:
textIdValue
- theString
value ofTextIdAttribute
, see @text:id at specificationtextIndexNameValue
- theString
value ofTextIndexNameAttribute
, see @text:index-name at specification- Returns:
- the element <text:user-index-mark-start>
-
newTextVariableGetElement
Create child element <text:variable-get>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:variable-get>
-
newTextVariableInputElement
public TextVariableInputElement newTextVariableInputElement(String officeValueTypeValue, String textNameValue) Create child element <text:variable-input>.- Parameters:
officeValueTypeValue
- theString
value ofOfficeValueTypeAttribute
, see @office:value-type at specificationtextNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:variable-input>
-
newTextVariableSetElement
public TextVariableSetElement newTextVariableSetElement(double officeValueValue, String officeValueTypeValue, String textNameValue) Create child element <text:variable-set>.- Parameters:
officeValueValue
- theDouble
value ofOfficeValueAttribute
, see @office:value at specificationofficeValueTypeValue
- theString
value ofOfficeValueTypeAttribute
, see @office:value-type at specificationtextNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:variable-set>
-
newTextWordCountElement
Create child element <text:word-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:word-count>
-
accept
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
accept
in classOdfElement
- Parameters:
visitor
- an instance of DefaultElementVisitor
-
newTextNode
Add text content. Only elements which are allowed to have text content offer this method.
-