Class RtfFootnote

  • All Implemented Interfaces:
    RtfBasicElement, com.lowagie.text.RtfElementInterface

    public class RtfFootnote
    extends RtfPhrase
    The RtfFootnote provides support for adding Footnotes to the rtf document. Only simple Footnotes with Title / Content are supported.

    Version:
    $Id: RtfFootnote.java 3580 2008-08-06 15:52:00Z howard_s $
    • Field Detail

      • FOOTNOTE

        private static final byte[] FOOTNOTE
        Constant for the actual footnote
      • SUPER

        private static final byte[] SUPER
      • CHFTN

        private static final byte[] CHFTN
      • paragraphStyle

        protected final RtfParagraphStyle paragraphStyle
        An optional RtfParagraphStyle to use for styling.
    • Constructor Detail

      • RtfFootnote

        public RtfFootnote​(RtfDocument doc,
                           com.lowagie.text.Footnote footnote)
        Constructs a RtfFootnote based on an Footnote.

        Parameters:
        doc - The RtfDocument this RtfFootnote belongs to
        footnote - The Footnote this RtfFootnote is based off
    • Method Detail

      • writeContent

        public void writeContent​(java.io.OutputStream result)
                          throws java.io.IOException
        Writes the content of the RtfFootnote
        Specified by:
        writeContent in interface RtfBasicElement
        Overrides:
        writeContent in class RtfPhrase
        Parameters:
        result - The OutputStream to write the content to
        Throws:
        java.io.IOException