PSPDFActionType

Objective-C

enum PSPDFActionType {}

Swift

@frozen enum Kind : UInt8

Defines the type of an action that is defined in the PDF spec. See the Adobe PDF Specification for more about actions and action types.

  • Go to a destination in the current document. (Resolve a uniform resource identifier)

    Declaration

    Objective-C

    PSPDFActionTypeURL

    Swift

    case URL = 0
  • (“Go-to remote”) Go to a destination in another document.

    Declaration

    Objective-C

    PSPDFActionTypeGoTo

    Swift

    case goTo = 1
  • Similar to GoTo, defines an action to go to a specific page in another PDF document. Either via a specific page index or via a named destination.

    Declaration

    Objective-C

    PSPDFActionTypeRemoteGoTo

    Swift

    case remoteGoTo = 2
  • (PDF1.2) Execute an action predefined by the conforming reader. (some that change page, some that execute other actions).

    - see: `PSPDFNamedActionType` for possible values.
    

    Declaration

    Objective-C

    PSPDFActionTypeNamed

    Swift

    case named = 3
  • Launch an application, usually to open a file. Current handled similar to PSPDFRemoteGoToAction.

    Declaration

    Objective-C

    PSPDFActionTypeLaunch

    Swift

    case launch = 4
  • (PDF 1.3) Execute a JavaScript script.

    Declaration

    Objective-C

    PSPDFActionTypeJavaScript

    Swift

    case javaScript = 5
  • (PDF 1.5) Controls the playing of multimedia content.

    Declaration

    Objective-C

    PSPDFActionTypeRendition

    Swift

    case rendition = 6
  • (ISO 32000, ExtensionLevel 3; RichMedia annotation only) Specifies a command to be sent to the annotation’s handler.

    Declaration

    Objective-C

    PSPDFActionTypeRichMediaExecute

    Swift

    case richMediaExecute = 7
  • (PDF 1.2) Send data to a uniform resource locator.

    Declaration

    Objective-C

    PSPDFActionTypeSubmitForm

    Swift

    case submitForm = 8
  • (PDF 1.2) Set fields to their default values.

    Declaration

    Objective-C

    PSPDFActionTypeResetForm

    Swift

    case resetForm = 9
  • (PDF 1.2) Play a sound. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeSound

    Swift

    case sound = 10
  • (PDF 1.2) Play a movie. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeMovie

    Swift

    case movie = 11
  • (PDF 1.2) Set an annotation’s Hidden flag.

    Declaration

    Objective-C

    PSPDFActionTypeHide

    Swift

    case hide = 12
  • Begin reading an article thread. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeThread

    Swift

    case thread = 13
  • (PDF 1.2) Import field values from a file. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeImportData

    Swift

    case importData = 14
  • (PDF 1.5) Set the states of optional content groups. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeSetOCGState

    Swift

    case setOCGState = 15
  • (PDF 1.5) Updates the display of a document, using a transition dictionary. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeTrans

    Swift

    case trans = 16
  • (PDF 1.6) Set the current view of a 3D annotation. Not implemented.

    Declaration

    Objective-C

    PSPDFActionTypeGoTo3DView

    Swift

    case goTo3DView = 17
  • (“Go-to embedded”; PDF 1.6) Go to a destination in an embedded file.

    Declaration

    Objective-C

    PSPDFActionTypeGoToEmbedded

    Swift

    case goToEmbedded = 18
  • (“Go-to embedded”; PDF 1.6) Go to a destination in an embedded file.

    Declaration

    Objective-C

    PSPDFActionTypeUnknown = UINT8_MAX

    Swift

    case unknown = 255