Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PRAcroForm [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfObject
      com.lowagie.text.pdf.PdfDictionary
         com.lowagie.text.pdf.PRAcroForm
This class captures an AcroForm on input. Basically, it extends Dictionary by indexing the fields of an AcroForm
Nested Class Summary:
public static class  PRAcroForm.FieldInformation  This class holds the information for a single field 
Field Summary
 ArrayList fields     
 ArrayList stack     
 HashMap fieldByName     
 PdfReader reader     
Fields inherited from com.lowagie.text.pdf.PdfDictionary:
FONT,  OUTLINES,  PAGE,  PAGES,  CATALOG,  hashMap
Fields inherited from com.lowagie.text.pdf.PdfObject:
BOOLEAN,  NUMBER,  STRING,  NAME,  ARRAY,  DICTIONARY,  STREAM,  NULL,  INDIRECT,  NOTHING,  TEXT_PDFDOCENCODING,  TEXT_UNICODE,  bytes,  type,  indRef
Constructor:
 public PRAcroForm(PdfReader reader) 
    Constructor
    Parameters:
    reader - reader of the input file
Method from com.lowagie.text.pdf.PRAcroForm Summary:
getField,   getFields,   getRefByName,   iterateFields,   mergeAttrib,   pushAttrib,   readAcroForm,   size
Methods from com.lowagie.text.pdf.PdfDictionary:
contains,   get,   getAsArray,   getAsBoolean,   getAsDict,   getAsIndirectObject,   getAsName,   getAsNumber,   getAsStream,   getAsString,   getDirectObject,   getKeys,   isCatalog,   isFont,   isOutlineTree,   isPage,   isPages,   merge,   mergeDifferent,   put,   putAll,   putEx,   remove,   size,   toPdf,   toString
Methods from com.lowagie.text.pdf.PdfObject:
canBeInObjStm,   getBytes,   getIndRef,   isArray,   isBoolean,   isDictionary,   isIndirect,   isName,   isNull,   isNumber,   isStream,   isString,   length,   setContent,   setIndRef,   toPdf,   toString,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PRAcroForm Detail:
 public PRAcroForm.FieldInformation getField(String name) 
 public ArrayList getFields() 
 public PRIndirectReference getRefByName(String name) 
    Given the title (/T) of a reference, return the associated reference
 protected  void iterateFields(PdfArray fieldlist,
    PRIndirectReference fieldDict,
    String title) 
    After reading, we index all of the fields. Recursive.
 protected PdfDictionary mergeAttrib(PdfDictionary parent,
    PdfDictionary child) 
    merge field attributes from two dictionaries
 protected  void pushAttrib(PdfDictionary dict) 
    stack a level of dictionary. Merge in a dictionary from this level
 public  void readAcroForm(PdfDictionary root) 
    Read, and comprehend the acroform
 public int size() 
    Number of fields found