Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | Office2PDFSettingData () |
Constructor. More... | |
def | Set (resource_folder_path, is_embed_font, word_setting_data, excel_setting_data) |
Set value. More... | |
Static Public Attributes | |
excel_setting_data = _fsdk.Office2PDFSettingData_excel_setting_data | |
A setting data object that used for converting Excel format documents to PDF format documents. More... | |
is_embed_font = _fsdk.Office2PDFSettingData_is_embed_font | |
A boolean value which indicates whether to embed font in the converted file,Default value: false. More... | |
resource_folder_path = _fsdk.Office2PDFSettingData_resource_folder_path | |
A valid path of a folder which contains resource data files. This should not be an empty string. More... | |
word_setting_data = _fsdk.Office2PDFSettingData_word_setting_data | |
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.
def FoxitPDFSDKPython2.Office2PDFSettingData.Office2PDFSettingData | ( | ) |
Constructor.
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. |
def FoxitPDFSDKPython2.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. |
[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. |
|
static |
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 Excel2PDFConfig .
|
static |
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.
|
static |
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.
|
static |
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 Word2PDFConfig .