Class RtfFootnote
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfPhrase
com.lowagie.text.rtf.text.RtfFootnote
- All Implemented Interfaces:
RtfBasicElement
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static final byte[]Constant for the actual footnoteprotected final RtfParagraphStyleAn optional RtfParagraphStyle to use for styling.private static final byte[]Fields inherited from class RtfPhrase
chunks, IN_TABLE, LINE_SPACING, PARAGRAPH_DEFAULTS, PLAINFields inherited from class RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
ConstructorsConstructorDescriptionRtfFootnote(RtfDocument doc, com.lowagie.text.Footnote footnote) Constructs a RtfFootnote based on an Footnote. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteContent(OutputStream result) Writes the content of the RtfFootnoteMethods inherited from class RtfPhrase
setInHeader, setInTable, setRtfDocumentMethods inherited from class RtfElement
intToByteArray, isInTable
-
Field Details
-
FOOTNOTE
private static final byte[] FOOTNOTEConstant for the actual footnote -
SUPER
private static final byte[] SUPER -
CHFTN
private static final byte[] CHFTN -
paragraphStyle
An optional RtfParagraphStyle to use for styling.
-
-
Constructor Details
-
RtfFootnote
Constructs a RtfFootnote based on an Footnote.- Parameters:
doc- The RtfDocument this RtfFootnote belongs tofootnote- The Footnote this RtfFootnote is based off
-
-
Method Details
-
writeContent
Writes the content of the RtfFootnote- Specified by:
writeContentin interfaceRtfBasicElement- Overrides:
writeContentin classRtfPhrase- Parameters:
result- TheOutputStreamto write the content to- Throws:
IOException
-