|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RtfBasicElement
The RtfBasicElement interface defines the interface for elements that can be added to the RtfWriter.
| Field Summary | |
|---|---|
static byte[] |
CLOSE_GROUP
Constant for the end of an rtf group |
static byte[] |
COMMA_DELIMITER
Constant for a comma delimiter in rtf |
static byte[] |
DELIMITER
Constant for a delimiter in rtf |
static byte[] |
OPEN_GROUP
Constant for the beginning of a rtf group |
static double |
TWIPS_FACTOR
The factor to use for translating from iText to rtf measurements |
| Method Summary | |
|---|---|
void |
setInHeader(boolean inHeader)
Sets whether this RtfBasicElement is in a header |
void |
setInTable(boolean inTable)
Sets whether this RtfBasicElement is in a table |
void |
setRtfDocument(RtfDocument doc)
Sets the RtfDocument this RtfElement belongs to |
void |
writeContent(OutputStream out)
Writes the element content to the given output stream. |
| Field Detail |
|---|
static final byte[] OPEN_GROUP
static final byte[] CLOSE_GROUP
static final byte[] DELIMITER
static final byte[] COMMA_DELIMITER
static final double TWIPS_FACTOR
| Method Detail |
|---|
void writeContent(OutputStream out)
throws IOException
out - The OutputStream to write the content to
IOExceptionvoid setRtfDocument(RtfDocument doc)
doc - The @link{com.lowagie.text.rtf.document.RtfDocument} this RtfElement belongs tovoid setInTable(boolean inTable)
inTable - Whether this RtfBasicElement is in a tablevoid setInHeader(boolean inHeader)
inHeader - Whether this RtfBasicElement is in a header
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||