org.odftoolkit.odfdom.dom.element.draw
Class DrawShapeElementBase

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.xerces.dom.ElementNSImpl
                      extended by org.odftoolkit.odfdom.pkg.OdfElement
                          extended by org.odftoolkit.odfdom.dom.element.OdfStylableElement
                              extended by org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement
                                  extended by org.odftoolkit.odfdom.dom.element.draw.DrawShapeElementBase
All Implemented Interfaces:
Serializable, Cloneable, OdfStylePropertySet, Element, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
DrawCaptionElement, DrawCircleElement, DrawConnectorElement, DrawControlElement, DrawCustomShapeElement, DrawEllipseElement, DrawFrameElement, DrawGElement, DrawLineElement, DrawMeasureElement, DrawPageThumbnailElement, DrawPathElement, DrawPolygonElement, DrawPolylineElement, DrawRectElement, DrawRegularPolygonElement, OfficeAnnotationElement

public abstract class DrawShapeElementBase
extends OdfStyleableShapeElement

DOM implementation of OpenDocument base element

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
mFamily, mStyleNameAttrib
 
Fields inherited from class org.apache.xerces.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class org.apache.xerces.dom.ElementImpl
attributes, name
 
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.apache.xerces.dom.NodeImpl
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
 
Fields inherited from interface org.w3c.dom.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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
DrawShapeElementBase(OdfFileDom ownerDoc, OdfName elementName)
          Create the instance of DrawShapeElementBase
 
Method Summary
 String getDrawClassNamesAttribute()
          Receives the value of the ODFDOM attribute representation DrawClassNamesAttribute , See draw:class-names
 String getDrawIdAttribute()
          Receives the value of the ODFDOM attribute representation DrawIdAttribute , See draw:id
 String getDrawNameAttribute()
          Receives the value of the ODFDOM attribute representation DrawNameAttribute , See draw:name
 String getDrawStyleNameAttribute()
          Receives the value of the ODFDOM attribute representation DrawStyleNameAttribute , See draw:style-name
 Integer getDrawZIndexAttribute()
          Receives the value of the ODFDOM attribute representation DrawZIndexAttribute , See draw:z-index
 String getPresentationClassNamesAttribute()
          Receives the value of the ODFDOM attribute representation PresentationClassNamesAttribute , See presentation:class-names
 String getPresentationStyleNameAttribute()
          Receives the value of the ODFDOM attribute representation PresentationStyleNameAttribute , See presentation:style-name
 String getTableEndCellAddressAttribute()
          Receives the value of the ODFDOM attribute representation TableEndCellAddressAttribute , See table:end-cell-address
 String getTableEndXAttribute()
          Receives the value of the ODFDOM attribute representation TableEndXAttribute , See table:end-x
 String getTableEndYAttribute()
          Receives the value of the ODFDOM attribute representation TableEndYAttribute , See table:end-y
 Boolean getTableTableBackgroundAttribute()
          Receives the value of the ODFDOM attribute representation TableTableBackgroundAttribute , See table:table-background
 Integer getTextAnchorPageNumberAttribute()
          Receives the value of the ODFDOM attribute representation TextAnchorPageNumberAttribute , See text:anchor-page-number
 String getTextAnchorTypeAttribute()
          Receives the value of the ODFDOM attribute representation TextAnchorTypeAttribute , See text:anchor-type
 String getXmlIdAttribute()
          Receives the value of the ODFDOM attribute representation XmlIdAttribute , See xml:id
 void setDrawClassNamesAttribute(String drawClassNamesValue)
          Sets the value of ODFDOM attribute representation DrawClassNamesAttribute , See draw:class-names
 void setDrawIdAttribute(String drawIdValue)
          Sets the value of ODFDOM attribute representation DrawIdAttribute , See draw:id
 void setDrawNameAttribute(String drawNameValue)
          Sets the value of ODFDOM attribute representation DrawNameAttribute , See draw:name
 void setDrawStyleNameAttribute(String drawStyleNameValue)
          Sets the value of ODFDOM attribute representation DrawStyleNameAttribute , See draw:style-name
 void setDrawZIndexAttribute(Integer drawZIndexValue)
          Sets the value of ODFDOM attribute representation DrawZIndexAttribute , See draw:z-index
 void setPresentationClassNamesAttribute(String presentationClassNamesValue)
          Sets the value of ODFDOM attribute representation PresentationClassNamesAttribute , See presentation:class-names
 void setPresentationStyleNameAttribute(String presentationStyleNameValue)
          Sets the value of ODFDOM attribute representation PresentationStyleNameAttribute , See presentation:style-name
 void setTableEndCellAddressAttribute(String tableEndCellAddressValue)
          Sets the value of ODFDOM attribute representation TableEndCellAddressAttribute , See table:end-cell-address
 void setTableEndXAttribute(String tableEndXValue)
          Sets the value of ODFDOM attribute representation TableEndXAttribute , See table:end-x
 void setTableEndYAttribute(String tableEndYValue)
          Sets the value of ODFDOM attribute representation TableEndYAttribute , See table:end-y
 void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue)
          Sets the value of ODFDOM attribute representation TableTableBackgroundAttribute , See table:table-background
 void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue)
          Sets the value of ODFDOM attribute representation TextAnchorPageNumberAttribute , See text:anchor-page-number
 void setTextAnchorTypeAttribute(String textAnchorTypeValue)
          Sets the value of ODFDOM attribute representation TextAnchorTypeAttribute , See text:anchor-type
 void setXmlIdAttribute(String xmlIdValue)
          Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id
 
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement
adjustStyleNameAttrib, setAttributeNodeNS, setAttributeNS
 
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleName
 
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement
accept, cloneNode, cloneOdfElement, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getOdfName, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString
 
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class org.apache.xerces.dom.ElementImpl
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
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
 
