Class TextRubyBaseElement
- 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.text.TextRubyBaseElement
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
public class TextRubyBaseElement extends OdfElement
DOM implementation of OpenDocument element <text:ruby-base>.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfName
ELEMENT_NAME
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
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 Constructor Description TextRubyBaseElement(OdfFileDom ownerDoc)
Create the instance ofTextRubyBaseElement
-
Method Summary
-
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, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, 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, setAttributeNS, 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 Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
-
Constructor Detail
-
TextRubyBaseElement
public TextRubyBaseElement(OdfFileDom ownerDoc)
Create the instance ofTextRubyBaseElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <text:ruby-base>.
-
newDr3dSceneElement
public Dr3dSceneElement newDr3dSceneElement()
Create child element <dr3d:scene>.- Returns:
- the element <dr3d:scene>
-
newDrawAElement
public DrawAElement newDrawAElement(String xlinkHrefValue, String xlinkTypeValue)
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
public DrawCaptionElement newDrawCaptionElement()
Create child element <draw:caption>.- Returns:
- the element <draw:caption>
-
newDrawCircleElement
public DrawCircleElement newDrawCircleElement()
Create child element <draw:circle>.- Returns:
- the element <draw:circle>
-
newDrawConnectorElement
public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue)
Create child element <draw:connector>.- Parameters:
svgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <draw:connector>
-
newDrawControlElement
public DrawControlElement newDrawControlElement(String drawControlValue)
Create child element <draw:control>.- Parameters:
drawControlValue
- theString
value ofDrawControlAttribute
, see @draw:control at specification- Returns:
- the element <draw:control>
-
newDrawCustomShapeElement
public DrawCustomShapeElement newDrawCustomShapeElement()
Create child element <draw:custom-shape>.- Returns:
- the element <draw:custom-shape>
-
newDrawEllipseElement
public DrawEllipseElement newDrawEllipseElement()
Create child element <draw:ellipse>.- Returns:
- the element <draw:ellipse>
-
newDrawFrameElement
public DrawFrameElement newDrawFrameElement()
Create child element <draw:frame>.- Returns:
- the element <draw:frame>
-
newDrawGElement
public DrawGElement 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
public DrawPageThumbnailElement newDrawPageThumbnailElement()
Create child element <draw:page-thumbnail>.- Returns:
- the element <draw:page-thumbnail>
-
newDrawPathElement
public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue)
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
public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue)
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
public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue)
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
public DrawRectElement 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
public OfficeAnnotationElement newOfficeAnnotationElement()
Create child element <office:annotation>.- Returns:
- the element <office:annotation>
-
newOfficeAnnotationEndElement
public OfficeAnnotationEndElement newOfficeAnnotationEndElement(String officeNameValue)
Create child element <office:annotation-end>.- Parameters:
officeNameValue
- theString
value ofOfficeNameAttribute
, see @office:name at specification Child element is new in Odf 1.2- Returns:
- the element <office:annotation-end>
-
newPresentationDateTimeElement
public PresentationDateTimeElement newPresentationDateTimeElement()
Create child element <presentation:date-time>.- Returns:
- the element <presentation:date-time>
-
newPresentationFooterElement
public PresentationFooterElement newPresentationFooterElement()
Create child element <presentation:footer>.- Returns:
- the element <presentation:footer>
-
newPresentationHeaderElement
public PresentationHeaderElement newPresentationHeaderElement()
Create child element <presentation:header>.- Returns:
- the element <presentation:header>
-
newTextAElement
public TextAElement newTextAElement(String xlinkHrefValue, String xlinkTypeValue)
Create child element <text:a>.- Parameters:
xlinkHrefValue
- theString
value ofXlinkHrefAttribute
, see @xlink:href at specificationxlinkTypeValue
- theString
value ofXlinkTypeAttribute
, see @xlink:type at specification- Returns:
- the element <text:a>
-
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
public TextAuthorInitialsElement newTextAuthorInitialsElement()
Create child element <text:author-initials>.- Returns:
- the element <text:author-initials>
-
newTextAuthorNameElement
public TextAuthorNameElement newTextAuthorNameElement()
Create child element <text:author-name>.- Returns:
- the element <text:author-name>
-
newTextBibliographyMarkElement
public TextBibliographyMarkElement newTextBibliographyMarkElement(String textBibliographyTypeValue)
Create child element <text:bibliography-mark>.- Parameters:
textBibliographyTypeValue
- theString
value ofTextBibliographyTypeAttribute
, see @text:bibliography-type at specification- Returns:
- the element <text:bibliography-mark>
-
newTextBookmarkElement
public TextBookmarkElement newTextBookmarkElement(String textNameValue)
Create child element <text:bookmark>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark>
-
newTextBookmarkEndElement
public TextBookmarkEndElement newTextBookmarkEndElement(String textNameValue)
Create child element <text:bookmark-end>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark-end>
-
newTextBookmarkRefElement
public TextBookmarkRefElement newTextBookmarkRefElement()
Create child element <text:bookmark-ref>.- Returns:
- the element <text:bookmark-ref>
-
newTextBookmarkStartElement
public TextBookmarkStartElement newTextBookmarkStartElement(String textNameValue)
Create child element <text:bookmark-start>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:bookmark-start>
-
newTextChangeElement
public TextChangeElement newTextChangeElement(String textChangeIdValue)
Create child element <text:change>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change>
-
newTextChangeEndElement
public TextChangeEndElement newTextChangeEndElement(String textChangeIdValue)
Create child element <text:change-end>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change-end>
-
newTextChangeStartElement
public TextChangeStartElement newTextChangeStartElement(String textChangeIdValue)
Create child element <text:change-start>.- Parameters:
textChangeIdValue
- theString
value ofTextChangeIdAttribute
, see @text:change-id at specification- Returns:
- the element <text:change-start>
-
newTextChapterElement
public TextChapterElement newTextChapterElement(String textDisplayValue, int textOutlineLevelValue)
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
public TextCharacterCountElement newTextCharacterCountElement(String styleNumFormatValue)
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
public TextCreationDateElement newTextCreationDateElement()
Create child element <text:creation-date>.- Returns:
- the element <text:creation-date>
-
newTextCreationTimeElement
public TextCreationTimeElement newTextCreationTimeElement()
Create child element <text:creation-time>.- Returns:
- the element <text:creation-time>
-
newTextCreatorElement
public TextCreatorElement 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
public TextDatabaseNameElement newTextDatabaseNameElement(String textTableNameValue)
Create child element <text:database-name>.- Parameters:
textTableNameValue
- theString
value ofTextTableNameAttribute
, see @text:table-name at specification- Returns:
- the element <text:database-name>
-
newTextDatabaseNextElement
public TextDatabaseNextElement newTextDatabaseNextElement(String textTableNameValue)
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
public TextDatabaseRowSelectElement newTextDatabaseRowSelectElement(String textTableNameValue)
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
public TextDateElement newTextDateElement()
Create child element <text:date>.- Returns:
- the element <text:date>
-
newTextDdeConnectionElement
public TextDdeConnectionElement newTextDdeConnectionElement(String textConnectionNameValue)
Create child element <text:dde-connection>.- Parameters:
textConnectionNameValue
- theString
value ofTextConnectionNameAttribute
, see @text:connection-name at specification- Returns:
- the element <text:dde-connection>
-
newTextDescriptionElement
public TextDescriptionElement newTextDescriptionElement()
Create child element <text:description>.- Returns:
- the element <text:description>
-
newTextEditingCyclesElement
public TextEditingCyclesElement newTextEditingCyclesElement()
Create child element <text:editing-cycles>.- Returns:
- the element <text:editing-cycles>
-
newTextEditingDurationElement
public TextEditingDurationElement newTextEditingDurationElement()
Create child element <text:editing-duration>.- Returns:
- the element <text:editing-duration>
-
newTextExecuteMacroElement
public TextExecuteMacroElement 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
public TextFileNameElement newTextFileNameElement()
Create child element <text:file-name>.- Returns:
- the element <text:file-name>
-
newTextHiddenParagraphElement
public TextHiddenParagraphElement newTextHiddenParagraphElement(String textConditionValue)
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
public TextImageCountElement newTextImageCountElement(String styleNumFormatValue)
Create child element <text:image-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:image-count>
-
newTextInitialCreatorElement
public TextInitialCreatorElement newTextInitialCreatorElement()
Create child element <text:initial-creator>.- Returns:
- the element <text:initial-creator>
-
newTextKeywordsElement
public TextKeywordsElement newTextKeywordsElement()
Create child element <text:keywords>.- Returns:
- the element <text:keywords>
-
newTextLineBreakElement
public TextLineBreakElement newTextLineBreakElement()
Create child element <text:line-break>.- Returns:
- the element <text:line-break>
-
newTextMeasureElement
public TextMeasureElement newTextMeasureElement(String textKindValue)
Create child element <text:measure>.- Parameters:
textKindValue
- theString
value ofTextKindAttribute
, see @text:kind at specification- Returns:
- the element <text:measure>
-
newTextMetaElement
public TextMetaElement newTextMetaElement()
Create child element <text:meta>.Child element is new in Odf 1.2
- Returns:
- the element <text:meta>
-
newTextMetaFieldElement
public TextMetaFieldElement newTextMetaFieldElement(String xmlIdValue)
Create child element <text:meta-field>.- Parameters:
xmlIdValue
- theString
value ofXmlIdAttribute
, see @xml:id at specification Child element is new in Odf 1.2- Returns:
- the element <text:meta-field>
-
newTextModificationDateElement
public TextModificationDateElement newTextModificationDateElement()
Create child element <text:modification-date>.- Returns:
- the element <text:modification-date>
-
newTextModificationTimeElement
public TextModificationTimeElement newTextModificationTimeElement()
Create child element <text:modification-time>.- Returns:
- the element <text:modification-time>
-
newTextNoteElement
public TextNoteElement newTextNoteElement(String textNoteClassValue)
Create child element <text:note>.- Parameters:
textNoteClassValue
- theString
value ofTextNoteClassAttribute
, see @text:note-class at specification- Returns:
- the element <text:note>
-
newTextNoteRefElement
public TextNoteRefElement newTextNoteRefElement(String textNoteClassValue)
Create child element <text:note-ref>.- Parameters:
textNoteClassValue
- theString
value ofTextNoteClassAttribute
, see @text:note-class at specification- Returns:
- the element <text:note-ref>
-
newTextObjectCountElement
public TextObjectCountElement newTextObjectCountElement(String styleNumFormatValue)
Create child element <text:object-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:object-count>
-
newTextPageContinuationElement
public TextPageContinuationElement newTextPageContinuationElement(String textSelectPageValue)
Create child element <text:page-continuation>.- Parameters:
textSelectPageValue
- theString
value ofTextSelectPageAttribute
, see @text:select-page at specification- Returns:
- the element <text:page-continuation>
-
newTextPageCountElement
public TextPageCountElement newTextPageCountElement(String styleNumFormatValue)
Create child element <text:page-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:page-count>
-
newTextPageNumberElement
public TextPageNumberElement newTextPageNumberElement(String styleNumFormatValue)
Create child element <text:page-number>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:page-number>
-
newTextPageVariableGetElement
public TextPageVariableGetElement newTextPageVariableGetElement(String styleNumFormatValue)
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
public TextPageVariableSetElement newTextPageVariableSetElement()
Create child element <text:page-variable-set>.- Returns:
- the element <text:page-variable-set>
-
newTextParagraphCountElement
public TextParagraphCountElement newTextParagraphCountElement(String styleNumFormatValue)
Create child element <text:paragraph-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:paragraph-count>
-
newTextPlaceholderElement
public TextPlaceholderElement newTextPlaceholderElement(String textPlaceholderTypeValue)
Create child element <text:placeholder>.- Parameters:
textPlaceholderTypeValue
- theString
value ofTextPlaceholderTypeAttribute
, see @text:placeholder-type at specification- Returns:
- the element <text:placeholder>
-
newTextPrintDateElement
public TextPrintDateElement newTextPrintDateElement()
Create child element <text:print-date>.- Returns:
- the element <text:print-date>
-
newTextPrintTimeElement
public TextPrintTimeElement newTextPrintTimeElement()
Create child element <text:print-time>.- Returns:
- the element <text:print-time>
-
newTextPrintedByElement
public TextPrintedByElement newTextPrintedByElement()
Create child element <text:printed-by>.- Returns:
- the element <text:printed-by>
-
newTextReferenceMarkElement
public TextReferenceMarkElement newTextReferenceMarkElement(String textNameValue)
Create child element <text:reference-mark>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:reference-mark>
-
newTextReferenceMarkEndElement
public TextReferenceMarkEndElement newTextReferenceMarkEndElement(String textNameValue)
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
public TextReferenceMarkStartElement newTextReferenceMarkStartElement(String textNameValue)
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
public TextReferenceRefElement newTextReferenceRefElement()
Create child element <text:reference-ref>.- Returns:
- the element <text:reference-ref>
-
newTextRubyElement
public TextRubyElement newTextRubyElement()
Create child element <text:ruby>.- Returns:
- the element <text:ruby>
-
newTextSElement
public TextSElement newTextSElement()
Create child element <text:s>.- Returns:
- the element <text:s>
-
newTextScriptElement
public TextScriptElement newTextScriptElement()
Create child element <text:script>.- Returns:
- the element <text:script>
-
newTextSenderCityElement
public TextSenderCityElement newTextSenderCityElement()
Create child element <text:sender-city>.- Returns:
- the element <text:sender-city>
-
newTextSenderCompanyElement
public TextSenderCompanyElement newTextSenderCompanyElement()
Create child element <text:sender-company>.- Returns:
- the element <text:sender-company>
-
newTextSenderCountryElement
public TextSenderCountryElement newTextSenderCountryElement()
Create child element <text:sender-country>.- Returns:
- the element <text:sender-country>
-
newTextSenderEmailElement
public TextSenderEmailElement newTextSenderEmailElement()
Create child element <text:sender-email>.- Returns:
- the element <text:sender-email>
-
newTextSenderFaxElement
public TextSenderFaxElement newTextSenderFaxElement()
Create child element <text:sender-fax>.- Returns:
- the element <text:sender-fax>
-
newTextSenderFirstnameElement
public TextSenderFirstnameElement newTextSenderFirstnameElement()
Create child element <text:sender-firstname>.- Returns:
- the element <text:sender-firstname>
-
newTextSenderInitialsElement
public TextSenderInitialsElement newTextSenderInitialsElement()
Create child element <text:sender-initials>.- Returns:
- the element <text:sender-initials>
-
newTextSenderLastnameElement
public TextSenderLastnameElement newTextSenderLastnameElement()
Create child element <text:sender-lastname>.- Returns:
- the element <text:sender-lastname>
-
newTextSenderPhonePrivateElement
public TextSenderPhonePrivateElement newTextSenderPhonePrivateElement()
Create child element <text:sender-phone-private>.- Returns:
- the element <text:sender-phone-private>
-
newTextSenderPhoneWorkElement
public TextSenderPhoneWorkElement newTextSenderPhoneWorkElement()
Create child element <text:sender-phone-work>.- Returns:
- the element <text:sender-phone-work>
-
newTextSenderPositionElement
public TextSenderPositionElement newTextSenderPositionElement()
Create child element <text:sender-position>.- Returns:
- the element <text:sender-position>
-
newTextSenderPostalCodeElement
public TextSenderPostalCodeElement newTextSenderPostalCodeElement()
Create child element <text:sender-postal-code>.- Returns:
- the element <text:sender-postal-code>
-
newTextSenderStateOrProvinceElement
public TextSenderStateOrProvinceElement newTextSenderStateOrProvinceElement()
Create child element <text:sender-state-or-province>.- Returns:
- the element <text:sender-state-or-province>
-
newTextSenderStreetElement
public TextSenderStreetElement newTextSenderStreetElement()
Create child element <text:sender-street>.- Returns:
- the element <text:sender-street>
-
newTextSenderTitleElement
public TextSenderTitleElement newTextSenderTitleElement()
Create child element <text:sender-title>.- Returns:
- the element <text:sender-title>
-
newTextSequenceElement
public TextSequenceElement newTextSequenceElement(String styleNumFormatValue, String textNameValue)
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
public TextSequenceRefElement newTextSequenceRefElement()
Create child element <text:sequence-ref>.- Returns:
- the element <text:sequence-ref>
-
newTextSheetNameElement
public TextSheetNameElement newTextSheetNameElement()
Create child element <text:sheet-name>.- Returns:
- the element <text:sheet-name>
-
newTextSoftPageBreakElement
public TextSoftPageBreakElement newTextSoftPageBreakElement()
Create child element <text:soft-page-break>.- Returns:
- the element <text:soft-page-break>
-
newTextSpanElement
public TextSpanElement newTextSpanElement()
Create child element <text:span>.- Returns:
- the element <text:span>
-
newTextSubjectElement
public TextSubjectElement newTextSubjectElement()
Create child element <text:subject>.- Returns:
- the element <text:subject>
-
newTextTabElement
public TextTabElement newTextTabElement()
Create child element <text:tab>.- Returns:
- the element <text:tab>
-
newTextTableCountElement
public TextTableCountElement newTextTableCountElement(String styleNumFormatValue)
Create child element <text:table-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:table-count>
-
newTextTableFormulaElement
public TextTableFormulaElement newTextTableFormulaElement()
Create child element <text:table-formula>.- Returns:
- the element <text:table-formula>
-
newTextTemplateNameElement
public TextTemplateNameElement newTextTemplateNameElement()
Create child element <text:template-name>.- Returns:
- the element <text:template-name>
-
newTextTextInputElement
public TextTextInputElement newTextTextInputElement()
Create child element <text:text-input>.- Returns:
- the element <text:text-input>
-
newTextTimeElement
public TextTimeElement newTextTimeElement()
Create child element <text:time>.- Returns:
- the element <text:time>
-
newTextTitleElement
public TextTitleElement newTextTitleElement()
Create child element <text:title>.- Returns:
- the element <text:title>
-
newTextTocMarkElement
public TextTocMarkElement newTextTocMarkElement(String textStringValueValue)
Create child element <text:toc-mark>.- Parameters:
textStringValueValue
- theString
value ofTextStringValueAttribute
, see @text:string-value at specification- Returns:
- the element <text:toc-mark>
-
newTextTocMarkEndElement
public TextTocMarkEndElement newTextTocMarkEndElement(String textIdValue)
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
public TextTocMarkStartElement newTextTocMarkStartElement(String textIdValue)
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
public TextUserDefinedElement newTextUserDefinedElement(String textNameValue)
Create child element <text:user-defined>.- Parameters:
textNameValue
- theString
value ofTextNameAttribute
, see @text:name at specification- Returns:
- the element <text:user-defined>
-
newTextUserFieldGetElement
public TextUserFieldGetElement newTextUserFieldGetElement(String textNameValue)
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
public TextUserFieldInputElement newTextUserFieldInputElement(String textNameValue)
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
public TextUserIndexMarkEndElement newTextUserIndexMarkEndElement(String textIdValue)
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
public TextVariableGetElement newTextVariableGetElement(String textNameValue)
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
public TextWordCountElement newTextWordCountElement(String styleNumFormatValue)
Create child element <text:word-count>.- Parameters:
styleNumFormatValue
- theString
value ofStyleNumFormatAttribute
, see @style:num-format at specification- Returns:
- the element <text:word-count>
-
accept
public void accept(ElementVisitor visitor)
Description copied from class:OdfElement
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
public void newTextNode(String content)
Add text content. Only elements which are allowed to have text content offer this method.
-
-