Package com.lowagie.text.rtf
Class GenericRtfField
- java.lang.Object
-
- com.lowagie.text.Chunk
-
- com.lowagie.text.rtf.AbstractRtfField
-
- com.lowagie.text.rtf.GenericRtfField
-
- Direct Known Subclasses:
RtfPageNumber
public class GenericRtfField extends AbstractRtfField implements RtfField
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: itext-xmloutput.patch,v 1.1 2009/08/28 20:31:00 overholt Exp $
- Author:
- Dirk Weigenand
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringfieldInstDeprecated.Field Initialization Stuff.protected java.lang.StringfieldResultDeprecated.Field Result Stuff.-
Fields inherited from class com.lowagie.text.Chunk
ACTION, attributes, BACKGROUND, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SEPARATOR, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TAB, TEXTRENDERMODE, UNDERLINE
-
Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
-
-
Constructor Summary
Constructors Constructor Description GenericRtfField(java.lang.String fieldInst, java.lang.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(java.lang.String fieldInst, java.lang.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidwriteRtfFieldInitializationStuff(java.io.OutputStream out)Deprecated.method for writing custom stuff to the Field Initialization Stuff part of an RtfField.voidwriteRtfFieldResultStuff(java.io.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
append, getAttributes, getChunks, getContent, getFont, getHorizontalScaling, getHyphenation, getImage, getTextRise, getWidthPoint, hasAttributes, isContent, isEmpty, isNestable, process, setAction, setAnchor, setAnchor, setAnnotation, setAttributes, setBackground, setBackground, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, toString, type
-
-
-
-
Constructor Detail
-
GenericRtfField
public GenericRtfField(java.lang.String fieldInst, java.lang.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(java.lang.String fieldInst, java.lang.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(java.io.OutputStream out) throws java.io.IOExceptionDeprecated.method for writing custom stuff to the Field Initialization Stuff part of an RtfField.- Specified by:
writeRtfFieldInitializationStuffin classAbstractRtfField- Parameters:
out-- Throws:
java.io.IOException
-
writeRtfFieldResultStuff
public void writeRtfFieldResultStuff(java.io.OutputStream out) throws java.io.IOExceptionDeprecated.method for writing custom stuff to the Field Result part of an RtfField.- Specified by:
writeRtfFieldResultStuffin classAbstractRtfField- Parameters:
out-- Throws:
java.io.IOException
-
-