Processor

  • Create, merge or modify PDF documents. Can also flatten annotation data.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFProcessor : NSObject

    Swift

    class Processor : NSObject
  • The type implementing this protocol can receive updates from a PSPDFProcessor.

    See more

    Declaration

    Objective-C

    @protocol PSPDFProcessorDelegate <NSObject>

    Swift

    protocol ProcessorDelegate : NSObjectProtocol
  • PSPDFConversionOperation is the base class for all PDF conversion operations.

    Warning

    Do not create instances of this class or its subclasses. They are intended to be initiated internally by PSPDFProcessor.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFConversionOperation : NSOperation

    Swift

    class ConversionOperation : Operation
  • Operation that converts an attributed string to PDF. Needs to be executed from background thread.

    Note

    Requires the PSPDFFeatureMaskWebKitHtmlConversion feature flag.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFAttributedStringConversionOperation : PSPDFConversionOperation

    Swift

    class AttributedStringConversionOperation : ConversionOperation
  • Operation that converts a HTML string to PDF. Needs to be executed from background thread.

    Note

    Requires the PSPDFFeatureMaskWebKitHtmlConversion feature flag.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFHTMLConversionOperation : PSPDFConversionOperation

    Swift

    class HTMLConversionOperation : ConversionOperation
  • Operation that converts a local Office file to PDF by sending it to a server.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFOfficeConversionOperation
        : PSPDFConversionOperation <NSProgressReporting>

    Swift

    class OfficeConversionOperation : ConversionOperation, ProgressReporting
  • Operation that converts a website or local URL to PDF. Needs to be executed from background thread.

    Note

    Requires the PSPDFFeatureMaskWebKitHtmlConversion feature flag.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFURLConversionOperation : PSPDFConversionOperation

    Swift

    class URLConversionOperation : ConversionOperation
  • Container for various settings for manipulating documents with PSPDFProcessor.

    Note

    Some basic options are available without the Document Editor component, however most options do require this component to be licensed. Learn more at https://pspdfkit.com/pdf-sdk/ios/document-editor/
    See more

    Declaration

    Objective-C

    
    @interface PSPDFProcessorConfiguration : NSObject <NSCopying>
  • Represents an item that can be added to either a new page or an existing page. The item can either be a UIImage which will then be compressed as a JPEG using imageJpegCompressionQuality or a NSURL that points to a JPEG or PDF file.

    See more

    Declaration

    Objective-C

    
    @interface PSPDFProcessorItem : NSObject

    Swift

    class ProcessorItem : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    
    @interface PSPDFProcessorItemBuilder : PSPDFModel

    Swift

    class PDFProcessorItemBuilder : ModelObject
  • Manages document editing. Supports operations such as remove, move, rotate and add page.

    Note

    This class requires the Document Editor component to be enabled for your license.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFDocumentEditor : NSObject <PSPDFOverridable>

    Swift

    class PDFDocumentEditor : NSObject, Overridable
  • Represents a change that was performed by PSPDFDocumentEditor.

    See

    PSPDFDocumentEditor
    See more

    Declaration

    Objective-C

    
    @interface PSPDFEditingChange : PSPDFModel

    Swift

    class PDFEditingChange : ModelObject