Foxit PDF Conversion SDK
|
Public Member Functions | |
Office2PDFSettingData () | |
Constructor. | |
Office2PDFSettingData (String resource_folder_path, boolean is_embed_font, Word2PDFSettingData word_setting_data, Excel2PDFSettingData excel_setting_data) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Excel2PDFSettingData | getExcel_setting_data () |
Get a setting data object that used for converting Excel format documents to PDF format documents. More... | |
boolean | getIs_embed_font () |
Get a boolean value which indicates whether to embed font in the converted file,Default value: false. More... | |
String | getResource_folder_path () |
Get a valid path of a folder which contains resource data files. More... | |
Word2PDFSettingData | getWord_setting_data () |
Get a setting data object that used for converting Word format documents to PDF format documents. More... | |
void | set (String resource_folder_path, boolean is_embed_font, Word2PDFSettingData word_setting_data, Excel2PDFSettingData excel_setting_data) |
Set value. More... | |
void | setExcel_setting_data (Excel2PDFSettingData value) |
Set a setting data object that used for converting Excel format documents to PDF format documents. More... | |
void | setIs_embed_font (boolean value) |
Set a boolean value which indicates whether to embed font in the converted file,Default value: false. More... | |
void | setResource_folder_path (String value) |
Set a valid path of a folder which contains resource data files. More... | |
void | setWord_setting_data (Word2PDFSettingData value) |
Set a setting data object that used for converting Word format documents to PDF format documents. More... | |
This class represents setting data used for converting Office(Word, Excel or PowerPoint) to PDF format file.
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.Office2PDFSettingData | ( | String | resource_folder_path, |
boolean | is_embed_font, | ||
Word2PDFSettingData | word_setting_data, | ||
Excel2PDFSettingData | excel_setting_data | ||
) |
Constructor, with parameters.
[in] | resource_folder_path | A valid path of a folder which contains resource data files. This should not be an empty string. These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package. |
[in] | is_embed_font | true means to embed font in the converted file, while false means not. |
[in] | word_setting_data | A setting data object that used for converting Word format documents to PDF format documents. |
[in] | excel_setting_data | A setting data object that used for converting Excel format documents to PDF format documents. |
synchronized void com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.getExcel_setting_data | ( | ) |
Get a setting data object that used for converting Excel format documents to PDF format documents.
This setting is only vaild for the conversion of Excel documents to PDF format documents. For more details, please refer to class Excel2PDFSettingData .
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.getIs_embed_font | ( | ) |
Get a boolean value which indicates whether to embed font in the converted file,Default value: false.
true means to embed font in the converted file, while false means not.
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.getResource_folder_path | ( | ) |
Get a valid path of a folder which contains resource data files.
These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package.
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.getWord_setting_data | ( | ) |
Get a setting data object that used for converting Word format documents to PDF format documents.
This setting is only vaild for the conversion of Word documents to PDF format documents. For more details, please refer to class Word2PDFSettingData .
void com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.set | ( | String | resource_folder_path, |
boolean | is_embed_font, | ||
Word2PDFSettingData | word_setting_data, | ||
Excel2PDFSettingData | excel_setting_data | ||
) |
Set value.
[in] | resource_folder_path | A valid path of a folder which contains resource data files. This should not be an empty string. These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package. |
[in] | is_embed_font | true means to embed font in the converted file, while false means not. |
[in] | word_setting_data | A setting data object that used for converting Word format documents to PDF format documents. |
[in] | excel_setting_data | A setting data object that used for converting Excel format documents to PDF format documents. |
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.setExcel_setting_data | ( | Excel2PDFSettingData | value | ) |
Set a setting data object that used for converting Excel format documents to PDF format documents.
This setting is only vaild for the conversion of Excel documents to PDF format documents. For more details, please refer to class Excel2PDFSettingData .
[in] | value | A setting data object that used for converting Excel format documents to PDF format documents. |
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.setIs_embed_font | ( | boolean | value | ) |
Set a boolean value which indicates whether to embed font in the converted file,Default value: false.
true means to embed font in the converted file, while false means not.
[in] | value | A boolean value which indicates whether to embed font in the converted file,Default value: false. |
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.setResource_folder_path | ( | String | value | ) |
Set a valid path of a folder which contains resource data files.
These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package.
[in] | value | A valid path of a folder which contains resource data files. This should not be an empty string. |
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.setWord_setting_data | ( | Word2PDFSettingData | value | ) |
Set a setting data object that used for converting Word format documents to PDF format documents.
This setting is only vaild for the conversion of Word documents to PDF format documents. For more details, please refer to class Word2PDFSettingData .
[in] | value | A setting data object that used for converting Word format documents to PDF format documents. |