Class GenericRtfField

  • All Implemented Interfaces:
    Element, RtfField
    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 Detail

      • fieldInst

        protected java.lang.String fieldInst
        Deprecated.
        Field Initialization Stuff.
      • fieldResult

        protected java.lang.String fieldResult
        Deprecated.
        Field Result Stuff.
    • 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.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:
        java.io.IOException
      • writeRtfFieldResultStuff

        public void writeRtfFieldResultStuff​(java.io.OutputStream out)
                                      throws java.io.IOException
        Deprecated.
        method for writing custom stuff to the Field Result part of an RtfField.
        Specified by:
        writeRtfFieldResultStuff in class AbstractRtfField
        Parameters:
        out -
        Throws:
        java.io.IOException