Class NumberDataStyleElementBase

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
NumberBooleanStyleElement, NumberCurrencyStyleElement, NumberDateStyleElement, NumberNumberStyleElement, NumberPercentageStyleElement, NumberTextStyleElement, NumberTimeStyleElement

public abstract class NumberDataStyleElementBase extends DataStyleElement
DOM implementation of OpenDocument base element
See Also:
  • Constructor Details

    • NumberDataStyleElementBase

      public NumberDataStyleElementBase(OdfFileDom ownerDoc, OdfName elementName)
      Create the instance of NumberDataStyleElementBase
      Parameters:
      ownerDoc - The type is OdfFileDom
      elementName - The type is OdfName
  • Method Details

    • getNumberCountryAttribute

      public String getNumberCountryAttribute()
      Receives the value of the ODFDOM attribute representation NumberCountryAttribute , See @number:country
      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 @number:country
      Parameters:
      numberCountryValue - The type is String
    • getNumberLanguageAttribute

      public String getNumberLanguageAttribute()
      Receives the value of the ODFDOM attribute representation NumberLanguageAttribute , See @number:language
      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 @number:language
      Parameters:
      numberLanguageValue - The type is String
    • getNumberRfcLanguageTagAttribute

      public String getNumberRfcLanguageTagAttribute()
      Receives the value of the ODFDOM attribute representation NumberRfcLanguageTagAttribute , See @number:rfc-language-tag
      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 @number:rfc-language-tag
      Parameters:
      numberRfcLanguageTagValue - The type is String
    • getNumberScriptAttribute

      public String getNumberScriptAttribute()
      Receives the value of the ODFDOM attribute representation NumberScriptAttribute , See @number:script
      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 @number:script
      Parameters:
      numberScriptValue - The type is String
    • getNumberTitleAttribute

      public String getNumberTitleAttribute()
      Receives the value of the ODFDOM attribute representation NumberTitleAttribute , See @number:title
      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 @number:title
      Parameters:
      numberTitleValue - The type is String
    • getNumberTransliterationCountryAttribute

      public String getNumberTransliterationCountryAttribute()
      Receives the value of the ODFDOM attribute representation NumberTransliterationCountryAttribute , See @number:transliteration-country
      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 @number:transliteration-country
      Parameters:
      numberTransliterationCountryValue - The type is String
    • getNumberTransliterationFormatAttribute

      public String getNumberTransliterationFormatAttribute()
      Receives the value of the ODFDOM attribute representation NumberTransliterationFormatAttribute , See @number:transliteration-format
      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 @number:transliteration-format
      Parameters:
      numberTransliterationFormatValue - The type is String
    • getNumberTransliterationLanguageAttribute

      public String getNumberTransliterationLanguageAttribute()
      Receives the value of the ODFDOM attribute representation NumberTransliterationLanguageAttribute , See @number:transliteration-language
      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 @number:transliteration-language
      Parameters:
      numberTransliterationLanguageValue - The type is String
    • getNumberTransliterationStyleAttribute

      public String getNumberTransliterationStyleAttribute()
      Receives the value of the ODFDOM attribute representation NumberTransliterationStyleAttribute , See @number:transliteration-style
      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 @number:transliteration-style
      Parameters:
      numberTransliterationStyleValue - The type is String
    • getStyleDisplayNameAttribute

      public String getStyleDisplayNameAttribute()
      Receives the value of the ODFDOM attribute representation StyleDisplayNameAttribute , See @style:display-name
      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 @style:display-name
      Parameters:
      styleDisplayNameValue - The type is String
    • getStyleNameAttribute

      public String getStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation StyleNameAttribute , See @style:name
      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 @style:name
      Parameters:
      styleNameValue - The type is String
    • getStyleVolatileAttribute

      public Boolean getStyleVolatileAttribute()
      Receives the value of the ODFDOM attribute representation StyleVolatileAttribute , See @style:volatile
      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 @style:volatile
      Parameters:
      styleVolatileValue - The type is Boolean
    • newNumberTextElement

      public NumberTextElement newNumberTextElement()
      Create child element <number:text>.
      Returns:
      the element <number:text>
    • newStyleMapElement

      public StyleMapElement newStyleMapElement(String styleApplyStyleNameValue, String styleConditionValue)
      Create child element <style:map>.
      Parameters:
      styleApplyStyleNameValue - the String value of StyleApplyStyleNameAttribute, see @style:apply-style-name at specification
      styleConditionValue - the String value of StyleConditionAttribute , see @style:condition at specification
      Returns:
      the element <style:map>
    • newStyleTextPropertiesElement

      public StyleTextPropertiesElement newStyleTextPropertiesElement(String textDisplayValue)
      Create child element <style:text-properties>.
      Parameters:
      textDisplayValue - the String value of TextDisplayAttribute, see @text:display at specification
      Returns:
      the element <style:text-properties>