Class OdfTextList

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class OdfTextList extends TextListElement
Convenient functionalty for the parent ODF OpenDocument element
See Also:
  • Constructor Details

    • OdfTextList

      public OdfTextList(OdfFileDom ownerDoc)
      Creates a new instance of OdfList.
      Parameters:
      ownerDoc -
    • OdfTextList

      public OdfTextList(OdfFileDom ownerDoc, String[] itemList, char indentDelim, String listStyleName)
      Creates a new instance of OdfList.
      Parameters:
      ownerDoc - The document to which the list belongs
      itemList - An array of the list items, each preceded by delimiters that indicate nesting level.
      indentDelim - The character used as level nesting delimiter.
      listStyleName - Name to be applied to each text:list element.
  • Method Details

    • getListStyle

      public OdfTextListStyle getListStyle()
      Retrieves Odf Text List Style
      Returns:
      the OdfTextListStyle element
    • getListLevel

      public int getListLevel()
      Retrieves the list level count
      Returns:
      the level count
    • getListLevelStyle

      public TextListLevelStyleElementBase getListLevelStyle()
      Retrieves the List Level Style
      Returns:
      the TextListLevelStyleElementBase
    • getOrCreateLocalListStyle

      public OdfTextListStyle getOrCreateLocalListStyle()
      Retrieves or create local list style
      Returns:
      the OdfTextListStyle element
    • getParentList

      public OdfTextList getParentList()
      Retrieves the parent list of text list
      Returns:
      The OdfTextList