Class OdfTextList

    • Constructor Detail

      • 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 Detail

      • 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