com.lowagie.text.rtf
public interface RtfBasicElement
Version: $Id: RtfBasicElement.java 2808 2007-05-30 10:58:16Z psoares33 $
| 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
|
| void | writeContent(OutputStream out)
Writes the element content to the given output stream.
|
Parameters: inHeader Whether this RtfBasicElement is in a header
Parameters: inTable Whether this RtfBasicElement is in a table
Parameters: doc The RtfDocument to use
Deprecated: replaced by writeContent
Return the content of the Element in a byte arrayReturns: The byte array containing the data
Parameters: out