Actions

  • Defines an action that is defined in the PDF spec, either from an outline or an annotation object. See the Adobe PDF Specification for more about actions and action types. - note: The PDF spec defines both ‘destinations’ and ‘actions’. PSPDFKit will convert a ‘destination’ into an equivalent PSPDFActionTypeGoTo.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFAction : PSPDFModel <PSPDFJSONSerializing, NSSecureCoding>

    Swift

    class PSPDFAction : PSPDFModel, PSPDFJSONSerializing, NSSecureCoding
  • Keeps track of executed PSPDFAction instances, allowing us to navigate through the action history. - note: This class is conceptually similar to WKBackForwardList.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFBackForwardActionList : NSObject

    Swift

    class PSPDFBackForwardActionList : NSObject
  • An embedded go-to action (PDF 1.6) is similar to a remote go-to action but allows jumping to or from a PDF file that is embedded in another PDF file.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFEmbeddedGoToAction : PSPDFGoToAction

    Swift

    class PSPDFEmbeddedGoToAction : PSPDFGoToAction
  • A hide action (PDF 1.2) hides or shows one or more annotations on the screen by setting or clearing their Hidden flags (see 12.5.3, “Annotation Flags”). This type of action can be used in combination with appearance streams and trigger events (Sections 12.5.5, “Appearance Streams,” and 12.6.3, “Trigger Events”) to display pop-up help information on the screen.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFHideAction : PSPDFAction

    Swift

    class PSPDFHideAction : PSPDFAction
  • Defines methods used to work with actions in PDF documents, some of which are named in the Adobe PDF Specification.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFNamedAction : PSPDFAction

    Swift

    class PSPDFNamedAction : PSPDFAction
  • Defines an action to go to a specific page index in another PDF document. Can be either used directly via a page index, or via a named destination, which will be resolved before executing the action. This covers both RemoteGoTo and Launch actions.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFRemoteGoToAction : PSPDFGoToAction

    Swift

    class PSPDFRemoteGoToAction : PSPDFGoToAction
  • A rendition action (PDF 1.5) controls the playing of multimedia content (see PDF Reference 1.7, 13.2, “Multimedia”). - note: JavaScript actions are not supported.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFRenditionAction : PSPDFAction

    Swift

    class PSPDFRenditionAction : PSPDFAction
  • A rich-media-execute action identifies a rich media annotation and specifies a command to be sent to that annotation’s handler. (See Section 9.6, “Rich Media” on page 76. of the Adobe® Supplement to the ISO 32000)

    See more

    Declaration

    Objective-C

    
    @interface PSPDFRichMediaExecuteAction : PSPDFAction

    Swift

    class PSPDFRichMediaExecuteAction : PSPDFAction