Foxit PDF SDK

fs_pdfe.h
浏览该文件的文档.
1
16 #ifndef FS_PDFE_H_
17 #define FS_PDFE_H_
18
19 #include "fs_compliancecommon.h"
20
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFECompliance FS_FINAL : public Base {
42 public:
48 typedef enum _Version {
50 e_VersionPDFE1 = 1
51 } Version;
52
53
55 PDFECompliance();
56 // 强烈建议用户不要使用此方法；否则可能发生未知情况。
57 explicit PDFECompliance(FS_HANDLE handle);
59 ~PDFECompliance();
65 PDFECompliance(const PDFECompliance& other);
66
74 PDFECompliance& operator = (const PDFECompliance& other);
82 bool operator == (const PDFECompliance& other) const;
83
91 bool operator != (const PDFECompliance& other) const;
92
100 bool IsEmpty() const;
101
116 ResultInformation Verify(const wchar_t* src_pdf_path, int first_page_index = 0, int last_page_index = -1,
117 Version verify_version = e_VersionPDFE1, ProgressCallback* progress_callback = NULL);
118
132 ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
133 Version convert_to_version = e_VersionPDFE1, ProgressCallback* progress_callback = NULL);
134 };
135
136 } // namespace compliance
137 } // namespace addon
138 } // namespace foxit
139
140 #endif // FS_PDFE_H_
foxit::addon::compliance::PDFECompliance::operator==
bool operator==(const PDFECompliance &other) const
相等操作符。
foxit::addon::compliance::PDFECompliance::~PDFECompliance
~PDFECompliance()
析构函数。
foxit::addon::compliance::PDFECompliance::Version
Version
PDF/E版本的枚举。
Definition: fs_pdfe.h:48
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
foxit::addon::compliance::PDFECompliance
Definition: fs_pdfe.h:41
foxit::addon::compliance::PDFECompliance::IsEmpty
bool IsEmpty() const
检查当前对象是否为空。
foxit::addon::compliance::PDFECompliance::operator!=
bool operator!=(const PDFECompliance &other) const
不相等操作符。
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:755
foxit
Foxit命名空间。
Definition: fs_taggedpdf.h:27
fs_compliancecommon.h
合规性基本类和方法的头文件。
foxit::addon::compliance::PDFECompliance::PDFECompliance
PDFECompliance()
构造函数。
NULL
#define NULL
空指针值。
Definition: fx_system.h:792
foxit::addon::compliance::PDFECompliance::Verify
ResultInformation Verify(const wchar_t *src_pdf_path, int first_page_index=0, int last_page_index=-1, Version verify_version=e_VersionPDFE1, ProgressCallback *progress_callback=0)
使用指定的PDF/E版本验证PDF文件。
foxit::addon::compliance::PDFECompliance::e_VersionPDFE1
PDF/E-1。
Definition: fs_pdfe.h:50
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:192
foxit::addon::compliance::PDFECompliance::ConvertPDFFile
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version=e_VersionPDFE1, ProgressCallback *progress_callback=0)
使用指定的PDF/E版本转换PDF文件。
foxit::addon::compliance::PDFECompliance::operator=
PDFECompliance & operator=(const PDFECompliance &other)
赋值操作符。
foxit::Base
Definition: fs_basictypes.h:449