Class Dr3dSceneElement
- java.lang.Object
-
- org.apache.xerces.dom.NodeImpl
-
- org.apache.xerces.dom.ChildNode
-
- org.apache.xerces.dom.ParentNode
-
- org.apache.xerces.dom.ElementImpl
-
- org.apache.xerces.dom.ElementNSImpl
-
- org.odftoolkit.odfdom.pkg.OdfElement
-
- org.odftoolkit.odfdom.dom.element.OdfStylableElement
-
- org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement
-
- org.odftoolkit.odfdom.dom.element.dr3d.Dr3dSceneElement
-
- All Implemented Interfaces:
Serializable
,Cloneable
,OdfStylePropertySet
,Element
,ElementTraversal
,EventTarget
,Node
,NodeList
,TypeInfo
public class Dr3dSceneElement extends OdfStyleableShapeElement
DOM implementation of OpenDocument element <dr3d:scene>.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OdfName
ELEMENT_NAME
-
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement
mFamily, mStyleNameAttrib
-
Fields inherited from class org.apache.xerces.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
-
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
Constructors Constructor Description Dr3dSceneElement(OdfFileDom ownerDoc)
Create the instance ofDr3dSceneElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations.String
getDr3dAmbientColorAttribute()
Receives the value of the ODFDOM attribute representationDr3dAmbientColorAttribute
, See @dr3d:ambient-colorString
getDr3dDistanceAttribute()
Receives the value of the ODFDOM attribute representationDr3dDistanceAttribute
, See @dr3d:distanceString
getDr3dFocalLengthAttribute()
Receives the value of the ODFDOM attribute representationDr3dFocalLengthAttribute
, See @dr3d:focal-lengthString
getDr3dLightingModeAttribute()
Receives the value of the ODFDOM attribute representationDr3dLightingModeAttribute
, See @dr3d:lighting-modeString
getDr3dProjectionAttribute()
Receives the value of the ODFDOM attribute representationDr3dProjectionAttribute
, See @dr3d:projectionString
getDr3dShadeModeAttribute()
Receives the value of the ODFDOM attribute representationDr3dShadeModeAttribute
, See @dr3d:shade-modeString
getDr3dShadowSlantAttribute()
Receives the value of the ODFDOM attribute representationDr3dShadowSlantAttribute
, See @dr3d:shadow-slantString
getDr3dTransformAttribute()
Receives the value of the ODFDOM attribute representationDr3dTransformAttribute
, See @dr3d:transformString
getDr3dVpnAttribute()
Receives the value of the ODFDOM attribute representationDr3dVpnAttribute
, See @dr3d:vpnString
getDr3dVrpAttribute()
Receives the value of the ODFDOM attribute representationDr3dVrpAttribute
, See @dr3d:vrpString
getDr3dVupAttribute()
Receives the value of the ODFDOM attribute representationDr3dVupAttribute
, See @dr3d:vupString
getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representationDrawCaptionIdAttribute
, See @draw:caption-idString
getDrawClassNamesAttribute()
Receives the value of the ODFDOM attribute representationDrawClassNamesAttribute
, See @draw:class-namesString
getDrawIdAttribute()
Receives the value of the ODFDOM attribute representationDrawIdAttribute
, See @draw:idString
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representationDrawLayerAttribute
, See @draw:layerString
getDrawStyleNameAttribute()
Receives the value of the ODFDOM attribute representationDrawStyleNameAttribute
, See @draw:style-nameInteger
getDrawZIndexAttribute()
Receives the value of the ODFDOM attribute representationDrawZIndexAttribute
, See @draw:z-indexOdfName
getOdfName()
Get the element nameString
getPresentationClassNamesAttribute()
Receives the value of the ODFDOM attribute representationPresentationClassNamesAttribute
, See @presentation:class-namesString
getPresentationStyleNameAttribute()
Receives the value of the ODFDOM attribute representationPresentationStyleNameAttribute
, See @presentation:style-nameString
getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representationSvgHeightAttribute
, See @svg:heightString
getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representationSvgWidthAttribute
, See @svg:widthString
getSvgXAttribute()
Receives the value of the ODFDOM attribute representationSvgXAttribute
, See @svg:xString
getSvgYAttribute()
Receives the value of the ODFDOM attribute representationSvgYAttribute
, See @svg:yString
getTableEndCellAddressAttribute()
Receives the value of the ODFDOM attribute representationTableEndCellAddressAttribute
, See @table:end-cell-addressString
getTableEndXAttribute()
Receives the value of the ODFDOM attribute representationTableEndXAttribute
, See @table:end-xString
getTableEndYAttribute()
Receives the value of the ODFDOM attribute representationTableEndYAttribute
, See @table:end-yBoolean
getTableTableBackgroundAttribute()
Receives the value of the ODFDOM attribute representationTableTableBackgroundAttribute
, See @table:table-backgroundInteger
getTextAnchorPageNumberAttribute()
Receives the value of the ODFDOM attribute representationTextAnchorPageNumberAttribute
, See @text:anchor-page-numberString
getTextAnchorTypeAttribute()
Receives the value of the ODFDOM attribute representationTextAnchorTypeAttribute
, See @text:anchor-typeString
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representationXmlIdAttribute
, See @xml:idDr3dCubeElement
newDr3dCubeElement()
Create child element <dr3d:cube>.Dr3dExtrudeElement
newDr3dExtrudeElement(String svgDValue, int svgViewBoxValue)
Create child element <dr3d:extrude>.Dr3dLightElement
newDr3dLightElement(String dr3dDirectionValue)
Create child element <dr3d:light>.Dr3dRotateElement
newDr3dRotateElement(String svgDValue, int svgViewBoxValue)
Create child element <dr3d:rotate>.Dr3dSceneElement
newDr3dSceneElement()
Create child element <dr3d:scene>.Dr3dSphereElement
newDr3dSphereElement()
Create child element <dr3d:sphere>.DrawGluePointElement
newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
Create child element <draw:glue-point>.SvgDescElement
newSvgDescElement()
Create child element <svg:desc>.SvgTitleElement
newSvgTitleElement()
Create child element <svg:title>.void
setDr3dAmbientColorAttribute(String dr3dAmbientColorValue)
Sets the value of ODFDOM attribute representationDr3dAmbientColorAttribute
, See @dr3d:ambient-colorvoid
setDr3dDistanceAttribute(String dr3dDistanceValue)
Sets the value of ODFDOM attribute representationDr3dDistanceAttribute
, See @dr3d:distancevoid
setDr3dFocalLengthAttribute(String dr3dFocalLengthValue)
Sets the value of ODFDOM attribute representationDr3dFocalLengthAttribute
, See @dr3d:focal-lengthvoid
setDr3dLightingModeAttribute(String dr3dLightingModeValue)
Sets the value of ODFDOM attribute representationDr3dLightingModeAttribute
, See @dr3d:lighting-modevoid
setDr3dProjectionAttribute(String dr3dProjectionValue)
Sets the value of ODFDOM attribute representationDr3dProjectionAttribute
, See @dr3d:projectionvoid
setDr3dShadeModeAttribute(String dr3dShadeModeValue)
Sets the value of ODFDOM attribute representationDr3dShadeModeAttribute
, See @dr3d:shade-modevoid
setDr3dShadowSlantAttribute(String dr3dShadowSlantValue)
Sets the value of ODFDOM attribute representationDr3dShadowSlantAttribute
, See @dr3d:shadow-slantvoid
setDr3dTransformAttribute(String dr3dTransformValue)
Sets the value of ODFDOM attribute representationDr3dTransformAttribute
, See @dr3d:transformvoid
setDr3dVpnAttribute(String dr3dVpnValue)
Sets the value of ODFDOM attribute representationDr3dVpnAttribute
, See @dr3d:vpnvoid
setDr3dVrpAttribute(String dr3dVrpValue)
Sets the value of ODFDOM attribute representationDr3dVrpAttribute
, See @dr3d:vrpvoid
setDr3dVupAttribute(String dr3dVupValue)
Sets the value of ODFDOM attribute representationDr3dVupAttribute
, See @dr3d:vupvoid
setDrawCaptionIdAttribute(String drawCaptionIdValue)
Sets the value of ODFDOM attribute representationDrawCaptionIdAttribute
, See @draw:caption-idvoid
setDrawClassNamesAttribute(String drawClassNamesValue)
Sets the value of ODFDOM attribute representationDrawClassNamesAttribute
, See @draw:class-namesvoid
setDrawIdAttribute(String drawIdValue)
Sets the value of ODFDOM attribute representationDrawIdAttribute
, See @draw:idvoid
setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representationDrawLayerAttribute
, See @draw:layervoid
setDrawStyleNameAttribute(String drawStyleNameValue)
Sets the value of ODFDOM attribute representationDrawStyleNameAttribute
, See @draw:style-namevoid
setDrawZIndexAttribute(Integer drawZIndexValue)
Sets the value of ODFDOM attribute representationDrawZIndexAttribute
, See @draw:z-indexvoid
setPresentationClassNamesAttribute(String presentationClassNamesValue)
Sets the value of ODFDOM attribute representationPresentationClassNamesAttribute
, See @presentation:class-namesvoid
setPresentationStyleNameAttribute(String presentationStyleNameValue)
Sets the value of ODFDOM attribute representationPresentationStyleNameAttribute
, See @presentation:style-namevoid
setSvgHeightAttribute(String svgHeightValue)
Sets the value of ODFDOM attribute representationSvgHeightAttribute
, See @svg:heightvoid
setSvgWidthAttribute(String svgWidthValue)
Sets the value of ODFDOM attribute representationSvgWidthAttribute
, See @svg:widthvoid
setSvgXAttribute(String svgXValue)
Sets the value of ODFDOM attribute representationSvgXAttribute
, See @svg:xvoid
setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representationSvgYAttribute
, See @svg:yvoid
setTableEndCellAddressAttribute(String tableEndCellAddressValue)
Sets the value of ODFDOM attribute representationTableEndCellAddressAttribute
, See @table:end-cell-addressvoid
setTableEndXAttribute(String tableEndXValue)
Sets the value of ODFDOM attribute representationTableEndXAttribute
, See @table:end-xvoid
setTableEndYAttribute(String tableEndYValue)
Sets the value of ODFDOM attribute representationTableEndYAttribute
, See @table:end-yvoid
setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue)
Sets the value of ODFDOM attribute representationTableTableBackgroundAttribute
, See @table:table-backgroundvoid
setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue)
Sets the value of ODFDOM attribute representationTextAnchorPageNumberAttribute
, See @text:anchor-page-numbervoid
setTextAnchorTypeAttribute(String textAnchorTypeValue)
Sets the value of ODFDOM attribute representationTextAnchorTypeAttribute
, See @text:anchor-typevoid
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representationXmlIdAttribute
, 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, getDocumentStyleName, getOrCreateAutomaticStyles, getOrCreateUnqiueAutomaticStyle, 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
appendChild, appendUsingWhitespaceHandling, cloneElement, cloneNode, cloneNode, cloneNode, cloneOdfElement, componentSize, copyAttributes, countChildComponents, countDescendantComponents, countPrecedingSiblingElements, delete, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getChildElement, getChildElement, getComponent, getComponentRoot, getFirstChildElement, getLastChildElement, getNextSiblingElement, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, getPreviousSiblingElement, getRepetition, getTextContent, hasAncestor, hasOdfAttribute, ignoredComponent, insert, insert, insertBefore, isComponentRoot, isIgnoredElement, isIgnoredElement, isRepeatable, markAsComponentRoot, markText, moveChildrenTo, onInsertNode, onRemoveNode, receiveNode, removeChild, removeContent, removeSingleElement, replaceChild, selfAndDescendantTextIgnoredAsComponent, setComponent, setOdfAttribute, setOdfAttributeValue, setRepetition, split, toString
-
Methods inherited from class org.apache.xerces.dom.ElementNSImpl
getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, getXMLBaseAttribute, isDerivedFrom, setPrefix, setType
-
Methods inherited from class org.apache.xerces.dom.ElementImpl
getAttribute, 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, synchronizeData
-
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, 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, 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
compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final OdfName ELEMENT_NAME
-
-
Constructor Detail
-
Dr3dSceneElement
public Dr3dSceneElement(OdfFileDom ownerDoc)
Create the instance ofDr3dSceneElement
- Parameters:
ownerDoc
- The type isOdfFileDom
-
-
Method Detail
-
getOdfName
public OdfName getOdfName()
Get the element name- Specified by:
getOdfName
in classOdfElement
- Returns:
- return
OdfName
the name of element <dr3d:scene>.
-
getDr3dAmbientColorAttribute
public String getDr3dAmbientColorAttribute()
Receives the value of the ODFDOM attribute representationDr3dAmbientColorAttribute
, See @dr3d:ambient-color- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dAmbientColorAttribute
public void setDr3dAmbientColorAttribute(String dr3dAmbientColorValue)
Sets the value of ODFDOM attribute representationDr3dAmbientColorAttribute
, See @dr3d:ambient-color- Parameters:
dr3dAmbientColorValue
- The type isString
-
getDr3dDistanceAttribute
public String getDr3dDistanceAttribute()
Receives the value of the ODFDOM attribute representationDr3dDistanceAttribute
, See @dr3d:distance- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dDistanceAttribute
public void setDr3dDistanceAttribute(String dr3dDistanceValue)
Sets the value of ODFDOM attribute representationDr3dDistanceAttribute
, See @dr3d:distance- Parameters:
dr3dDistanceValue
- The type isString
-
getDr3dFocalLengthAttribute
public String getDr3dFocalLengthAttribute()
Receives the value of the ODFDOM attribute representationDr3dFocalLengthAttribute
, See @dr3d:focal-length- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dFocalLengthAttribute
public void setDr3dFocalLengthAttribute(String dr3dFocalLengthValue)
Sets the value of ODFDOM attribute representationDr3dFocalLengthAttribute
, See @dr3d:focal-length- Parameters:
dr3dFocalLengthValue
- The type isString
-
getDr3dLightingModeAttribute
public String getDr3dLightingModeAttribute()
Receives the value of the ODFDOM attribute representationDr3dLightingModeAttribute
, See @dr3d:lighting-mode- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dLightingModeAttribute
public void setDr3dLightingModeAttribute(String dr3dLightingModeValue)
Sets the value of ODFDOM attribute representationDr3dLightingModeAttribute
, See @dr3d:lighting-mode- Parameters:
dr3dLightingModeValue
- The type isString
-
getDr3dProjectionAttribute
public String getDr3dProjectionAttribute()
Receives the value of the ODFDOM attribute representationDr3dProjectionAttribute
, See @dr3d:projection- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dProjectionAttribute
public void setDr3dProjectionAttribute(String dr3dProjectionValue)
Sets the value of ODFDOM attribute representationDr3dProjectionAttribute
, See @dr3d:projection- Parameters:
dr3dProjectionValue
- The type isString
-
getDr3dShadeModeAttribute
public String getDr3dShadeModeAttribute()
Receives the value of the ODFDOM attribute representationDr3dShadeModeAttribute
, See @dr3d:shade-mode- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dShadeModeAttribute
public void setDr3dShadeModeAttribute(String dr3dShadeModeValue)
Sets the value of ODFDOM attribute representationDr3dShadeModeAttribute
, See @dr3d:shade-mode- Parameters:
dr3dShadeModeValue
- The type isString
-
getDr3dShadowSlantAttribute
public String getDr3dShadowSlantAttribute()
Receives the value of the ODFDOM attribute representationDr3dShadowSlantAttribute
, See @dr3d:shadow-slant- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dShadowSlantAttribute
public void setDr3dShadowSlantAttribute(String dr3dShadowSlantValue)
Sets the value of ODFDOM attribute representationDr3dShadowSlantAttribute
, See @dr3d:shadow-slant- Parameters:
dr3dShadowSlantValue
- The type isString
-
getDr3dTransformAttribute
public String getDr3dTransformAttribute()
Receives the value of the ODFDOM attribute representationDr3dTransformAttribute
, See @dr3d:transform- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dTransformAttribute
public void setDr3dTransformAttribute(String dr3dTransformValue)
Sets the value of ODFDOM attribute representationDr3dTransformAttribute
, See @dr3d:transform- Parameters:
dr3dTransformValue
- The type isString
-
getDr3dVpnAttribute
public String getDr3dVpnAttribute()
Receives the value of the ODFDOM attribute representationDr3dVpnAttribute
, See @dr3d:vpn- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dVpnAttribute
public void setDr3dVpnAttribute(String dr3dVpnValue)
Sets the value of ODFDOM attribute representationDr3dVpnAttribute
, See @dr3d:vpn- Parameters:
dr3dVpnValue
- The type isString
-
getDr3dVrpAttribute
public String getDr3dVrpAttribute()
Receives the value of the ODFDOM attribute representationDr3dVrpAttribute
, See @dr3d:vrp- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dVrpAttribute
public void setDr3dVrpAttribute(String dr3dVrpValue)
Sets the value of ODFDOM attribute representationDr3dVrpAttribute
, See @dr3d:vrp- Parameters:
dr3dVrpValue
- The type isString
-
getDr3dVupAttribute
public String getDr3dVupAttribute()
Receives the value of the ODFDOM attribute representationDr3dVupAttribute
, See @dr3d:vup- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDr3dVupAttribute
public void setDr3dVupAttribute(String dr3dVupValue)
Sets the value of ODFDOM attribute representationDr3dVupAttribute
, See @dr3d:vup- Parameters:
dr3dVupValue
- The type isString
-
getDrawCaptionIdAttribute
public String getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representationDrawCaptionIdAttribute
, See @draw:caption-id- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawCaptionIdAttribute
public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
Sets the value of ODFDOM attribute representationDrawCaptionIdAttribute
, See @draw:caption-id- Parameters:
drawCaptionIdValue
- The type isString
-
getDrawClassNamesAttribute
public String getDrawClassNamesAttribute()
Receives the value of the ODFDOM attribute representationDrawClassNamesAttribute
, See @draw:class-names- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawClassNamesAttribute
public void setDrawClassNamesAttribute(String drawClassNamesValue)
Sets the value of ODFDOM attribute representationDrawClassNamesAttribute
, See @draw:class-names- Parameters:
drawClassNamesValue
- The type isString
-
getDrawIdAttribute
public String getDrawIdAttribute()
Receives the value of the ODFDOM attribute representationDrawIdAttribute
, See @draw:id- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawIdAttribute
public void setDrawIdAttribute(String drawIdValue)
Sets the value of ODFDOM attribute representationDrawIdAttribute
, See @draw:id- Parameters:
drawIdValue
- The type isString
-
getDrawLayerAttribute
public String getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representationDrawLayerAttribute
, See @draw:layer- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawLayerAttribute
public void setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representationDrawLayerAttribute
, See @draw:layer- Parameters:
drawLayerValue
- The type isString
-
getDrawStyleNameAttribute
public String getDrawStyleNameAttribute()
Receives the value of the ODFDOM attribute representationDrawStyleNameAttribute
, See @draw:style-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawStyleNameAttribute
public void setDrawStyleNameAttribute(String drawStyleNameValue)
Sets the value of ODFDOM attribute representationDrawStyleNameAttribute
, See @draw:style-name- Parameters:
drawStyleNameValue
- The type isString
-
getDrawZIndexAttribute
public Integer getDrawZIndexAttribute()
Receives the value of the ODFDOM attribute representationDrawZIndexAttribute
, See @draw:z-index- Returns:
- - the
Integer
, the value ornull
, if the attribute is not set and no default value defined.
-
setDrawZIndexAttribute
public void setDrawZIndexAttribute(Integer drawZIndexValue)
Sets the value of ODFDOM attribute representationDrawZIndexAttribute
, See @draw:z-index- Parameters:
drawZIndexValue
- The type isInteger
-
getPresentationClassNamesAttribute
public String getPresentationClassNamesAttribute()
Receives the value of the ODFDOM attribute representationPresentationClassNamesAttribute
, See @presentation:class-names- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setPresentationClassNamesAttribute
public void setPresentationClassNamesAttribute(String presentationClassNamesValue)
Sets the value of ODFDOM attribute representationPresentationClassNamesAttribute
, See @presentation:class-names- Parameters:
presentationClassNamesValue
- The type isString
-
getPresentationStyleNameAttribute
public String getPresentationStyleNameAttribute()
Receives the value of the ODFDOM attribute representationPresentationStyleNameAttribute
, See @presentation:style-name- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setPresentationStyleNameAttribute
public void setPresentationStyleNameAttribute(String presentationStyleNameValue)
Sets the value of ODFDOM attribute representationPresentationStyleNameAttribute
, See @presentation:style-name- Parameters:
presentationStyleNameValue
- The type isString
-
getSvgHeightAttribute
public String getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representationSvgHeightAttribute
, See @svg:height- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setSvgHeightAttribute
public void setSvgHeightAttribute(String svgHeightValue)
Sets the value of ODFDOM attribute representationSvgHeightAttribute
, See @svg:height- Parameters:
svgHeightValue
- The type isString
-
getSvgWidthAttribute
public String getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representationSvgWidthAttribute
, See @svg:width- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setSvgWidthAttribute
public void setSvgWidthAttribute(String svgWidthValue)
Sets the value of ODFDOM attribute representationSvgWidthAttribute
, See @svg:width- Parameters:
svgWidthValue
- The type isString
-
getSvgXAttribute
public String getSvgXAttribute()
Receives the value of the ODFDOM attribute representationSvgXAttribute
, See @svg:x- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setSvgXAttribute
public void setSvgXAttribute(String svgXValue)
Sets the value of ODFDOM attribute representationSvgXAttribute
, See @svg:x- Parameters:
svgXValue
- The type isString
-
getSvgYAttribute
public String getSvgYAttribute()
Receives the value of the ODFDOM attribute representationSvgYAttribute
, See @svg:y- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setSvgYAttribute
public void setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representationSvgYAttribute
, See @svg:y- Parameters:
svgYValue
- The type isString
-
getTableEndCellAddressAttribute
public String getTableEndCellAddressAttribute()
Receives the value of the ODFDOM attribute representationTableEndCellAddressAttribute
, See @table:end-cell-address- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableEndCellAddressAttribute
public void setTableEndCellAddressAttribute(String tableEndCellAddressValue)
Sets the value of ODFDOM attribute representationTableEndCellAddressAttribute
, See @table:end-cell-address- Parameters:
tableEndCellAddressValue
- The type isString
-
getTableEndXAttribute
public String getTableEndXAttribute()
Receives the value of the ODFDOM attribute representationTableEndXAttribute
, See @table:end-x- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableEndXAttribute
public void setTableEndXAttribute(String tableEndXValue)
Sets the value of ODFDOM attribute representationTableEndXAttribute
, See @table:end-x- Parameters:
tableEndXValue
- The type isString
-
getTableEndYAttribute
public String getTableEndYAttribute()
Receives the value of the ODFDOM attribute representationTableEndYAttribute
, See @table:end-y- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableEndYAttribute
public void setTableEndYAttribute(String tableEndYValue)
Sets the value of ODFDOM attribute representationTableEndYAttribute
, See @table:end-y- Parameters:
tableEndYValue
- The type isString
-
getTableTableBackgroundAttribute
public Boolean getTableTableBackgroundAttribute()
Receives the value of the ODFDOM attribute representationTableTableBackgroundAttribute
, See @table:table-background- Returns:
- - the
Boolean
, the value ornull
, if the attribute is not set and no default value defined.
-
setTableTableBackgroundAttribute
public void setTableTableBackgroundAttribute(Boolean tableTableBackgroundValue)
Sets the value of ODFDOM attribute representationTableTableBackgroundAttribute
, See @table:table-background- Parameters:
tableTableBackgroundValue
- The type isBoolean
-
getTextAnchorPageNumberAttribute
public Integer getTextAnchorPageNumberAttribute()
Receives the value of the ODFDOM attribute representationTextAnchorPageNumberAttribute
, See @text:anchor-page-number- Returns:
- - the
Integer
, the value ornull
, if the attribute is not set and no default value defined.
-
setTextAnchorPageNumberAttribute
public void setTextAnchorPageNumberAttribute(Integer textAnchorPageNumberValue)
Sets the value of ODFDOM attribute representationTextAnchorPageNumberAttribute
, See @text:anchor-page-number- Parameters:
textAnchorPageNumberValue
- The type isInteger
-
getTextAnchorTypeAttribute
public String getTextAnchorTypeAttribute()
Receives the value of the ODFDOM attribute representationTextAnchorTypeAttribute
, See @text:anchor-type- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setTextAnchorTypeAttribute
public void setTextAnchorTypeAttribute(String textAnchorTypeValue)
Sets the value of ODFDOM attribute representationTextAnchorTypeAttribute
, See @text:anchor-type- Parameters:
textAnchorTypeValue
- The type isString
-
getXmlIdAttribute
public String getXmlIdAttribute()
Receives the value of the ODFDOM attribute representationXmlIdAttribute
, See @xml:id- Returns:
- - the
String
, the value ornull
, if the attribute is not set and no default value defined.
-
setXmlIdAttribute
public void setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representationXmlIdAttribute
, See @xml:id- Parameters:
xmlIdValue
- The type isString
-
newDr3dCubeElement
public Dr3dCubeElement newDr3dCubeElement()
Create child element <dr3d:cube>.- Returns:
- the element <dr3d:cube>
-
newDr3dExtrudeElement
public Dr3dExtrudeElement newDr3dExtrudeElement(String svgDValue, int svgViewBoxValue)
Create child element <dr3d:extrude>.- Parameters:
svgDValue
- theString
value ofSvgDAttribute
, see @svg:d at specificationsvgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <dr3d:extrude>
-
newDr3dLightElement
public Dr3dLightElement newDr3dLightElement(String dr3dDirectionValue)
Create child element <dr3d:light>.- Parameters:
dr3dDirectionValue
- theString
value ofDr3dDirectionAttribute
, see @dr3d:direction at specification- Returns:
- the element <dr3d:light>
-
newDr3dRotateElement
public Dr3dRotateElement newDr3dRotateElement(String svgDValue, int svgViewBoxValue)
Create child element <dr3d:rotate>.- Parameters:
svgDValue
- theString
value ofSvgDAttribute
, see @svg:d at specificationsvgViewBoxValue
- theInteger
value ofSvgViewBoxAttribute
, see @svg:viewBox at specification- Returns:
- the element <dr3d:rotate>
-
newDr3dSceneElement
public Dr3dSceneElement newDr3dSceneElement()
Create child element <dr3d:scene>.- Returns:
- the element <dr3d:scene>
-
newDr3dSphereElement
public Dr3dSphereElement newDr3dSphereElement()
Create child element <dr3d:sphere>.- Returns:
- the element <dr3d:sphere>
-
newDrawGluePointElement
public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
Create child element <draw:glue-point>.- Parameters:
drawEscapeDirectionValue
- theString
value ofDrawEscapeDirectionAttribute
, see @draw:escape-direction at specificationdrawIdValue
- theString
value ofDrawIdAttribute
, see @draw:id at specificationsvgXValue
- theString
value ofSvgXAttribute
, see @svg:x at specificationsvgYValue
- theString
value ofSvgYAttribute
, see @svg:y at specification Child element is new in Odf 1.2- Returns:
- the element <draw:glue-point>
-
newSvgDescElement
public SvgDescElement newSvgDescElement()
Create child element <svg:desc>.- Returns:
- the element <svg:desc>
-
newSvgTitleElement
public SvgTitleElement newSvgTitleElement()
Create child element <svg:title>.- Returns:
- the element <svg:title>
-
accept
public void accept(ElementVisitor visitor)
Description copied from class:OdfElement
Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.- Overrides:
accept
in classOdfElement
- Parameters:
visitor
- an instance of DefaultElementVisitor
-
-