public class DrawRegularPolygonElement extends DrawShapeElementBase
Modifier and Type | Field and Description |
---|---|
static OdfName |
ELEMENT_NAME |
mFamily, mStyleNameAttrib
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 |
---|
DrawRegularPolygonElement(OdfFileDom ownerDoc)
Create the instance of
DrawRegularPolygonElement |
Modifier and Type | Method and Description |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
String |
getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representation
DrawCaptionIdAttribute , See draw:caption-id |
Boolean |
getDrawConcaveAttribute()
Receives the value of the ODFDOM attribute representation
DrawConcaveAttribute , See draw:concave
Attribute is mandatory. |
Integer |
getDrawCornersAttribute()
Receives the value of the ODFDOM attribute representation
DrawCornersAttribute , See draw:corners
Attribute is mandatory. |
String |
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representation
DrawLayerAttribute , See draw:layer |
String |
getDrawSharpnessAttribute()
Receives the value of the ODFDOM attribute representation
DrawSharpnessAttribute , See draw:sharpness |
String |
getDrawTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation
DrawTextStyleNameAttribute , See draw:text-style-name |
String |
getDrawTransformAttribute()
Receives the value of the ODFDOM attribute representation
DrawTransformAttribute , See draw:transform |
OdfName |
getOdfName()
Get the element name
|
String |
getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representation
SvgHeightAttribute , See svg:height |
String |
getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representation
SvgWidthAttribute , See svg:width |
String |
getSvgXAttribute()
Receives the value of the ODFDOM attribute representation
SvgXAttribute , See svg:x |
String |
getSvgYAttribute()
Receives the value of the ODFDOM attribute representation
SvgYAttribute , See svg:y |
DrawGluePointElement |
newDrawGluePointElement(String drawEscapeDirectionValue,
String drawIdValue,
String svgXValue,
String svgYValue)
Create child element draw:glue-point.
|
OfficeEventListenersElement |
newOfficeEventListenersElement()
Create child element office:event-listeners.
|
SvgDescElement |
newSvgDescElement()
Create child element svg:desc.
|
SvgTitleElement |
newSvgTitleElement()
Create child element svg:title.
|
TextListElement |
newTextListElement()
Create child element text:list.
|
TextPElement |
newTextPElement()
Create child element text:p.
|
void |
setDrawCaptionIdAttribute(String drawCaptionIdValue)
Sets the value of ODFDOM attribute representation
DrawCaptionIdAttribute , See draw:caption-id |
void |
setDrawConcaveAttribute(Boolean drawConcaveValue)
Sets the value of ODFDOM attribute representation
DrawConcaveAttribute , See draw:concave |
void |
setDrawCornersAttribute(Integer drawCornersValue)
Sets the value of ODFDOM attribute representation
DrawCornersAttribute , See draw:corners |
void |
setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representation
DrawLayerAttribute , See draw:layer |
void |
setDrawSharpnessAttribute(String drawSharpnessValue)
Sets the value of ODFDOM attribute representation
DrawSharpnessAttribute , See draw:sharpness |
void |
setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
Sets the value of ODFDOM attribute representation
DrawTextStyleNameAttribute , See draw:text-style-name |
void |
setDrawTransformAttribute(String drawTransformValue)
Sets the value of ODFDOM attribute representation
DrawTransformAttribute , See draw:transform |
void |
setSvgHeightAttribute(String svgHeightValue)
Sets the value of ODFDOM attribute representation
SvgHeightAttribute , See svg:height |
void |
setSvgWidthAttribute(String svgWidthValue)
Sets the value of ODFDOM attribute representation
SvgWidthAttribute , See svg:width |
void |
setSvgXAttribute(String svgXValue)
Sets the value of ODFDOM attribute representation
SvgXAttribute , See svg:x |
void |
setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representation
SvgYAttribute , See svg:y |
getDrawClassNamesAttribute, getDrawIdAttribute, getDrawNameAttribute, getDrawStyleNameAttribute, getDrawZIndexAttribute, getPresentationClassNamesAttribute, getPresentationStyleNameAttribute, getTableEndCellAddressAttribute, getTableEndXAttribute, getTableEndYAttribute, getTableTableBackgroundAttribute, getTextAnchorPageNumberAttribute, getTextAnchorTypeAttribute, getXmlIdAttribute, setDrawClassNamesAttribute, setDrawIdAttribute, setDrawNameAttribute, setDrawStyleNameAttribute, setDrawZIndexAttribute, setPresentationClassNamesAttribute, setPresentationStyleNameAttribute, setTableEndCellAddressAttribute, setTableEndXAttribute, setTableEndYAttribute, setTableTableBackgroundAttribute, setTextAnchorPageNumberAttribute, setTextAnchorTypeAttribute, setXmlIdAttribute
adjustStyleNameAttrib, setAttributeNodeNS, setAttributeNS
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleName
cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, 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, 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 DrawRegularPolygonElement(OdfFileDom ownerDoc)
DrawRegularPolygonElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:regular-polygon.public String getDrawCaptionIdAttribute()
DrawCaptionIdAttribute
, See draw:caption-idString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
DrawCaptionIdAttribute
, See draw:caption-iddrawCaptionIdValue
- The type is String
public Boolean getDrawConcaveAttribute()
DrawConcaveAttribute
, See draw:concave
Attribute is mandatory.Boolean
, the value or null
, if the attribute is not set and no default value defined.public void setDrawConcaveAttribute(Boolean drawConcaveValue)
DrawConcaveAttribute
, See draw:concavedrawConcaveValue
- The type is Boolean
public Integer getDrawCornersAttribute()
DrawCornersAttribute
, See draw:corners
Attribute is mandatory.Integer
, the value or null
, if the attribute is not set and no default value defined.public void setDrawCornersAttribute(Integer drawCornersValue)
DrawCornersAttribute
, See draw:cornersdrawCornersValue
- The type is Integer
public String getDrawLayerAttribute()
DrawLayerAttribute
, See draw:layerString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawLayerAttribute(String drawLayerValue)
DrawLayerAttribute
, See draw:layerdrawLayerValue
- The type is String
public String getDrawSharpnessAttribute()
DrawSharpnessAttribute
, See draw:sharpnessString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawSharpnessAttribute(String drawSharpnessValue)
DrawSharpnessAttribute
, See draw:sharpnessdrawSharpnessValue
- The type is String
public String getDrawTextStyleNameAttribute()
DrawTextStyleNameAttribute
, See draw:text-style-nameString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
DrawTextStyleNameAttribute
, See draw:text-style-namedrawTextStyleNameValue
- The type is String
public String getDrawTransformAttribute()
DrawTransformAttribute
, See draw:transformString
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTransformAttribute(String drawTransformValue)
DrawTransformAttribute
, See draw:transformdrawTransformValue
- The type is String
public String getSvgHeightAttribute()
SvgHeightAttribute
, See svg:heightString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgHeightAttribute(String svgHeightValue)
SvgHeightAttribute
, See svg:heightsvgHeightValue
- The type is String
public String getSvgWidthAttribute()
SvgWidthAttribute
, See svg:widthString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgWidthAttribute(String svgWidthValue)
SvgWidthAttribute
, See svg:widthsvgWidthValue
- The type is String
public String getSvgXAttribute()
SvgXAttribute
, See svg:xString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgXAttribute(String svgXValue)
SvgXAttribute
, See svg:xsvgXValue
- The type is String
public String getSvgYAttribute()
SvgYAttribute
, See svg:yString
, the value or null
, if the attribute is not set and no default value defined.public void setSvgYAttribute(String svgYValue)
SvgYAttribute
, See svg:ysvgYValue
- The type is String
public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
drawEscapeDirectionValue
- the String
value of DrawEscapeDirectionAttribute
, see draw:escape-direction at specificationdrawIdValue
- the String
value of DrawIdAttribute
, see draw:id at specificationsvgXValue
- the String
value of SvgXAttribute
, see svg:x at specificationsvgYValue
- the String
value of SvgYAttribute
, see svg:y at specificationpublic OfficeEventListenersElement newOfficeEventListenersElement()
public SvgDescElement newSvgDescElement()
public SvgTitleElement newSvgTitleElement()
public TextListElement newTextListElement()
public TextPElement newTextPElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.