SetaPDF_FormFiller_Field_FieldInterface Field interface

File: /SetaPDF v2/FormFiller/Field/FieldInterface.php

Implemented in

Summary

Methods

cleanUp()

abstract public SetaPDF_FormFiller_Field_FieldInterface::cleanUp (
void
): void

Release cycled references and release memory.

delete()

abstract public SetaPDF_FormFiller_Field_FieldInterface::delete (
void
): void

Delete the form field.

flatten()

abstract public SetaPDF_FormFiller_Field_FieldInterface::flatten (
void
): void

Flatten the form fields appearance to the pages content.

getDefaultValue()

abstract public SetaPDF_FormFiller_Field_FieldInterface::getDefaultValue (
[ string $encoding = 'UTF-8' ]
): mixed

Returns the default value of the field.

This value is used if the form is reset

Parameters
$encoding : string
 

getNoExport()

abstract public SetaPDF_FormFiller_Field_FieldInterface::getNoExport (
void
): boolean

Get the info, if the field is marked as "no export".

This flag is not gettable or settable with Acrobat!

getOriginalQualifiedName()

Returns the original qualified name of the field (without suffix #n).

getQualifiedName()

Returns the qualified name of the field.

getValue()

abstract public SetaPDF_FormFiller_Field_FieldInterface::getValue (
void
): mixed

Returns the field specific value.

isReadOnly()

abstract public SetaPDF_FormFiller_Field_FieldInterface::isReadOnly (
void
): boolean

Checks if a field is marked as read-only.

isRequired()

abstract public SetaPDF_FormFiller_Field_FieldInterface::isRequired (
void
): boolean

Checks if a field is marked as required.

recreateAppearance()

Recreate or creates the appearance of the form field if needed.

setDefaultValue()

abstract public SetaPDF_FormFiller_Field_FieldInterface::setDefaultValue (
mixed $value [, string $encoding = 'UTF-8' ]
): void

Set the default value of the field.

Parameters
$value : mixed
 
$encoding : string
 

setNoExport()

abstract public SetaPDF_FormFiller_Field_FieldInterface::setNoExport (
[ boolean $noExport = true ]
): void

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 : boolean
 

setReadOnly()

abstract public SetaPDF_FormFiller_Field_FieldInterface::setReadOnly (
[ boolean $readOnly = true ]
): void

Sets a field to read-only or not.

Parameters
$readOnly : boolean
 

setRequired()

abstract public SetaPDF_FormFiller_Field_FieldInterface::setRequired (
[ boolean $required = true ]
): void

Sets a field to be required or not.

Parameters
$required : boolean
 

setValue()

abstract public SetaPDF_FormFiller_Field_FieldInterface::setValue (
mixed $value
): void

Sets the fields value.

Parameters
$value : mixed