PSPDFNamedActionType
Objective-C
NS_CLOSED_ENUM(NSUInteger, PSPDFNamedActionType) {
/// No named action.
PSPDFNamedActionTypeNone,
/// Go to the next page in the document.
PSPDFNamedActionTypeNextPage,
/// Go to the previous page in the document
PSPDFNamedActionTypePreviousPage,
/// Go to the first page in the document.
PSPDFNamedActionTypeFirstPage,
/// Go to the last page in the document.
PSPDFNamedActionTypeLastPage,
/// Go back using `BackForwardActionList`. Only possible after executing another navigation action.
PSPDFNamedActionTypeGoBack,
/// Go forward using `BackForwardActionList`. Only possible after executing a GoBack action.
PSPDFNamedActionTypeGoForward,
PSPDFNamedActionTypeGoToPage,
PSPDFNamedActionTypeFind,
/// Shows the UI to configure and start printing the document.
PSPDFNamedActionTypePrint,
/// Shows `OutlineViewController` for the document.
PSPDFNamedActionTypeOutline,
PSPDFNamedActionTypeSearch,
PSPDFNamedActionTypeBrightness,
/// Not implemented.
PSPDFNamedActionTypeZoomIn,
/// Not implemented.
PSPDFNamedActionTypeZoomOut,
/// Triggers `Document.save()`.
PSPDFNamedActionTypeSaveAs,
PSPDFNamedActionTypeInfo,
PSPDFNamedActionTypeUnknown = NSUIntegerMax,
}
Swift
@frozen enum NamedActionType : UInt
Undocumented
-
No named action.
Declaration
Objective-C
PSPDFNamedActionTypeNone
Swift
case none = 0
-
Go to the next page in the document.
Declaration
Objective-C
PSPDFNamedActionTypeNextPage
Swift
case nextPage = 1
-
Go to the previous page in the document
Declaration
Objective-C
PSPDFNamedActionTypePreviousPage
Swift
case previousPage = 2
-
Go to the first page in the document.
Declaration
Objective-C
PSPDFNamedActionTypeFirstPage
Swift
case firstPage = 3
-
Go to the last page in the document.
Declaration
Objective-C
PSPDFNamedActionTypeLastPage
Swift
case lastPage = 4
-
Go back using
BackForwardActionList
. Only possible after executing another navigation action.Declaration
Objective-C
PSPDFNamedActionTypeGoBack
Swift
case goBack = 5
-
Go forward using
BackForwardActionList
. Only possible after executing a GoBack action.Declaration
Objective-C
PSPDFNamedActionTypeGoForward
Swift
case goForward = 6
-
Go forward using
BackForwardActionList
. Only possible after executing a GoBack action.Declaration
Objective-C
PSPDFNamedActionTypeGoToPage
Swift
case goToPage = 7
-
Go forward using
BackForwardActionList
. Only possible after executing a GoBack action.Declaration
Objective-C
PSPDFNamedActionTypeFind
Swift
case find = 8
-
Shows the UI to configure and start printing the document.
Declaration
Objective-C
PSPDFNamedActionTypePrint
Swift
case print = 9
-
Shows
OutlineViewController
for the document.Declaration
Objective-C
PSPDFNamedActionTypeOutline
Swift
case outline = 10
-
Shows
OutlineViewController
for the document.Declaration
Objective-C
PSPDFNamedActionTypeSearch
Swift
case search = 11
-
Shows
OutlineViewController
for the document.Declaration
Objective-C
PSPDFNamedActionTypeBrightness
Swift
case brightness = 12
-
Not implemented.
Declaration
Objective-C
PSPDFNamedActionTypeZoomIn
Swift
case zoomIn = 13
-
Not implemented.
Declaration
Objective-C
PSPDFNamedActionTypeZoomOut
Swift
case zoomOut = 14
-
Triggers
Document.save()
.Declaration
Objective-C
PSPDFNamedActionTypeSaveAs
Swift
case saveAs = 15
-
Triggers
Document.save()
.Declaration
Objective-C
PSPDFNamedActionTypeInfo
Swift
case info = 16
-
Triggers
Document.save()
.Declaration
Objective-C
PSPDFNamedActionTypeUnknown = (9223372036854775807L * 2UL + 1UL)
Swift
case unknown = 18446744073709551615