Foxit PDF SDK
fs_pdfx.h
浏览该文件的文档.
1 
16 #ifndef FS_PDFX_H_
17 #define FS_PDFX_H_
18 
19 #include "fs_compliancecommon.h"
20 
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFXCompliance FS_FINAL : public Base {
42  public:
48  typedef enum _Version {
83  } Version;
84 
85 
88  // 强烈建议用户不要使用此方法;否则可能发生未知情况。
89  explicit PDFXCompliance(FS_HANDLE handle);
97  PDFXCompliance(const PDFXCompliance& other);
98 
114  bool operator == (const PDFXCompliance& other) const;
115 
123  bool operator != (const PDFXCompliance& other) const;
124 
132  bool IsEmpty() const;
133 
149  ResultInformation Verify(Version verify_version, const wchar_t* src_pdf_path,
150  int first_page_index = 0, int last_page_index = -1,
151  ProgressCallback* progress_callback = NULL);
152 
173  ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
174  Version convert_to_version,
175  ComplianceEngine::ViewOrPrintCondition view_or_print_condition,
176  bool to_convert_rgb_or_lab, bool to_decalibrate_gray_or_cmyk,
177  ProgressCallback* progress_callback = NULL);
178 
179 };
180 
181 } // namespace compliance
182 } // namespace addon
183 } // namespace foxit
184 
185 #endif // FS_PDFX_H_
186 
PDF/X-4 并创建语言层视图 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:82
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version, ComplianceEngine::ViewOrPrintCondition view_or_print_condition, bool to_convert_rgb_or_lab, bool to_decalibrate_gray_or_cmyk, ProgressCallback *progress_callback=0)
使用指定的PDF/X版本转换PDF文件。
Definition: fs_compliancecommon.h:755
PDF/X-3 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:68
PDF/X-4 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:76
PDF/X-1a (Coated GRACoL 2006)。
Definition: fs_pdfx.h:58
bool IsEmpty() const
检查当前对象是否为空。
ViewOrPrintCondition
查看或打印条件的枚举。
Definition: fs_compliancecommon.h:56
PDF/X-1a (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:64
PDF/X-4 (Coated GRACoL 2006)。
Definition: fs_pdfx.h:74
Version
PDF/X版本的枚举。
Definition: fs_pdfx.h:48
PDF/X-1a (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:60
Definition: fs_compliancecommon.h:192
合规性基本类和方法的头文件。
bool operator==(const PDFXCompliance &other) const
相等操作符。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
PDFXCompliance & operator=(const PDFXCompliance &other)
赋值操作符。
PDF/X-4 (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:78
PDF/X-3 (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:70
Definition: fs_basictypes.h:449
ResultInformation Verify(Version verify_version, const wchar_t *src_pdf_path, int first_page_index=0, int last_page_index=-1, ProgressCallback *progress_callback=0)
使用指定的PDF/X版本验证PDF文件。
PDF/X-3 (Coated GRACoL 2006)。
Definition: fs_pdfx.h:66
Foxit命名空间。
Definition: fs_taggedpdf.h:27
PDF/X-3 (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:72
bool operator !=(const PDFXCompliance &other) const
不相等操作符。
PDF/X-1a (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:62
PDF/X-4 (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:80
#define NULL
空指针值。
Definition: fx_system.h:792