LaunchAction
extends Action
in package
Launch action (/S /Launch) — ISO 32000-2 §12.6.4.5.
Launches an application or opens/prints a document.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_1
Table of Contents
Constants
- PDF_TYPE = 'Action'
Properties
- $f : FileSpec|PdfReference|null
- $generationNumber : int
- $mac : PdfDictionary|null
- $newWindow : bool|null
- $next : PdfReference|null
- $objectNumber : int
- $unix : PdfDictionary|null
- $win : PdfDictionary|null
Methods
- 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|null
$f
= null
$generationNumber
public
int
$generationNumber
= 0
$mac
public
PdfDictionary|null
$mac
= null
$newWindow
public
bool|null
$newWindow
= null
$next
public
PdfReference|null
$next
= null
$objectNumber
public
int
$objectNumber
= 0
$unix
public
PdfDictionary|null
$unix
= null
$win
public
PdfDictionary|null
$win
= null
Methods
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