Class NumberTimeStyleElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • NumberTimeStyleElement

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

      • getNumberFormatSourceAttribute

        public String getNumberFormatSourceAttribute()
        Receives the value of the ODFDOM attribute representation NumberFormatSourceAttribute , See @number:format-source
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberFormatSourceAttribute

        public void setNumberFormatSourceAttribute​(String numberFormatSourceValue)
        Sets the value of ODFDOM attribute representation NumberFormatSourceAttribute , See @number:format-source
        Parameters:
        numberFormatSourceValue - The type is String
      • getNumberTruncateOnOverflowAttribute

        public Boolean getNumberTruncateOnOverflowAttribute()
        Receives the value of the ODFDOM attribute representation NumberTruncateOnOverflowAttribute , See @number:truncate-on-overflow
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setNumberTruncateOnOverflowAttribute

        public void setNumberTruncateOnOverflowAttribute​(Boolean numberTruncateOnOverflowValue)
        Sets the value of ODFDOM attribute representation NumberTruncateOnOverflowAttribute , See @number:truncate-on-overflow
        Parameters:
        numberTruncateOnOverflowValue - The type is Boolean
      • 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