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
Methods
__construct()
_getAction()
bool $instance = true
Get the action.
Parameters
- $name : string
- $instance : bool
Exceptions
_setAction()
Set the action.
Parameters
- $name : string
- $action : ?\SetaPDF_Core_Document_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
- $action : \SetaPDF_Core_Document_Action
Exceptions
setCursorExit()
Set the action that shall be performed when the cursor exits the annotation’s active area.
Parameters
- $action : \SetaPDF_Core_Document_Action
Exceptions
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
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
setPageClose()
Set the action that shall be performed when the page containing the annotation is closed.
Parameters
- $action : \SetaPDF_Core_Document_Action
Exceptions
setPageInvisiable()
WARNING: This method is marked as deprecated!
Parameters
- $action : \SetaPDF_Core_Document_Action
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
- $action : \SetaPDF_Core_Document_Action
Exceptions
setPageOpen()
Set the action that shall be performed when the page containing the annotation is opened.
Parameters
- $action : \SetaPDF_Core_Document_Action
Exceptions
setPageVisiable()
WARNING: This method is marked as deprecated!
Parameters
- $action : \SetaPDF_Core_Document_Action
Exceptions
setPageVisible()
Set the action that shall be performed when the page containing the annotation becomes visible.
Parameters
- $action : \SetaPDF_Core_Document_Action