Package-level declarations

Types

Link copied to clipboard
abstract class AbstractFormAction : Action

Base class for form related actions.

Link copied to clipboard
abstract class AbstractMediaAction : Action

Base class for media annotation related actions.

Link copied to clipboard
abstract class Action

Represents a PDF action used to describe what happens when annotations, bookmarks, etc. are clicked or selected.

Link copied to clipboard
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).

Link copied to clipboard

Object that triggered the execution of action, such as an annotation or a form element.

Link copied to clipboard

Currently supported PDF action types.

Link copied to clipboard

Type of the annotation trigger events. Annotations can define additional actions that should be executed when these events are triggered.

Link copied to clipboard
class GoToAction @JvmOverloads constructor(val pageIndex: Int, subActions: List<Action> = emptyList(), val destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f )) : Action

PDF action representing a change to another page.

Link copied to clipboard
class GoToEmbeddedAction(val pdfPath: String?, @IntRange(from = 0) val pageIndex: Int, val isNewWindow: Boolean, subActions: List<Action> = emptyList(), val destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f )) : Action

Action that allows jumping to a PDF file that is embedded in the document.

Link copied to clipboard
class GoToRemoteAction(val pdfPath: String?, @IntRange(from = 0) val pageIndex: Int, subActions: List<Action> = emptyList(), val destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f )) : Action

PDF action representing a change to page in another PDF document.

Link copied to clipboard
class HideAction(val annotationReferences: List<AnnotationReference>, hideTargets: Boolean, subActions: List<Action> = emptyList()) : Action

A hide action hides or shows one or more annotations on the screen by setting or clearing their hidden flags.

Link copied to clipboard
class ImportDataAction(subActions: List<Action> = emptyList()) : Action

Action representing request to import data.

Link copied to clipboard
class JavaScriptAction @JvmOverloads constructor(val script: String, subActions: List<Action> = emptyList()) : Action

Action that should trigger execution of JavaScript embedded in it.

Link copied to clipboard
class LaunchAction(val path: String?, subActions: List<Action> = emptyList()) : Action

Represents an action to launch an external application or file.

Link copied to clipboard

Specifies options when playing media annotations.

Link copied to clipboard
class NamedAction @JvmOverloads constructor(val namedActionType: NamedAction.NamedActionType, subActions: List<Action> = emptyList()) : Action

PDF action representing a special event. Examples are: go to next page, go to previous page, etc.

Link copied to clipboard

A rendition action controls the playing of multimedia content.

Link copied to clipboard
class ResetFormAction(fieldNames: List<String>, excludeFormFields: Boolean, subActions: List<Action> = emptyList()) : AbstractFormAction

Resets one or more form fields to their default value.

Link copied to clipboard
class SubmitFormAction(val uri: String, fieldNames: List<String>, flags: EnumSet<SubmitFormAction.SubmitFormActionFlag>, subActions: List<Action> = emptyList()) : AbstractFormAction

PDF action for sending form data to a URI.

Link copied to clipboard
class UriAction @JvmOverloads constructor(val uri: String?, subActions: List<Action> = emptyList()) : Action

PDF Action representing a link to an external URI.