Class RtfHeader


class RtfHeader extends RtfContainer

RTF file header, contains style, font and other document-level information.

This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch), Andreas Putz (a.putz@skynamics.com), and Marc Wilhelm Kuester.

  • Field Details

  • Constructor Details

  • Method Details

    • writeRtfContent

      protected void writeRtfContent() throws IOException
      Overridden to write our own data before our children's data
      Overrides:
      writeRtfContent in class RtfContainer
      Throws:
      IOException - for I/O problems
    • writeUserProperties

      private void writeUserProperties() throws IOException
      write user properties if any
      Throws:
      IOException
    • write

      void write(String toWrite) throws IOException
      write directly to our Writer TODO should check that this done at the right point, or even better, store what is written here to render it in writeRtfContent. <-- it is for the color table
      Throws:
      IOException
    • writeRtfString

      void writeRtfString(String toWrite) throws IOException
      write to our Writer using an RtfStringConverter
      Throws:
      IOException
    • writeFootnoteProperties

      private void writeFootnoteProperties() throws IOException
      write properties for footnote handling
      Throws:
      IOException