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
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 Summary
Fields Modifier and Type Field Description private static byte[]
CHFTN
private static byte[]
FOOTNOTE
Constant for the actual footnoteprotected RtfParagraphStyle
paragraphStyle
An optional RtfParagraphStyle to use for styling.private static byte[]
SUPER
-
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
Constructors Constructor Description RtfFootnote(RtfDocument doc, com.lowagie.text.Footnote footnote)
Constructs a RtfFootnote based on an Footnote.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeContent(java.io.OutputStream result)
Writes the content of the RtfFootnote-
Methods inherited from class com.lowagie.text.rtf.text.RtfPhrase
setInHeader, setInTable, setRtfDocument
-
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable
-
-
-
-
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 tofootnote
- 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 interfaceRtfBasicElement
- Overrides:
writeContent
in classRtfPhrase
- Parameters:
result
- TheOutputStream
to write the content to- Throws:
java.io.IOException
-
-