Methods inherited from class org.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.apache.xerces.dom.NodeImpl
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
 

Constructor Detail

DrawShapeElementBase

public DrawShapeElementBase(OdfFileDom ownerDoc,
                            OdfName elementName)
Create the instance of DrawShapeElementBase

Parameters:
ownerDoc - The type is OdfFileDom
Method Detail

getDrawClassNamesAttribute

public String getDrawClassNamesAttribute()
Receives the value of the ODFDOM attribute representation DrawClassNamesAttribute , See draw:class-names

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setDrawClassNamesAttribute

public void setDrawClassNamesAttribute(String drawClassNamesValue)
Sets the value of ODFDOM attribute representation DrawClassNamesAttribute , See draw:class-names

Parameters:
drawClassNamesValue - The type is String

getDrawIdAttribute

public String getDrawIdAttribute()
Receives the value of the ODFDOM attribute representation DrawIdAttribute , See draw:id

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setDrawIdAttribute

public void setDrawIdAttribute(String drawIdValue)
Sets the value of ODFDOM attribute representation DrawIdAttribute , See draw:id

Parameters:
drawIdValue - The type is String

getDrawNameAttribute

public String getDrawNameAttribute()
Receives the value of the ODFDOM attribute representation DrawNameAttribute , See draw:name

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setDrawNameAttribute

public void setDrawNameAttribute(String drawNameValue)
Sets the value of ODFDOM attribute representation DrawNameAttribute , See draw:name

Parameters:
drawNameValue - The type is String

getDrawStyleNameAttribute

public String getDrawStyleNameAttribute()
Receives the value of the ODFDOM attribute representation DrawStyleNameAttribute , See draw:style-name

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setDrawStyleNameAttribute

public void setDrawStyleNameAttribute(String drawStyleNameValue)
Sets the value of ODFDOM attribute representation DrawStyleNameAttribute , See draw:style-name

Parameters:
drawStyleNameValue - The type is String

getDrawZIndexAttribute

public Integer getDrawZIndexAttribute()
Receives the value of the ODFDOM attribute representation DrawZIndexAttribute , See draw:z-index

Returns:
- the Integer , the value or null, if the attribute is not set and no default value defined.

setDrawZIndexAttribute

