setasign\SetaPDF2\FormFiller
FormFiller The main class of the SetaPDF-FormFiller Component
File: /SetaPDF v2/FormFiller/FormFiller.php
Old class name (alias):
\SetaPDF_FormFiller
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()
isNeedAppearancesSet()
Checks if the NeedAppearances flag is set or not.
Exceptions
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 : bool
Update the document or rewrite it completely
Exceptions
Throws \setasign\SetaPDF2\Core\Document\ObjectNotDefinedException
Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Parser\CrossReferenceTable\Exception
Throws \setasign\SetaPDF2\Core\Parser\Exception
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\Exception
Throws \setasign\SetaPDF2\NotImplementedException
See
setNeedAppearances()
Set the NeedAppearances flag.
This flag indicates the viewer to re-render the form field appearances.
Parameters
- $needAppearances : bool
The NeedAppearances flag status
Exceptions
setRemoveXfaInformation()
Set the flag for handling XFA information.
Parameters
- $removeXfaInformation : bool
The RemoveXfaInformation flag status