public class DrawPolygonElement extends DrawShapeElementBase
| Modifier and Type | Field and Description |
|---|---|
static OdfName |
ELEMENT_NAME |
mFamily, mStyleNameAttriblocalName, namespaceURIattributes, namefirstChild, fNodeListCache, ownerDocumentnextSibling, previousSiblingDOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION| Constructor and Description |
|---|
DrawPolygonElement(OdfFileDom ownerDoc)
Create the instance of
DrawPolygonElement |
| 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 |
String |
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representation
DrawLayerAttribute , See
draw:layer |
String |
getDrawPointsAttribute()
Receives the value of the ODFDOM attribute representation
DrawPointsAttribute ,
See draw:points |
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 |
Integer |
getSvgViewBoxAttribute()
Receives the value of the ODFDOM attribute representation
SvgViewBoxAttribute ,
See svg:viewBox |
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 |
setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representation
DrawLayerAttribute , See
draw:layer |
void |
setDrawPointsAttribute(String drawPointsValue)
Sets the value of ODFDOM attribute representation
DrawPointsAttribute , See
draw:points |
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 |
setSvgViewBoxAttribute(Integer svgViewBoxValue)
Sets the value of ODFDOM attribute representation
SvgViewBoxAttribute , See
svg:viewBox |
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, setXmlIdAttributeadjustStyleNameAttrib, setAttributeNodeNS, setAttributeNSgetAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleNamecloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toStringgetLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setTypegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDatagetChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserDataclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserDatapublic static final OdfName ELEMENT_NAME
public DrawPolygonElement(OdfFileDom ownerDoc)
DrawPolygonElementownerDoc - The type is OdfFileDompublic OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element draw: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 Stringpublic 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 Stringpublic String getDrawPointsAttribute()
DrawPointsAttribute ,
See draw:points
Attribute is mandatory.
String , the value or null, if the attribute is not set
and no default value defined.public void setDrawPointsAttribute(String drawPointsValue)
DrawPointsAttribute , See
draw:pointsdrawPointsValue - The type is Stringpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic Integer getSvgViewBoxAttribute()
SvgViewBoxAttribute ,
See svg:viewBox
Attribute is mandatory.
Integer , the value or null, if the attribute is not
set and no default value defined.public void setSvgViewBoxAttribute(Integer svgViewBoxValue)
SvgViewBoxAttribute , See
svg:viewBoxsvgViewBoxValue - The type is Integerpublic 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 Stringpublic 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 Stringpublic 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 Stringpublic 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)
OdfElementaccept in class OdfElementvisitor - an instance of DefaultElementVisitorCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.