Foxit PDF SDK
|
Public Member Functions | |
PreflightSettingData () | |
Constructor. | |
PreflightSettingData (String preflight_key, int operate_type, String src_pdf_path, String saved_pdf_path, int first_page_index, int last_page_index) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
int | getFirst_page_index () |
Get index of the first page to be analyzed or fixed, staring from 0. More... | |
int | getLast_page_index () |
Get index of the last page to be verified. More... | |
int | getOperate_type () |
Get the preflight operate type. More... | |
String | getPreflight_key () |
Get the preflight key. More... | |
String | getSaved_pdf_path () |
Get a complete path for saving the analyze and fix PDF file. More... | |
String | getSrc_pdf_path () |
Get a complete path of source PDF file to be analyze and fix. More... | |
void | setFirst_page_index (int value) |
Set index of the first page to be analyzed or fixed, staring from 0. More... | |
void | setLast_page_index (int value) |
Set index of the last page to be verified. More... | |
void | setOperate_type (int value) |
Set the preflight operate type. More... | |
void | setPreflight_key (String value) |
Set the preflight key. More... | |
void | setSaved_pdf_path (String value) |
Set a complete path for saving the analyze and fix PDF file. More... | |
void | setSrc_pdf_path (String value) |
Set a complete path of source PDF file to be analyze and fix. More... | |
Static Public Attributes | |
static final int | e_LibraryTypeFoxit = 0 |
Preflight library type: Foxit. | |
static final int | e_LibraryTypePDFStandards = 1 |
Preflight library type: Standards. | |
static final int | e_LibraryTypePrepressColorTransparency = 2 |
Preflight library type: Prepress,Color and Transparency. | |
static final int | e_OperateTypeProfiles = 0 |
Opearte type: profiles. | |
static final int | e_OperateTypeSingleChecks = 1 |
Opearte type: single checks. | |
static final int | e_OperateTypeSingleFixups = 2 |
Opearte type: single fixups. | |
This class represents setting data used for preflight analyze and fixup.
com.foxit.sdk.addon.compliance.PreflightSettingData.PreflightSettingData | ( | String | preflight_key, |
int | operate_type, | ||
String | src_pdf_path, | ||
String | saved_pdf_path, | ||
int | first_page_index, | ||
int | last_page_index | ||
) |
Constructor, with parameters.
[in] | preflight_key | The preflight key. It can be retrieved by Preflight.getItemKeysArray . |
[in] | operate_type | The preflight operate type. Please refer to values starting from com.foxit.sdk.addon.compliance.PreflightSettingData.e_OperateTypeProfiles and this should be one of these values. |
[in] | src_pdf_path | A complete path of source PDF file to be analyzed or fixed. This should not be an empty string. |
[in] | saved_pdf_path | A complete path for saving pdf file after anylazing and fixing. This should not be an empty string. |
[in] | first_page_index | Index of the first page to be analyzed or fixed, staring from 0. Default value: 0. |
[in] | last_page_index | Index of the last page to be analyzed or fixed. If this is -1, that means all the pages of the source PDF file will be analyzed or fixed and parameter first_page_index would be ignored. Default value: -1. |
synchronized void com.foxit.sdk.addon.compliance.PreflightSettingData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.addon.compliance.PreflightSettingData.getFirst_page_index | ( | ) |
Get index of the first page to be analyzed or fixed, staring from 0.
com.foxit.sdk.addon.compliance.PreflightSettingData.getLast_page_index | ( | ) |
Get index of the last page to be verified.
com.foxit.sdk.addon.compliance.PreflightSettingData.getOperate_type | ( | ) |
Get the preflight operate type.
com.foxit.sdk.addon.compliance.PreflightSettingData.getPreflight_key | ( | ) |
Get the preflight key.
com.foxit.sdk.addon.compliance.PreflightSettingData.getSaved_pdf_path | ( | ) |
Get a complete path for saving the analyze and fix PDF file.
com.foxit.sdk.addon.compliance.PreflightSettingData.getSrc_pdf_path | ( | ) |
Get a complete path of source PDF file to be analyze and fix.
com.foxit.sdk.addon.compliance.PreflightSettingData.setFirst_page_index | ( | int | value | ) |
Set index of the first page to be analyzed or fixed, staring from 0.
[in] | value | Index of the first page to be analyzed or fixed, staring from 0. Default value: 0. |
com.foxit.sdk.addon.compliance.PreflightSettingData.setLast_page_index | ( | int | value | ) |
Set index of the last page to be verified.
[in] | value | Index of the last page to be verified. If this is -1, that means all the pages of the source PDF file will be analyze and parameter first_page_index would be ignored. Default value: -1. |
com.foxit.sdk.addon.compliance.PreflightSettingData.setOperate_type | ( | int | value | ) |
Set the preflight operate type.
[in] | value | The preflight operate type. Please refer to values starting from com.foxit.sdk.addon.compliance.PreflightSettingData.e_OperateTypeProfiles and this should be one of these values. |
com.foxit.sdk.addon.compliance.PreflightSettingData.setPreflight_key | ( | String | value | ) |
Set the preflight key.
[in] | value | The preflight key. It can be retrieved by Preflight.getItemKeysArray . |
com.foxit.sdk.addon.compliance.PreflightSettingData.setSaved_pdf_path | ( | String | value | ) |
Set a complete path for saving the analyze and fix PDF file.
[in] | value | A complete path for saving the analyze and fix PDF file. Only use to analyze and fix. |
com.foxit.sdk.addon.compliance.PreflightSettingData.setSrc_pdf_path | ( | String | value | ) |
Set a complete path of source PDF file to be analyze and fix.
[in] | value | A complete path of source PDF file to be analyze and fix. |