Package com.lowagie.text.rtf.text
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
,com.lowagie.text.RtfElementInterface
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 RtfParagraphStyle
An optional RtfParagraphStyle to use for styling.private static final byte[]
Fields inherited from class com.lowagie.text.rtf.text.RtfPhrase
chunks, IN_TABLE, LINE_SPACING, PARAGRAPH_DEFAULTS, PLAIN
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
Fields inherited from interface com.lowagie.text.rtf.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 TypeMethodDescriptionvoid
writeContent
(OutputStream result) Writes the content of the RtfFootnoteMethods inherited from class com.lowagie.text.rtf.text.RtfPhrase
setInHeader, setInTable, setRtfDocument
Methods inherited from class com.lowagie.text.rtf.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:
writeContent
in interfaceRtfBasicElement
- Overrides:
writeContent
in classRtfPhrase
- Parameters:
result
- TheOutputStream
to write the content to- Throws:
IOException
-