com.lowagie.text.pdf
public class PRAcroForm extends PdfDictionary
Nested Class Summary | |
---|---|
static class | PRAcroForm.FieldInformation
This class holds the information for a single field |
Field Summary | |
---|---|
HashMap | fieldByName |
ArrayList | fields |
PdfReader | reader |
ArrayList | stack |
Constructor Summary | |
---|---|
PRAcroForm(PdfReader reader)
Constructor |
Method Summary | |
---|---|
PRAcroForm.FieldInformation | getField(String name) |
ArrayList | getFields() |
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. |
protected PdfDictionary | mergeAttrib(PdfDictionary parent, PdfDictionary child)
merge field attributes from two dictionaries |
protected void | pushAttrib(PdfDictionary dict)
stack a level of dictionary. |
void | readAcroForm(PdfDictionary root)
Read, and comprehend the acroform |
int | size()
Number of fields found |
Parameters: reader reader of the input file
Parameters: name a string containing the path
Returns: a reference to the field, or null
Parameters: fieldlist An array of fields fieldDict the last field dictionary we encountered (recursively) title the pathname of the field, up to this point or null
Parameters: parent one dictionary child the other dictionary
Returns: a merged dictionary
Parameters: root the document root
Returns: size