Foxit PDF SDK
|
Inherits NSObject.
Class Methods | |
(FSErrorCode) | + initialize:compliance_engine_unlockcode: |
Initialize compliance engine. More... | |
(void) | + setLanguage: |
Set language for compliance engine. More... | |
(void) | + setTempFolderPath: |
Set a temp folder for compliance engine. More... | |
Compliance module can be used to verify if a PDF file matches a specified industry standard version (e.g. one of PDF/A version) or convert a PDF file to a specified industry standard version (e.g. one of PDF/A version). Before initializing compliance engine and using any class or methods in this module, please ensure Foxti PDF SDK has been initialized successfully by function FSLibrary::initialize:key: with a key including "Compliance" module.
+ (FSErrorCode) initialize: | (NSString *) | compliance_resource_folder_path | |
compliance_engine_unlockcode: | (NSString *) | compliance_engine_unlockcode | |
Initialize compliance engine.
This should be called successfully before any other methods in compliance add-on module.
[in] | compliance_resource_folder_path | A complete path to compliance resource folder. This should not be an empty string. |
[in] | compliance_engine_unlockcode | The unlock code for compliance engine.
|
+ (void) setLanguage: | (NSString *) | language |
Set language for compliance engine.
Setting a language to compliance engine will have affect on all the strings which are returned with FSResultInformation or through callback class FSComplianceProgressCallback. If no language name is set by this function, "English" will be used as default.
[in] | language | Language name. This cannot be an empty string and should be one of following language name: "Czech", "Danish", "Dutch", "English", "French", "Finnish", "German", "Italian", "Norwegian", "Polish", "Portuguese", "Spanish", "Swedish", "Chinese-Simplified", "Chinese-Traditional", "Japanese", "Korean". For other language name, this function will do nothing. |
+ (void) setTempFolderPath: | (NSString *) | temp_folder_path |
Set a temp folder for compliance engine.
Compliance engine may need to store several files for proper processing (e.g verifying or converting). User can use this function to set a temp folder. If no custom temp folder is set by this function, the default temp folder in system will be used.
[in] | temp_folder_path | A complete path to be set as temp folder. This should be a valid path and should not be an empty string |