|
Foxit PDF SDK
|
Public Member Functions | |
| def | Preflight () |
| Constructor. More... | |
| def | Analyze (preflight_setting_data, progress_callback) |
| Analyze a PDF file. More... | |
| def | AnalyzeAndFixup (preflight_setting_data, progress_callback) |
| Analyze and fixup a PDF file. More... | |
| def | CanFixup (item_key) |
| Check whether the item key can be fixuped or not. More... | |
| def | GenerateReport (preflight_report_setting_data, progress_callback) |
| Generate report after analyzing or fixing. More... | |
| def | GetGroupNamesArray (library_type, operate_type) |
| Get all group names array corresponding to the library type and operation type. More... | |
| def | GetItemKeysArray (group_name) |
| Get item keys array with the specific group name. More... | |
| def | IsEmpty () |
| Check whether current object is empty or not. More... | |
This class represents the analysis and fix-up functions that match a specified industry profile and performs checks or fix-ups.
| def FoxitPDFSDKPython2.Preflight.Preflight | ( | ) |
Constructor.
Constructor, with another preflight object.
| [in] | other | Another preflight object. |
| def FoxitPDFSDKPython2.Preflight.Analyze | ( | preflight_setting_data, | |
| progress_callback | |||
| ) |
Analyze a PDF file.
| [in] | preflight_setting_data | The preflight setting data. |
| [in] | progress_callback | A ProgressCallback object which is implemented by user and can be used to get progress data. |
| def FoxitPDFSDKPython2.Preflight.AnalyzeAndFixup | ( | preflight_setting_data, | |
| progress_callback | |||
| ) |
Analyze and fixup a PDF file.
| [in] | preflight_setting_data | The preflight setting data. |
| [in] | progress_callback | A ProgressCallback object which is implemented by user and can be used to get progress data. |
| def FoxitPDFSDKPython2.Preflight.CanFixup | ( | item_key | ) |
Check whether the item key can be fixuped or not.
| [in] | item_key | The item key. It can be retrieved by FoxitPDFSDKPython2.Preflight.GetItemKeysArray . |
| def FoxitPDFSDKPython2.Preflight.GenerateReport | ( | preflight_report_setting_data, | |
| progress_callback | |||
| ) |
Generate report after analyzing or fixing.
| [in] | preflight_report_setting_data | The preflight report setting data. |
| [in] | progress_callback | A ProgressCallback object which is implemented by user and can be used to get progress data. |
| def FoxitPDFSDKPython2.Preflight.GetGroupNamesArray | ( | library_type, | |
| operate_type | |||
| ) |
Get all group names array corresponding to the library type and operation type.
| [in] | library_type | The library type. Please refer to values starting from FoxitPDFSDKPython2.PreflightSettingData.e_LibraryTypeFoxit and this should be one of these values. |
| [in] | operate_type | The operate type. Please refer to values starting from FoxitPDFSDKPython2.PreflightSettingData.e_OperateTypeProfiles and this should be one of these values. |
| def FoxitPDFSDKPython2.Preflight.GetItemKeysArray | ( | group_name | ) |
Get item keys array with the specific group name.
| [in] | group_name | The group name which can obtain from the function FoxitPDFSDKPython2.Preflight.GetGroupNamesArray . |
| def FoxitPDFSDKPython2.Preflight.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.