phpdftk API Documentation

MovieAction extends Action
in package

Movie action (/S /Movie) — ISO 32000-2 §12.6.4.9 (deprecated in 2.0 in favor of RichMedia, but still part of the spec).

Attributes
#[DeprecatedPdfFeature]
$since: '2.0'
$replacement: 'RichMediaExecuteAction'
$removedIn: '2.0'
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_2

Table of Contents

Constants

PDF_TYPE  = 'Action'

Properties

$annotation  : PdfReference|null
$generationNumber  : int
$next  : PdfReference|null
$objectNumber  : int
$operation  : PdfName|null
$t  : PdfString|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

$generationNumber

public int $generationNumber = 0

Methods

getActionType()

Returns the /S (action type) value for this action.

public getActionType() : string
Return values
string

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

baseDictionary()

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
Return values
PdfDictionary

        
On this page

Search results