Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » rtf » field » [javadoc | source]
com.lowagie.text.rtf.field
public class: RtfPageNumber [javadoc | source]
java.lang.Object
   com.lowagie.text.Chunk
      com.lowagie.text.rtf.field.RtfField
         com.lowagie.text.rtf.field.RtfPageNumber

All Implemented Interfaces:
    RtfBasicElement, Element

The RtfPageNumber provides the page number field in rtf documents.
Fields inherited from com.lowagie.text.rtf.field.RtfField:
document
Fields inherited from com.lowagie.text.Chunk:
OBJECT_REPLACEMENT_CHARACTER,  NEWLINE,  NEXTPAGE,  content,  font,  attributes,  SEPARATOR,  TAB,  HSCALE,  UNDERLINE,  SUBSUPSCRIPT,  SKEW,  BACKGROUND,  TEXTRENDERMODE,  SPLITCHARACTER,  HYPHENATION,  REMOTEGOTO,  LOCALGOTO,  LOCALDESTINATION,  GENERICTAG,  IMAGE,  ACTION,  NEWPAGE,  PDFANNOTATION,  COLOR,  ENCODING
Constructor:
 public RtfPageNumber() 
 public RtfPageNumber(Font font) 
    Constructs a RtfPageNumber with a specified Font. This can be added anywhere to add a page number field.
    Parameters:
    font -
 public RtfPageNumber(RtfDocument doc) 
    Constructs a RtfPageNumber object.
    Parameters:
    doc - The RtfDocument this RtfPageNumber belongs to
 public RtfPageNumber(RtfDocument doc,
    Font font) 
    Constructs a RtfPageNumber object with a specific font.
    Parameters:
    doc - The RtfDocument this RtfPageNumber belongs to
    font - The Font to use
Method from com.lowagie.text.rtf.field.RtfPageNumber Summary:
writeFieldInstContent,   writeFieldResultContent
Methods from com.lowagie.text.rtf.field.RtfField:
isEmpty,   isFieldAlt,   isFieldDirty,   isFieldEdit,   isFieldLocked,   isFieldPrivate,   isInHeader,   isInTable,   setFieldAlt,   setFieldDirty,   setFieldEdit,   setFieldLocked,   setFieldPrivate,   setFont,   setInHeader,   setInTable,   setRtfDocument,   writeContent,   writeFieldInstContent,   writeFieldResultContent
Methods from 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
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.rtf.field.RtfPageNumber Detail:
 protected  void writeFieldInstContent(OutputStream result) throws IOException 
    Writes the field instruction content
 protected  void writeFieldResultContent(OutputStream result) throws IOException 
    Writes the field result content