Foxit PDF Conversion SDK
PDFConversionSDK.PDF2OfficeSettingData Class Reference

Public Member Functions

 constructor (metrics_data_folder_path, enable_ml_recognition)
 Constructor, with parameters. More...
 
 Set (metrics_data_folder_path, enable_ml_recognition)
 Set value. More...
 

Detailed Description

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

Member Function Documentation

◆ constructor()

PDFConversionSDK.PDF2OfficeSettingData.constructor ( metrics_data_folder_path  ,
enable_ml_recognition   
)

Constructor, with parameters.

Parameters
[in]metrics_data_folder_pathA valid path of a folder which contains metrics data files. This should not be an empty string. These metrics data files are used to simulate the office format document typesetting process during conversion. They are offered in the "res/metrics_data" folder of the Foxit PDF Conversion SDK package.
[in]enable_ml_recognition(Reserved, unsupported yet) A boolean value which indicates whether enable machine learning-based recognition functionality. true means enable machine learning-based recognition functionality to enhance recognition results in PDF documents. And this recognition functionality will be executed on the server side and return the relevant results when it is done. false means disable machine learning-based recognition functionality. And the recognition functionality not based on machine learning will be enabled.

◆ Set()

PDFConversionSDK.PDF2OfficeSettingData.Set ( metrics_data_folder_path  ,
enable_ml_recognition   
)

Set value.

Parameters
[in]metrics_data_folder_pathA valid path of a folder which contains metrics data files. This should not be an empty string. These metrics data files are used to simulate the office format document typesetting process during conversion. They are offered in the "res/metrics_data" folder of the Foxit PDF Conversion SDK package.
[in]enable_ml_recognition(Reserved, unsupported yet) A boolean value which indicates whether enable machine learning-based recognition functionality. true means enable machine learning-based recognition functionality to enhance recognition results in PDF documents. And this recognition functionality will be executed on the server side and return the relevant results when it is done. false means disable machine learning-based recognition functionality. And the recognition functionality not based on machine learning will be enabled.
Returns
None.