NamedAction

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.

Constructors

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

Types

Link copied to clipboard

Known types of named actions in PDF documents.

Properties

Link copied to clipboard

The type of named action to perform.

Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this named action to the specified object for equality.

Link copied to clipboard

Internal PDF string describing this action.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this named action.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this named action for debugging purposes.