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 {
50 e_VersionPDFX1a = 0,
52 e_VersionPDFX3 = 1,
54 e_VersionPDFX4 = 2,
56 e_VersionPDFX4p = 3,
58 e_VersionPDFX1aCoatedGRACoL2006 = 4,
60 e_VersionPDFX1aISOCoatedv2ECI = 5,
62 e_VersionPDFX1aJapanColor2001Coated = 6,
64 e_VersionPDFX1aPSOCoatedv3ECI = 7,
66 e_VersionPDFX3CoatedGRACoL2006 = 8,
68 e_VersionPDFX3ISOCoatedv2ECI = 9,
70 e_VersionPDFX3JapanColor2001Coated = 10,
72 e_VersionPDFX3PSOCoatedv3ECI = 11,
74 e_VersionPDFX4CoatedGRACoL2006 = 12,
76 e_VersionPDFX4ISOCoatedv2ECI = 13,
78 e_VersionPDFX4JapanColor2001Coated = 14,
80 e_VersionPDFX4PSOCoatedv3ECI = 15,
82 e_VersionPDFX4AndCLLVISOCoatedv2ECI = 16
83 } Version;
84
85
87 PDFXCompliance();
88 // 强烈建议用户不要使用此方法；否则可能发生未知情况。
89 explicit PDFXCompliance(FS_HANDLE handle);
91 ~PDFXCompliance();
97 PDFXCompliance(const PDFXCompliance& other);
98
106 PDFXCompliance& operator = (const PDFXCompliance& other);
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
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4AndCLLVISOCoatedv2ECI
PDF/X-4 并创建语言层视图 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:82
foxit::addon::compliance::PDFXCompliance::ConvertPDFFile
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文件。
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:755
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3ISOCoatedv2ECI
PDF/X-3 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:68
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4ISOCoatedv2ECI
PDF/X-4 (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:76
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aCoatedGRACoL2006
PDF/X-1a (Coated GRACoL 2006)。
Definition: fs_pdfx.h:58
foxit::addon::compliance::PDFXCompliance::IsEmpty
bool IsEmpty() const
检查当前对象是否为空。
foxit::addon::compliance::ComplianceEngine::ViewOrPrintCondition
ViewOrPrintCondition
查看或打印条件的枚举。
Definition: fs_compliancecommon.h:56
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aPSOCoatedv3ECI
PDF/X-1a (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:64
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4CoatedGRACoL2006
PDF/X-4 (Coated GRACoL 2006)。
Definition: fs_pdfx.h:74
foxit::addon::compliance::PDFXCompliance::Version
Version
PDF/X版本的枚举。
Definition: fs_pdfx.h:48
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aISOCoatedv2ECI
PDF/X-1a (ISO Coated v2 (ECI))。
Definition: fs_pdfx.h:60
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:192
fs_compliancecommon.h
合规性基本类和方法的头文件。
foxit::addon::compliance::PDFXCompliance::operator==
bool operator==(const PDFXCompliance &other) const
相等操作符。
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
foxit::addon::compliance::PDFXCompliance::operator=
PDFXCompliance & operator=(const PDFXCompliance &other)
赋值操作符。
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3
PDF/X-3。
Definition: fs_pdfx.h:52
foxit::addon::compliance::PDFXCompliance::PDFXCompliance
PDFXCompliance()
构造函数。
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4JapanColor2001Coated
PDF/X-4 (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:78
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3JapanColor2001Coated
PDF/X-3 (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:70
foxit::Base
Definition: fs_basictypes.h:465
foxit::addon::compliance::PDFXCompliance::Verify
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文件。
foxit::addon::compliance::PDFXCompliance
Definition: fs_pdfx.h:41
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3CoatedGRACoL2006
PDF/X-3 (Coated GRACoL 2006)。
Definition: fs_pdfx.h:66
foxit
Foxit命名空间。
Definition: fs_taggedpdf.h:27
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3PSOCoatedv3ECI
PDF/X-3 (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:72
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4p
PDF/X-4p。
Definition: fs_pdfx.h:56
foxit::addon::compliance::PDFXCompliance::operator !=
bool operator !=(const PDFXCompliance &other) const
不相等操作符。
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aJapanColor2001Coated
PDF/X-1a (Japan Color 2001 Coated)。
Definition: fs_pdfx.h:62
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4
PDF/X-4。
Definition: fs_pdfx.h:54
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4PSOCoatedv3ECI
PDF/X-4 (PSO Coated v3 (ECI))。
Definition: fs_pdfx.h:80
foxit::addon::compliance::PDFXCompliance::~PDFXCompliance
~PDFXCompliance()
析构函数。
NULL
#define NULL
空指针值。
Definition: fx_system.h:792
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1a
PDF/X-1a。
Definition: fs_pdfx.h:50