Class RtfParagraphKeepTogether


public class RtfParagraphKeepTogether extends RtfContainer
Models the keep together attributes of paragraphs
  • Field Details

    • STATUS_NULL

      public static final int STATUS_NULL
      constant for unset status
      See Also:
    • STATUS_OPEN_PARAGRAPH

      public static final int STATUS_OPEN_PARAGRAPH
      constant for open paragraph
      See Also:
    • STATUS_CLOSE_PARAGRAPH

      public static final int STATUS_CLOSE_PARAGRAPH
      constant for close paragraph
      See Also:
  • Method Details

    • writeRtfContent

      protected void writeRtfContent() throws IOException
      Write the content
      Overrides:
      writeRtfContent in class RtfContainer
      Throws:
      IOException - for I/O problems
    • setStatus

      public void setStatus(int status)
      set the status
      Parameters:
      status - the status to be set
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class RtfContainer
      Returns:
      true if this element would generate no "useful" RTF content