Class ChartEquationElement

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

public class ChartEquationElement extends OdfElement
DOM implementation of OpenDocument element <chart:equation>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • ChartEquationElement

      public ChartEquationElement(OdfFileDom ownerDoc)
      Create the instance of ChartEquationElement
      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:equation>.
    • getChartAutomaticContentAttribute

      public Boolean getChartAutomaticContentAttribute()
      Receives the value of the ODFDOM attribute representation ChartAutomaticContentAttribute , See @chart:automatic-content
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setChartAutomaticContentAttribute

      public void setChartAutomaticContentAttribute(Boolean chartAutomaticContentValue)
      Sets the value of ODFDOM attribute representation ChartAutomaticContentAttribute , See @chart:automatic-content
      Parameters:
      chartAutomaticContentValue - The type is Boolean
    • getChartDisplayEquationAttribute

      public Boolean getChartDisplayEquationAttribute()
      Receives the value of the ODFDOM attribute representation ChartDisplayEquationAttribute , See @chart:display-equation
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setChartDisplayEquationAttribute

      public void setChartDisplayEquationAttribute(Boolean chartDisplayEquationValue)
      Sets the value of ODFDOM attribute representation ChartDisplayEquationAttribute , See @chart:display-equation
      Parameters:
      chartDisplayEquationValue - The type is Boolean
    • getChartDisplayRSquareAttribute

      public Boolean getChartDisplayRSquareAttribute()
      Receives the value of the ODFDOM attribute representation ChartDisplayRSquareAttribute , See @chart:display-r-square
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setChartDisplayRSquareAttribute

      public void setChartDisplayRSquareAttribute(Boolean chartDisplayRSquareValue)
      Sets the value of ODFDOM attribute representation ChartDisplayRSquareAttribute , See @chart:display-r-square
      Parameters:
      chartDisplayRSquareValue - The type is Boolean
    • 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
    • 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
    • newTextPElement

      public TextPElement newTextPElement()
      Create child element <text:p>.

      Child element was added in ODF 1.2

      Returns:
      the element <text:p>
    • 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