com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class ListFormatter

    • Constructor Detail

      • ListFormatter

        public ListFormatter()
    • Method Detail

      • getText

        public String getText(String text,
                     DocumentPartOptions documentPartOptions)

        Formats the text.

        Parameters:
        text - The text to formatting.
        documentPartOptions - The options for the text formatting.
        Returns:
        A string that represents formatted text.
      • getText

        public String getText(String text)

        Formats the text.

        Parameters:
        text - The text to formatting.
        Returns:
        A string that represents formatted text.
      • closeList

        public abstract String closeList()

        Closes the current list.

        Returns:
        A string that represents a end of the list.
      • getItemMaxWidth

        public Integer getItemMaxWidth(ListItemOptions listItemOptions,
                              DocumentPartOptions documentPartOptions)

        Returns a maximum width of the listItemOptions.

        Parameters:
        listItemOptions - The options of the list item.
        documentPartOptions - The options for the text formatting.
        Returns:
        A maximum width of the listItemOptions.