Foxit PDF Conversion SDK
FoxitPDFConversionSDKPython3.Office2PDFSettingData Class Reference

Inherits FoxitPDFConversionSDKPython3._object.

Public Member Functions

def Office2PDFSettingData ()
 Constructor. More...
 
def Set (resource_folder_path, is_embed_font)
 Set value. More...
 

Static Public Attributes

 is_embed_font = _swig_property(_fpdfconversionsdk.Office2PDFSettingData_is_embed_font_get, _fpdfconversionsdk.Office2PDFSettingData_is_embed_font_set)
 A boolean value which indicates whether to embed font in the converted file,. More...
 
 resource_folder_path = _swig_property(_fpdfconversionsdk.Office2PDFSettingData_resource_folder_path_get, _fpdfconversionsdk.Office2PDFSettingData_resource_folder_path_set)
 A valid path of a folder which contains resource data files. This should not be an empty string. More...
 

Detailed Description

This class represents setting data used for converting Office(Word, Excel or PowerPoint) to PDF format file.

Constructor & Destructor Documentation

◆ Office2PDFSettingData()

def FoxitPDFConversionSDKPython3.Office2PDFSettingData.Office2PDFSettingData ( )

Constructor.

Constructor, with parameters.

Parameters
[in]resource_folder_pathA 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_fonttrue means to embed font in the converted file, while false means not.

Member Function Documentation

◆ Set()

def FoxitPDFConversionSDKPython3.Office2PDFSettingData.Set (   resource_folder_path,
  is_embed_font 
)

Set value.

Parameters
[in]resource_folder_pathA 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_fonttrue means to embed font in the converted file, while false means not.
Returns
None.

Member Data Documentation

◆ is_embed_font

FoxitPDFConversionSDKPython3.Office2PDFSettingData.is_embed_font = _swig_property(_fpdfconversionsdk.Office2PDFSettingData_is_embed_font_get, _fpdfconversionsdk.Office2PDFSettingData_is_embed_font_set)
static

A boolean value which indicates whether to embed font in the converted file,.

true means to embed font in the converted file, while false means not.

◆ resource_folder_path

FoxitPDFConversionSDKPython3.Office2PDFSettingData.resource_folder_path = _swig_property(_fpdfconversionsdk.Office2PDFSettingData_resource_folder_path_get, _fpdfconversionsdk.Office2PDFSettingData_resource_folder_path_set)
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.