Class RtfListStyleNumber


  • public class RtfListStyleNumber
    extends RtfListStyle
    Class to handle number list style.
    • Constructor Detail

      • RtfListStyleNumber

        public RtfListStyleNumber()
    • Method Detail

      • writeListPrefix

        public void writeListPrefix​(RtfListItem item)
                             throws java.io.IOException
        Gets called before a RtfListItem has to be written.
        Overrides:
        writeListPrefix in class RtfListStyle
        Parameters:
        item - RtfListItem whose prefix has to be written RtfListItem this style belongs to
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs
      • writeParagraphPrefix

        public void writeParagraphPrefix​(RtfElement element)
                                  throws java.io.IOException
        Gets called before a paragraph, which is contained by a RtfListItem has to be written.
        Overrides:
        writeParagraphPrefix in class RtfListStyle
        Parameters:
        element - RtfElement in whose context is to be written RtfElement in whose context is to be written
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs
      • writeLevelGroup

        public void writeLevelGroup​(RtfElement element)
                             throws java.io.IOException
        Gets called when the list table has to be written.
        Overrides:
        writeLevelGroup in class RtfListStyle
        Parameters:
        element - RtfElement in whose context is to be written RtfElement in whose context is to be written
        Throws:
        java.io.IOException - Thrown when an IO-problem occurs