Foxit PDF SDK
fs_convert.h
浏览该文件的文档.
1 
15 #ifndef FS_CONVERT_H_
16 #define FS_CONVERT_H_
17 
18 #include "common/fs_common.h"
19 #include "pdf/fs_pdfdoc.h"
20 #include "pdf/fs_pdfpage.h"
21 
27 namespace foxit {
31 namespace addon {
35 namespace conversion {
37 class HTML2PDFSettingData FS_FINAL : public Object{
38  public:
44  typedef enum _HTML2PDFPageMode {
50 
56  typedef enum _HTML2PDFScalingMode {
64 
70  typedef enum _HTML2PDFEncodingFormat {
220 
226  typedef enum _HTML2PDFMediaStyle {
232 
233 
236  : page_width(0)
237  , page_height(0)
238  , is_to_page_scale(false)
239  , page_margin(0.0f, 0.0f, 0.0f, 0.0f)
240  , rotate_degrees(common::e_Rotation0)
241  , is_convert_link(false)
242  , is_generate_tag(false)
244  , to_generate_bookmarks(false)
247  , to_render_images(true)
249  , to_set_headerfooter(false)
250  , headerfooter_title(L"")
251  , headerfooter_url(L"")
252  , bookmark_root_name(L"")
253  , to_resize_objects(false)
254  , to_print_background(true)
255  , to_optimize_tag_tree(false)
257  , to_load_active_content(false)
258  , to_disable_sandbox(true)
259  , to_use_blacklist(false)
260  , to_hide_header(false)
261  , to_hide_footer(false)
262  , to_deny_local_file_access(false) {}
263 
306  const wchar_t* headerfooter_url, const wchar_t* bookmark_root_name, bool to_resize_objects, bool to_print_background, bool to_optimize_tag_tree,
309  this->page_width = page_width;
310  this->page_height = page_height;
311  this->is_to_page_scale = is_to_page_scale;
312  this->page_margin = page_margin;
313  this->is_convert_link = is_convert_link;
314  this->rotate_degrees = rotate_degrees;
315  this->is_generate_tag = is_generate_tag;
316  this->page_mode = page_mode;
317  this->to_generate_bookmarks = to_generate_bookmarks;
318  this->scaling_mode = scaling_mode;
319  this->encoding_format = encoding_format;
320  this->to_render_images = to_render_images;
321  this->to_remove_underline_for_link = to_remove_underline_for_link;
322  this->to_set_headerfooter = to_set_headerfooter;
323  this->headerfooter_title = headerfooter_title;
324  this->headerfooter_url = headerfooter_url;
325  this->bookmark_root_name = bookmark_root_name;
326  this->to_resize_objects = to_resize_objects;
327  this->to_print_background = to_print_background;
328  this->to_optimize_tag_tree = to_optimize_tag_tree;
329  this->media_style = media_style;
330  this->to_load_active_content = to_load_active_content;
331  this->to_disable_sandbox = to_disable_sandbox;
332  this->to_use_blacklist = to_use_blacklist;
333  this->to_hide_header = to_hide_header;
334  this->to_hide_footer = to_hide_footer;
335  this->to_deny_local_file_access = to_deny_local_file_access;
336  }
337 
346  page_width = data.page_width;
347  page_height = data.page_height;
349  page_margin = data.page_margin;
353  page_mode = data.page_mode;
355  scaling_mode = data.scaling_mode;
366  media_style = data.media_style;
373  return (*this);
374  }
375 
418  const wchar_t* headerfooter_title, const wchar_t* headerfooter_url, const wchar_t* bookmark_root_name, bool to_resize_objects, bool to_print_background, bool to_optimize_tag_tree,
421  this->page_width = page_width;
422  this->page_height = page_height;
423  this->is_to_page_scale = is_to_page_scale;
424  this->page_margin = page_margin;
425  this->is_convert_link = is_convert_link;
426  this->rotate_degrees = rotate_degrees;
427  this->is_generate_tag = is_generate_tag;
428  this->page_mode = page_mode;
429  this->to_generate_bookmarks = to_generate_bookmarks;
430  this->scaling_mode = scaling_mode;
431  this->encoding_format = encoding_format;
432  this->to_render_images = to_render_images;
433  this->to_remove_underline_for_link = to_remove_underline_for_link;
434  this->to_set_headerfooter = to_set_headerfooter;
435  this->headerfooter_title = headerfooter_title;
436  this->headerfooter_url = headerfooter_url;
437  this->bookmark_root_name = bookmark_root_name;
438  this->to_resize_objects = to_resize_objects;
439  this->to_print_background = to_print_background;
440  this->to_optimize_tag_tree = to_optimize_tag_tree;
441  this->media_style = media_style;
442  this->to_load_active_content = to_load_active_content;
443  this->to_disable_sandbox = to_disable_sandbox;
444  this->to_use_blacklist = to_use_blacklist;
445  this->to_hide_header = to_hide_header;
446  this->to_hide_footer = to_hide_footer;
447  this->to_deny_local_file_access = to_deny_local_file_access;
448  }
449 
455  float page_width;
456 
464  float page_height;
465 
473 
481 
487 
490 
493 
499 
502 
508 
513 
516 
519 
522 
525 
528 
531 
534 
537 
540 
546 
555 
562 
590 
593 
596 
605 };
606 
608 class TXT2PDFSettingData FS_FINAL : public Object {
609  public:
612  : page_width(0)
613  , page_height(0)
614  , text_size(0)
615  , text_color(0xFF000000)
616  , linespace(0)
617  , is_break_page(false) {
618  }
619 
635  ARGB text_color, float linespace, bool is_break_page) {
636  this->page_width = page_width;
637  this->page_height = page_height;
638  this->page_margin = page_margin;
639  this->font = font;
640  this->text_size = text_size;
641  this->text_color = text_color;
642  this->linespace = linespace;
643  this->is_break_page = is_break_page;
644  }
645 
654  page_width = data.page_width;
655  page_height = data.page_height;
656  page_margin = data.page_margin;
657  font = data.font;
658  text_size = data.text_size;
659  text_color = data.text_color;
660  linespace = data.linespace;
662  return (*this);
663  }
664 
680  ARGB text_color, float linespace, bool is_break_page) {
681  this->page_width = page_width;
682  this->page_height = page_height;
683  this->page_margin = page_margin;
684  this->font = font;
685  this->text_size = text_size;
686  this->text_color = text_color;
687  this->linespace = linespace;
688  this->is_break_page = is_break_page;
689  }
690 
692  float page_width;
693 
695  float page_height;
696 
704 
707 
709  float text_size;
710 
713 
715  float linespace;
716 
719 };
720 
727  public:
733  virtual void Release() = 0;
742  virtual void OnProgress(const wchar_t* message, float progress) = 0;
743  };
744 
750 class DWG2PDFSettingData FS_FINAL : public Object {
751  public:
757  typedef enum _DWG2PDFExportFlags {
785  e_FlagUseHLR = 0x0080,
804 
810  typedef enum _DWG2PDFExportHatchesType {
820 
826  typedef enum _DWG2PDFSearchableTextType {
834 
840  typedef enum _DWG2PDFColorPolicy {
850 
856  typedef enum _DWG2PDFLayoutScope {
884 
890  typedef enum _DWG2PDFLineweightStyleMode {
898 
899 
904  : export_flags(1)
909  , is_active_layout(false)
910  , paper_width(0.0f)
911  , paper_height(0.0f)
913  , is_output_progress(true)
915  , geometry_output_dpi(400)
920  , layout_index(1)
922  , plot_scale_factor(0.99)
923  , page_margin(0)
925  , maximum_drawing_area(0.0)
928  , enable_diagnostic_log_output(false) {}
929 
938  export_flags = data.export_flags;
944  output_title = data.output_title;
950  paper_width = data.paper_width;
951  paper_height = data.paper_height;
952  color_policy = data.color_policy;
959  layout_scope = data.layout_scope;
960  layout_index = data.layout_index;
963  page_margin = data.page_margin;
971  return (*this);
972  }
973 
982 
991 
1000 
1009 
1020 
1029 
1034 
1039 
1044 
1049 
1054 
1059 
1069 
1079 
1088 
1095 
1101 
1110 
1119 
1128 
1138 
1149 
1157 
1166 
1174 
1182 
1192 
1202 
1213 
1224 
1243 
1253 
1260 };
1261 
1262 #if defined(_WIN32) || defined(_WIN64) || defined(__linux__)
1263 
1265 class Word2PDFSettingData FS_FINAL : public Object{
1266  public:
1272  typedef enum _ConvertOptimizeOption {
1278 
1284  typedef enum _ConvertContentOption {
1290 
1296  typedef enum _ConvertBookmarkOption {
1311 
1312 
1315  : include_doc_props(false)
1319  , convert_to_pdfa(false)
1320  , disable_vba_code(false)
1321  {}
1322 
1342  bool convert_to_pdfa, bool disable_vba_code) {
1343  this->include_doc_props = include_doc_props;
1344  this->optimize_option = optimize_option;
1345  this->content_option = content_option;
1346  this->bookmark_option = bookmark_option;
1347  this->convert_to_pdfa = convert_to_pdfa;
1348  this->disable_vba_code = disable_vba_code;
1349  }
1350 
1365  return (*this);
1366  }
1367 
1389  bool convert_to_pdfa, bool disable_vba_code) {
1390  this->include_doc_props = include_doc_props;
1391  this->optimize_option = optimize_option;
1392  this->content_option = content_option;
1393  this->bookmark_option = bookmark_option;
1394  this->convert_to_pdfa = convert_to_pdfa;
1395  this->disable_vba_code = disable_vba_code;
1396  }
1397 
1405 
1412 
1419 
1426 
1435 
1444 };
1445 
1447 class Excel2PDFSettingData FS_FINAL : public Object{
1448  public:
1454  typedef enum _ConvertQuality {
1459  } ConvertQuality;
1460 
1466  typedef enum _ScaleType {
1475  } ScaleType;
1476 
1477 
1480  : include_doc_props(false)
1482  , ignore_print_area(true)
1484  , convert_to_pdfa(false)
1485  , disable_vba_code(false)
1486  {}
1487 
1504  this->include_doc_props = include_doc_props;
1505  this->quality = quality;
1506  this->ignore_print_area = ignore_print_area;
1507  this->scale_type = scale_type;
1508  this->convert_to_pdfa = convert_to_pdfa;
1509  this->disable_vba_code = disable_vba_code;
1510  }
1511 
1521  quality = data.quality;
1523  scale_type = data.scale_type;
1526  return (*this);
1527  }
1528 
1547  this->include_doc_props = include_doc_props;
1548  this->quality = quality;
1549  this->ignore_print_area = ignore_print_area;
1550  this->scale_type = scale_type;
1551  this->convert_to_pdfa = convert_to_pdfa;
1553  }
1554 
1562 
1569 
1577 
1584 
1593 
1602 };
1603 
1605 class PowerPoint2PDFSettingData FS_FINAL : public Object{
1606  public:
1612  typedef enum _ConvertIntent {
1617  } ConvertIntent;
1618 
1625  typedef enum _HandoutOrder {
1636  } HandoutOrder;
1637 
1643  typedef enum _OutputType {
1662  } OutputType;
1663 
1664 
1668  , frame_output_slides(false)
1671  , output_hidden_slides(false)
1672  , include_doc_props(false)
1673  , disable_vba_code(false)
1674  {}
1675 
1694  this->intent = intent;
1695  this->frame_output_slides = frame_output_slides;
1696  this->handout_order = handout_order;
1697  this->output_hidden_slides = output_hidden_slides;
1698  this->output_type = output_type;
1699  this->include_doc_props = include_doc_props;
1700  this->disable_vba_code = disable_vba_code;
1701  }
1702 
1711  intent = data.intent;
1713  output_type = data.output_type;
1718  return (*this);
1719  }
1720 
1741  this->intent = intent;
1742  this->frame_output_slides = frame_output_slides;
1743  this->output_type = output_type;
1744  this->handout_order = handout_order;
1745  this->output_hidden_slides = output_hidden_slides;
1746  this->include_doc_props = include_doc_props;
1747  this->disable_vba_code = disable_vba_code;
1748  }
1749 
1755 
1763 
1770 
1788 
1796 
1804 
1813 };
1814 #endif // #if (defined(_WIN32) || defined(_WIN64))
1815 
1817 class HTML2PDFRelatedResource FS_FINAL : public Object{
1818  public:
1823  }
1824 
1834  this->related_resource_file = related_resource_file;
1835  this->resource_file_relative_path = resource_file_relative_path;
1836  }
1837 
1848  return (*this);
1849  }
1850 
1853 
1861 };
1862 
1865 
1866 
1874 class Convert FS_FINAL : public Base {
1875  public:
1881  typedef enum _Office2PdfEngine {
1883  e_Office2PdfEngineMicrosoft = 0,
1885  e_Office2PdfEngineWps = 1
1886  } Office2PdfEngine;
1887 
1888 
1906  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);
1907 
1926  static void FromHTML(const wchar_t* src_html, const wchar_t* engine_path, foxit::common::file::ReaderCallback* cookies_reader, const HTML2PDFSettingData& setting_data, const wchar_t* saved_pdf_path, int32 timeout);
1927 
1946  static void FromHTML(const wchar_t* src_html, const wchar_t* engine_path, foxit::common::file::ReaderCallback* cookies_reader, const HTML2PDFSettingData& setting_data, foxit::common::file::WriterCallback* saved_pdf_filestream, int32 timeout);
1947 
1968  static void FromHTML(foxit::common::file::ReaderCallback* src_html, const HTML2PDFRelatedResourceArray& html2pdf_related_resource_array, const wchar_t* engine_path, foxit::common::file::ReaderCallback* cookies_reader, const HTML2PDFSettingData& setting_data, foxit::common::file::WriterCallback* saved_pdf_filestream, int32 timeout);
1969 
1979  static void FromTXT(const wchar_t* src_txt, const wchar_t* saved_pdf_path, const TXT2PDFSettingData& setting_data);
1980 
1989  static void FromImage(const wchar_t* src_img, const wchar_t* saved_pdf_path);
1990 
2001  static void FromImage(foxit::common::file::ReaderCallback* file_reader, foxit::common::file::WriterCallback* saved_pdf_filestream);
2002 
2017  static bool FromDWG(const wchar_t* engine_path, const wchar_t* src_dwg_path, const wchar_t* saved_pdf_path,
2018  const DWG2PDFSettingData& settings);
2019 
2020 #if (defined(_WIN32) || defined(_WIN64))
2021 
2036  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, Office2PdfEngine engine= e_Office2PdfEngineMicrosoft);
2037 
2053  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, Office2PdfEngine engine= e_Office2PdfEngineMicrosoft);
2054 
2070  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, Office2PdfEngine engine= e_Office2PdfEngineMicrosoft);
2071 
2072 #elif defined(__linux__) && !(defined(__ANDROID__) || defined(_FS_IOS_) || defined(_SWIG_ANDROID_) || defined(_SWIG_IOS_))
2073 
2098  static void FromWord(const wchar_t* src_word_file_path, const wchar_t* src_file_password, const wchar_t* saved_pdf_path, const wchar_t* engine_path, const Word2PDFSettingData& setting_data, const wchar_t* fx_engine_path = L"", const wchar_t* specified_user_profile_path = L"");
2099 
2125  static void FromExcel(const wchar_t* src_excel_file_path, const wchar_t* src_file_password, const wchar_t* saved_pdf_path, const wchar_t* engine_path, const Excel2PDFSettingData& setting_data, const wchar_t* fx_engine_path = L"", const wchar_t* specified_user_profile_path = L"");
2126 
2152  static void FromPowerPoint(const wchar_t* src_ppt_file_path, const wchar_t* src_file_password, const wchar_t* saved_pdf_path, const wchar_t* engine_path, const PowerPoint2PDFSettingData& setting_data, const wchar_t* fx_engine_path = L"", const wchar_t* specified_user_profile_path = L"");
2153 #endif
2154 
2176  static bool ToXML(const wchar_t* src_pdf_path, const wchar_t* src_file_password, const wchar_t* saved_xml_path, const wchar_t* saved_image_folder_path, bool is_force_to_tagged_pdf);
2177 
2178 };
2179 
2180 #if (defined(_WIN32) || defined(_WIN64)) || defined(__linux__) && defined(_BUILD_OFDSDK_)
2181 
2182 class OFDConvertParam FS_FINAL : public Object{
2183  public:
2185  OFDConvertParam() : document_index(0)
2186  , is_embed_font(false)
2187  , ofd2pdf_sign_pic_red2black(false)
2188  , dpi(96)
2189  , dib_format(foxit::common::Bitmap::e_DIBArgb)
2190  , jpg_quality(75)
2191  , img_width(0.0)
2192  , img_height(0.0)
2193  , page_split_x_count(1)
2194  , page_split_y_count(1)
2195  , password("") {
2196  }
2197 
2203  OFDConvertParam(int document_index, bool is_embed_font, bool ofd2pdf_sign_pic_red2black, int dpi,
2204  common::Bitmap::DIBFormat dib_format, int jpg_quality, float img_width, float img_height,
2205  int page_split_x_count, int page_split_y_count, String password) {
2206  this->document_index = document_index;
2207  this->is_embed_font = is_embed_font;
2208  this->ofd2pdf_sign_pic_red2black = ofd2pdf_sign_pic_red2black;
2209  this->dpi = dpi;
2210  this->dib_format = dib_format;
2211  this->jpg_quality = jpg_quality;
2212  this->img_width = img_width;
2213  this->img_height = img_height;
2214  this->password = password;
2215  }
2216 
2224  void Set(int document_index, bool is_embed_font, bool ofd2pdf_sign_pic_red2black, int dpi,
2225  common::Bitmap::DIBFormat dib_format, int jpg_quality, float img_width, float img_height,
2226  int page_split_x_count, int page_split_y_count, String password) {
2227  this->document_index = document_index;
2228  this->is_embed_font = is_embed_font;
2229  this->ofd2pdf_sign_pic_red2black = ofd2pdf_sign_pic_red2black;
2230  this->dpi = dpi;
2231  this->dib_format = dib_format;
2232  this->jpg_quality = jpg_quality;
2233  this->img_width = img_width;
2234  this->img_height = img_height;
2235  this->password = password;
2236  }
2237 
2239  int document_index;
2240  bool is_embed_font;
2241  bool ofd2pdf_sign_pic_red2black;
2242 
2243  int dpi;
2244  common::Bitmap::DIBFormat dib_format;
2245  int jpg_quality;
2246  float img_width;
2247  float img_height;
2248 
2249  int page_split_x_count;
2250  int page_split_y_count;
2251 
2252  String password;
2253 };
2254 
2256 class OfdConvert FS_FINAL : public Base {
2257  public:
2268  static bool ToPdf(const wchar_t* src_ofd_path, const char* password, const wchar_t* saved_pdf_file_path, OFDConvertParam convert_param);
2269 
2280  static bool FromPdf(const wchar_t* src_pdf_path, const char* password, const wchar_t* saved_ofd_file_path, OFDConvertParam convert_param);
2281 
2295  static bool ToImage(const wchar_t* src_ofd_path, const char* password, const wchar_t* saved_img_file_path, OFDConvertParam convert_param, int page_index = 0);
2296 };
2297 #endif // (defined(_WIN32) || defined(_WIN64)) || defined(__linux__) && defined(_BUILD_OFDSDK_)
2298 
2299 }
2300 }
2301 }
2302 #endif
编码格式:"JIS"。
Definition: fs_convert.h:98
bool include_doc_props
一个布尔值,指示是否在转换的PDF文档中包含Word文档属性。
Definition: fs_convert.h:1404
virtual void Release()=0
用于释放当前回调对象自身的回调函数。
可搜索文本类型:仅使用SHX字体显示的文本可搜索。
Definition: fs_convert.h:830
DWG2PDFLineweightStyleMode
用于DWG到PDF转换的线宽/打印样式模式枚举。
Definition: fs_convert.h:890
int32 geometry_output_dpi
几何图形输出DPI设置。
Definition: fs_convert.h:1109
可搜索文本类型:仅使用TTF字体显示的文本可搜索。
Definition: fs_convert.h:832
ConvertBookmarkOption bookmark_option
用于Word到PDF转换的书签选项,指定是否将书签导出到转换的PDF文件, 以及书签的类型。请参考从 Word2PDFSettingData::e_ConvertBookmarkOptionNone 开...
Definition: fs_convert.h:1425
颜色策略:图形导出为单色PDF文件。
Definition: fs_convert.h:844
uint32 export_flags
用于转换的PDF文档的导出标志。请参考从 DWG2PDFSettingData::e_FlagEmbededTTF 开始的值, 这可以是这些值中的一个或多个的组合。 也可以是0,表示标志中的所有位都是0...
Definition: fs_convert.h:981
foxit::WString drawing_size_block_reference_name
用于计算图幅缩放比例的块参照名。
Definition: fs_convert.h:1201
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, bool to_generate_bookmarks, HTML2PDFScalingMode scaling_mode, HTML2PDFEncodingFormat encoding_format, bool to_render_images, bool to_remove_underline_for_link, bool to_set_headerfooter, const wchar_t *headerfooter_title, const wchar_t *headerfooter_url, const wchar_t *bookmark_root_name, bool to_resize_objects, bool to_print_background, bool to_optimize_tag_tree, HTML2PDFMediaStyle media_style, bool to_load_active_content, bool to_disable_sandbox, bool to_use_blacklist, bool to_hide_header, bool to_hide_footer, bool to_deny_local_file_access)
设置值。
Definition: fs_convert.h:415
编码格式:"X-KDDI-Shift_JIS"。
Definition: fs_convert.h:210
DWG2PDFLayoutScope layout_scope
布局导出范围。
Definition: fs_convert.h:1148
bool convert_to_pdfa
(保留)一个布尔值,指示是否转换为PDF/A文件或普通PDF文件。 目前,这是无用的,Foxit PDF SDK将视为false。
Definition: fs_convert.h:1434
编码格式:"EUC-CN"。
Definition: fs_convert.h:104
编码格式:"X-SoftBank-ISO-2022-JP"。
Definition: fs_convert.h:218
编码格式:"KOI8R"。
Definition: fs_convert.h:118
位9。启用内部PDF流的压缩。
Definition: fs_convert.h:787
bool is_convert_link
用于决定是否转换网页链接。
Definition: fs_convert.h:489
HTML2PDFScalingMode
用于将HTML转换为PDF的缩放模式枚举。
Definition: fs_convert.h:56
OutputType output_type
输出类型,用于指定PowerPoint文档的哪个组件(幻灯片、讲义、备注页或大纲) 将转换为PDF文档。请参考从 PowerPoint2PDFSettingData::e_OutputSlides 开始...
Definition: fs_convert.h:1769
void Set(ConvertIntent intent, bool frame_output_slides, OutputType output_type, HandoutOrder handout_order, bool output_hidden_slides, bool include_doc_props, bool disable_vba_code)
设置值。
Definition: fs_convert.h:1739
媒体样式:屏幕。意味着PDF页面将以屏幕媒体样式显示。
Definition: fs_convert.h:228
将 DWG2PDFSettingData::e_DWG2PDFLayoutScopeAutoRects 和 DWG2PDFSettingData::e_DWG2PDFLayoutScopeAllLayo...
Definition: fs_convert.h:882
文件写入接口。
Definition: fx_stream.h:470
bool to_deny_local_file_access
用于决定在转换HTML文件时是否拒绝本地文件访问。 在Linux x86平台上不支持。
Definition: fs_convert.h:604
DWG2PDFSearchableTextType
用于DWG到PDF转换的可搜索文本类型枚举。
Definition: fs_convert.h:826
编码格式:"VISUAL"。
Definition: fs_convert.h:152
导出图形边界范围。
Definition: fs_convert.h:874
页面缩放:缩放。这意味着HTML内容将被缩放以适应PDF页面大小。在此模式下,文本大小可能会改变。
Definition: fs_convert.h:60
编码格式:"X-DoCoMo-Shift_JIS"。
Definition: fs_convert.h:212
填充导出类型:将填充导出为三角形集合(矢量化器)。
Definition: fs_convert.h:814
HandoutOrder
用于指定PowerPoint到PDF转换时幻灯片在转换的讲义中出现的页面布局顺序的枚举。 讲义可用于在将PowerPoint转换为PDF时在一页上显示多个幻灯片。
Definition: fs_convert.h:1625
void Set(float page_width, float page_height, RectF page_margin, const common::Font &font, float text_size, ARGB text_color, float linespace, bool is_break_page)
设置值。
Definition: fs_convert.h:679
void * progress_callback
指向 DWG2PDFProgressCallback 对象的指针,用于接收DWG转换为PDF的进度。 此参数可以是NULL。
Definition: fs_convert.h:1100
DWG2PDFSearchableTextType searchable_text_type
搜索文本类型的类型。
Definition: fs_convert.h:1019
ConvertOptimizeOption
用于Word到PDF转换的优化选项枚举(指定分辨率和质量)。
Definition: fs_convert.h:1272
DWG2PDFColorPolicy color_policy
用于转换的PDF文档的颜色策略。
Definition: fs_convert.h:1087
编码格式:"X-TAM-ELANGO"。
Definition: fs_convert.h:198
int32 background_color_index
CAD调色板背景颜色索引(范围:[0-255])。
Definition: fs_convert.h:1137
CFX_Object Object
对象类型。
Definition: fs_basictypes.h:220
bool is_break_page
用于决定在转换的PDF文档中遇到字符0x0c时是否插入分页符。
Definition: fs_convert.h:718
编码格式:"Latin2"。
Definition: fs_convert.h:76
编码格式:"CP874"。
Definition: fs_convert.h:124
编码格式:"X-KDDI-ISO-2022-JP"。
Definition: fs_convert.h:216
float page_height
用于转换的PDF文档的页面高度。
Definition: fs_convert.h:695
bool to_optimize_tag_tree
用于决定是否优化标签树。
Definition: fs_convert.h:539
virtual void OnProgress(const wchar_t *message, float progress)=0
在DWG转换为PDF时调用的回调函数。
编码格式:"CP1257"。
Definition: fs_convert.h:142
foxit::WString output_creator
输出PDF文档的创建者,默认使用空字符串。
Definition: fs_convert.h:1053
bool is_to_page_scale
用于决定是否缩放转换的PDF页面。
Definition: fs_convert.h:472
在以讲义类型转换PowerPoint时,转换时连续幻灯片 首先水平显示(按水平行排列)的讲义。
Definition: fs_convert.h:1630
颜色策略:图形导出为灰度PDF文件。原生颜色转换为灰度。
Definition: fs_convert.h:846
PDF文档相关定义和类的头文件。
float page_height
用于转换的PDF文档的页面高度(单位为1/72英寸)。
Definition: fs_convert.h:464
int32 page_margin
页面边距(毫米)。
Definition: fs_convert.h:1181
bool disable_vba_code
一个布尔值,决定是否禁用PowerPoint文档中VBA代码的执行。
Definition: fs_convert.h:1812
bool ignore_print_area
一个布尔值,指示在将Excel文档转换为PDF文件时是否忽略任何设置的打印区域。
Definition: fs_convert.h:1576
可搜索文本类型:无可搜索文本。
Definition: fs_convert.h:828
媒体样式:打印。意味着PDF页面将以打印媒体样式显示。
Definition: fs_convert.h:230
输出类型:每个讲义页包含四个幻灯片的讲义。
Definition: fs_convert.h:1657
填充导出类型:将填充导出为位图。
Definition: fs_convert.h:812
编码格式:"EUC"。
Definition: fs_convert.h:110
ConvertOptimizeOption optimize_option
Word转换为PDF的优化选项,指定转换的PDF文档的分辨率和质量。请参考从 Word2PDFSettingData::e_ConvertOptimizeOptionForPrint 开始的值, 应该是...
Definition: fs_convert.h:1411
bool convert_to_pdfa
(保留)一个布尔值,指示是否转换为PDF/A文件或普通PDF文件。 目前,这是无用的,Foxit PDF SDK将视为false。
Definition: fs_convert.h:1592
编码格式:"X-SoftBank-Shift_JIS"。
Definition: fs_convert.h:214
位8。确定软件是否对相应视口使用矢量隐藏线移除。
Definition: fs_convert.h:785
编码格式:"ISO-8859-11"。
Definition: fs_convert.h:148
编码格式:"BIG5_HKSCS"。
Definition: fs_convert.h:164
bool to_generate_bookmarks
用于决定是否生成书签。
Definition: fs_convert.h:501
编码格式:"TSCII"。
Definition: fs_convert.h:168
ScaleType scale_type
将Excel文档转换为PDF文件时Excel工作表的缩放类型。 请参考从 Excel2PDFSettingData::e_ScaleTypeNone 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:1583
ConvertIntent intent
转换意图。请参考从 PowerPoint2PDFSettingData::e_ConvertIntentPrint 开始的值,应该是这些值中的一个。
Definition: fs_convert.h:1754
输出类型:每个讲义页包含一个幻灯片的讲义。
Definition: fs_convert.h:1651
DWG2PDFExportHatchesType
用于DWG到PDF转换的填充导出类型枚举。
Definition: fs_convert.h:810
编码格式:"BHASKAR"。
Definition: fs_convert.h:180
bool is_generate_tag
用于决定是否生成标签。
Definition: fs_convert.h:492
优化选项:为屏幕转换,质量较低,文件大小较小。
Definition: fs_convert.h:1276
文件读取接口。
Definition: fx_stream.h:587
DIBFormat
DIB 格式的枚举。
Definition: fs_image.h:43
float page_width
用于转换的PDF文档的页面宽度(单位为1/72英寸)。
Definition: fs_convert.h:455
编码格式:"TAM"。
Definition: fs_convert.h:170
HTML2PDFSettingData()
构造函数。
Definition: fs_convert.h:235
宽字符串类
Definition: fx_string.h:1457
位2。启用TTF字体文本到几何形状的转换。
Definition: fs_convert.h:765
common::Rotation rotate_degrees
用于转换的PDF页面的旋转度数。请参考从 common::e_Rotation0 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:486
DWG2PDFExportHatchesType other_export_hatches_type
其他(非实体)填充导出的类型。
Definition: fs_convert.h:999
位7。启用TTF字体程序嵌入PDF文件。通过删除未使用的部分来减少TTF字体(PDF文件较小,但编辑受限)。
Definition: fs_convert.h:781
bool frame_output_slides
一个布尔值,指示是否在转换的PDF文档中为输出幻灯片添加边框。
Definition: fs_convert.h:1762
不应用打印样式,也不应用线宽。
Definition: fs_convert.h:892
位4。启用简单几何优化(分离的线段合并为一条折线,贝塞尔曲线控制点)。
Definition: fs_convert.h:773
Excel2PDFSettingData()
构造函数。
Definition: fs_convert.h:1479
编码格式:"Latin4"。
Definition: fs_convert.h:80
自动识别并导出模型空间中的多个矩形区域。
Definition: fs_convert.h:878
基于布局越界检查自动选择导出布局或模型空间。
Definition: fs_convert.h:876
bool to_hide_header
用于决定是否隐藏页眉。在Linux x86平台上不支持。
Definition: fs_convert.h:592
bool is_active_layout
true表示仅导出活动布局,false表示不仅导出活动布局。默认值:false。
Definition: fs_convert.h:1028
HTML2PDFEncodingFormat encoding_format
HTML编码格式。请参考从 HTML2PDFSettingData::e_EncodingFormatDefault 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:512
DWG2PDFLineweightStyleMode lineweight_style_mode
线宽/打印样式模式。
Definition: fs_convert.h:1165
编码格式:"Greek"。
Definition: fs_convert.h:90
编码格式:"UTF7"。
Definition: fs_convert.h:178
将一个工作表的所有行适合一页。
Definition: fs_convert.h:1472
编码格式:"HZ-GB-2312"。
Definition: fs_convert.h:194
输出类型:每个讲义页包含两个幻灯片的讲义。
Definition: fs_convert.h:1653
ScaleType
用于Excel到PDF转换中Excel文档中每个工作表的缩放类型枚举。
Definition: fs_convert.h:1466
编码格式:"GB18030"。
Definition: fs_convert.h:162
编码格式:"CP852"。
Definition: fs_convert.h:120
double lineweight_scale_factor
线宽缩放系数。
Definition: fs_convert.h:1191
编码格式:默认。编码格式将在chromium中自动检测。
Definition: fs_convert.h:72
bool disable_vba_code
一个布尔值,决定是否禁用Word文档中VBA代码的执行。
Definition: fs_convert.h:1443
填充导出类型:将填充导出为PDF路径(仅限实体填充)。
Definition: fs_convert.h:816
按索引导出指定布局,索引由 DWG2PDFSettingData::layout_index 指定。
Definition: fs_convert.h:880
编码格式:"ASCII-7-bit"。
Definition: fs_convert.h:116
编码格式:"JAGRAN"。
Definition: fs_convert.h:174
ConvertIntent
用于PowerPoint到PDF转换的意图枚举。
Definition: fs_convert.h:1612
将模型空间中已配置的图框块区域导出为多页PDF。
Definition: fs_convert.h:872
优化选项:为打印转换,质量较高,文件大小较大。
Definition: fs_convert.h:1274
ConvertBookmarkOption
用于Word到PDF转换的书签选项枚举。
Definition: fs_convert.h:1296
编码格式:"EUC-JP"。
Definition: fs_convert.h:94
输出类型:每个讲义页包含三个幻灯片的讲义。
Definition: fs_convert.h:1655
编码格式:"CP932"。
Definition: fs_convert.h:126
bool include_doc_props
一个布尔值,指示是否在转换的PDF文档中包含Excel文档属性。
Definition: fs_convert.h:1561
float text_size
字体大小。如果有效,应该大于0。
Definition: fs_convert.h:709
输出类型:备注页。
Definition: fs_convert.h:1647
缩放模式:固定页面无缩放。在此模式下,HTML内容的文本大小不会改变。
Definition: fs_convert.h:58
DWG2PDFExportFlags
DWG到PDF导出标志的枚举。
Definition: fs_convert.h:757
编码格式:"X-TAM-WEBTAMIL"。
Definition: fs_convert.h:208
bool is_output_progress
一个布尔值,指示是否输出进度日志。 true表示输出进度日志,false表示不输出。 默认值:true。
Definition: fs_convert.h:1094
HTML2PDFMediaStyle media_style
用于转换的PDF文档的媒体样式。请参考从 HTML2PDFSettingData::e_MediaStyleScreen 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:545
RectF page_margin
用于转换的PDF文档的页面边距。
Definition: fs_convert.h:480
OutputType
用于PowerPoint到PDF转换的输出类型枚举。
Definition: fs_convert.h:1643
编码格式:"Unicode"。
Definition: fs_convert.h:108
编码格式:"CP866"。
Definition: fs_convert.h:122
HTML2PDFPageMode
用于将HTML转换为PDF的页面模式枚举。
Definition: fs_convert.h:44
编码格式:"KOI8U"。
Definition: fs_convert.h:144
编码格式:"CP1256"。
Definition: fs_convert.h:140
编码格式:"CP1250"。
Definition: fs_convert.h:128
编码格式:"TAB"。
Definition: fs_convert.h:172
页面缩放:放大。这意味着PDF页面将被放大到HTML内容大小。在此模式下,HTML内容的文本大小不会改变。
Definition: fs_convert.h:62
HTML2PDFScalingMode scaling_mode
用于转换的PDF文档的缩放模式。请参考从 HTML2PDFSettingData::e_ScalingModeNone 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:507
uint32 ARGB
ARGB 颜色类型,32 位,((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_basictypes.h:209
意图:转换结果文件将用于屏幕显示。
Definition: fs_convert.h:1616
HTML2PDFEncodingFormat
用于将HTML转换为PDF的编码格式枚举。
Definition: fs_convert.h:70
foxit::WString output_subject
输出PDF文档的主题,默认使用空字符串。
Definition: fs_convert.h:1043
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, bool to_generate_bookmarks, HTML2PDFScalingMode scaling_mode, HTML2PDFEncodingFormat encoding_format, bool to_render_images, bool to_remove_underline_for_link, bool to_set_headerfooter, const wchar_t *headerfooter_title, const wchar_t *headerfooter_url, const wchar_t *bookmark_root_name, bool to_resize_objects, bool to_print_background, bool to_optimize_tag_tree, HTML2PDFMediaStyle media_style, bool to_load_active_content, bool to_disable_sandbox, bool to_use_blacklist, bool to_hide_header, bool to_hide_footer, bool to_deny_local_file_access)
带参数的构造函数。
Definition: fs_convert.h:303
位10。启用内部PDF流的ASCIIHex编码。
Definition: fs_convert.h:789
编码格式:"CP1255"。
Definition: fs_convert.h:138
编码格式:"HTCHANAKYA"。
Definition: fs_convert.h:182
将一个工作表适合一页。
Definition: fs_convert.h:1474
编码格式:"CSN_369103"。
Definition: fs_convert.h:154
编码格式:"ISO-8859-8-I"。
Definition: fs_convert.h:150
将一个工作表的所有列适合一页。
Definition: fs_convert.h:1470
int32 color_image_output_dpi
彩色图像输出DPI设置。
Definition: fs_convert.h:1118
位15。在PDF中启用测量比例。
Definition: fs_convert.h:802
HTML2PDFPageMode page_mode
用于转换的页面模式。请参考从 HTML2PDFSettingData::e_PageModeSinglePage 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:498
位1。启用TTF(True Type Font)程序嵌入PDF文件。整个TTF字体文件将被嵌入(PDF文件较大)。
Definition: fs_convert.h:761
foxit::WString output_producer
输出PDF文档的生产者,默认使用空字符串。
Definition: fs_convert.h:1058
编码格式:"SJS"。
Definition: fs_convert.h:96
bool to_use_blacklist
用于决定是否使用黑名单。
Definition: fs_convert.h:589
foxit::WString frame_block_configuration_path
框选块模式配置XML路径。
Definition: fs_convert.h:1242
bool to_set_headerfooter
用于决定是否设置页眉页脚。
Definition: fs_convert.h:521
foxit::WString output_keywords
输出PDF文档的关键词,默认使用空字符串。
Definition: fs_convert.h:1048
double maximum_drawing_area
允许的最大图框尺寸(单位是毫米)。
Definition: fs_convert.h:1212
编码格式:"UTF-32LE"。
Definition: fs_convert.h:190
Excel2PDFSettingData(bool include_doc_props, ConvertQuality quality, bool ignore_print_area, ScaleType scale_type, bool convert_to_pdfa, bool disable_vba_code)
带参数的构造函数。
Definition: fs_convert.h:1502
应用打印样式并应用线宽。
Definition: fs_convert.h:894
foxit::WString bookmark_root_name
书签的根名称。
Definition: fs_convert.h:530
bool to_print_background
用于决定是否打印背景。
Definition: fs_convert.h:536
输出类型:每个讲义页包含六个幻灯片的讲义。
Definition: fs_convert.h:1659
DWG2PDFExportHatchesType gradient_export_hatches_type
渐变填充导出的类型。
Definition: fs_convert.h:1008
int32 monochrome_image_output_dpi
黑白图像输出DPI设置。
Definition: fs_convert.h:1127
bool enable_diagnostic_log_output
是否输出DWG2PDF诊断日志。
Definition: fs_convert.h:1259
TXT2PDFSettingData & operator=(const TXT2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:653
bool to_hide_footer
用于决定是否隐藏页脚。在Linux x86平台上不支持。
Definition: fs_convert.h:595
编码格式:"UTF-32BE"。
Definition: fs_convert.h:188
在转换的PDF文件中不创建书签。
Definition: fs_convert.h:1298
转换Word文档而不包含标记。
Definition: fs_convert.h:1286
Word2PDFSettingData & operator=(const Word2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:1358
意图:转换结果文件将用于打印。
Definition: fs_convert.h:1614
FX_UINT32 uint32
无符号 32 位整数。
Definition: fs_basictypes.h:195
RectF page_margin
用于转换的PDF文档的页面边距。
Definition: fs_convert.h:703
bool to_disable_sandbox
用于决定是否禁用沙盒。
Definition: fs_convert.h:561
填充导出类型:将填充导出为多边形(仅限实体填充)。
Definition: fs_convert.h:818
HandoutOrder handout_order
讲义顺序,用于指定幻灯片在转换的讲义中出现的页面布局顺序。 在将PowerPoint转换为PDF时,讲义可用于在一页上显示多个幻灯片。 请参考从 PowerPoint2PDFSettingData::e...
Definition: fs_convert.h:1787
DWG2PDFSettingData()
带参数的构造函数。
Definition: fs_convert.h:903
CFX_ByteString String
字节字符串。
Definition: fs_basictypes.h:224
编码格式:"CP1252"。
Definition: fs_convert.h:132
common::Font font
字体对象。
Definition: fs_convert.h:706
编码格式:"ASCII"。
Definition: fs_convert.h:74
通用定义和类的头文件。
位12。如果启用,布局几何将缩放到纸张大小,否则将应用布局设置。
Definition: fs_convert.h:798
bool treat_inches_as_millimeters
是否将英寸尺寸按毫米处理。
Definition: fs_convert.h:1252
DWG2PDFSettingData & operator=(const DWG2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:937
int32 layout_index
布局索引:当 DWG2PDFSettingData::layout_scope 为 DWG2PDFSettingData::e_DWG2PDFLayoutScopeLayoutByIndex 时生效。
Definition: fs_convert.h:1156
编码格式:"BIG5"。
Definition: fs_convert.h:100
void Set(bool include_doc_props, ConvertQuality quality, bool ignore_print_area, ScaleType scale_type, bool convert_to_pdfa)
设置值。
Definition: fs_convert.h:1545
编码格式:"MACINTOSH"。
Definition: fs_convert.h:176
bool output_hidden_slides
一个布尔值,指示是否将隐藏的幻灯片转换到转换的PDF文档中。
Definition: fs_convert.h:1795
通过使用Word文档的每个标题在转换的PDF文件中创建书签。
Definition: fs_convert.h:1304
编码格式:"CP1254"。
Definition: fs_convert.h:136
编码格式:"X-TAM-TMNEWS"。
Definition: fs_convert.h:206
位5。如果启用,图层支持将添加到PDF文件(需要1.5版本)。
Definition: fs_convert.h:775
HTML2PDFSettingData & operator=(const HTML2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:345
FX_INT32 int32
有符号 32 位整数。
Definition: fs_basictypes.h:193
float paper_height
用于转换的PDF文档的纸张高度。
Definition: fs_convert.h:1078
Definition: fs_basictypes.h:471
DWG2PDFExportHatchesType export_hatches_type
实体填充导出的类型。
Definition: fs_convert.h:990
Word2PDFSettingData()
构造函数。
Definition: fs_convert.h:1314
颜色策略:索引色转换为黑色,其它颜色保持对象原始颜色。
Definition: fs_convert.h:848
编码格式:"X-TAM-LTTMBARANI"。
Definition: fs_convert.h:200
void Set(bool include_doc_props, ConvertOptimizeOption optimize_option, ConvertContentOption content_option, ConvertBookmarkOption bookmark_option, bool convert_to_pdfa, bool disable_vba_code)
设置值。
Definition: fs_convert.h:1387
double plot_scale_factor
打印缩放系数。
Definition: fs_convert.h:1173
编码格式:"X-TAM-TBOOMIS"。
Definition: fs_convert.h:204
编码格式:"ISO-8859-13"。
Definition: fs_convert.h:156
PDF页面相关定义和类的头文件。
编码格式:"Hebrew"。
Definition: fs_convert.h:92
bool to_render_images
用于决定是否渲染图像。
Definition: fs_convert.h:515
ConvertContentOption content_option
用于Word到PDF转换的内容选项,指定Word文档的多少内容将转换为PDF文件。 请参考从 Word2PDFSettingData::e_ConvertContentOptionOnlyContent...
Definition: fs_convert.h:1418
PowerPoint2PDFSettingData()
构造函数。
Definition: fs_convert.h:1666
编码格式:"Latin3"。
Definition: fs_convert.h:78
ConvertQuality quality
Excel转换为PDF的质量。请参考从 Excel2PDFSettingData::e_ConvertQualityStandard 开始的值, 应该是这些值中的一个。
Definition: fs_convert.h:1568
编码格式:"GBK"。
Definition: fs_convert.h:160
应用打印样式但忽略线宽。
Definition: fs_convert.h:896
转换Word文档并包含标记。
Definition: fs_convert.h:1288
导出模型空间和全部有效布局。
Definition: fs_convert.h:864
Definition: fs_common.h:1523
float paper_width
用于转换的PDF文档的纸张宽度。
Definition: fs_convert.h:1068
DWG2PDFLayoutScope
用于DWG到PDF转换的布局导出范围枚举。
Definition: fs_convert.h:856
不旋转。
Definition: fs_common.h:59
Rotation
旋转的枚举。
Definition: fs_common.h:57
Foxit 命名空间。
Definition: fs_accessibility.h:28
Word2PDFSettingData(bool include_doc_props, ConvertOptimizeOption optimize_option, ConvertContentOption content_option, ConvertBookmarkOption bookmark_option, bool convert_to_pdfa, bool disable_vba_code)
带参数的构造函数。
Definition: fs_convert.h:1340
TXT2PDFSettingData(float page_width, float page_height, RectF page_margin, const common::Font &font, float text_size, ARGB text_color, float linespace, bool is_break_page)
带参数的构造函数。
Definition: fs_convert.h:634
bool to_load_active_content
用于决定是否加载活动内容。
Definition: fs_convert.h:554
字节字符串类
Definition: fx_string.h:317
编码格式:"ISO_2022_CN"。
Definition: fs_convert.h:166
double minimum_export_rect_side_length
自动矩形导出时的最小图框边长(单位是毫米)。
Definition: fs_convert.h:1223
DWG2PDFColorPolicy
用于DWG到PDF转换的颜色策略枚举。
Definition: fs_convert.h:840
TXT2PDFSettingData()
构造函数。
Definition: fs_convert.h:611
位13。创建线性化PDF文件。
Definition: fs_convert.h:800
编码格式:"X-TAM-SHREE"。
Definition: fs_convert.h:202
编码格式:"UTF-16LE"。
Definition: fs_convert.h:186
编码格式:"KSC"。
Definition: fs_convert.h:106
bool to_resize_objects
是否在渲染过程中启用与Javascript相关的对象调整大小功能。
Definition: fs_convert.h:533
编码格式:"ISO-2022-KR"。
Definition: fs_convert.h:158
编码格式:"Arabic"。
Definition: fs_convert.h:88
在以讲义类型转换PowerPoint时,转换时连续幻灯片 首先垂直显示(按垂直列排列)的讲义。
Definition: fs_convert.h:1635
foxit::WString output_title
输出PDF文档的标题,默认使用空字符串。
Definition: fs_convert.h:1033
编码格式:"Latin6"。
Definition: fs_convert.h:84
HTML2PDFMediaStyle
用于将HTML转换为PDF的媒体样式枚举。
Definition: fs_convert.h:226
编码格式:"X-BINARYENC"。
Definition: fs_convert.h:192
编码格式:"GB"。
Definition: fs_convert.h:102
颜色策略:无颜色策略。图形以其原生颜色调色板导出(原样导出)。
Definition: fs_convert.h:842
#define NULL
空指针值。
Definition: fx_system.h:792
用于将DWG转换为PDF的回调类。
Definition: fs_convert.h:726
输出类型:大纲视图。
Definition: fs_convert.h:1649
位11。启用超链接导出。
Definition: fs_convert.h:791
foxit::WString headerfooter_title
页眉页脚标题,作为中央页眉的内容。
Definition: fs_convert.h:524
编码格式:"CP1253"。
Definition: fs_convert.h:134
float page_width
用于转换的PDF文档的页面宽度。
Definition: fs_convert.h:692
bool disable_vba_code
一个布尔值,决定是否禁用Excel文档中VBA代码的执行。
Definition: fs_convert.h:1601
bool to_remove_underline_for_link
用于决定是否为链接移除下划线装饰。
Definition: fs_convert.h:518
bool include_doc_props
一个布尔值,指示是否在转换的PDF文档中包含PowerPoint文档属性。
Definition: fs_convert.h:1803
PowerPoint2PDFSettingData(ConvertIntent intent, bool frame_output_slides, OutputType output_type, HandoutOrder handout_order, bool output_hidden_slides, bool include_doc_props, bool disable_vba_code)
带参数的构造函数。
Definition: fs_convert.h:1692
Definition: fs_convert.h:1874
输出类型:每个讲义页包含九个幻灯片的讲义。
Definition: fs_convert.h:1661
foxit::WString headerfooter_url
页眉页脚URL,作为左侧页脚的内容。
Definition: fs_convert.h:527
编码格式:"Latin5"。
Definition: fs_convert.h:82
ARGB text_color
字体颜色。
Definition: fs_convert.h:712
通过使用Word文档的每个书签在转换的PDF文件中创建书签。
Definition: fs_convert.h:1309
位3。启用SHX字体文本到几何形状的转换。
Definition: fs_convert.h:769
编码格式:"ISO-8859-5"。
Definition: fs_convert.h:86
编码格式:"BIG5-CP950"。
Definition: fs_convert.h:114
foxit::WString output_author
输出PDF文档的作者,默认使用空字符串。
Definition: fs_convert.h:1038
编码格式:"UTF-16BE"。
Definition: fs_convert.h:184
位6。如果启用,不可见图层将添加到PDF文件(需要1.5版本)。
Definition: fs_convert.h:777
float linespace
行间距。如果有效,应该大于0。
Definition: fs_convert.h:715
ConvertQuality
Excel转换为PDF的质量枚举。
Definition: fs_convert.h:1454
编码格式:"CNS"。
Definition: fs_convert.h:112
输出类型:幻灯片。
Definition: fs_convert.h:1645
ConvertContentOption
内容选项枚举,指定Word文档的多少内容将转换为PDF文档。
Definition: fs_convert.h:1284
编码格式:"CP1251"。
Definition: fs_convert.h:130
编码格式:"ISO-8859-15"。
Definition: fs_convert.h:146
Excel2PDFSettingData & operator=(const Excel2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:1519
Definition: fx_coordinates.h:771
编码格式:"X-UTF8UTF8"。
Definition: fs_convert.h:196
PowerPoint2PDFSettingData & operator=(const PowerPoint2PDFSettingData &data)
赋值操作符。
Definition: fs_convert.h:1710