public void setDrawZIndexAttribute(Integer drawZIndexValue)
Sets the value of ODFDOM attribute representation DrawZIndexAttribute , See draw:z-index

Parameters:
drawZIndexValue - The type is Integer

getPresentationClassNamesAttribute

public String getPresentationClassNamesAttribute()
Receives the value of the ODFDOM attribute representation PresentationClassNamesAttribute , See presentation:class-names

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setPresentationClassNamesAttribute

public void setPresentationClassNamesAttribute(String presentationClassNamesValue)
Sets the value of ODFDOM attribute representation PresentationClassNamesAttribute , See presentation:class-names

Parameters:
presentationClassNamesValue - The type is String

getPresentationStyleNameAttribute

public String getPresentationStyleNameAttribute()
Receives the value of the ODFDOM attribute representation PresentationStyleNameAttribute , See presentation:style-name

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setPresentationStyleNameAttribute

public void setPresentationStyleNameAttribute(String presentationStyleNameValue)
Sets the value of ODFDOM attribute representation PresentationStyleNameAttribute , See presentation:style-name

Parameters:
presentationStyleNameValue - The type is String

getTableEndCellAddressAttribute

public String getTableEndCellAddressAttribute()
Receives the value of the ODFDOM attribute representation TableEndCellAddressAttribute , See table:end-cell-address

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTableEndCellAddressAttribute

public void setTableEndCellAddressAttribute(String tableEndCellAddressValue)
Sets the value of ODFDOM attribute representation TableEndCellAddressAttribute , See table:end-cell-address

Parameters:
tableEndCellAddressValue - The type is String

getTableEndXAttribute

public String getTableEndXAttribute()
Receives the value of the ODFDOM attribute representation TableEndXAttribute , See table:end-x

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTableEndXAttribute

public void setTableEndXAttribute(String tableEndXValue)
Sets the value of ODFDOM attribute representation TableEndXAttribute , See table:end-x

Parameters:
tableEndXValue - The type is String

getTableEndYAttribute

public String getTableEndYAttribute()
Receives the value of the ODFDOM attribute representation TableEndYAttribute , See table:end-y

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTableEndYAttribute

public void setTableEndYAttribute(String tableEndYValue)
Sets the value of ODFDOM attribute representation TableEndYAttribute , See table:end-y

Parameters:
tableEndYValue - The type is String

getTableTableBackgroundAttribute

public Boolean getTableTableBackgroundAttribute()
Receives the value of the ODFDOM attribute representation TableTableBackgroundAttribute , See table:table-background

Returns:
- the Boolean , the value or null, if the attribute is not set and no default value defined.

setTableTableBackgroundAttribute

public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue)
Sets the value of ODFDOM attribute representation TableTableBackgroundAttribute , See table:table-background

Parameters:
tableTableBackgroundValue - The type is Boolean

getTextAnchorPageNumberAttribute

public Integer getTextAnchorPageNumberAttribute()
Receives the value of the ODFDOM attribute representation TextAnchorPageNumberAttribute , See text:anchor-page-number

Returns:
- the Integer , the value or null, if the attribute is not set and no default value defined.

setTextAnchorPageNumberAttribute

public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue)
Sets the value of ODFDOM attribute representation TextAnchorPageNumberAttribute , See text:anchor-page-number

Parameters:
textAnchorPageNumberValue - The type is Integer

getTextAnchorTypeAttribute

public String getTextAnchorTypeAttribute()
Receives the value of the ODFDOM attribute representation TextAnchorTypeAttribute , See text:anchor-type

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setTextAnchorTypeAttribute

public void setTextAnchorTypeAttribute(String textAnchorTypeValue)
Sets the value of ODFDOM attribute representation TextAnchorTypeAttribute , See text:anchor-type

Parameters:
textAnchorTypeValue - The type is String

getXmlIdAttribute

public String getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation XmlIdAttribute , See xml:id

Returns:
- the String , the value or null, if the attribute is not set and no default value defined.

setXmlIdAttribute

public void setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id

Parameters:
xmlIdValue - The type is String


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.