public class RtfPage extends RtfContainer

Specifies rtf control words. Is the container for page attributes. Overrides okToWriteRtf.

This work was authored by Christopher Scott (scottc@westinghouse.com).

  • Field Details

  • Method Details

    • writeRtfContent

      protected void writeRtfContent() throws IOException
      RtfPage writes the attributes the attributes contained in the string PAGE_ATTR, if not null
      Overrides:
      writeRtfContent in class RtfContainer
      Throws:
      IOException - for I/O problems
    • getAttributes

      public RtfAttributes getAttributes()
      RtfPage - attributes accessor
      Returns:
      attributes
    • okToWriteRtf

      protected boolean okToWriteRtf()
      RtfPage - is overwritten here because page attributes have no content only attributes. RtfContainer is defined not to write when empty. Therefore must make this true to print.
      Overrides:
      okToWriteRtf in class RtfContainer
      Returns:
      true