Class RtfListStyleText

java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyle
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyleText

public class RtfListStyleText extends RtfListStyle
Class to handle text list style.
  • Constructor Details

    • RtfListStyleText

      public RtfListStyleText(String s)
      Constructs a RtfListStyleText object.
      Parameters:
      s - Text to be displayed
  • Method Details

    • writeListPrefix

      public void writeListPrefix(RtfListItem item) throws 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:
      IOException - Thrown when an IO-problem occurs
    • writeParagraphPrefix

      public void writeParagraphPrefix(RtfElement element) throws 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:
      IOException - Thrown when an IO-problem occurs
    • writeLevelGroup

      public void writeLevelGroup(RtfElement element) throws 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:
      IOException - Thrown when an IO-problem occurs