Class Dr3dSceneElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • Dr3dSceneElement

        public Dr3dSceneElement​(OdfFileDom ownerDoc)
        Create the instance of Dr3dSceneElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getDr3dAmbientColorAttribute

        public String getDr3dAmbientColorAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dAmbientColorAttribute , See @dr3d:ambient-color
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dAmbientColorAttribute

        public void setDr3dAmbientColorAttribute​(String dr3dAmbientColorValue)
        Sets the value of ODFDOM attribute representation Dr3dAmbientColorAttribute , See @dr3d:ambient-color
        Parameters:
        dr3dAmbientColorValue - The type is String
      • getDr3dDistanceAttribute

        public String getDr3dDistanceAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dDistanceAttribute , See @dr3d:distance
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dDistanceAttribute

        public void setDr3dDistanceAttribute​(String dr3dDistanceValue)
        Sets the value of ODFDOM attribute representation Dr3dDistanceAttribute , See @dr3d:distance
        Parameters:
        dr3dDistanceValue - The type is String
      • getDr3dFocalLengthAttribute

        public String getDr3dFocalLengthAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dFocalLengthAttribute , See @dr3d:focal-length
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dFocalLengthAttribute

        public void setDr3dFocalLengthAttribute​(String dr3dFocalLengthValue)
        Sets the value of ODFDOM attribute representation Dr3dFocalLengthAttribute , See @dr3d:focal-length
        Parameters:
        dr3dFocalLengthValue - The type is String
      • getDr3dLightingModeAttribute

        public String getDr3dLightingModeAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dLightingModeAttribute , See @dr3d:lighting-mode
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dLightingModeAttribute

        public void setDr3dLightingModeAttribute​(String dr3dLightingModeValue)
        Sets the value of ODFDOM attribute representation Dr3dLightingModeAttribute , See @dr3d:lighting-mode
        Parameters:
        dr3dLightingModeValue - The type is String
      • getDr3dProjectionAttribute

        public String getDr3dProjectionAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dProjectionAttribute , See @dr3d:projection
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dProjectionAttribute

        public void setDr3dProjectionAttribute​(String dr3dProjectionValue)
        Sets the value of ODFDOM attribute representation Dr3dProjectionAttribute , See @dr3d:projection
        Parameters:
        dr3dProjectionValue - The type is String
      • getDr3dShadeModeAttribute

        public String getDr3dShadeModeAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dShadeModeAttribute , See @dr3d:shade-mode
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dShadeModeAttribute

        public void setDr3dShadeModeAttribute​(String dr3dShadeModeValue)
        Sets the value of ODFDOM attribute representation Dr3dShadeModeAttribute , See @dr3d:shade-mode
        Parameters:
        dr3dShadeModeValue - The type is String
      • getDr3dShadowSlantAttribute

        public String getDr3dShadowSlantAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dShadowSlantAttribute , See @dr3d:shadow-slant
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dShadowSlantAttribute

        public void setDr3dShadowSlantAttribute​(String dr3dShadowSlantValue)
        Sets the value of ODFDOM attribute representation Dr3dShadowSlantAttribute , See @dr3d:shadow-slant
        Parameters:
        dr3dShadowSlantValue - The type is String
      • getDr3dTransformAttribute

        public String getDr3dTransformAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dTransformAttribute , See @dr3d:transform
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dTransformAttribute

        public void setDr3dTransformAttribute​(String dr3dTransformValue)
        Sets the value of ODFDOM attribute representation Dr3dTransformAttribute , See @dr3d:transform
        Parameters:
        dr3dTransformValue - The type is String
      • getDr3dVpnAttribute

        public String getDr3dVpnAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dVpnAttribute , See @dr3d:vpn
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dVpnAttribute

        public void setDr3dVpnAttribute​(String dr3dVpnValue)
        Sets the value of ODFDOM attribute representation Dr3dVpnAttribute , See @dr3d:vpn
        Parameters:
        dr3dVpnValue - The type is String
      • getDr3dVrpAttribute

        public String getDr3dVrpAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dVrpAttribute , See @dr3d:vrp
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dVrpAttribute

        public void setDr3dVrpAttribute​(String dr3dVrpValue)
        Sets the value of ODFDOM attribute representation Dr3dVrpAttribute , See @dr3d:vrp
        Parameters:
        dr3dVrpValue - The type is String
      • getDr3dVupAttribute

        public String getDr3dVupAttribute()
        Receives the value of the ODFDOM attribute representation Dr3dVupAttribute , See @dr3d:vup
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDr3dVupAttribute

        public void setDr3dVupAttribute​(String dr3dVupValue)
        Sets the value of ODFDOM attribute representation Dr3dVupAttribute , See @dr3d:vup
        Parameters:
        dr3dVupValue - The type is String
      • getDrawCaptionIdAttribute

        public String getDrawCaptionIdAttribute()
        Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawCaptionIdAttribute

        public void setDrawCaptionIdAttribute​(String drawCaptionIdValue)
        Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See @draw:caption-id
        Parameters:
        drawCaptionIdValue - The type is String
      • 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
      • getDrawLayerAttribute

        public String getDrawLayerAttribute()
        Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setDrawLayerAttribute

        public void setDrawLayerAttribute​(String drawLayerValue)
        Sets the value of ODFDOM attribute representation DrawLayerAttribute , See @draw:layer
        Parameters:
        drawLayerValue - 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
      • getSvgHeightAttribute

        public String getSvgHeightAttribute()
        Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See @svg:height
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgHeightAttribute

        public void setSvgHeightAttribute​(String svgHeightValue)
        Sets the value of ODFDOM attribute representation SvgHeightAttribute , See @svg:height
        Parameters:
        svgHeightValue - The type is String
      • getSvgWidthAttribute

        public String getSvgWidthAttribute()
        Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See @svg:width
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgWidthAttribute

        public void setSvgWidthAttribute​(String svgWidthValue)
        Sets the value of ODFDOM attribute representation SvgWidthAttribute , See @svg:width
        Parameters:
        svgWidthValue - The type is String
      • getSvgXAttribute

        public String getSvgXAttribute()
        Receives the value of the ODFDOM attribute representation SvgXAttribute , See @svg:x
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgXAttribute

        public void setSvgXAttribute​(String svgXValue)
        Sets the value of ODFDOM attribute representation SvgXAttribute , See @svg:x
        Parameters:
        svgXValue - The type is String
      • getSvgYAttribute

        public String getSvgYAttribute()
        Receives the value of the ODFDOM attribute representation SvgYAttribute , See @svg:y
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSvgYAttribute

        public void setSvgYAttribute​(String svgYValue)
        Sets the value of ODFDOM attribute representation SvgYAttribute , See @svg:y
        Parameters:
        svgYValue - 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
      • newDr3dExtrudeElement

        public Dr3dExtrudeElement newDr3dExtrudeElement​(String svgDValue,
                                                        int svgViewBoxValue)
        Create child element <dr3d:extrude>.
        Parameters:
        svgDValue - the String value of SvgDAttribute, see @svg:d at specification
        svgViewBoxValue - the Integer value of SvgViewBoxAttribute, see @svg:viewBox at specification
        Returns:
        the element <dr3d:extrude>
      • newDr3dRotateElement

        public Dr3dRotateElement newDr3dRotateElement​(String svgDValue,
                                                      int svgViewBoxValue)
        Create child element <dr3d:rotate>.
        Parameters:
        svgDValue - the String value of SvgDAttribute, see @svg:d at specification
        svgViewBoxValue - the Integer value of SvgViewBoxAttribute, see @svg:viewBox at specification
        Returns:
        the element <dr3d:rotate>
      • newDrawGluePointElement

        public DrawGluePointElement newDrawGluePointElement​(String drawEscapeDirectionValue,
                                                            String drawIdValue,
                                                            String svgXValue,
                                                            String svgYValue)
        Create child element <draw:glue-point>.
        Parameters:
        drawEscapeDirectionValue - the String value of DrawEscapeDirectionAttribute, see @draw:escape-direction at specification
        drawIdValue - the String value of DrawIdAttribute, see @draw:id at specification
        svgXValue - the String value of SvgXAttribute, see @svg:x at specification
        svgYValue - the String value of SvgYAttribute, see @svg:y at specification Child element was added in ODF 1.2
        Returns:
        the element <draw:glue-point>
      • accept

        public void accept​(ElementVisitor visitor)
        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 class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor