ActionResolver

interface ActionResolver

Action resolver for running a Action. Actions can be stored in annotations or outline elements and executed for any open document. While some actions require a displayed document (e.g. GoToAction) other actions may cause the user to leave the app (e.g. UriAction).

Inheritors

Functions

Link copied to clipboard

Adds a DocumentActionListener that can handle actions bound to PDF objects. If the listener has already been added previously, this method will be a no-op. Adding null is not allowed, and will result in an exception.

Link copied to clipboard
abstract fun executeAction(action: Action)
abstract fun executeAction(action: Action, actionSender: ActionSender?)

Execute the given action.

Link copied to clipboard

Removes a previously added DocumentActionListener that can handle actions bound to PDF objects. Upon calling this method the listener will no longer be notified of any changes. If the listener has not been added, this method will be a no-op. Adding null is not allowed, and will result in an exception.