CPDFConverter Class Reference
Inherits from | NSObject |
---|---|
Declared in | CPDFConverter.h |
Overview
This is the base class for all conversion operations.
This is the base class for all converters. A CPDFConverter object by itself is not useful, only subclasses (like CPDFConverterWord, CPDFConverterPPT) are interesting.
– initWithURL:password:
Initializes a CPDFConverter object with the contents at the specified URL.
- (instancetype)initWithURL:(NSURL *)url password:(NSString *)password
Discussion
Initializes a CPDFConverter object with the contents at the specified URL.
Declared In
CPDFConverter.h
delegate
The object acting as the delegate for the CPDFConverter object.
@property (nonatomic, assign) id<CPDFConverterDelegate> delegate
Discussion
The object acting as the delegate for the CPDFConverter object.
See Also
Declared In
CPDFConverter.h
isConverting
Returns a Boolean value indicating whether a conversion operation is in progress.
@property (nonatomic, readonly) BOOL isConverting
Discussion
Returns a Boolean value indicating whether a conversion operation is in progress.
Declared In
CPDFConverter.h
– convertToFilePath:pageIndexs:options:
Starts convert the specified source file into the specified file.
- (void)convertToFilePath:(NSString *)filePath pageIndexs:(NSArray *)pageIndexs options:(CPDFConvertOptions *)options
Parameters
filePath |
String of the full path to the specified file. |
---|---|
pageIndexs |
The page number range. |
Discussion
Starts convert the specified source file into the specified file.
Declared In
CPDFConverter.h
– cancel
Cancels the conversion task.
- (void)cancel
Discussion
Cancels the conversion task.
Declared In
CPDFConverter.h