Class RtfList


  • public class RtfList
    extends RtfContainer

    Model of an RTF list, which can contain RTF list items.

    This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch), Christopher Scott (scottc@westinghouse.com), and Peter Herweg (pherweg@web.de).

    • Method Detail

      • newListItem

        public RtfListItem newListItem()
                                throws java.io.IOException
        Close current list item and start a new one
        Returns:
        new RtfListItem
        Throws:
        java.io.IOException - for I/O problems
      • getListId

        public java.lang.Integer getListId()
        Returns the Id of the list.
        Returns:
        Id of the list
      • getListTemplateId

        public java.lang.Integer getListTemplateId()
        Returns the Id of the list template.
        Returns:
        Id of the list template
      • setRtfListStyle

        public void setRtfListStyle​(RtfListStyle ls)
        Change list style
        Parameters:
        ls - ListStyle to set
      • getRtfListStyle

        public RtfListStyle getRtfListStyle()
        Get list style
        Returns:
        ListSytle of the List
      • getHasTableParent

        public boolean getHasTableParent()
        Returns true, if the list has a parent table.
        Returns:
        true, if the list has a parent table