SetaPDF_Core_Document_Action Class representing a PDF action

File: /SetaPDF v2/Core/Document/Action.php

See PDF 32000-1:2008 - 12.6

Class hierarchy

Summary

Properties

$_actionDictionary


Static Methods

byObjectOrDictionary()

Creates an action object by an action dictionary.

Parameters
$objectOrDictionary : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException


Methods

__construct()

The constructor.

Parameters
$objectOrDictionary : SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws InvalidArgumentException

Throws SetaPDF_Core_Type_Exception

addNext()

public SetaPDF_Core_Document_Action::addNext (
$next
): void

Add an additional action to the next value of this action.

Parameters
$next
 

getActionDictionary()

Get the action dictionary.

getIndirectObject()

Get the indirect object of this annotation or creates it in the specific document context.

Parameters
$document : SetaPDF_Core_Document|null

The document instance

getNext()

Gets the PDF value of the next entry.

getPdfValue()

Get the PDF value of this action.

getType()

Get the action type specified in the S key.

setIndirectObject()

Set the indirect object of this annotation.

Parameters
$indirectReference : SetaPDF_Core_Type_IndirectObjectInterface
 

setNext()

public SetaPDF_Core_Document_Action::setNext (
$next
): void

Set the next action which should be executed after this one.

Parameters
$next