Foxit PDF Conversion SDK
com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData Class Reference

Public Member Functions

 Office2PDFSettingData ()
 Constructor.
 
 Office2PDFSettingData (String resource_folder_path, boolean is_embed_font)
 Constructor, with parameters. More...
 
synchronized void delete ()
 Clean up related resources immediately. More...
 
boolean getIs_embed_font ()
 Get a boolean value which indicates whether to embed font in the converted file,. More...
 
String getResource_folder_path ()
 Get a valid path of a folder which contains resource data files. More...
 
void set (String resource_folder_path, boolean is_embed_font)
 Set value. More...
 
void setIs_embed_font (boolean value)
 Set a boolean value which indicates whether to embed font in the converted file,. More...
 
void setResource_folder_path (String value)
 Set a valid path of a folder which contains resource data files. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Office2PDFSettingData()

com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.Office2PDFSettingData ( String  resource_folder_path,
boolean  is_embed_font 
)

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

◆ delete()

synchronized void com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.delete ( )

Clean up related resources immediately.

Returns
None.
Note
Once this function is called, current object cannot be used anymore.

◆ getIs_embed_font()

com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.getIs_embed_font ( )

Get 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.

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

◆ getResource_folder_path()

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.

Returns
A valid path of a folder which contains resource data files. This should not be an empty string.

◆ set()

void com.foxit.sdk.conversion.office2pdf.Office2PDFSettingData.set ( String  resource_folder_path,
boolean  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.

◆ setIs_embed_font()

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,.

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

Parameters
[in]valueA boolean value which indicates whether to embed font in the converted file,
Returns
None.

◆ setResource_folder_path()

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.

Parameters
[in]valueA valid path of a folder which contains resource data files. This should not be an empty string.
Returns
None.