Class ListConversionConfiguration

java.lang.Object
com.scroogexhtml.configuration.ListConversionConfiguration
All Implemented Interfaces:
Serializable

public class ListConversionConfiguration extends Object implements Serializable
Configuration for RTF list table and paragraph numbering processing, nested property.

Historical Context:

Paragraph Numbering Tokens:

These were the initial method provided by early versions of the RTF standard for creating lists. They are simpler and were sufficient for creating basic numbered or bulleted lists. Control words like \pntext, \pn, \pnlvl, \pndec, and \pnbullet allowed for basic list functionality directly within paragraphs.

List Definitions in \listtable:

As document formatting needs grew more complex, the initial method of creating lists proved insufficient for advanced use cases, such as deeply nested lists, mixed list types, or complex formatting requirements. To address these limitations, Microsoft introduced the \listtable and \listoverride control words in later versions of the RTF specification, specifically starting from RTF 1.2 and later being expanded in RTF 1.5. These newer constructs provide a more flexible and powerful way to handle lists, especially beneficial for applications like Microsoft Word, which support complex list structures and formatting.

See Also:
  • Constructor Details

    • ListConversionConfiguration

      public ListConversionConfiguration()
  • Method Details

    • isSupportListTable

      public boolean isSupportListTable()
      Specifies whether the converter should read the RTF list table section.
      Returns:
      true if the converter should read the RTF list table section.
    • setSupportListTable

      public void setSupportListTable(boolean supportListTable)
    • isSupportStarPn

      public boolean isSupportStarPn()
    • setSupportStarPn

      public void setSupportStarPn(boolean supportStarPn)