SetaPDF_FormFiller The main class of the SetaPDF-FormFiller Component
File: /SetaPDF v2/FormFiller.php
Class hierarchy
Summary
Constants
VERSION
Version
Properties
$_document
The document instance
$_fields
The object representing the form fields collection
$_xfa
An instance allowing access to the XFA data of a form.
Methods
__construct()
cleanUp()
Release objects to free memory and cycled references.
After calling this method the instance of this object is unusable.
getXfa()
Get the XFA helper object.
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
isNeedAppearancesSet()
Checks if the NeedAppearances flag is set or not.
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
save()
WARNING: This method is marked as deprecated!
Deprecated since version 2.5
Save the document.
A proxy method to the documents save() method.
Parameters
- $update : boolean
Update the document or rewrite it completely
Exceptions
Throws SetaPDF_Core_Document_ObjectNotDefinedException
Throws SetaPDF_Core_Document_ObjectNotFoundException
Throws SetaPDF_Core_Exception
Throws SetaPDF_Core_Parser_CrossReferenceTable_Exception
Throws SetaPDF_Core_Parser_Exception
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
Throws SetaPDF_Core_Type_IndirectReference_Exception
Throws SetaPDF_Exception
Throws SetaPDF_Exception_NotImplemented
See
setNeedAppearances()
Set the NeedAppearances flag.
This flag indicates the viewer to re-render the form field appearances.
Parameters
- $needAppearances : boolean
The NeedAppearances flag status
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
setRemoveXfaInformation()
Set the flag for handling XFA information.
Parameters
- $removeXfaInformation : boolean
The RemoveXfaInformation flag status