Index
-
\setasign\SetaPDF2
-
Core
- Document
-
Document
- Page
-
Page
-
Annotation
- AdditionalActions
- Annotation
- AppearanceCharacteristics
- BorderEffect
- BorderStyle
- CaretAnnotation
- CircleAnnotation
- FileAttachmentAnnotation
- Flags
- FreeTextAnnotation
- HighlightAnnotation
- InkAnnotation
- LineAnnotation
- LineEndingStyle
- LinkAnnotation
- MarkupAnnotation
- PolyLineAnnotation
- PolygonAnnotation
- PopupAnnotation
- QuadPointsTrait
- ScreenAnnotation
- SquareAnnotation
- SquigglyAnnotation
- StampAnnotation
- StrikeOutAnnotation
- TextAnnotation
- TextMarkupAnnotation
- UnderlineAnnotation
- Widget
- WidgetAnnotation
-
Annotation
-
Core
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
Methods
- __construct()
- _getAction()
- _setAction()
- cleanUp()
- getCursorEnter()
- getCursorExit()
- getDictionary()
- getMouseDown()
- getMouseUp()
- getPageClose()
- getPageInvisible()
- getPageOpen()
- getPageVisible()
- setCursorEnter()
- setCursorExit()
- setMouseDown()
- setMouseUp()
- setPageClose()
- setPageInvisiable()
- setPageInvisible()
- setPageOpen()
- setPageVisiable()
- setPageVisible()
Properties
$_annotation
The annotation instance
Methods
__construct()
_getAction()
bool $instance = true
Get the action.
Parameters
- $name : string
- $instance : bool
Exceptions
_setAction()
Set the action.
Parameters
- $name : string
- $action : ?\setasign\SetaPDF2\Core\Document\Action\Action
Exceptions
getCursorEnter()
Get the action that shall be performed when the cursor enters the annotation’s active area.
Exceptions
getCursorExit()
Get the action that shall be performed when the cursor exits the annotation’s active area.
Exceptions
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
getMouseUp()
Get the action that shall be performed when the mouse button is released inside the annotation’s active area.
Exceptions
getPageClose()
Get the action that shall be performed when the page containing the annotation is closed.
Exceptions
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
getPageOpen()
Get the action that shall be performed when the page containing the annotation is opened.
Exceptions
getPageVisible()
Get the action that shall be performed when the page containing the annotation becomes visible.
Exceptions
setCursorEnter()
Set the action that shall be performed when the cursor enters the annotation’s active area.
Parameters
Exceptions
setCursorExit()
Set the action that shall be performed when the cursor exits the annotation’s active area.
Parameters
Exceptions
setMouseDown()
Set the action that shall be performed when the mouse button is pressed inside the annotation’s active area.
Parameters
Exceptions
setMouseUp()
Set the action that shall be performed when the mouse button is released inside the annotation’s active area.
Parameters
Exceptions
setPageClose()
Set the action that shall be performed when the page containing the annotation is closed.
Parameters
Exceptions
setPageInvisiable()
WARNING: This method is marked as deprecated!
Parameters
Exceptions
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
Exceptions
setPageOpen()
Set the action that shall be performed when the page containing the annotation is opened.
Parameters
Exceptions
setPageVisiable()
WARNING: This method is marked as deprecated!
Parameters
Exceptions
setPageVisible()
Set the action that shall be performed when the page containing the annotation becomes visible.