14 #ifndef FS_PDF2OFFICE_H_ 15 #define FS_PDF2OFFICE_H_ 16 #if defined(_WIN32) || defined(_WIN64) || (defined(__linux__) && !defined(__ANDROID__)) 32 namespace conversion {
36 namespace pdf2office {
452 virtual void ProgressNotify(
int converted_count,
int total_count) = 0;
475 static void Initialize(
const wchar_t* library_path);
652 #endif //defined(WIN32) bool enable_ml_recognition
A boolean value which indicates whether enable machine learning-based recognition functionality....
Definition: fs_pdf2office.h:386
WString metrics_data_folder_path
A valid path of a folder which contains metrics data files. This should not be an empty string.
Definition: fs_pdf2office.h:372
Definition: fs_pdf2office.h:463
Definition: fs_common.h:1236
CFX_Object Object
Object type.
Definition: fs_basictypes.h:221
String thousands_separator
A string value which indicates being recognized as thousands separator during the conversion of PDF d...
Definition: fs_pdf2office.h:266
PDF2PowerPointSettingData & operator=(const PDF2PowerPointSettingData &data)
Assign operator.
Definition: fs_pdf2office.h:161
common::Range page_range
A range object that specifies some pages. These pages will be used to convert PDF documents to office...
Definition: fs_pdf2office.h:395
Definition: fs_pdf2office.h:38
static void Initialize(const wchar_t *library_path)
Initialize Foxit PDF Conversion SDK Library.
PDF2OfficeSettingData(const wchar_t *metrics_data_folder_path, bool enable_ml_recognition, const common::Range &page_range, bool include_pdf_comments, const PDF2WordSettingData &word_setting_data, const PDF2PowerPointSettingData &power_point_setting_data, const PDF2ExcelSettingData &excel_setting_data)
Constructor, with parameters.
Definition: fs_pdf2office.h:301
PDF2ExcelSettingData(String decimal_symbol, String thousands_separator)
Constructor, with parameters.
Definition: fs_pdf2office.h:206
File reading interface.
Definition: fx_stream.h:570
PDF2OfficeSettingData()
Constructor.
Definition: fs_pdf2office.h:274
WIDE STRING CLASS.
Definition: fx_string.h:1452
bool enable_generate_footnotes_and_endnotes
A boolean value which indicates whether convert the recognized footnotes and endnotes from PDF docume...
Definition: fs_pdf2office.h:131
void Set(bool enable_aggressively_split_sections)
Set value.
Definition: fs_pdf2office.h:177
bool include_pdf_comments
A boolean value which indicates whether to include PDF documents comments for the conversion of PDF d...
Definition: fs_pdf2office.h:404
PDF2PowerPointSettingData(bool enable_aggressively_split_sections)
Constructor, with parameters.
Definition: fs_pdf2office.h:150
virtual bool NeedToPause()=0
A callback function used to pause the current conversion progress.
virtual void ProgressNotify(int converted_count, int total_count)=0
A callback function used to notify the current conversion progress.
void Set(String decimal_symbol, String thousands_separator)
Set value.
Definition: fs_pdf2office.h:232
File stream interface, reading & writing.
Definition: fx_stream.h:675
PDF2WordSettingData word_setting_data
A setting data object that used for converting PDF documents to Word format documents.
Definition: fs_pdf2office.h:412
PDF2ExcelSettingData excel_setting_data
A setting data object that used for converting PDF documents to Excel format documents.
Definition: fs_pdf2office.h:428
PDF2WordSettingData & operator=(const PDF2WordSettingData &data)
Assign operator.
Definition: fs_pdf2office.h:76
PDF2OfficeSettingData & operator=(const PDF2OfficeSettingData &data)
Assign operator.
Definition: fs_pdf2office.h:319
Definition: fs_common.h:346
PDF2ExcelSettingData()
Constructor.
Definition: fs_pdf2office.h:196
Header file for common definitions and classes.
static void Release()
Release all resource allocated by Foxit PDF Conversion SDK Library.
static common::Progressive StartConvertToExcel(const wchar_t *src_pdf_path, const wchar_t *src_pdf_password, const wchar_t *saved_excel_file_path, const PDF2OfficeSettingData &setting_data, ConvertCallback *convert_callback=0)
Start to convert a PDF file to a Excel format file. Function PDF2Office::Initialize must be called be...
PDF2PowerPointSettingData power_point_setting_data
A setting data object that used for converting PDF documents to Power Point format documents.
Definition: fs_pdf2office.h:420
void Set(const wchar_t *metrics_data_folder_path, bool enable_ml_recognition, const common::Range &page_range, bool include_pdf_comments, const PDF2WordSettingData &word_setting_data, const PDF2PowerPointSettingData &power_point_setting_data, const PDF2ExcelSettingData &excel_setting_data)
Set value.
Definition: fs_pdf2office.h:355
Definition: fs_basictypes.h:427
static common::Progressive StartConvertToWord(const wchar_t *src_pdf_path, const wchar_t *src_pdf_password, const wchar_t *saved_word_file_path, const PDF2OfficeSettingData &setting_data, ConvertCallback *convert_callback=0)
Start to convert a PDF file to a Word format file. Function PDF2Office::Initialize must be called bef...
PDF2PowerPointSettingData()
Constructor.
Definition: fs_pdf2office.h:138
Definition: fs_pdf2office.h:193
bool enable_aggressively_split_sections
A boolean value which indicates whether split sections aggressively for the conversion of PDF documen...
Definition: fs_pdf2office.h:189
Foxit namespace.
Definition: fs_taggedpdf.h:27
void Set(bool enable_retain_page_layout, bool enable_generate_headers_and_footers, bool enable_generate_footnotes_and_endnotes)
Set value.
Definition: fs_pdf2office.h:101
PDF2WordSettingData()
Constructor.
Definition: fs_pdf2office.h:41
PDF2WordSettingData(bool enable_retain_page_layout, bool enable_generate_headers_and_footers, bool enable_generate_footnotes_and_endnotes)
Constructor, with parameters.
Definition: fs_pdf2office.h:63
BYTE STRING CLASS.
Definition: fx_string.h:317
#define NULL
The null-pointer value.
Definition: fx_system.h:780
Definition: fs_pdf2office.h:435
bool enable_generate_headers_and_footers
A boolean value which indicates whether convert the recognized headers and footers from PDF documents...
Definition: fs_pdf2office.h:122
Definition: fs_pdf2office.h:271
String decimal_symbol
A string value which indicates being recognized as decimal during the conversion of PDF documents to ...
Definition: fs_pdf2office.h:250
bool enable_retain_page_layout
A boolean value which indicates whether retain page layout for the conversion of PDF documents to Wor...
Definition: fs_pdf2office.h:113
Definition: fs_pdf2office.h:135
PDF2ExcelSettingData & operator=(const PDF2ExcelSettingData &data)
Assign operator.
Definition: fs_pdf2office.h:218
static common::Progressive StartConvertToPowerPoint(const wchar_t *src_pdf_path, const wchar_t *src_pdf_password, const wchar_t *saved_ppt_file_path, const PDF2OfficeSettingData &setting_data, ConvertCallback *convert_callback=0)
Start to convert a PDF file to a PowerPoint format file. Function PDF2Office::Initialize must be call...