com.lowagie.text.rtf
Class GenericRtfField

java.lang.Object
  extended by com.lowagie.text.Chunk
      extended by com.lowagie.text.rtf.AbstractRtfField
          extended by com.lowagie.text.rtf.GenericRtfField
All Implemented Interfaces:
Element, MarkupAttributes, RtfField
Direct Known Subclasses:
RtfPageNumber

Deprecated. Please move to the RtfWriter2 and associated classes.

public class GenericRtfField
extends AbstractRtfField
implements RtfField

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 2149 2006-02-09 17:25:26Z hallm $
Author:
Dirk Weigenand

Field Summary
protected  String fieldInst
          Deprecated. Field Initialization Stuff.
protected  String fieldResult
          Deprecated. Field Result Stuff.
 
Fields inherited from class com.lowagie.text.Chunk
ACTION, attributes, BACKGROUND, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, markupAttributes, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TEXTRENDERMODE, UNDERLINE
 
Constructor Summary
GenericRtfField(String fieldInst, String fieldResult)
          Deprecated. 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)
          Deprecated. 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)
          Deprecated. method for writing custom stuff to the Field Initialization Stuff part of an RtfField.
 void writeRtfFieldResultStuff(OutputStream out)
          Deprecated. method for writing custom stuff to the Field Result part of an RtfField.
 
Methods inherited from class com.lowagie.text.rtf.AbstractRtfField
content, isAlt, isDirty, isLocked, isPrivate, setAlt, setDirty, setEdited, setLocked, setPrivate, wasEdited, write, writeRtfFieldBegin, writeRtfFieldEnd, writeRtfFieldInstBegin, writeRtfFieldInstEnd, writeRtfFieldModifiers, writeRtfFieldResultBegin, writeRtfFieldResultEnd
 
Methods inherited from class com.lowagie.text.Chunk
addToArray, append, font, getAttributes, getChunks, getHorizontalScaling, getImage, getKeySet, getMarkupAttribute, getMarkupAttributeNames, getMarkupAttributes, getTextRise, getWidthPoint, hasAttributes, isEmpty, isTag, process, setAction, setAnchor, setAnchor, setAnnotation, setBackground, setBackground, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setMarkupAttribute, setMarkupAttributes, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, toString, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.lowagie.text.rtf.RtfField
write
 

Field Detail

fieldInst

protected String fieldInst
Deprecated. 
Field Initialization Stuff.


fieldResult

protected String fieldResult
Deprecated. 
Field Result Stuff.

Constructor Detail

GenericRtfField

public GenericRtfField(String fieldInst,
                       String fieldResult)
Deprecated. 
public constructor, set the data that is to be written into the Field Initialization Stuff and Field Result parts 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.

GenericRtfField

public GenericRtfField(String fieldInst,
                       String fieldResult,
                       Font font)
Deprecated. 
public constructor, set the data that is to be written into the Field Initialization Stuff and Field Result parts 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 -
Method Detail

writeRtfFieldInitializationStuff

public void writeRtfFieldInitializationStuff(OutputStream out)
                                      throws IOException
Deprecated. 
method for writing custom stuff to the Field Initialization Stuff part of an RtfField.

Specified by:
writeRtfFieldInitializationStuff in class AbstractRtfField
Parameters:
out -
Throws:
IOException

writeRtfFieldResultStuff

public void writeRtfFieldResultStuff(OutputStream out)
                              throws IOException
Deprecated. 
method for writing custom stuff to the Field Result part of an RtfField.

Specified by:
writeRtfFieldResultStuff in class AbstractRtfField
Parameters:
out -
Throws:
IOException