Class TextNumberedParagraphElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • TextNumberedParagraphElement

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

      • getTextContinueNumberingAttribute

        public Boolean getTextContinueNumberingAttribute()
        Receives the value of the ODFDOM attribute representation TextContinueNumberingAttribute , See @text:continue-numbering
        Returns:
        - the Boolean , the value or null, if the attribute is not set and no default value defined.
      • setTextContinueNumberingAttribute

        public void setTextContinueNumberingAttribute​(Boolean textContinueNumberingValue)
        Sets the value of ODFDOM attribute representation TextContinueNumberingAttribute , See @text:continue-numbering
        Parameters:
        textContinueNumberingValue - The type is Boolean
      • getTextLevelAttribute

        public Integer getTextLevelAttribute()
        Receives the value of the ODFDOM attribute representation TextLevelAttribute , See @text:level
        Returns:
        - the Integer , the value or null, if the attribute is not set and no default value defined.
      • setTextLevelAttribute

        public void setTextLevelAttribute​(Integer textLevelValue)
        Sets the value of ODFDOM attribute representation TextLevelAttribute , See @text:level
        Parameters:
        textLevelValue - The type is Integer
      • getTextListIdAttribute

        public String getTextListIdAttribute()
        Receives the value of the ODFDOM attribute representation TextListIdAttribute , See @text:list-id

        Attribute is mandatory.

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

        public void setTextListIdAttribute​(String textListIdValue)
        Sets the value of ODFDOM attribute representation TextListIdAttribute , See @text:list-id
        Parameters:
        textListIdValue - The type is String
      • 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
      • getXmlIdAttribute

        public String getXmlIdAttribute()
        Receives the value of the ODFDOM attribute representation XmlIdAttribute , See @xml:id
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setXmlIdAttribute

        public void setXmlIdAttribute​(String xmlIdValue)
        Sets the value of ODFDOM attribute representation XmlIdAttribute , See @xml:id
        Parameters:
        xmlIdValue - The type is String
      • newTextHElement

        public TextHElement newTextHElement​(int textOutlineLevelValue)
        Create child element <text:h>.
        Parameters:
        textOutlineLevelValue - the Integer value of TextOutlineLevelAttribute , see @text:outline-level at specification
        Returns:
        the element <text:h>
      • 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