|
Foxit PDF Conversion SDK
|
Public Member Functions | |
| def | GetExcel_setting_data () |
| Get a setting data object that used for converting Excel format documents to PDF format documents. More... | |
| def | GetIs_embed_font () |
| Get a boolean value which indicates whether to embed font in the converted file,Default value: false. More... | |
| def | GetResource_folder_path () |
| Get a valid path of a folder which contains resource data files. More... | |
| def | GetWord_setting_data () |
| Get a setting data object that used for converting Word format documents to PDF format documents. More... | |
| def | Set (resource_folder_path, is_embed_font, word_setting_data, excel_setting_data) |
| Set value. More... | |
| def | SetExcel_setting_data (value) |
| Set a setting data object that used for converting Excel format documents to PDF format documents. More... | |
| def | SetIs_embed_font (value) |
| Set a boolean value which indicates whether to embed font in the converted file,Default value: false. More... | |
| def | SetResource_folder_path (value) |
| Set a valid path of a folder which contains resource data files. More... | |
| def | SetWord_setting_data (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.
| fpdfconversionsdk.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 .
| fpdfconversionsdk.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. This flag is currently supported only on Windows.
| fpdfconversionsdk.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.
| fpdfconversionsdk.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 .
| def fpdfconversionsdk.Office2PDFSettingData.Set | ( | resource_folder_path, | |
| is_embed_font, | |||
| word_setting_data, | |||
| 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. This flag is only supported on Windows platforms. |
| [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. |
| fpdfconversionsdk.Office2PDFSettingData.SetExcel_setting_data | ( | 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. |
| fpdfconversionsdk.Office2PDFSettingData.SetIs_embed_font | ( | 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. This flag is currently supported only on Windows.
| [in] | value | A boolean value which indicates whether to embed font in the converted file,Default value: false. |
| fpdfconversionsdk.Office2PDFSettingData.SetResource_folder_path | ( | 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. |
| fpdfconversionsdk.Office2PDFSettingData.SetWord_setting_data | ( | 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. |