Class NumberNumberElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • NumberNumberElement

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

      • getNumberDecimalPlacesAttribute

        public Integer getNumberDecimalPlacesAttribute()
        Receives the value of the ODFDOM attribute representation NumberDecimalPlacesAttribute , See @number:decimal-places
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setNumberDecimalPlacesAttribute

        public void setNumberDecimalPlacesAttribute​(Integer numberDecimalPlacesValue)
        Sets the value of ODFDOM attribute representation NumberDecimalPlacesAttribute , See @number:decimal-places
        Parameters:
        numberDecimalPlacesValue - The type is Integer
      • getNumberDecimalReplacementAttribute

        public String getNumberDecimalReplacementAttribute()
        Receives the value of the ODFDOM attribute representation NumberDecimalReplacementAttribute , See @number:decimal-replacement
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberDecimalReplacementAttribute

        public void setNumberDecimalReplacementAttribute​(String numberDecimalReplacementValue)
        Sets the value of ODFDOM attribute representation NumberDecimalReplacementAttribute , See @number:decimal-replacement
        Parameters:
        numberDecimalReplacementValue - The type is String
      • getNumberDisplayFactorAttribute

        public Double getNumberDisplayFactorAttribute()
        Receives the value of the ODFDOM attribute representation NumberDisplayFactorAttribute , See @number:display-factor
        Returns:
        - the Double , the value or null, if the attribute is not set and no default value defined.
      • setNumberDisplayFactorAttribute

        public void setNumberDisplayFactorAttribute​(Double numberDisplayFactorValue)
        Sets the value of ODFDOM attribute representation NumberDisplayFactorAttribute , See @number:display-factor
        Parameters:
        numberDisplayFactorValue - The type is Double
      • getNumberGroupingAttribute

        public Boolean getNumberGroupingAttribute()
        Receives the value of the ODFDOM attribute representation NumberGroupingAttribute , See @number:grouping
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setNumberGroupingAttribute

        public void setNumberGroupingAttribute​(Boolean numberGroupingValue)
        Sets the value of ODFDOM attribute representation NumberGroupingAttribute , See @number:grouping
        Parameters:
        numberGroupingValue - The type is Boolean
      • getNumberMinIntegerDigitsAttribute

        public Integer getNumberMinIntegerDigitsAttribute()
        Receives the value of the ODFDOM attribute representation NumberMinIntegerDigitsAttribute , See @number:min-integer-digits
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setNumberMinIntegerDigitsAttribute

        public void setNumberMinIntegerDigitsAttribute​(Integer numberMinIntegerDigitsValue)
        Sets the value of ODFDOM attribute representation NumberMinIntegerDigitsAttribute , See @number:min-integer-digits
        Parameters:
        numberMinIntegerDigitsValue - The type is Integer
      • 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