Foxit PDF SDK
|
Public Member Functions | |
Excel2PDFSettingData () | |
Constructor. | |
Excel2PDFSettingData (boolean include_doc_props, int quality, boolean ignore_print_area, int scale_type, boolean convert_to_pdfa) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
boolean | getConvert_to_pdfa () |
Get (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file. More... | |
boolean | getIgnore_print_area () |
Get a boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file. More... | |
boolean | getInclude_doc_props () |
Get a boolean value which indicates whether to include Excel document properties in the converted PDF document. More... | |
int | getQuality () |
Get quality for covnerting Excel to PDF. More... | |
int | getScale_type () |
Get scale type for the Excel sheet when converting Excel document to PDF file. More... | |
void | set (boolean include_doc_props, int quality, boolean ignore_print_area, int scale_type, boolean convert_to_pdfa) |
Set value. More... | |
void | setConvert_to_pdfa (boolean value) |
Set (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file. More... | |
void | setIgnore_print_area (boolean value) |
Set a boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file. More... | |
void | setInclude_doc_props (boolean value) |
Set a boolean value which indicates whether to include Excel document properties in the converted PDF document. More... | |
void | setQuality (int value) |
Set quality for covnerting Excel to PDF. More... | |
void | setScale_type (int value) |
Set scale type for the Excel sheet when converting Excel document to PDF file. More... | |
Static Public Attributes | |
static final int | e_ConvertQualityMinimum = 1 |
Minimum quality. | |
static final int | e_ConvertQualityStandard = 0 |
Standard quality. | |
static final int | e_ScaleTypeFitAllColumns = 1 |
Fit all columns of one sheet on one page. | |
static final int | e_ScaleTypeFitAllRows = 2 |
Fit all rows of one sheet on one page. | |
static final int | e_ScaleTypeFitSheet = 3 |
Fit a sheet on one page. | |
static final int | e_ScaleTypeNone = 0 |
No scaling. | |
This class represents setting data used for converting Excel to PDF.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.Excel2PDFSettingData | ( | boolean | include_doc_props, |
int | quality, | ||
boolean | ignore_print_area, | ||
int | scale_type, | ||
boolean | convert_to_pdfa | ||
) |
Constructor, with parameters.
[in] | include_doc_props | A boolean value which indicates whether to include Excel document properties in the converted PDF document. |
[in] | quality | Quality for covnerting Excel to PDF. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ConvertQualityStandard and this should be one of these values. |
[in] | ignore_print_area | A boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file. |
[in] | scale_type | Scale type for the Excel sheet when converting Excel document to PDF file. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ScaleTypeNone and this should be one of these values. |
[in] | convert_to_pdfa | (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file. Currently, this is useless and Foxit PDF SDK will treated as false. |
synchronized void com.foxit.sdk.addon.conversion.Excel2PDFSettingData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.getConvert_to_pdfa | ( | ) |
Get (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file.
true means to convert Excel document to a PDF/A file.
false means to convert Excel document to a common file.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.getIgnore_print_area | ( | ) |
Get a boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file.
true means to ignore any setting of print area in Excel document.
false means to use the setting of print areas in Excel document.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.getInclude_doc_props | ( | ) |
Get a boolean value which indicates whether to include Excel document properties in the converted PDF document.
true means to include Excel document properties in the converted PDF document.
false means not to include Excel document properties in the converted PDF document.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.getQuality | ( | ) |
Get quality for covnerting Excel to PDF.
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.getScale_type | ( | ) |
Get scale type for the Excel sheet when converting Excel document to PDF file.
void com.foxit.sdk.addon.conversion.Excel2PDFSettingData.set | ( | boolean | include_doc_props, |
int | quality, | ||
boolean | ignore_print_area, | ||
int | scale_type, | ||
boolean | convert_to_pdfa | ||
) |
Set value.
[in] | include_doc_props | A boolean value which indicates whether to include Excel document properties in the converted PDF document. |
[in] | quality | Quality for covnerting Excel to PDF. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ConvertQualityStandard and this should be one of these values. |
[in] | ignore_print_area | A boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file. |
[in] | scale_type | Scale type for the Excel sheet when converting Excel document to PDF file. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ScaleTypeNone and this should be one of these values. |
[in] | convert_to_pdfa | (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file. Currently, this is useless and Foxit PDF SDK will treated as false. |
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.setConvert_to_pdfa | ( | boolean | value | ) |
Set (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file.
true means to convert Excel document to a PDF/A file.
false means to convert Excel document to a common file.
[in] | value | (Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file. Currently, this is useless and Foxit PDF SDK will treated as false. |
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.setIgnore_print_area | ( | boolean | value | ) |
Set a boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file.
true means to ignore any setting of print area in Excel document.
false means to use the setting of print areas in Excel document.
[in] | value | A boolean value which indicates whether to ignore any print area set when converting Excel document to PDF file. |
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.setInclude_doc_props | ( | boolean | value | ) |
Set a boolean value which indicates whether to include Excel document properties in the converted PDF document.
true means to include Excel document properties in the converted PDF document.
false means not to include Excel document properties in the converted PDF document.
[in] | value | A boolean value which indicates whether to include Excel document properties in the converted PDF document. |
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.setQuality | ( | int | value | ) |
Set quality for covnerting Excel to PDF.
[in] | value | Quality for covnerting Excel to PDF. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ConvertQualityStandard and this should be one of these values. |
com.foxit.sdk.addon.conversion.Excel2PDFSettingData.setScale_type | ( | int | value | ) |
Set scale type for the Excel sheet when converting Excel document to PDF file.
[in] | value | Scale type for the Excel sheet when converting Excel document to PDF file. Please refer to values starting from com.foxit.sdk.addon.conversion.Excel2PDFSettingData.e_ScaleTypeNone and this should be one of these values. |