com.lowagie.text.rtf.text
public class RtfPhrase extends RtfElement
Version: $Id: RtfPhrase.java 3373 2008-05-12 16:21:24Z xlv $
Field Summary | |
---|---|
protected ArrayList | chunks
ArrayList containing the RtfChunks of this RtfPhrase |
static byte[] | IN_TABLE
Constant for phrase in a table indication |
int | lineLeading
The height of each line. |
static byte[] | LINE_SPACING
Constant for the line spacing. |
static byte[] | PARAGRAPH_DEFAULTS
Constant for the resetting of the paragraph defaults |
static byte[] | PLAIN
Constant for resetting of font settings to their defaults |
Constructor Summary | |
---|---|
protected | RtfPhrase(RtfDocument doc)
A basically empty constructor that is used by the RtfParagraph.
|
RtfPhrase(RtfDocument doc, Phrase phrase)
Constructs a new RtfPhrase for the RtfDocument with the given Phrase
|
Method Summary | |
---|---|
void | setInHeader(boolean inHeader)
Sets whether this RtfPhrase is in a header. |
void | setInTable(boolean inTable)
Sets whether this RtfPhrase is in a table. |
void | setRtfDocument(RtfDocument doc)
Sets the RtfDocument this RtfPhrase belongs to. |
void | writeContent(OutputStream result)
Write the content of this RtfPhrase. |
Parameters: doc The RtfDocument this RtfPhrase belongs to.
Parameters: doc The RtfDocument this RtfPhrase belongs to phrase The Phrase this RtfPhrase is based on
Parameters: inHeader True
if this RtfPhrase is in a header, false
otherwise
Parameters: inTable True
if this RtfPhrase is in a table, false
otherwise
Parameters: doc The RtfDocument to use