Method Summary |
|
public FDFDocument | exportFDF() This will export all FDF form data. |
public COSBase | getCOSObject() |
public PDResources | getDefaultResources() This will get the default resources for the acro form. |
public COSDictionary | getDictionary() This will get the dictionary that this form wraps. |
public PDDocument | getDocument() This will get the document associated with this form. |
public PDField | getField(String name) This will get a field by name, possibly using the cache if setCache is true.
Parameters: name - The name of the field to get. |
public List | getFields() This will return all of the fields in the document. |
public PDXFA | getXFA() Get the XFA resource, the XFA resource is only used for PDF 1.5+ forms. |
public void | importFDF(FDFDocument fdf) This method will import an entire FDF document into the PDF document
that this acroform is part of. |
public boolean | isCachingFields() This will tell if this acro form is caching the fields. |
public void | setCacheFields(boolean cache) This will tell this form to cache the fields into a Map structure
for fast access via the getField method. |
public void | setDefaultResources(PDResources dr) This will set the default resources for the acroform. |
public void | setFields(List fields) Set the fields that are part of this AcroForm. |
public void | setXFA(PDXFA xfa) Set the XFA resource, this is only used for PDF 1.5+ forms. |