public class DrawAElement 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 |
---|
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
Attribute is mandatory. |
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
Attribute is mandatory. |
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, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, 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 DrawAElement(OdfFileDom ownerDoc)
DrawAElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
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 String
public 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 Boolean
public 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 String
public 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 String
public 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 String
public 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 String
public 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 String
public 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 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 DrawCaptionElement newDrawCaptionElement()
public DrawCircleElement newDrawCircleElement()
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()
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 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()
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()
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)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitorCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.