Class ChartPlotAreaElement

All Implemented Interfaces:
Serializable, Cloneable, OdfStylePropertySet, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class ChartPlotAreaElement extends OdfStylableElement
DOM implementation of OpenDocument element <chart:plot-area>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • ChartPlotAreaElement

      public ChartPlotAreaElement(OdfFileDom ownerDoc)
      Create the instance of ChartPlotAreaElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <chart:plot-area>.
    • getChartDataSourceHasLabelsAttribute

      public String getChartDataSourceHasLabelsAttribute()
      Receives the value of the ODFDOM attribute representation ChartDataSourceHasLabelsAttribute , See @chart:data-source-has-labels
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setChartDataSourceHasLabelsAttribute

      public void setChartDataSourceHasLabelsAttribute(String chartDataSourceHasLabelsValue)
      Sets the value of ODFDOM attribute representation ChartDataSourceHasLabelsAttribute , See @chart:data-source-has-labels
      Parameters:
      chartDataSourceHasLabelsValue - The type is String
    • getChartStyleNameAttribute

      public String getChartStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation ChartStyleNameAttribute , See @chart:style-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setChartStyleNameAttribute

      public void setChartStyleNameAttribute(String chartStyleNameValue)
      Sets the value of ODFDOM attribute representation ChartStyleNameAttribute , See @chart:style-name
      Parameters:
      chartStyleNameValue - The type is String
    • 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
    • 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
    • getTableCellRangeAddressAttribute

      public String getTableCellRangeAddressAttribute()
      Receives the value of the ODFDOM attribute representation TableCellRangeAddressAttribute , See @table:cell-range-address
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableCellRangeAddressAttribute

      public void setTableCellRangeAddressAttribute(String tableCellRangeAddressValue)
      Sets the value of ODFDOM attribute representation TableCellRangeAddressAttribute , See @table:cell-range-address
      Parameters:
      tableCellRangeAddressValue - 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
    • newChartAxisElement

      public ChartAxisElement newChartAxisElement(String chartDimensionValue)
      Create child element <chart:axis>.
      Parameters:
      chartDimensionValue - the String value of ChartDimensionAttribute , see @chart:dimension at specification
      Returns:
      the element <chart:axis>
    • newChartFloorElement

      public ChartFloorElement newChartFloorElement()
      Create child element <chart:floor>.
      Returns:
      the element <chart:floor>
    • newChartSeriesElement

      public ChartSeriesElement newChartSeriesElement()
      Create child element <chart:series>.
      Returns:
      the element <chart:series>
    • newChartStockGainMarkerElement

      public ChartStockGainMarkerElement newChartStockGainMarkerElement()
      Create child element <chart:stock-gain-marker>.
      Returns:
      the element <chart:stock-gain-marker>
    • newChartStockLossMarkerElement

      public ChartStockLossMarkerElement newChartStockLossMarkerElement()
      Create child element <chart:stock-loss-marker>.
      Returns:
      the element <chart:stock-loss-marker>
    • newChartStockRangeLineElement

      public ChartStockRangeLineElement newChartStockRangeLineElement()
      Create child element <chart:stock-range-line>.
      Returns:
      the element <chart:stock-range-line>
    • newChartWallElement

      public ChartWallElement newChartWallElement()
      Create child element <chart:wall>.
      Returns:
      the element <chart:wall>
    • newDr3dLightElement

      public Dr3dLightElement newDr3dLightElement(String dr3dDirectionValue)
      Create child element <dr3d:light>.
      Parameters:
      dr3dDirectionValue - the String value of Dr3dDirectionAttribute, see @dr3d:direction at specification
      Returns:
      the element <dr3d:light>
    • 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