|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfPhrase
public class RtfPhrase
The RtfPhrase contains multiple RtfChunks
| Field Summary | |
|---|---|
protected ArrayList |
chunks
ArrayList containing the RtfChunks of this RtfPhrase |
static byte[] |
IN_TABLE
Constant for phrase in a table indication |
static byte[] |
LINE_SPACING
Constant for the line spacing. |
private int |
lineLeading
The height of each line. |
static byte[] |
PARAGRAPH_DEFAULTS
Constant for the resetting of the paragraph defaults |
static byte[] |
PLAIN
Constant for resetting of font settings to their defaults |
| 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 | |
|---|---|
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. |
| Methods inherited from class com.lowagie.text.rtf.RtfElement |
|---|
intToByteArray, isInTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] PARAGRAPH_DEFAULTS
public static final byte[] PLAIN
public static final byte[] IN_TABLE
public static final byte[] LINE_SPACING
protected ArrayList chunks
private int lineLeading
| Constructor Detail |
|---|
protected RtfPhrase(RtfDocument doc)
doc - The RtfDocument this RtfPhrase belongs to.
public RtfPhrase(RtfDocument doc,
Phrase phrase)
doc - The RtfDocument this RtfPhrase belongs tophrase - The Phrase this RtfPhrase is based on| Method Detail |
|---|
public void writeContent(OutputStream result)
throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementresult - The OutputStream to write the content to
IOExceptionpublic void setInTable(boolean inTable)
setInTable in interface RtfBasicElementsetInTable in class RtfElementinTable - True if this RtfPhrase is in a table, false otherwisepublic void setInHeader(boolean inHeader)
setInHeader in interface RtfBasicElementsetInHeader in class RtfElementinHeader - True if this RtfPhrase is in a header, false otherwisepublic void setRtfDocument(RtfDocument doc)
setRtfDocument in interface RtfBasicElementsetRtfDocument in class RtfElementdoc - The RtfDocument to use
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||