com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class PlainListFormatter



  • public final class PlainListFormatter
    extends ListFormatter

    Provides the functionality to format the list as a plain text formatting.

    • Constructor Detail

      • PlainListFormatter

        public PlainListFormatter()

        Initializes a new instance of the PlainListFormatter class.

    • Method Detail

      • closeList

        public String closeList()

        Closes the current list.

        Specified by:
        closeList in class ListFormatter
        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.

        Overrides:
        getItemMaxWidth in class ListFormatter
        Parameters:
        listItemOptions - The options of the list item.
        documentPartOptions - The options for the text formatting.
        Returns:
        A maximum width of the listItemOptions.