Class NumberBooleanStyleElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • NumberBooleanStyleElement

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

        public NumberBooleanStyleElement​(OdfFileDom ownerDoc,
                                         String styleName)
        Create the instance of NumberBooleanStyleElement
        Parameters:
        ownerDoc - The type is OdfFileDom
        styleName - The style name
    • Method Detail

      • getOdfName

        public OdfName getOdfName()
        Get the element name
        Specified by:
        getOdfName in class OdfElement
        Returns:
        return OdfName the name of element {
      • getNumberCountryAttribute

        public String getNumberCountryAttribute()
        Receives the value of the ODFDOM attribute representation NumberCountryAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberCountryAttribute

        public void setNumberCountryAttribute​(String numberCountryValue)
        Sets the value of ODFDOM attribute representation NumberCountryAttribute , See {
        Parameters:
        numberCountryValue - The type is String
      • getNumberLanguageAttribute

        public String getNumberLanguageAttribute()
        Receives the value of the ODFDOM attribute representation NumberLanguageAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberLanguageAttribute

        public void setNumberLanguageAttribute​(String numberLanguageValue)
        Sets the value of ODFDOM attribute representation NumberLanguageAttribute , See {
        Parameters:
        numberLanguageValue - The type is String
      • getNumberRfcLanguageTagAttribute

        public String getNumberRfcLanguageTagAttribute()
        Receives the value of the ODFDOM attribute representation NumberRfcLanguageTagAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberRfcLanguageTagAttribute

        public void setNumberRfcLanguageTagAttribute​(String numberRfcLanguageTagValue)
        Sets the value of ODFDOM attribute representation NumberRfcLanguageTagAttribute , See {
        Parameters:
        numberRfcLanguageTagValue - The type is String
      • getNumberScriptAttribute

        public String getNumberScriptAttribute()
        Receives the value of the ODFDOM attribute representation NumberScriptAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberScriptAttribute

        public void setNumberScriptAttribute​(String numberScriptValue)
        Sets the value of ODFDOM attribute representation NumberScriptAttribute , See {
        Parameters:
        numberScriptValue - The type is String
      • getNumberTitleAttribute

        public String getNumberTitleAttribute()
        Receives the value of the ODFDOM attribute representation NumberTitleAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberTitleAttribute

        public void setNumberTitleAttribute​(String numberTitleValue)
        Sets the value of ODFDOM attribute representation NumberTitleAttribute , See {
        Parameters:
        numberTitleValue - The type is String
      • getNumberTransliterationCountryAttribute

        public String getNumberTransliterationCountryAttribute()
        Receives the value of the ODFDOM attribute representation NumberTransliterationCountryAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberTransliterationCountryAttribute

        public void setNumberTransliterationCountryAttribute​(String numberTransliterationCountryValue)
        Sets the value of ODFDOM attribute representation NumberTransliterationCountryAttribute , See {
        Parameters:
        numberTransliterationCountryValue - The type is String
      • getNumberTransliterationFormatAttribute

        public String getNumberTransliterationFormatAttribute()
        Receives the value of the ODFDOM attribute representation NumberTransliterationFormatAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberTransliterationFormatAttribute

        public void setNumberTransliterationFormatAttribute​(String numberTransliterationFormatValue)
        Sets the value of ODFDOM attribute representation NumberTransliterationFormatAttribute , See {
        Parameters:
        numberTransliterationFormatValue - The type is String
      • getNumberTransliterationLanguageAttribute

        public String getNumberTransliterationLanguageAttribute()
        Receives the value of the ODFDOM attribute representation NumberTransliterationLanguageAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberTransliterationLanguageAttribute

        public void setNumberTransliterationLanguageAttribute​(String numberTransliterationLanguageValue)
        Sets the value of ODFDOM attribute representation NumberTransliterationLanguageAttribute , See {
        Parameters:
        numberTransliterationLanguageValue - The type is String
      • getNumberTransliterationStyleAttribute

        public String getNumberTransliterationStyleAttribute()
        Receives the value of the ODFDOM attribute representation NumberTransliterationStyleAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setNumberTransliterationStyleAttribute

        public void setNumberTransliterationStyleAttribute​(String numberTransliterationStyleValue)
        Sets the value of ODFDOM attribute representation NumberTransliterationStyleAttribute , See {
        Parameters:
        numberTransliterationStyleValue - The type is String
      • getStyleDisplayNameAttribute

        public String getStyleDisplayNameAttribute()
        Receives the value of the ODFDOM attribute representation StyleDisplayNameAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setStyleDisplayNameAttribute

        public void setStyleDisplayNameAttribute​(String styleDisplayNameValue)
        Sets the value of ODFDOM attribute representation StyleDisplayNameAttribute , See {
        Parameters:
        styleDisplayNameValue - The type is String
      • getStyleNameAttribute

        public String getStyleNameAttribute()
        Receives the value of the ODFDOM attribute representation StyleNameAttribute , See {
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setStyleNameAttribute

        public void setStyleNameAttribute​(String styleNameValue)
        Sets the value of ODFDOM attribute representation StyleNameAttribute , See {
        Parameters:
        styleNameValue - The type is String
      • getStyleVolatileAttribute

        public Boolean getStyleVolatileAttribute()
        Receives the value of the ODFDOM attribute representation StyleVolatileAttribute , See {
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setStyleVolatileAttribute

        public void setStyleVolatileAttribute​(Boolean styleVolatileValue)
        Sets the value of ODFDOM attribute representation StyleVolatileAttribute , See {
        Parameters:
        styleVolatileValue - The type is Boolean
      • newNumberBooleanElement

        public NumberBooleanElement newNumberBooleanElement()
        Create child element {
        Returns:
        the element {
      • newNumberTextElement

        public NumberTextElement newNumberTextElement()
        Create child element {
        Returns:
        the element {
      • newStyleMapElement

        public StyleMapElement newStyleMapElement​(String styleApplyStyleNameValue,
                                                  String styleConditionValue)
        Create child element {
        Parameters:
        styleApplyStyleNameValue - the String value of StyleApplyStyleNameAttribute, see {
        styleConditionValue - the String value of StyleConditionAttribute , see {
        Returns:
        the element {
      • newStyleTextPropertiesElement

        public StyleTextPropertiesElement newStyleTextPropertiesElement​(String textDisplayValue)
        Create child element {
        Parameters:
        textDisplayValue - the String value of TextDisplayAttribute, see {
        Returns:
        the element {
      • 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
      • getFormat

        public String getFormat​(boolean caps)
        Description copied from class: DataStyleElement
        Get the format string that represents this style.
        Specified by:
        getFormat in class DataStyleElement
        Parameters:
        caps - use capitals
        Returns:
        the format string
      • setFormat

        public void setFormat​(String format)
        Description copied from class: DataStyleElement
        Get the format string that represents this style.
        Specified by:
        setFormat in class DataStyleElement
        Parameters:
        format - the format string