SetaPDF_Core_Document_Catalog_AdditionalActions Class representing the document catalog’s additional-actions dictionary

File: /SetaPDF v2/Core/Document/Catalog/AdditionalActions.php

Class hierarchy

Summary

Properties


Methods

__construct()

_getAction()

protected SetaPDF_Core_Document_Catalog_AdditionalActions::_getAction (
string $name [, boolean $instance = true ]
): null|SetaPDF_Core_Document_Action_JavaScript

Get the action.

Parameters
$name : string
 
$instance : boolean
 
Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

cleanUp()

Release memory/cycled references.

getDictionary()

Get the additional actions dictionary.

Parameters
$create : bool

Pass true to automatically create the dictionary

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

getDidPrint()

Get the JavaScript action that shall be performed after printing the document.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

getDidSave()

Get the JavaScript action that shall be performed after saving the document.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

getDocument()

getWillClose()

Get the JavaScript action that shall be performed before closing the document.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

getWillPrint()

Get the JavaScript action that shall be performed before printing the document.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

getWillSave()

Get the JavaScript action that shall be performed before saving the document.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception