|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The RtfBasicElement interface defines the interface for elements that can be added to the RtfWriter. Version: $Id: RtfBasicElement.java,v 1.16 2005/05/04 14:33:37 blowagie Exp $
| 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 measurments |
| 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 |
byte[] |
write()
Return the content of the Element in a byte array |
| Field Detail |
public static final byte[] OPEN_GROUP
public static final byte[] CLOSE_GROUP
public static final byte[] DELIMITER
public static final byte[] COMMA_DELIMITER
public static final double TWIPS_FACTOR
| Method Detail |
public byte[] write()
public void setRtfDocument(RtfDocument doc)
doc - The RtfDocument to usepublic void setInTable(boolean inTable)
inTable - Whether this RtfBasicElement is in a tablepublic void setInHeader(boolean inHeader)
inHeader - Whether this RtfBasicElement is in a header
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||