PSPDFOfficeConversionOperation

Objective-C


@interface PSPDFOfficeConversionOperation
    : PSPDFConversionOperation <NSProgressReporting>

Swift

class OfficeConversionOperation : ConversionOperation, ProgressReporting

Operation that converts a local Office file to PDF by sending it to a server.

  • URL of the Office file to be converted.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSURL *_Nonnull inputURL;

    Swift

    var inputURL: URL { get }
  • URL of the Office conversion endpoint.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSURL *_Nonnull serverURL;

    Swift

    var serverURL: URL { get }
  • JWT

    JSON Web Token used to authenticate the document conversion request.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull JWT;

    Swift

    var jwt: String { get }
  • Progress object for the conversion operation. Does not support pausing. It does support cancellation, although you can also cancel the operation directly.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSProgress *_Nonnull progress;

    Swift

    var progress: Progress { get }