1#import <Foundation/Foundation.h>
4typedef NS_ENUM(NSInteger, OCRLanguage) {
6 OCRLanguageUnknown = 0,
10 OCRLanguageChineseTraditional,
20 OCRLanguageDevanagari,
26typedef NS_ENUM(NSInteger, ErrorCode) {
34 ErrorCodePDFPassword = 3,
38 ErrorCodePDFFormat = 5,
40 ErrorCodePDFSecurity = 6,
42 ErrorCodeOutOfMemory = 7,
46 ErrorCodeCompress = 9,
49 ErrorCodeLicenseInvalid = 20,
51 ErrorCodeLicenseExpire = 21,
53 ErrorCodeLicenseUnsupportedPlatform = 22,
55 ErrorCodeLicenseUnsupportedID = 23,
57 ErrorCodeLicenseUnsupportedDevice = 24,
59 ErrorCodeLicensePermissionDeny = 25,
61 ErrorCodeLicenseUninitialized = 26,
63 ErrorCodeLicenseIllegalAccess = 27,
65 ErrorCodeLicenseFileReadFailed = 28,
67 ErrorCodeLicenseOCRPermissionDeny = 29,
70 ErrorCodeNoTable = 40,
72 ErrorCodeOCRFailure = 41,
75 ErrorCodeConverting = 60,
78 ErrorCodeUnknown = 100
82typedef NS_ENUM(NSInteger, PageLayoutMode) {
90typedef NS_ENUM(NSInteger, ImageColorMode) {
100typedef NS_ENUM(NSInteger, ImageType) {
114typedef NS_ENUM(NSInteger, ExcelWorksheetOption){
116 ExcelWorksheetForTable,
118 ExcelWorksheetForPage,
120 ExcelWorksheetForDocument
124typedef NS_ENUM(NSInteger, htmlPageOption){
126 HtmlOptionSinglePage,
128 HtmlOptionSinglePageWithBookmark,
132 HtmlOptionMultiPageWithBookmark,
334@property (nonatomic, assign) ImageType
Type;
BOOL excelCSVFormat
Whether to save as CSV format.
ExcelWorksheetOption excelWorksheetOption
Whether each worksheet contains only one table.
BOOL imagePathEnhance
Whether to enhance image paths.
PageLayoutMode pageLayoutMode
Page layout mode.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL txtTableFormat
Whether to format tables when converting to TXT.
BOOL enableOCR
Whether to enable OCR.
htmlPageOption htmlPageOption
Specify the Html page option.
ImageType imageType
Image file type.
BOOL excelAllContent
Whether to export all content to Excel.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
ImageColorMode imageColorMode
Image color mode.
BOOL jsonContainTable
Whether to include tables when converting to JSON.
BOOL enableAILayout
Whether to remove AI content during conversion.
BOOL containAnnotation
Whether to include annotations.
BOOL formulaToImage
Convert formulas to images.
float imageScaling
Image scaling ratio.
PDF to Excel conversion parameter object.
BOOL AllContent
Whether to export all content to Excel.
PageLayoutMode pageLayoutMode
Page layout mode.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL CSVFormat
Whether to save as CSV format.
ExcelWorksheetOption excelWorksheetOption
Whether each worksheet contains only one table.
BOOL containAnnotation
Whether to include annotations.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL formulaToImage
Convert formulas to images.
BOOL enableAILayout
Whether to remove AI content during conversion.
BOOL enableOCR
Whether to enable OCR.
PDF to Html conversion parameter object.
BOOL enableAILayout
Whether to remove AI content during conversion.
htmlPageOption htmlPageOption
html page option
BOOL containAnnotation
Whether to include annotations.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableOCR
Whether to enable OCR.
BOOL formulaToImage
Convert formulas to images.
PageLayoutMode pageLayoutMode
Page layout mode.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
PDF to Image conversion parameter object.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
ImageType Type
Image file type.
ImageColorMode ColorMode
Image color mode.
float Scaling
Image scaling ratio.
BOOL PathEnhance
Whether to enhance image paths.
PDF to Json conversion parameter object.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL ContainTable
Whether to include tables when converting to JSON.
BOOL containAnnotation
Whether to include annotations.
BOOL enableAILayout
Whether to remove AI content during conversion.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableOCR
Whether to enable OCR.
PDF to Markdown conversion parameter object.
BOOL enableOCR
Whether to enable OCR.
BOOL containAnnotation
Whether to include annotations.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableAILayout
Whether to remove AI content during conversion.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
PDF to PPT conversion parameter object.
BOOL enableOCR
Whether to enable OCR.
BOOL enableAILayout
Whether to remove AI content during conversion.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL containAnnotation
Whether to include annotations.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL formulaToImage
Convert formulas to images.
PDF to RTF conversion parameter object.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL containAnnotation
Whether to include annotations.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableOCR
Whether to enable OCR.
BOOL formulaToImage
Convert formulas to images.
BOOL enableAILayout
Whether to remove AI content during conversion.
PDF to SearchablePdf conversion parameter object.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL formulaToImage
Convert formulas to images.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableOCR
Whether to enable OCR.
PDF to TXT conversion parameter object.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")
BOOL enableOCR
Whether to enable OCR.
BOOL TableFormat
Whether to format tables when converting to TXT.
BOOL enableAILayout
Whether to remove AI content during conversion.
PDF to Word conversion parameter object.
BOOL containImage
Whether to include images (only effective when OCR is disabled)
BOOL enableAILayout
Whether to remove AI content during conversion.
BOOL formulaToImage
Convert formulas to images.
BOOL containAnnotation
Whether to include annotations.
BOOL enableOCR
Whether to enable OCR.
PageLayoutMode pageLayoutMode
Page layout mode.
NSString * pageRanges
Page ranges for conversion (e.g. "1-3,5,7-9")