Class ChartDataLabelElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • ChartDataLabelElement

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

      • 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 is new in Odf 1.2

        Returns:
        the element <text:p>
      • 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 class OdfElement
        Parameters:
        visitor - an instance of DefaultElementVisitor