setasign\SetaPDF2\Core\Document\Page\Annotation

AdditionalActions Class representing an annotations additional-actions dictionary

File: /SetaPDF v2/Core/Document/Page/Annotation/AdditionalActions.php
Old class name (alias): \SetaPDF_Core_Document_Page_Annotation_AdditionalActions

Class hierarchy

Summary

Properties

$_annotation


Methods

__construct()

_getAction()

protected AdditionalActions::_getAction (
string $name,
bool $instance = true
): ?\SetaPDF_Core_Document_Action

Get the action.

Parameters
$name : string
 
$instance : bool
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

_setAction()

protected AdditionalActions::_setAction (
string $name,
?\SetaPDF_Core_Document_Action $action = null
): void

Set the action.

Parameters
$name : string
 
$action : ?\SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

cleanUp()

public AdditionalActions::cleanUp (
void
): void

Release memory/cycled references.

getCursorEnter()

Get the action that shall be performed when the cursor enters the annotation’s active area.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getCursorExit()

Get the action that shall be performed when the cursor exits the annotation’s active area.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getDictionary()

Get the additional actions dictionary.

Parameters
$create : bool

Pass true to automatically create the dictionary

getMouseDown()

Get the action that shall be performed when the mouse button is pressed inside the annotation’s active area.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getMouseUp()

Get the action that shall be performed when the mouse button is released inside the annotation’s active area.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPageClose()

Get the action that shall be performed when the page containing the annotation is closed.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPageInvisible()

Get the action that shall be performed when the page containing the annotation is no longer visible in the conforming reader’s user interface.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPageOpen()

Get the action that shall be performed when the page containing the annotation is opened.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getPageVisible()

Get the action that shall be performed when the page containing the annotation becomes visible.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setCursorEnter()

Set the action that shall be performed when the cursor enters the annotation’s active area.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setCursorExit()

Set the action that shall be performed when the cursor exits the annotation’s active area.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setMouseDown()

Set the action that shall be performed when the mouse button is pressed inside the annotation’s active area.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setMouseUp()

Set the action that shall be performed when the mouse button is released inside the annotation’s active area.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageClose()

Set the action that shall be performed when the page containing the annotation is closed.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageInvisiable()

WARNING: This method is marked as deprecated!

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageInvisible()

Set the action that shall be performed when the page containing the annotation is no longer visible in the conforming reader’s user interface.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageOpen()

Set the action that shall be performed when the page containing the annotation is opened.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageVisiable()

WARNING: This method is marked as deprecated!

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setPageVisible()

Set the action that shall be performed when the page containing the annotation becomes visible.

Parameters
$action : \SetaPDF_Core_Document_Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception