setasign\SetaPDF2\FormFiller\Field
FieldInterface Field interface
File: /SetaPDF v2/FormFiller/Field/FieldInterface.php
Old class name (alias):
\SetaPDF_FormFiller_Field_FieldInterface
Implemented in
Summary
Methods
flatten()
abstract public FieldInterface::flatten (
bool $recreateAppearanceIfNeedAppearancesIsSet = false
): voidFlatten the form fields appearance to the pages content.
Parameters
- $recreateAppearanceIfNeedAppearancesIsSet : bool
Defines whether the field appearance is re-created if the NeedAppearances flag is set.
getDefaultValue()
Returns the default value of the field.
This value is used if the form is reset
Parameters
- $encoding : string
getNoExport()
Get the info, if the field is marked as "no export".
This flag is not gettable or settable with Acrobat!
setNoExport()
Sets the "no export" flag.
This flag is not gettable or settable with Acrobat!
If you remove this flag, the element could be still not exported due to a definition in a FormSubmit actions Fields array.
Parameters
- $noExport : bool