public class DrawTextBoxElement extends OdfElement
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
localName, namespaceURI
attributes, name
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
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
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
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
DrawTextBoxElement(OdfFileDom ownerDoc)
Create the instance of
DrawTextBoxElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
String |
getDrawChainNextNameAttribute()
Receives the value of the ODFDOM attribute representation
DrawChainNextNameAttribute
, See draw:chain-next-name |
String |
getDrawCornerRadiusAttribute()
Receives the value of the ODFDOM attribute representation
DrawCornerRadiusAttribute
, See draw:corner-radius |
String |
getFoMaxHeightAttribute()
Receives the value of the ODFDOM attribute representation
FoMaxHeightAttribute ,
See fo:max-height |
String |
getFoMaxWidthAttribute()
Receives the value of the ODFDOM attribute representation
FoMaxWidthAttribute ,
See fo:max-width |
String |
getFoMinHeightAttribute()
Receives the value of the ODFDOM attribute representation
FoMinHeightAttribute ,
See fo:min-height |
String |
getFoMinWidthAttribute()
Receives the value of the ODFDOM attribute representation
FoMinWidthAttribute ,
See fo:min-width |
OdfName |
getOdfName()
Get the element name
|
String |
getTextIdAttribute()
Receives the value of the ODFDOM attribute representation
TextIdAttribute , See
text:id |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation
XmlIdAttribute , See
xml:id |
Dr3dSceneElement |
newDr3dSceneElement()
Create child element dr3d:scene.
|
DrawAElement |
newDrawAElement(String xlinkHrefValue,
String xlinkTypeValue)
Create child element draw:a.
|
DrawCaptionElement |
newDrawCaptionElement()
Create child element draw:caption.
|
DrawCircleElement |
newDrawCircleElement()
Create child element draw:circle.
|
DrawConnectorElement |
newDrawConnectorElement(int svgViewBoxValue)
Create child element draw:connector.
|
DrawControlElement |
newDrawControlElement(String drawControlValue)
Create child element draw:control.
|
DrawCustomShapeElement |
newDrawCustomShapeElement()
Create child element draw:custom-shape.
|
DrawEllipseElement |
newDrawEllipseElement()
Create child element draw:ellipse.
|
DrawFrameElement |
newDrawFrameElement()
Create child element draw:frame.
|
DrawGElement |
newDrawGElement()
Create child element draw:g.
|
DrawLineElement |
newDrawLineElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:line.
|
DrawMeasureElement |
newDrawMeasureElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:measure.
|
DrawPageThumbnailElement |
newDrawPageThumbnailElement()
Create child element draw:page-thumbnail.
|
DrawPathElement |
newDrawPathElement(String svgDValue,
int svgViewBoxValue)
Create child element draw:path.
|
DrawPolygonElement |
newDrawPolygonElement(String drawPointsValue,
int svgViewBoxValue)
Create child element draw:polygon.
|
DrawPolylineElement |
newDrawPolylineElement(String drawPointsValue,
int svgViewBoxValue)
Create child element draw:polyline.
|
DrawRectElement |
newDrawRectElement()
Create child element draw:rect.
|
DrawRegularPolygonElement |
newDrawRegularPolygonElement(boolean drawConcaveValue,
int drawCornersValue)
Create child element draw:regular-polygon.
|
TableTableElement |
newTableTableElement()
Create child element table:table.
|
TextAlphabeticalIndexElement |
newTextAlphabeticalIndexElement(String textNameValue)
Create child element text:alphabetical-index.
|
TextBibliographyElement |
newTextBibliographyElement(String textNameValue)
Create child element text:bibliography.
|
TextChangeElement |
newTextChangeElement(String textChangeIdValue)
Create child element text:change.
|
TextChangeEndElement |
newTextChangeEndElement(String textChangeIdValue)
Create child element text:change-end.
|
TextChangeStartElement |
newTextChangeStartElement(String textChangeIdValue)
Create child element text:change-start.
|
TextHElement |
newTextHElement(int textOutlineLevelValue)
Create child element text:h.
|
TextIllustrationIndexElement |
newTextIllustrationIndexElement(String textNameValue)
Create child element text:illustration-index.
|
TextListElement |
newTextListElement()
Create child element text:list.
|
TextNumberedParagraphElement |
newTextNumberedParagraphElement(String textListIdValue)
Create child element text:numbered-paragraph.
|
TextObjectIndexElement |
newTextObjectIndexElement(String textNameValue)
Create child element text:object-index.
|
TextPElement |
newTextPElement()
Create child element text:p.
|
TextSectionElement |
newTextSectionElement(String textDisplayValue,
String textNameValue)
Create child element text:section.
|
TextSoftPageBreakElement |
newTextSoftPageBreakElement()
Create child element text:soft-page-break.
|
TextTableIndexElement |
newTextTableIndexElement(String textNameValue)
Create child element text:table-index.
|
TextTableOfContentElement |
newTextTableOfContentElement(String textNameValue)
Create child element text:table-of-content.
|
TextUserIndexElement |
newTextUserIndexElement(String textNameValue)
Create child element text:user-index.
|
void |
setDrawChainNextNameAttribute(String drawChainNextNameValue)
Sets the value of ODFDOM attribute representation
DrawChainNextNameAttribute , See
draw:chain-next-name |
void |
setDrawCornerRadiusAttribute(String drawCornerRadiusValue)
Sets the value of ODFDOM attribute representation
DrawCornerRadiusAttribute , See
draw:corner-radius |
void |
setFoMaxHeightAttribute(String foMaxHeightValue)
Sets the value of ODFDOM attribute representation
FoMaxHeightAttribute , See
fo:max-height |
void |
setFoMaxWidthAttribute(String foMaxWidthValue)
Sets the value of ODFDOM attribute representation
FoMaxWidthAttribute , See
fo:max-width |
void |
setFoMinHeightAttribute(String foMinHeightValue)
Sets the value of ODFDOM attribute representation
FoMinHeightAttribute , See
fo:min-height |
void |
setFoMinWidthAttribute(String foMinWidthValue)
Sets the value of ODFDOM attribute representation
FoMinWidthAttribute , See
fo:min-width |
void |
setTextIdAttribute(String textIdValue)
Sets the value of ODFDOM attribute representation
TextIdAttribute , See
text:id |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation
XmlIdAttribute , See
xml:id |
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
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
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
public static final OdfName ELEMENT_NAME
public DrawTextBoxElement(OdfFileDom ownerDoc)
DrawTextBoxElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:text-box.public String getDrawChainNextNameAttribute()
DrawChainNextNameAttribute
, See draw:chain-next-nameString
, the value or null
, if the attribute is not set
and no default value defined.public void setDrawChainNextNameAttribute(String drawChainNextNameValue)
DrawChainNextNameAttribute
, See
draw:chain-next-namedrawChainNextNameValue
- The type is String
public String getDrawCornerRadiusAttribute()
DrawCornerRadiusAttribute
, See draw:corner-radiusString
, the value or null
, if the attribute is not set
and no default value defined.public void setDrawCornerRadiusAttribute(String drawCornerRadiusValue)
DrawCornerRadiusAttribute
, See
draw:corner-radiusdrawCornerRadiusValue
- The type is String
public String getFoMaxHeightAttribute()
FoMaxHeightAttribute
,
See fo:max-heightString
, the value or null
, if the attribute is not set
and no default value defined.public void setFoMaxHeightAttribute(String foMaxHeightValue)
FoMaxHeightAttribute
, See
fo:max-heightfoMaxHeightValue
- The type is String
public String getFoMaxWidthAttribute()
FoMaxWidthAttribute
,
See fo:max-widthString
, the value or null
, if the attribute is not set
and no default value defined.public void setFoMaxWidthAttribute(String foMaxWidthValue)
FoMaxWidthAttribute
, See
fo:max-widthfoMaxWidthValue
- The type is String
public String getFoMinHeightAttribute()
FoMinHeightAttribute
,
See fo:min-heightString
, the value or null
, if the attribute is not set
and no default value defined.public void setFoMinHeightAttribute(String foMinHeightValue)
FoMinHeightAttribute
, See
fo:min-heightfoMinHeightValue
- The type is String
public String getFoMinWidthAttribute()
FoMinWidthAttribute
,
See fo:min-widthString
, the value or null
, if the attribute is not set
and no default value defined.public void setFoMinWidthAttribute(String foMinWidthValue)
FoMinWidthAttribute
, See
fo:min-widthfoMinWidthValue
- The type is String
public String getTextIdAttribute()
TextIdAttribute
, See
text:idString
, the value or null
, if the attribute is not set
and no default value defined.public void setTextIdAttribute(String textIdValue)
TextIdAttribute
, See
text:idtextIdValue
- The type is String
public String getXmlIdAttribute()
XmlIdAttribute
, See
xml:idString
, the value or null
, if the attribute is not set
and no default value defined.public void setXmlIdAttribute(String xmlIdValue)
XmlIdAttribute
, See
xml:idxmlIdValue
- The type is String
public 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 TableTableElement newTableTableElement()
public TextAlphabeticalIndexElement newTextAlphabeticalIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextBibliographyElement newTextBibliographyElement(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 TextHElement newTextHElement(int textOutlineLevelValue)
textOutlineLevelValue
- the Integer
value of TextOutlineLevelAttribute
, see text:outline-level at specificationpublic TextIllustrationIndexElement newTextIllustrationIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextListElement newTextListElement()
public TextNumberedParagraphElement newTextNumberedParagraphElement(String textListIdValue)
textListIdValue
- the String
value of TextListIdAttribute
, see
text:list-id at specificationpublic TextObjectIndexElement newTextObjectIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextPElement newTextPElement()
public TextSectionElement newTextSectionElement(String textDisplayValue, String textNameValue)
textDisplayValue
- the String
value of TextDisplayAttribute
, see
text:display at specificationtextNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextSoftPageBreakElement newTextSoftPageBreakElement()
public TextTableIndexElement newTextTableIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextTableOfContentElement newTextTableOfContentElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic TextUserIndexElement newTextUserIndexElement(String textNameValue)
textNameValue
- the String
value of TextNameAttribute
, see
text:name at specificationpublic void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.