public class DrawAElement extends OdfElement
| Modifier and Type | Field and Description |
|---|---|
static OdfName |
ELEMENT_NAME |
localName, 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 |
|---|
DrawAElement(OdfFileDom ownerDoc)
Create the instance of
DrawAElement |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.
|
OdfName |
getOdfName()
Get the element name
|
String |
getOfficeNameAttribute()
Receives the value of the ODFDOM attribute representation
OfficeNameAttribute ,
See office:name |
Boolean |
getOfficeServerMapAttribute()
Receives the value of the ODFDOM attribute representation
OfficeServerMapAttribute
, See office:server-map |
String |
getOfficeTargetFrameNameAttribute()
Receives the value of the ODFDOM attribute representation
OfficeTargetFrameNameAttribute
, See office:target-frame-name |
String |
getOfficeTitleAttribute()
Receives the value of the ODFDOM attribute representation
OfficeTitleAttribute ,
See office:title |
String |
getXlinkActuateAttribute()
Receives the value of the ODFDOM attribute representation
XlinkActuateAttribute ,
See xlink:actuate |
String |
getXlinkHrefAttribute()
Receives the value of the ODFDOM attribute representation
XlinkHrefAttribute , See
xlink:href |
String |
getXlinkShowAttribute()
Receives the value of the ODFDOM attribute representation
XlinkShowAttribute , See
xlink:show |
String |
getXlinkTypeAttribute()
Receives the value of the ODFDOM attribute representation
XlinkTypeAttribute , See
xlink:type |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation
XmlIdAttribute , See
xml:id |
Dr3dSceneElement |
newDr3dSceneElement()
Create child element dr3d:scene.
|
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.
|
void |
setOfficeNameAttribute(String officeNameValue)
Sets the value of ODFDOM attribute representation
OfficeNameAttribute , See
office:name |
void |
setOfficeServerMapAttribute(Boolean officeServerMapValue)
Sets the value of ODFDOM attribute representation
OfficeServerMapAttribute , See
office:server-map |
void |
setOfficeTargetFrameNameAttribute(String officeTargetFrameNameValue)
Sets the value of ODFDOM attribute representation
OfficeTargetFrameNameAttribute ,
See office:target-frame-name |
void |
setOfficeTitleAttribute(String officeTitleValue)
Sets the value of ODFDOM attribute representation
OfficeTitleAttribute , See
office:title |
void |
setXlinkActuateAttribute(String xlinkActuateValue)
Sets the value of ODFDOM attribute representation
XlinkActuateAttribute , See
xlink:actuate |
void |
setXlinkHrefAttribute(String xlinkHrefValue)
Sets the value of ODFDOM attribute representation
XlinkHrefAttribute , See
xlink:href |
void |
setXlinkShowAttribute(String xlinkShowValue)
Sets the value of ODFDOM attribute representation
XlinkShowAttribute , See
xlink:show |
void |
setXlinkTypeAttribute(String xlinkTypeValue)
Sets the value of ODFDOM attribute representation
XlinkTypeAttribute , See
xlink:type |
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, 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, setAttributeNodeNS, setAttributeNS, 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 DrawAElement(OdfFileDom ownerDoc)
DrawAElementownerDoc - The type is OdfFileDompublic OdfName getOdfName()
getOdfName in class OdfElementOdfName the name of element draw:a.public String getOfficeNameAttribute()
OfficeNameAttribute ,
See office:nameString , the value or null, if the attribute is not set
and no default value defined.public void setOfficeNameAttribute(String officeNameValue)
OfficeNameAttribute , See
office:nameofficeNameValue - The type is Stringpublic Boolean getOfficeServerMapAttribute()
OfficeServerMapAttribute
, See office:server-mapBoolean , the value or null, if the attribute is not
set and no default value defined.public void setOfficeServerMapAttribute(Boolean officeServerMapValue)
OfficeServerMapAttribute , See
office:server-mapofficeServerMapValue - The type is Booleanpublic String getOfficeTargetFrameNameAttribute()
OfficeTargetFrameNameAttribute
, See office:target-frame-nameString , the value or null, if the attribute is not set
and no default value defined.public void setOfficeTargetFrameNameAttribute(String officeTargetFrameNameValue)
OfficeTargetFrameNameAttribute ,
See office:target-frame-nameofficeTargetFrameNameValue - The type is Stringpublic String getOfficeTitleAttribute()
OfficeTitleAttribute ,
See office:titleString , the value or null, if the attribute is not set
and no default value defined.public void setOfficeTitleAttribute(String officeTitleValue)
OfficeTitleAttribute , See
office:titleofficeTitleValue - The type is Stringpublic String getXlinkActuateAttribute()
XlinkActuateAttribute ,
See xlink:actuateString , the value or null, if the attribute is not set
and no default value defined.public void setXlinkActuateAttribute(String xlinkActuateValue)
XlinkActuateAttribute , See
xlink:actuatexlinkActuateValue - The type is Stringpublic String getXlinkHrefAttribute()
XlinkHrefAttribute , See
xlink:href
Attribute is mandatory.
String , the value or null, if the attribute is not set
and no default value defined.public void setXlinkHrefAttribute(String xlinkHrefValue)
XlinkHrefAttribute , See
xlink:hrefxlinkHrefValue - The type is Stringpublic String getXlinkShowAttribute()
XlinkShowAttribute , See
xlink:showString , the value or null, if the attribute is not set
and no default value defined.public void setXlinkShowAttribute(String xlinkShowValue)
XlinkShowAttribute , See
xlink:showxlinkShowValue - The type is Stringpublic String getXlinkTypeAttribute()
XlinkTypeAttribute , See
xlink:type
Attribute is mandatory.
String , the value or null, if the attribute is not set
and no default value defined.public void setXlinkTypeAttribute(String xlinkTypeValue)
XlinkTypeAttribute , See
xlink:typexlinkTypeValue - The type is Stringpublic 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 Stringpublic Dr3dSceneElement newDr3dSceneElement()
Child element is new in Odf 1.2
public DrawCaptionElement newDrawCaptionElement()
Child element is new in Odf 1.2
public DrawCircleElement newDrawCircleElement()
Child element is new in Odf 1.2
public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue)
svgViewBoxValue - the Integer value of SvgViewBoxAttribute, see
svg:viewBox at specification Child element is new in Odf 1.2public DrawControlElement newDrawControlElement(String drawControlValue)
drawControlValue - the String value of DrawControlAttribute, see
draw:control at specification Child element is new in Odf 1.2public DrawCustomShapeElement newDrawCustomShapeElement()
Child element is new in Odf 1.2
public DrawEllipseElement newDrawEllipseElement()
Child element is new in Odf 1.2
public DrawFrameElement newDrawFrameElement()
public DrawGElement newDrawGElement()
Child element is new in Odf 1.2
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 specification Child element is new in Odf 1.2public 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 specification Child element is new in Odf 1.2public DrawPageThumbnailElement newDrawPageThumbnailElement()
Child element is new in Odf 1.2
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 specification Child element is new in Odf 1.2public 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 specification Child element is new in Odf 1.2public 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 specification Child element is new in Odf 1.2public DrawRectElement newDrawRectElement()
Child element is new in Odf 1.2
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 specification Child element is new in Odf 1.2public 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.