java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PRAcroForm
Deprecated.
This class captures an AcroForm on input. Basically, it extends Dictionary by indexing the fields of an AcroForm
- Author:
- Mark Thompson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.This class holds the information for a single field -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.getRefByName(String name) Deprecated.Given the title (/T) of a reference, return the associated referenceprotected voiditerateFields(PdfArray fieldlist, PRIndirectReference fieldDict, String title) Deprecated.After reading, we index all of the fields.protected PdfDictionarymergeAttrib(PdfDictionary parent, PdfDictionary child) Deprecated.merge field attributes from two dictionariesprotected voidpushAttrib(PdfDictionary dict) Deprecated.stack a level of dictionary.voidreadAcroForm(PdfDictionary root) Deprecated.Read, and comprehend the acroformintsize()Deprecated.Number of fields foundMethods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PRAcroForm
Deprecated.Constructor- Parameters:
reader- reader of the input file
-
-
Method Details
-
size
public int size()Deprecated.Number of fields found- Overrides:
sizein classPdfDictionary- Returns:
- size
-
getFields
Deprecated. -
getField
Deprecated. -
getRefByName
Deprecated.Given the title (/T) of a reference, return the associated reference- Parameters:
name- a string containing the path- Returns:
- a reference to the field, or null
-
readAcroForm
Deprecated.Read, and comprehend the acroform- Parameters:
root- the document root
-
iterateFields
Deprecated.After reading, we index all of the fields. Recursive.- Parameters:
fieldlist- An array of fieldsfieldDict- the last field dictionary we encountered (recursively)title- the pathname of the field, up to this point or null
-
mergeAttrib
Deprecated.merge field attributes from two dictionaries- Parameters:
parent- one dictionarychild- the other dictionary- Returns:
- a merged dictionary
-
pushAttrib
Deprecated.stack a level of dictionary. Merge in a dictionary from this level- Parameters:
dict- the PfdDictionary
-