com.lowagie.text.rtf
public class GenericRtfField extends AbstractRtfField
Deprecated: Please move to the RtfWriter2 and associated classes.
This class implements a generic RtfField. This class is based on the RtfWriter-package from Mark Hall. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.Since: Mon Aug 19 14:50:39 2002
Version: $Id: GenericRtfField.java 2655 2007-03-15 19:26:36Z xlv $
Field Summary | |
---|---|
protected String | fieldInst
Field Initialization Stuff. |
protected String | fieldResult
Field Result Stuff. |
Constructor Summary | |
---|---|
GenericRtfField(String fieldInst, String fieldResult)
public constructor, set the data that is to be written into the
Field Initialization Stuff and Field Result parts of the
RtfField.
| |
GenericRtfField(String fieldInst, String fieldResult, Font font)
public constructor, set the data that is to be written into the
Field Initialization Stuff and Field Result parts of the
RtfField.
|
Method Summary | |
---|---|
void | writeRtfFieldInitializationStuff(OutputStream out)
method for writing custom stuff to the Field Initialization
Stuff part of an RtfField. |
void | writeRtfFieldResultStuff(OutputStream out)
method for writing custom stuff to the Field Result part of an
RtfField. |
Parameters: fieldInst data to be written into the Field Initialization Stuff part of the RtfField. fieldResult data to be written into the Field Result part of the RtfField.
Parameters: fieldInst data to be written into the Field Initialization Stuff part of the RtfField. fieldResult data to be written into the Field Result part of the RtfField. font
Parameters: out
Throws: IOException
Parameters: out
Throws: IOException