35 namespace conversion {
44 typedef enum _HTML2PDFPageMode {
180 #if (defined(_WIN32) || defined(_WIN64)) 191 typedef enum _ConvertOptimizeOption {
204 typedef enum _ConvertContentOption {
216 typedef enum _ConvertBookmarkOption {
377 typedef enum _ConvertQuality {
389 typedef enum _ScaleType {
530 typedef enum _ConvertIntent {
543 typedef enum _HandoutOrder {
561 typedef enum _OutputType {
723 #endif // #if (defined(_WIN32) || defined(_WIN64)) 753 static void FromHTML(
const wchar_t* src_html,
const wchar_t* engine_path,
const wchar_t* cookies_path,
const HTML2PDFSettingData& setting_data,
const wchar_t* saved_pdf_path,
int32 timeout);
776 #if (defined(_WIN32) || defined(_WIN64)) 790 static void FromWord(
const wchar_t* src_word_file_path,
const wchar_t* src_file_password,
const wchar_t* saved_pdf_path,
const Word2PDFSettingData& setting_data);
805 static void FromExcel(
const wchar_t* src_excel_file_path,
const wchar_t* src_file_password,
const wchar_t* saved_pdf_path,
const Excel2PDFSettingData& setting_data);
822 #endif // #if (defined(_WIN32) || defined(_WIN64)) bool include_doc_props
A boolean value which indicates whether to include Word document properties in the converted PDF docu...
Definition: fs_convert.h:333
ConvertBookmarkOption bookmark_option
Bookmark option for covnerting Word to PDF, which specifies whether to export bookmarks to converted ...
Definition: fs_convert.h:357
static void FromWord(const wchar_t *src_word_file_path, const wchar_t *src_file_password, const wchar_t *saved_pdf_path, const Word2PDFSettingData &setting_data)
Convert a Word format file to a PDF file.
bool convert_to_pdfa
(Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file....
Definition: fs_convert.h:366
bool is_convert_link
Used to decide whether the web link should be coverted or not.
Definition: fs_convert.h:168
OutputType output_type
Output type used to specify which component (slides, handouts, notes pages, or an outline) of PowerPo...
Definition: fs_convert.h:687
HandoutOrder
Enumeration for specifying the page layout order in which slides appear on converted handouts....
Definition: fs_convert.h:543
ConvertOptimizeOption
Enumeration for optimize option (which specifies resolution and quality) for converting Word to PDF.
Definition: fs_convert.h:191
CFX_Object Object
Object type.
Definition: fs_basictypes.h:217
bool is_to_page_scale
Used to decide whether to scale the coverted PDF page or not.
Definition: fs_convert.h:151
When converting PowerPoint in handouts type, convert handouts with consecutive slides displayed horiz...
Definition: fs_convert.h:548
Header file for PDF document related definitions and classes.
float page_height
The page height used for the coverted PDF document.
Definition: fs_convert.h:148
bool ignore_print_area
A boolean value which indicates whether to ignore any print area set when convering Excel document to...
Definition: fs_convert.h:503
Output type: handouts with four slide per handout page.
Definition: fs_convert.h:575
ConvertOptimizeOption optimize_option
Optimize option for covnerting Word to PDF, which specifies the resolution and quality of the convert...
Definition: fs_convert.h:341
bool convert_to_pdfa
(Reserved) A boolean value which indicates whether to convert to a PDF/A file or a common PDF file....
Definition: fs_convert.h:519
ScaleType scale_type
Scale type for the Excel sheet when converting Excel document to PDF file. Please refer to values sta...
Definition: fs_convert.h:510
ConvertIntent intent
Converting intent. Please refer to values starting from PowerPoint2PDFSettingData::e_ConvertIntentPri...
Definition: fs_convert.h:674
Output type: handouts with one slide per handout page.
Definition: fs_convert.h:569
Definition: fs_convert.h:523
bool is_generate_tag
Used to decide whether the tag should be generated or not.
Definition: fs_convert.h:171
Optimize option: convert for screen, which is a lower quality and results in a smaller file size.
Definition: fs_convert.h:195
File reading interface.
Definition: fx_stream.h:566
float page_width
The page width used for the coverted PDF document.
Definition: fs_convert.h:141
PowerPoint2PDFSettingData(ConvertIntent intent, bool frame_output_slides, OutputType output_type, HandoutOrder handout_order, bool output_hidden_slides, bool include_doc_props)
Constructor, with parameters.
Definition: fs_convert.h:612
HTML2PDFSettingData()
Constructor.
Definition: fs_convert.h:52
Multiple page mode.
Definition: fs_convert.h:48
common::Rotation rotate_degrees
The rotation degree used for the coverted PDF page.Please refer to values starting from common::e_Rot...
Definition: fs_convert.h:165
bool frame_output_slides
A boolean value which indicates whether to frame output slides in the converted PDF document.
Definition: fs_convert.h:681
static void FromHTML(const wchar_t *src_html, const wchar_t *engine_path, const wchar_t *cookies_path, const HTML2PDFSettingData &setting_data, const wchar_t *saved_pdf_path, int32 timeout)
Convert a HTML format file or a URL of a Web page to a PDF file.
Excel2PDFSettingData()
Constructor.
Definition: fs_convert.h:402
Definition: fs_convert.h:183
Fit all rows of one sheet on one page.
Definition: fs_convert.h:395
Output type: handouts with two slide per handout page.
Definition: fs_convert.h:571
Definition: fs_convert.h:37
ScaleType
Enumeration for scaling type for each sheet in the Excel document for converting Excel to PDF.
Definition: fs_convert.h:389
HTML2PDFSettingData(float page_width, float page_height, bool is_to_page_scale, RectF page_margin, bool is_convert_link, common::Rotation rotate_degrees, bool is_generate_tag, HTML2PDFPageMode page_mode)
Constructor, with parameters.
Definition: fs_convert.h:80
void Set(bool include_doc_props, ConvertOptimizeOption optimize_option, ConvertContentOption content_option, ConvertBookmarkOption bookmark_option, bool convert_to_pdfa)
Set value.
Definition: fs_convert.h:316
ConvertIntent
Enumeration for intent for converting PowerPoint to PDF.
Definition: fs_convert.h:530
Optimize option: convert for print, which is higher quality and results in a larger file size.
Definition: fs_convert.h:193
ConvertBookmarkOption
Enumeration for bookmark option for for converting Word to PDF.
Definition: fs_convert.h:216
Output type: handouts with three slide per handout page.
Definition: fs_convert.h:573
bool include_doc_props
A boolean value which indicates whether to include Excel document properties in the converted PDF doc...
Definition: fs_convert.h:487
Output type: notes pages.
Definition: fs_convert.h:565
RectF page_margin
The page margin used for coverted PDF document.
Definition: fs_convert.h:159
OutputType
Enumeration for output type for converting PowerPoint to PDF.
Definition: fs_convert.h:561
HTML2PDFPageMode
Enumeration for page mode used for converting HTML to PDF.
Definition: fs_convert.h:44
Intent: converted result file will be used for showing on screen.
Definition: fs_convert.h:534
Minimum quality.
Definition: fs_convert.h:381
Fit a sheet on one page.
Definition: fs_convert.h:397
static void FromExcel(const wchar_t *src_excel_file_path, const wchar_t *src_file_password, const wchar_t *saved_pdf_path, const Excel2PDFSettingData &setting_data)
Convert a Excel format file to a PDF file.
Fit all columns of one sheet on one page.
Definition: fs_convert.h:393
HTML2PDFPageMode page_mode
The page mode used for the converting. Please refer to values starting from HTML2PDFSettingData::e_Pa...
Definition: fs_convert.h:177
Output type: handouts with six slide per handout page.
Definition: fs_convert.h:577
Do not create bookmark in converted PDF file.
Definition: fs_convert.h:218
Convert Word document without markup.
Definition: fs_convert.h:206
Word2PDFSettingData & operator=(const Word2PDFSettingData &data)
Assign operator.
Definition: fs_convert.h:282
Intent: converted result file will be used for printing.
Definition: fs_convert.h:532
HandoutOrder handout_order
Handout order used to specify the page layout order in which slides appear on converted handouts....
Definition: fs_convert.h:704
Header file for common definitions and classes.
Standard quality.
Definition: fs_convert.h:379
No scaling.
Definition: fs_convert.h:391
void Set(bool include_doc_props, ConvertQuality quality, bool ignore_print_area, ScaleType scale_type, bool convert_to_pdfa)
Set value.
Definition: fs_convert.h:471
bool output_hidden_slides
A boolean value which indicates whether to convert hidden slides to the converted PDF document.
Definition: fs_convert.h:711
Create bookmarks in converted PDF file by using each heading of Word document.
Definition: fs_convert.h:224
Excel2PDFSettingData(bool include_doc_props, ConvertQuality quality, bool ignore_print_area, ScaleType scale_type, bool convert_to_pdfa)
Constructor, with parameters.
Definition: fs_convert.h:427
HTML2PDFSettingData & operator=(const HTML2PDFSettingData &data)
Assign operator.
Definition: fs_convert.h:99
FX_INT32 int32
32-bit signed integer.
Definition: fs_basictypes.h:194
Definition: fs_basictypes.h:397
Word2PDFSettingData()
Constructor.
Definition: fs_convert.h:234
static void FromPowerPoint(const wchar_t *src_ppt_file_path, const wchar_t *src_file_password, const wchar_t *saved_pdf_path, const PowerPoint2PDFSettingData &setting_data)
Convert a PowerPoint format file to a PDF file.
Header file for PDF page related definitions and classes.
Definition: fs_convert.h:370
ConvertContentOption content_option
Content option for covnerting Word to PDF, which specifies how much content of Word document is to be...
Definition: fs_convert.h:349
PowerPoint2PDFSettingData()
Constructor.
Definition: fs_convert.h:584
ConvertQuality quality
Quality for covnerting Excel to PDF. Please refer to values starting from Excel2PDFSettingData::e_Con...
Definition: fs_convert.h:494
Word2PDFSettingData(bool include_doc_props, ConvertOptimizeOption optimize_option, ConvertContentOption content_option, ConvertBookmarkOption bookmark_option, bool convert_to_pdfa)
Constructor, with parameters.
Definition: fs_convert.h:265
Convert Word document with markup.
Definition: fs_convert.h:208
No rotation.
Definition: fs_common.h:58
Rotation
Enumeration for rotation.
Definition: fs_common.h:56
Foxit namespace.
Definition: fs_compare.h:27
When converting PowerPoint in handouts type, convert handouts with consecutive slides displayed verti...
Definition: fs_convert.h:553
Output type: outline view.
Definition: fs_convert.h:567
bool include_doc_props
A boolean value which indicates whether to include PowerPoint document properties in the converted PD...
Definition: fs_convert.h:720
Definition: fs_convert.h:733
Output type: handouts with nine slide per handout page.
Definition: fs_convert.h:579
Create bookmarks in converted PDF file by using each bookmarks of Word document.
Definition: fs_convert.h:229
void Set(float page_width, float page_height, bool is_to_page_scale, RectF page_margin, bool is_convert_link, common::Rotation rotate_degrees, bool is_generate_tag, HTML2PDFPageMode page_mode)
Set value.
Definition: fs_convert.h:128
ConvertQuality
Enumeration for quality for converting Excel to PDF.
Definition: fs_convert.h:377
Single page mode.
Definition: fs_convert.h:46
Output type: slides.
Definition: fs_convert.h:563
ConvertContentOption
Enumeration for content option which specifies how much content of Word document is to be converted t...
Definition: fs_convert.h:204
Excel2PDFSettingData & operator=(const Excel2PDFSettingData &data)
Assign operator.
Definition: fs_convert.h:443
void Set(ConvertIntent intent, bool frame_output_slides, OutputType output_type, HandoutOrder handout_order, bool output_hidden_slides, bool include_doc_props)
Set value.
Definition: fs_convert.h:660
Definition: fx_coordinates.h:771
PowerPoint2PDFSettingData & operator=(const PowerPoint2PDFSettingData &data)
Assign operator.
Definition: fs_convert.h:629