Class TextListLevelStyleNumberElement

All Implemented Interfaces:
Serializable, Cloneable, Comparable, OdfStylePropertySet, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo
Direct Known Subclasses:
OdfTextListLevelStyleNumber

public class TextListLevelStyleNumberElement extends TextListLevelStyleElementBase
DOM implementation of OpenDocument element <text:list-level-style-number>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TextListLevelStyleNumberElement

      public TextListLevelStyleNumberElement(OdfFileDom ownerDoc)
      Create the instance of TextListLevelStyleNumberElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <text:list-level-style-number>.
    • getStyleNumFormatAttribute

      public String getStyleNumFormatAttribute()
      Receives the value of the ODFDOM attribute representation StyleNumFormatAttribute , See @style:num-format

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleNumFormatAttribute

      public void setStyleNumFormatAttribute(String styleNumFormatValue)
      Sets the value of ODFDOM attribute representation StyleNumFormatAttribute , See @style:num-format
      Parameters:
      styleNumFormatValue - The type is String
    • getStyleNumLetterSyncAttribute

      public Boolean getStyleNumLetterSyncAttribute()
      Receives the value of the ODFDOM attribute representation StyleNumLetterSyncAttribute , See @style:num-letter-sync
      Returns:
      - the Boolean , the value or null, if the attribute is not set and no default value defined.
    • setStyleNumLetterSyncAttribute

      public void setStyleNumLetterSyncAttribute(Boolean styleNumLetterSyncValue)
      Sets the value of ODFDOM attribute representation StyleNumLetterSyncAttribute , See @style:num-letter-sync
      Parameters:
      styleNumLetterSyncValue - The type is Boolean
    • getStyleNumPrefixAttribute

      public String getStyleNumPrefixAttribute()
      Receives the value of the ODFDOM attribute representation StyleNumPrefixAttribute , See @style:num-prefix
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleNumPrefixAttribute

      public void setStyleNumPrefixAttribute(String styleNumPrefixValue)
      Sets the value of ODFDOM attribute representation StyleNumPrefixAttribute , See @style:num-prefix
      Parameters:
      styleNumPrefixValue - The type is String
    • getStyleNumSuffixAttribute

      public String getStyleNumSuffixAttribute()
      Receives the value of the ODFDOM attribute representation StyleNumSuffixAttribute , See @style:num-suffix
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setStyleNumSuffixAttribute

      public void setStyleNumSuffixAttribute(String styleNumSuffixValue)
      Sets the value of ODFDOM attribute representation StyleNumSuffixAttribute , See @style:num-suffix
      Parameters:
      styleNumSuffixValue - The type is String
    • getTextDisplayLevelsAttribute

      public Integer getTextDisplayLevelsAttribute()
      Receives the value of the ODFDOM attribute representation TextDisplayLevelsAttribute , See @text:display-levels
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTextDisplayLevelsAttribute

      public void setTextDisplayLevelsAttribute(Integer textDisplayLevelsValue)
      Sets the value of ODFDOM attribute representation TextDisplayLevelsAttribute , See @text:display-levels
      Parameters:
      textDisplayLevelsValue - The type is Integer
    • getTextStartValueAttribute

      public Integer getTextStartValueAttribute()
      Receives the value of the ODFDOM attribute representation TextStartValueAttribute , See @text:start-value
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTextStartValueAttribute

      public void setTextStartValueAttribute(Integer textStartValueValue)
      Sets the value of ODFDOM attribute representation TextStartValueAttribute , See @text:start-value
      Parameters:
      textStartValueValue - The type is Integer
    • getTextStyleNameAttribute

      public String getTextStyleNameAttribute()
      Receives the value of the ODFDOM attribute representation TextStyleNameAttribute , See @text:style-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTextStyleNameAttribute

      public void setTextStyleNameAttribute(String textStyleNameValue)
      Sets the value of ODFDOM attribute representation TextStyleNameAttribute , See @text:style-name
      Parameters:
      textStyleNameValue - The type is String
    • 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>
    • 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