Other Enums

The following enums are available globally.

  • List of documented errors within the PSPDFAESCryptoInputStream.

    Note

    Used in the PSPDFAESCryptoInputStream -(NSError *)streamError method.
    See more

    Declaration

    Objective-C

    enum PSPDFAESCryptoInputStreamErrorCode {}

    Swift

    typealias PSPDFAESCryptoInputStreamError.Code._ErrorType = PSPDFAESCryptoInputStreamError
  • List of documented errors within the PSPDFAESCryptoOutputStream.

    Note

    Used in the PSPDFAESCryptoOutputStream -(NSError *)streamError method.
    See more

    Declaration

    Objective-C

    enum PSPDFAESCryptoOutputStreamErrorCode {}

    Swift

    typealias PSPDFAESCryptoOutputStreamError.Code._ErrorType = PSPDFAESCryptoOutputStreamError
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFLineEndType) {
        PSPDFLineEndTypeNone,
        PSPDFLineEndTypeSquare,
        PSPDFLineEndTypeCircle,
        PSPDFLineEndTypeDiamond,
        PSPDFLineEndTypeOpenArrow,
        PSPDFLineEndTypeClosedArrow,
        PSPDFLineEndTypeButt,
        PSPDFLineEndTypeReverseOpenArrow,
        PSPDFLineEndTypeReverseClosedArrow,
        PSPDFLineEndTypeSlash,
    }

    Swift

    enum PSPDFLineEndType : Int
  • 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.

    See more

    Declaration

    Objective-C

    enum PSPDFActionType {}

    Swift

    enum PSPDFActionType : UInt8
  • PDF Annotation types.

    These options can be combined for fetching several types of annotations from a document or annotation provider. However, a single annotation must have a single type.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationType {}

    Swift

    struct AnnotationType : OptionSet
  • Annotation border style types.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationBorderStyle {}

    Swift

    enum PSPDFAnnotationBorderStyle : UInt
  • Border effect names. See PDF Reference 1.5, 1.6. (Table 167).

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationBorderEffect {}

    Swift

    enum PSPDFAnnotationBorderEffect : Int
  • A set of flags specifying various characteristics of the annotation. PSPDFKit doesn’t support all of those flag settings.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationFlags {}

    Swift

    struct PSPDFAnnotationFlags : OptionSet
  • Trigger events for certain viewer actions. See PDF Reference 1.7, 423ff.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationTriggerEvent {}

    Swift

    enum PSPDFAnnotationTriggerEvent : UInt8
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFVerticalAlignment) {
        PSPDFVerticalAlignmentTop = 0,
        PSPDFVerticalAlignmentCenter = 1,
        PSPDFVerticalAlignmentBottom = 2,
        PSPDFVerticalAlignmentNone = 3
    }

    Swift

    enum PSPDFVerticalAlignment : UInt
  • The sort order is currently used for bookmarks.

    See more

    Declaration

    Objective-C

    enum PSPDFBookmarkManagerSortOrder {}

    Swift

    enum PSPDFBookmarkManagerSortOrder : UInt
  • Form field flags specific to button fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFButtonFlag {}

    Swift

    struct PSPDFButtonFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFCacheStoragePolicy) {
        PSPDFCacheStoragePolicyAutomatic = 0,
    
        PSPDFCacheStoragePolicyAllowed,
        PSPDFCacheStoragePolicyAllowedInMemoryOnly,
        PSPDFCacheStoragePolicyNotAllowed,
    }

    Swift

    enum PSPDFCacheStoragePolicy : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFCacheStatus) {
        PSPDFCacheStatusNotCached,
        PSPDFCacheStatusInMemory,
        PSPDFCacheStatusOnDisk,
    }

    Swift

    enum PSPDFCacheStatus : Int
  • PSPDFCacheImageSizeMatching is a bit mask that can be used to control how the cache determines if an image’s size matches a given request.

    See more

    Declaration

    Objective-C

    enum PSPDFCacheImageSizeMatching {}

    Swift

    struct PSPDFCacheImageSizeMatching : OptionSet
  • Form field flags specific to choice fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFChoiceFlag {}

    Swift

    struct PSPDFChoiceFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(PSPDFCryptorErrorDomain, PSPDFCryptorErrorCode) {
        PSPDFCryptorErrorFailedToInitCryptor = 100,
        PSPDFCryptorErrorFailedToProcessFile = 110,
        PSPDFCryptorErrorInvalidIV = 200,
        PSPDFCryptorErrorWritingOutputFile = 600,
        PSPDFCryptorErrorReadingInputFile = 700,
    }
  • Specifies which types of operations the data provider supports. Every data provider must support reading.

    See more

    Declaration

    Objective-C

    enum PSPDFDataProvidingAdditionalOperations {}

    Swift

    struct PSPDFDataProvidingAdditionalOperations : OptionSet
  • The different transform methods (see Section 8.7.1, “Transform Methods”). DocMDP — Used to detect modifications to a document relative to a signature field that is signed by the originator of a document; see “DocMDP” on page 731. UR — Used to detect modifications to a document that would invalidate a signature in a rights-enabled document; see “UR” on page 733. FieldMDP — Used to detect modifications to a list of form fields specified in TransformParams; see “FieldMDP” on page 736. Identity — Used when signing a single object, which is specified by the value of Data in the signature reference dictionary (see Table 8.103). This transform method supports signing of FDF files. See “Identity” on page 737 for details.

    See more

    Declaration

    Objective-C

    enum PSPDFDigitalSignatureReferenceTransformMethod {}

    Swift

    enum PSPDFDigitalSignatureReferenceTransformMethod : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFDiskCacheFileFormat) {
        /// JPEG encoding.
        PSPDFDiskCacheFileFormatJPEG,
        /// PNG encoding.
        PSPDFDiskCacheFileFormatPNG,
    }

    Swift

    enum PSPDFDiskCacheFileFormat : Int
  • Document saving strategy.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentSaveStrategy {}

    Swift

    enum PSPDFDocumentSaveStrategy : Int
  • Returns if JavaScript code can execute on this document.

    See more

    Declaration

    Objective-C

    enum PSPDFJavaScriptStatus {}

    Swift

    enum PSPDFJavaScriptStatus : Int
  • Annotations can be saved in the PDF or alongside in an external file.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationSaveMode {}

    Swift

    enum PSPDFAnnotationSaveMode : Int
  • List of supported import behaviors for Instant Document JSON.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentJSONImportBehavior {}

    Swift

    enum PSPDFDocumentJSONImportBehavior : Int
  • Creates annotations based on the text content. See annotationsByDetectingLinkTypes:forPagesAtIndexes:options:progress:error:.

    See more

    Declaration

    Objective-C

    enum PSPDFTextCheckingType {}

    Swift

    struct PSPDFTextCheckingType : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFDocumentOrientation) {
        PSPDFDocumentOrientationPortrait,
        PSPDFDocumentOrientationLandscape,
    }

    Swift

    enum PSPDFDocumentOrientation : Int
  • A set of flags specifying which operations shall be permitted when the document is opened with user access.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentPermissions {}

    Swift

    struct PSPDFDocumentPermissions : OptionSet
  • An enumeration that specifies document permissions level.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentPermissionsLevel {}

    Swift

    enum PSPDFDocumentPermissionsLevel : UInt
  • The algorithm to use to encrypt a document.

    See more

    Declaration

    Objective-C

    enum PSPDFDocumentEncryptionAlgorithm {}

    Swift

    enum PSPDFDocumentEncryptionAlgorithm : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFDownloadManagerObjectState) {
        PSPDFDownloadManagerObjectStateNotHandled,
        PSPDFDownloadManagerObjectStateWaiting,
        PSPDFDownloadManagerObjectStateLoading,
        PSPDFDownloadManagerObjectStateFailed,
    }

    Swift

    enum PSPDFDownloadManagerObjectState : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFEditingOperation) {
        /// One page was removed. `affectedPageIndex` specifies which index.
        PSPDFEditingOperationRemove,
        /// The page at `affectedPageIndex` was moved to `pageIndexDestination`.
        PSPDFEditingOperationMove,
        /// One page was inserted at `affectedPageIndex`.
        PSPDFEditingOperationInsert,
        /// The page at `affectedPageIndex` was rotated.
        PSPDFEditingOperationRotate,
        /// One page reference was inserted at `affectedPageIndex`.
        PSPDFEditingOperationInsertReference
    }

    Swift

    enum PSPDFEditingOperation : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFEmbeddedGoToActionTarget) {
        /// Not yet supported
        PSPDFEmbeddedGoToActionTargetParentOfCurrentDocument,
        PSPDFEmbeddedGoToActionTargetChildOfCurrentDocument,
    }

    Swift

    enum PSPDFEmbeddedGoToActionTarget : UInt
  • List of documented errors within the PSPDFErrorDomain.

    Note

    Various PSPDFKit method can also returns errors from Apple-internal error domains.
    See more

    Declaration

    Objective-C

    enum PSPDFErrorCode {}

    Swift

    typealias PSPDFError.Code._ErrorType = PSPDFError
  • Defines all the available types a form field can be.

    See more

    Declaration

    Objective-C

    enum PSPDFFormFieldType {}

    Swift

    enum PSPDFFormFieldType : UInt
  • The free text annotation intent type. (Optional; PDF 1.6)

    See more

    Declaration

    Objective-C

    enum PSPDFFreeTextAnnotationIntent {}

    Swift

    enum PSPDFFreeTextAnnotationIntent : Int
  • Declares all possible feature flags in a license.

    See more

    Declaration

    Objective-C

    enum PSPDFFeatureMask {}

    Swift

    struct PSPDFFeatureMask : OptionSet
  • Represents the status of a document in the library.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryIndexStatus {}

    Swift

    enum PSPDFLibraryIndexStatus : UInt
  • Specifies the version of FTS the PSPDFLibrary should use.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryFTSVersion {}

    Swift

    enum PSPDFLibraryFTSVersion : UInt
  • Specifies the priority indexing takes in task scheduling.

    See more

    Declaration

    Objective-C

    enum PSPDFLibraryIndexingPriority {}

    Swift

    enum PSPDFLibraryIndexingPriority : UInt
  • Specifies what data is to be indexed to Spotlight.

    See more

    Declaration

    Objective-C

    enum PSPDFLibrarySpotlightIndexingType {}

    Swift

    enum PSPDFLibrarySpotlightIndexingType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(UInt8, PSPDFLinkAnnotationType) {
        PSPDFLinkAnnotationPage = 0,
        PSPDFLinkAnnotationWebURL,
        PSPDFLinkAnnotationDocument,
        PSPDFLinkAnnotationVideo,
        PSPDFLinkAnnotationYouTube,
        PSPDFLinkAnnotationAudio,
        PSPDFLinkAnnotationImage,
        PSPDFLinkAnnotationBrowser,
        /// Any annotation format that is not recognized is custom. (e.g. tel://)
        PSPDFLinkAnnotationCustom,
    }

    Swift

    enum PSPDFLinkAnnotationType : UInt8
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, PSPDFLogLevelMask) {
        /// Log nothing.
        PSPDFLogLevelMaskNothing = 0,
    
        /**
         Logs critical issues, that can break or limit the functionality of the framework.
         Should never be disabled.
         */
        PSPDFLogLevelMaskCritical = 1 << 0,
    
        /// Logs errors. Should never be disabled.
        PSPDFLogLevelMaskError = 1 << 1,
    
        /// Logs issues that are not errors or critical, but log-worthy.
        PSPDFLogLevelMaskWarning = 1 << 2,
    
        /// Logs important operations.
        PSPDFLogLevelMaskInfo = 1 << 3,
    
        /// Will log almost everything and slow down the application flow.
        PSPDFLogLevelMaskDebug = 1 << 4,
    
        /**
         Might log security related details like signature points.
         Never enable this in release builds unless they are solely for testing.
         */
        PSPDFLogLevelMaskVerbose = 1 << 5,
    
        /// Enables all logging categories.
        PSPDFLogLevelMaskAll = UINT_MAX,
    }

    Swift

    struct PSPDFLogLevelMask : OptionSet
  • Defines how a PSPDFModel property key should be encoded into an archive.

    See more

    Declaration

    Objective-C

    enum PSPDFModelEncodingBehavior {}

    Swift

    enum PSPDFModelEncodingBehavior : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, PSPDFNamedActionType) {
        PSPDFNamedActionTypeNone,
        PSPDFNamedActionTypeNextPage,
        PSPDFNamedActionTypePreviousPage,
        PSPDFNamedActionTypeFirstPage,
        PSPDFNamedActionTypeLastPage,
        PSPDFNamedActionTypeGoBack,
        PSPDFNamedActionTypeGoForward,
        PSPDFNamedActionTypeGoToPage,
        PSPDFNamedActionTypeFind,
        PSPDFNamedActionTypePrint,
        PSPDFNamedActionTypeOutline,
        PSPDFNamedActionTypeSearch,
        PSPDFNamedActionTypeBrightness,
        /// not implemented
        PSPDFNamedActionTypeZoomIn,
        /// not implemented
        PSPDFNamedActionTypeZoomOut,
        /// Triggers `[document saveChangedAnnotationsWithError:]`
        PSPDFNamedActionTypeSaveAs,
        PSPDFNamedActionTypeInfo,
        PSPDFNamedActionTypeUnknown = NSUIntegerMax,
    }

    Swift

    enum PSPDFNamedActionType : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFPageTriggerEvent) {
        /// O (0) Action to be performed when the page is opened.
        PSPDFPageTriggerEventOpen,
        /// C (1) Action to be performed when the page is closed.
        PSPDFPageTriggerEventClose
    }

    Swift

    enum PSPDFPageTriggerEvent : UInt
  • The type of new page that will be added

    See more

    Declaration

    Objective-C

    enum PSPDFNewPageType {}

    Swift

    enum PSPDFNewPageType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFPolygonAnnotationIntent) {
        /// No intent.
        PSPDFPolygonAnnotationIntentNone = 0,
    
        /// The annotation is intended to function as a cloud object.
        PSPDFPolygonAnnotationIntentPolygonCloud,
    
        /// The polygon annotation is intended to function as a dimension. (not implemented)
        PSPDFPolygonAnnotationIntentPolygonDimension
    }

    Swift

    enum PSPDFPolygonAnnotationIntent : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, PSPDFPrivateKeyEncoding) {
        /// A PKCS#8 encoded private key.
        PSPDFPrivateKeyEncodingPKCS8,
        /// A PKCS#1 encoded private key.
        PSPDFPrivateKeyEncodingPKCS1,
    }

    Swift

    enum PSPDFPrivateKeyEncoding : Int
  • Specifies how a annotation should be included in the resulting document. See modifyAnnotationsOfType:change: and modifyAnnotations:change:error:.

    See more

    Declaration

    Objective-C

    enum PSPDFAnnotationChange {}

    Swift

    enum PSPDFAnnotationChange : Int
  • Specifies if the item (image) should be located in the foreground or background

    See more

    Declaration

    Objective-C

    enum PSPDFItemZPosition {}

    Swift

    enum PSPDFItemZPosition : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFReachability) {
        PSPDFReachabilityUnknown,
        PSPDFReachabilityUnreachable,
        PSPDFReachabilityWiFi,
        /// iOS only
        PSPDFReachabilityWWAN,
    }

    Swift

    enum PSPDFReachability : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFRenderType) {
        /// Renders a single page.
        PSPDFRenderTypePage,
    
        /// Exports or transforms a document
        PSPDFRenderTypeProcessor,
    
        /// Useful to apply settings to all render types.
        PSPDFRenderTypeAll = NSUIntegerMax
    }

    Swift

    enum PSPDFRenderType : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, PSPDFRenderFilter) {
        /// If set, a grayscale filter will be applied.
        PSPDFRenderFilterGrayscale = 1 << 0,
    
        /// If set and `invertRenderColor` is `YES`, the inverted mode (a.k.a. night mode) will be rendered color correct.
        PSPDFRenderFilterColorCorrectInverted = 1 << 1,
    
        /// If set, a sepia filter will be applied.
        PSPDFRenderFilterSepia = 1 << 2
    }

    Swift

    struct PSPDFRenderFilter : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFRenderQueuePriority) {
        /// Used for unspecified renderings with the lowest priority.
        PSPDFRenderQueuePriorityUnspecified = 0,
    
        /// Used for renderings that the user is not aware of, such as building a cache in the background.
        PSPDFRenderQueuePriorityBackground = 100,
    
        /// Used for renderings that the user might see but that are not necessary to complete, such as generating thumbnails that are not necessary for the user to properly work with a document but.
        PSPDFRenderQueuePriorityUtility = 200,
    
        /// Used for renderings that the user requested but that are not required for the user to keep using a document.
        PSPDFRenderQueuePriorityUserInitiated = 300,
    
        /// Used for renderings that the user requested and that are currently blocking their workflow.
        PSPDFRenderQueuePriorityUserInteractive = 400,
    }

    Swift

    enum PSPDFRenderQueuePriority : UInt
  • The render request cache policy controls if and how the request, once scheduled, access the cache.

    See more

    Declaration

    Objective-C

    enum PSPDFRenderRequestCachePolicy {}

    Swift

    enum PSPDFRenderRequestCachePolicy : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSInteger, PSPDFRenditionActionType) {
        PSPDFRenditionActionTypeUnknown = -1,
        PSPDFRenditionActionTypePlayStop,
        PSPDFRenditionActionTypeStop,
        PSPDFRenditionActionTypePause,
        PSPDFRenditionActionTypeResume,
        PSPDFRenditionActionTypePlay,
    }

    Swift

    enum PSPDFRenditionActionType : Int
  • Flags for reset-form actions, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFResetFormActionFlag {}

    Swift

    struct PSPDFResetFormActionFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFMediaScreenWindowType) {
        PSPDFMediaScreenWindowTypeFloating,
        PSPDFMediaScreenWindowTypeFullscreen,
        PSPDFMediaScreenWindowTypeHidden,
        /// Default value
        PSPDFMediaScreenWindowTypeUseAnnotationRectangle,
    }

    Swift

    enum PSPDFMediaScreenWindowType : UInt
  • Configures the style of a digital signature.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureAppearanceMode {}

    Swift

    enum PSPDFSignatureAppearanceMode : UInt
  • The different kinds of input methods we support for creating a handwritten signature.

    See more

    Declaration

    Objective-C

    enum PSPDFDrawInputMethod {}

    Swift

    enum PSPDFDrawInputMethod : UInt
  • The supported encryption algorithms that can be used when signing a document.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureEncryptionAlgorithm {}

    Swift

    enum PSPDFSignatureEncryptionAlgorithm : UInt
  • A hash algorithm or hash function is a function that maps data of arbitrary size to data of a fixed size. In the context of PDF, this arbitrary data may represent a part of a document. The output of a hash function is always identical if the input data is the same. This fact can be used to check if a document has been altered intentionally or accidentally.

    PSPDFKit supports several hash functions. This list is not a complete list of every hash algorithm that is available. Some hash algorithms are not supported yet by the PDF specification for their use in digital signatures.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureHashAlgorithm {}

    Swift

    enum PSPDFSignatureHashAlgorithm : UInt
  • Severity of a signature validation problem

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureStatusSeverity {}

    Swift

    enum PSPDFSignatureStatusSeverity : Int
  • Integrity status of a signature field.

    See more

    Declaration

    Objective-C

    enum PSPDFSignatureIntegrityStatus {}

    Swift

    enum PSPDFSignatureIntegrityStatus : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(PSPDFSignerErrorDomain, PSPDFSignerError) {
        /// No error during the signing process.
        PSPDFSignerErrorNone = noErr,
        /// A signature form element was not found in the document.
        PSPDFSignerErrorNoFormElementSet = 0x1,
        /// An error occurred while generating the PKCS#7 structure.
        PSPDFSignerErrorCannotNotCreatePKCS7 = 0x100,
        /// A problem occurred while adding the signature to the PKCS#7.
        PSPDFSignerErrorCannotNotAddSignatureToPKCS7 = 0x101,
        /// A problem occurred while initializing the PKCS#7 structure.
        PSPDFSignerErrorCannotNotInitPKCS7 = 0x102,
        /// An error occurred while generating the PKCS#7 signature.
        PSPDFSignerErrorCannotGeneratePKCS7Signature = 0x103,
        /// A problem occurred while writing the PKCS#7 signature to the document.
        PSPDFSignerErrorCannotWritePKCS7Signature = 0x104,
        /// The document was signed correctly but couldn't be verified afterwards.
        PSPDFSignerErrorCannotVerifySignature = 0x105,
        /// The signed document could not be created. Check that you have the necessary permissions for the destination folder.
        PSPDFSignerErrorCannotSaveToDestination = 0x106,
        /// The subfilter type specified to create the signature is not supported.
        PSPDFSignerErrorUnsupportedSubfilterType = 0x107,
        /// Cannot find the signature, either in a new or existing document.
        PSPDFSignerErrorCannotFindSignature = 0x108,
        /// The attributes could not be signed.
        PSPDFSignerErrorCannotSignAttributes = 0x109,
        /// The form element could not be signed.
        PSPDFSignerErrorCannotSignFormElement = 0x110,
        /// The form element is already digitally signed, so it does not make sense to digitally sign it again.
        PSPDFSignerErrorCannotSignAlreadySigned = 0x111,
        /// The byte range of the document could not be hashed.
        PSPDFSignerErrorCouldNotHashDocument = 0x112,
    }

    Swift

    typealias PSPDFSignerError.Code._ErrorType = PSPDFSignerError
  • Sound annotation recording and playback states.

    See more

    Declaration

    Objective-C

    enum PSPDFSoundAnnotationState {}

    Swift

    enum PSPDFSoundAnnotationState : Int
  • Flags for submit-form actions, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFSubmitFormActionFlag {}

    Swift

    struct PSPDFSubmitFormActionFlag : OptionSet
  • Form field flags specific to text fields, matching bit positions in the PDF specification.

    See more

    Declaration

    Objective-C

    enum PSPDFTextFieldFlag {}

    Swift

    struct PSPDFTextFieldFlag : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFTextInputFormat) {
        PSPDFTextInputFormatNormal,
        PSPDFTextInputFormatNumber,
        PSPDFTextInputFormatDate,
        PSPDFTextInputFormatTime,
    }

    Swift

    enum PSPDFTextInputFormat : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_CLOSED_ENUM(NSUInteger, PSPDFUndoCoalescing) {
        /// Does not coalesce events with the same key at all but rather creates one new undo event for every single change.
        PSPDFUndoCoalescingNone,
    
        /// Coalesces events with the same key by time. Assuming that a key changes a number of times over a
        /// short period of time, only the initial value will be recorded.
        PSPDFUndoCoalescingTimed,
    
        /// Puts all subsequent changes to one key into the same group. This means that constant changes
        /// of the same value will result in exactly one event, which restores the property to its initial value.
        PSPDFUndoCoalescingAll
    }

    Swift

    enum PSPDFUndoCoalescing : UInt