public class DrawMeasureElement 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 |
---|
DrawMeasureElement(OdfFileDom ownerDoc)
Create the instance of
DrawMeasureElement |
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 |
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 |
getSvgX1Attribute()
Receives the value of the ODFDOM attribute representation
SvgX1Attribute , See svg:x1
Attribute is mandatory. |
String |
getSvgX2Attribute()
Receives the value of the ODFDOM attribute representation
SvgX2Attribute , See svg:x2
Attribute is mandatory. |
String |
getSvgY1Attribute()
Receives the value of the ODFDOM attribute representation
SvgY1Attribute , See svg:y1
Attribute is mandatory. |
String |
getSvgY2Attribute()
Receives the value of the ODFDOM attribute representation
SvgY2Attribute , See svg:y2
Attribute is mandatory. |
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 |
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 |
setSvgX1Attribute(String svgX1Value)
Sets the value of ODFDOM attribute representation
SvgX1Attribute , See svg:x1 |
void |
setSvgX2Attribute(String svgX2Value)
Sets the value of ODFDOM attribute representation
SvgX2Attribute , See svg:x2 |
void |
setSvgY1Attribute(String svgY1Value)
Sets the value of ODFDOM attribute representation
SvgY1Attribute , See svg:y1 |
void |
setSvgY2Attribute(String svgY2Value)
Sets the value of ODFDOM attribute representation
SvgY2Attribute , See svg:y2 |
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, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, 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, 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 DrawMeasureElement(OdfFileDom ownerDoc)
DrawMeasureElement
ownerDoc
- The type is OdfFileDom
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:measure.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 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 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 getSvgX1Attribute()
SvgX1Attribute
, See svg:x1
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgX1Attribute(String svgX1Value)
SvgX1Attribute
, See svg:x1svgX1Value
- The type is String
public String getSvgX2Attribute()
SvgX2Attribute
, See svg:x2
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgX2Attribute(String svgX2Value)
SvgX2Attribute
, See svg:x2svgX2Value
- The type is String
public String getSvgY1Attribute()
SvgY1Attribute
, See svg:y1
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgY1Attribute(String svgY1Value)
SvgY1Attribute
, See svg:y1svgY1Value
- The type is String
public String getSvgY2Attribute()
SvgY2Attribute
, See svg:y2
Attribute is mandatory.String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgY2Attribute(String svgY2Value)
SvgY2Attribute
, See svg:y2svgY2Value
- 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-2013 The Apache Software Foundation. All Rights Reserved.