Class TextListLevelStyleBulletElement

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

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

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TextListLevelStyleBulletElement

      public TextListLevelStyleBulletElement(OdfFileDom ownerDoc)
      Create the instance of TextListLevelStyleBulletElement
      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-bullet>.
    • 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
    • getTextBulletCharAttribute

      public String getTextBulletCharAttribute()
      Receives the value of the ODFDOM attribute representation TextBulletCharAttribute , See @text:bullet-char

      Attribute is mandatory.

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

      public void setTextBulletCharAttribute(String textBulletCharValue)
      Sets the value of ODFDOM attribute representation TextBulletCharAttribute , See @text:bullet-char
      Parameters:
      textBulletCharValue - The type is String
    • getTextBulletRelativeSizeAttribute

      public String getTextBulletRelativeSizeAttribute()
      Receives the value of the ODFDOM attribute representation TextBulletRelativeSizeAttribute , See @text:bullet-relative-size
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTextBulletRelativeSizeAttribute

      public void setTextBulletRelativeSizeAttribute(String textBulletRelativeSizeValue)
      Sets the value of ODFDOM attribute representation TextBulletRelativeSizeAttribute , See @text:bullet-relative-size
      Parameters:
      textBulletRelativeSizeValue - The type is String
    • 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