Foxit PDF SDK
fs_pdfcompliance.h
浏览该文件的文档.
1 
16 #ifndef FS_PDFCOMPLIANCE_H_
17 #define FS_PDFCOMPLIANCE_H_
18 
19 #include "fs_compliancecommon.h"
20 
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFCompliance FS_FINAL : public Base {
42  public:
44  PDFCompliance();
45  // 强烈建议用户不要使用此方法;否则可能发生未知情况。
46  explicit PDFCompliance(FS_HANDLE handle);
54  PDFCompliance(const PDFCompliance& other);
55 
71  bool operator == (const PDFCompliance& other) const;
72 
80  bool operator != (const PDFCompliance& other) const;
81 
89  bool IsEmpty() const;
90 
107  ResultInformation Verify(int verify_version, const wchar_t* src_pdf_path,int first_page_index = 0, int last_page_index = -1,
108  ProgressCallback* progress_callback = NULL);
109 
128  ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
129  int convert_to_version, ProgressCallback* progress_callback = NULL);
130 
131 };
132 
133 } // namespace compliance
134 } // namespace addon
135 } // namespace foxit
136 
137 #endif // FS_PDFCOMPLIANCE_H_
138 
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
foxit::addon::compliance::PDFCompliance::Verify
ResultInformation Verify(int verify_version, const wchar_t *src_pdf_path, int first_page_index=0, int last_page_index=-1, ProgressCallback *progress_callback=0)
使用指定的PDF版本验证PDF文件。
foxit::addon::compliance::PDFCompliance::operator=
PDFCompliance & operator=(const PDFCompliance &other)
赋值操作符。
foxit::addon::compliance::PDFCompliance::operator==
bool operator==(const PDFCompliance &other) const
相等操作符。
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:755
foxit::addon::compliance::PDFCompliance::ConvertPDFFile
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, int convert_to_version, ProgressCallback *progress_callback=0)
将PDF文件转换为指定的PDF版本。
foxit::addon::compliance::PDFCompliance::PDFCompliance
PDFCompliance()
构造函数。
foxit::addon::compliance::PDFCompliance::operator!=
bool operator!=(const PDFCompliance &other) const
不相等操作符。
foxit
Foxit命名空间。
Definition: fs_taggedpdf.h:27
fs_compliancecommon.h
合规性基本类和方法的头文件。
NULL
#define NULL
空指针值。
Definition: fx_system.h:792
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:192
foxit::addon::compliance::PDFCompliance::IsEmpty
bool IsEmpty() const
检查当前对象是否为空。
foxit::addon::compliance::PDFCompliance
Definition: fs_pdfcompliance.h:41
foxit::addon::compliance::PDFCompliance::~PDFCompliance
~PDFCompliance()
析构函数。
foxit::Base
Definition: fs_basictypes.h:449