Class NumberFractionElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • NumberFractionElement

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

      • getNumberDenominatorValueAttribute

        public Integer getNumberDenominatorValueAttribute()
        Receives the value of the ODFDOM attribute representation NumberDenominatorValueAttribute , See @number:denominator-value
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setNumberDenominatorValueAttribute

        public void setNumberDenominatorValueAttribute​(Integer numberDenominatorValueValue)
        Sets the value of ODFDOM attribute representation NumberDenominatorValueAttribute , See @number:denominator-value
        Parameters:
        numberDenominatorValueValue - The type is Integer
      • 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
      • getNumberMinDenominatorDigitsAttribute

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

        public void setNumberMinDenominatorDigitsAttribute​(Integer numberMinDenominatorDigitsValue)
        Sets the value of ODFDOM attribute representation NumberMinDenominatorDigitsAttribute , See @number:min-denominator-digits
        Parameters:
        numberMinDenominatorDigitsValue - The type is Integer
      • 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
      • getNumberMinNumeratorDigitsAttribute

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

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