26 using namespace common;
30 namespace conversion {
34 namespace pdf2office {
40 :enable_retain_page_layout(false) { }
51 this->enable_retain_page_layout = enable_retain_page_layout;
75 void Set(
bool enable_retain_page_layout) {
76 this->enable_retain_page_layout = enable_retain_page_layout;
94 : enable_ml_recognition(false)
95 , include_pdf_comments(true) {}
117 this->metrics_data_folder_path = metrics_data_folder_path;
118 this->enable_ml_recognition = enable_ml_recognition;
119 this->page_range = page_range;
120 this->include_pdf_comments = include_pdf_comments;
121 this->word_setting_data = word_setting_data;
162 void Set(
const wchar_t* metrics_data_folder_path,
bool enable_ml_recognition,
const Range &page_range,
bool include_pdf_comments,
const PDF2WordSettingData& word_setting_data) {
163 this->metrics_data_folder_path = metrics_data_folder_path;
164 this->enable_ml_recognition = enable_ml_recognition;
165 this->page_range = page_range;
166 this->include_pdf_comments = include_pdf_comments;
167 this->word_setting_data = word_setting_data;
231 virtual bool NeedToPause() = 0;
241 virtual void ProgressNotify(
int converted_count,
int total_count) = 0;
281 static Progressive StartConvertToWord(
const wchar_t* src_pdf_path,
const wchar_t* src_pdf_password,
const wchar_t* saved_word_file_path,
341 static Progressive StartConvertToExcel(
const wchar_t* src_pdf_path,
const wchar_t* src_pdf_password,
const wchar_t* saved_excel_file_path,
400 static Progressive StartConvertToPowerPoint(
const wchar_t* src_pdf_path,
const wchar_t* src_pdf_password,
const wchar_t* saved_ppt_file_path,
Definition: fs_common.h:178
Definition: fs_pdf2office.h:90
CFX_Object Object
Object type.
Definition: fs_basictypes.h:79
Definition: fs_pdf2office.h:36
void Set(bool enable_retain_page_layout)
Set value.
Definition: fs_pdf2office.h:75
File reading interface.
Definition: fx_stream.h:566
WIDE STRING CLASS.
Definition: fx_string.h:1452
PDF2WordSettingData word_setting_data
A setting data object that used for converting PDF documents to word format documents.
Definition: fs_pdf2office.h:217
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:176
File stream interface, reading & writing.
Definition: fx_stream.h:669
void Set(const wchar_t *metrics_data_folder_path, bool enable_ml_recognition, const Range &page_range, bool include_pdf_comments, const PDF2WordSettingData &word_setting_data)
Set value.
Definition: fs_pdf2office.h:162
PDF2WordSettingData(bool enable_retain_page_layout)
Constructor, with parameters.
Definition: fs_pdf2office.h:50
PDF2OfficeSettingData(const wchar_t *metrics_data_folder_path, bool enable_ml_recognition, const Range &page_range, bool include_pdf_comments, const PDF2WordSettingData &word_setting_data)
Constructor, with parameters.
Definition: fs_pdf2office.h:116
Definition: fs_common.h:115
Header file for common definitions and classes.
PDF2WordSettingData()
Constructor.
Definition: fs_pdf2office.h:39
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:86
Definition: fs_basictypes.h:159
Foxit namespace.
Definition: fs_basictypes.h:58
Definition: fs_pdf2office.h:252
bool include_pdf_comments
A boolean value which indicates whether to include PDF documents comments in the converted office for...
Definition: fs_pdf2office.h:209
Definition: fs_pdf2office.h:224
#define NULL
The null-pointer value.
Definition: fx_system.h:780
PDF2OfficeSettingData()
Constructor.
Definition: fs_pdf2office.h:93
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:200
bool enable_ml_recognition
A boolean value which indicates whether enable machine learning-based recognition functionality,...
Definition: fs_pdf2office.h:190