SubmitFormAction
extends Action
in package
Submit-form action (/S /SubmitForm) — ISO 32000-2 §12.7.5.2.
POSTs form field values to a URL or file.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_2
Table of Contents
Constants
- PDF_TYPE = 'Action'
Properties
- $f : FileSpec|PdfReference
- $fields : PdfArray|null
- $flags : int
- $generationNumber : int
- $next : PdfReference|null
- $objectNumber : int
Methods
- __construct() : mixed
- getActionType() : string
- Returns the /S (action type) value for this action.
- toIndirectObject() : string
- Wrap the object in an indirect object structure: X Y obj ... endobj
- toPdf() : string
- Serialize the object's dictionary/value to PDF syntax.
- baseDictionary() : PdfDictionary
- Build a dictionary pre-populated with the common /Type, /S, and /Next entries so subclasses only need to add their subtype-specific fields.
Constants
PDF_TYPE
public
mixed
PDF_TYPE
= 'Action'
Properties
$f
public
FileSpec|PdfReference
$f
$fields
public
PdfArray|null
$fields
= null
$flags
public
int
$flags
= 0
$generationNumber
public
int
$generationNumber
= 0
$next
public
PdfReference|null
$next
= null
$objectNumber
public
int
$objectNumber
= 0
Methods
__construct()
public
__construct(FileSpec|PdfReference $f) : mixed
Parameters
- $f : FileSpec|PdfReference
getActionType()
Returns the /S (action type) value for this action.
public
getActionType() : string
Return values
stringtoIndirectObject()
Wrap the object in an indirect object structure: X Y obj ... endobj
public
toIndirectObject() : string
Return values
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string
Return values
stringbaseDictionary()
Build a dictionary pre-populated with the common /Type, /S, and /Next entries so subclasses only need to add their subtype-specific fields.
protected
baseDictionary() : PdfDictionary