Foxit PDF SDK
|
Public Member Functions | |
Preflight () | |
Constructor. | |
Preflight (Preflight other) | |
Constructor, with another Preflight compliance object. More... | |
void | analyze (PreflightSettingData preflight_setting_data, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
Analyze a PDF file. More... | |
void | analyzeAndFixup (PreflightSettingData preflight_setting_data, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
Analyze and fixup a PDF file. More... | |
boolean | canFixup (String item_key) throws com.foxit.sdk.PDFException |
Check whether the item key can be fixuped or not. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
boolean | generateReport (PreflightReportSettingData preflight_report_setting_data, ProgressCallback progress_callback) throws com.foxit.sdk.PDFException |
Generate report after analyzing or fixing. More... | |
java.util.ArrayList< java.lang.String > | getGroupNamesArray (int library_type, int operate_type) throws com.foxit.sdk.PDFException |
Get all group names array corresponding to the library type and operation type. More... | |
java.util.ArrayList< java.lang.String > | getItemKeysArray (String group_name) throws com.foxit.sdk.PDFException |
Get item keys array with the specific group name. More... | |
boolean | isEmpty () |
Check whether current object is empty or not. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
This class represents a analyze and fixup funciton matches a specified industry profile, check or fixup.
com.foxit.sdk.addon.compliance.Preflight.Preflight | ( | Preflight | other | ) |
Constructor, with another Preflight compliance object.
[in] | other | Another Preflight compliance object. |
void com.foxit.sdk.addon.compliance.Preflight.analyze | ( | PreflightSettingData | preflight_setting_data, |
ProgressCallback | progress_callback | ||
) | throws com.foxit.sdk.PDFException |
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. |
void com.foxit.sdk.addon.compliance.Preflight.analyzeAndFixup | ( | PreflightSettingData | preflight_setting_data, |
ProgressCallback | progress_callback | ||
) | throws com.foxit.sdk.PDFException |
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. |
boolean com.foxit.sdk.addon.compliance.Preflight.canFixup | ( | String | item_key | ) | throws com.foxit.sdk.PDFException |
Check whether the item key can be fixuped or not.
[in] | item_key | The item key. It can be retrieved by Preflight.getItemKeysArray . |
synchronized void com.foxit.sdk.addon.compliance.Preflight.delete | ( | ) |
Clean up related resources immediately.
boolean com.foxit.sdk.addon.compliance.Preflight.generateReport | ( | PreflightReportSettingData | preflight_report_setting_data, |
ProgressCallback | progress_callback | ||
) | throws com.foxit.sdk.PDFException |
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. |
java.util.ArrayList< java.lang.String > com.foxit.sdk.addon.compliance.Preflight.getGroupNamesArray | ( | int | library_type, |
int | operate_type | ||
) | throws com.foxit.sdk.PDFException |
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 com.foxit.sdk.addon.compliance.PreflightSettingData.e_LibraryTypeFoxit and this should be one of these values.
[in] | operate_type | The operate type. Please refer to values starting from com.foxit.sdk.addon.compliance.PreflightSettingData.e_OperateTypeProfiles and this should be one of these values. |
java.util.ArrayList< java.lang.String > com.foxit.sdk.addon.compliance.Preflight.getItemKeysArray | ( | String | group_name | ) | throws com.foxit.sdk.PDFException |
Get item keys array with the specific group name.
[in] | group_name | The group name which can obtain from the Preflight.getGroupNamesArray interface. |
boolean com.foxit.sdk.addon.compliance.Preflight.isEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.