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 
bool IsEmpty() const
检查当前对象是否为空。
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文件。
Definition: fs_compliancecommon.h:755
Definition: fs_compliancecommon.h:192
合规性基本类和方法的头文件。
Definition: fs_pdfcompliance.h:41
bool operator==(const PDFCompliance &other) const
相等操作符。
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
Definition: fs_basictypes.h:449
bool operator !=(const PDFCompliance &other) const
不相等操作符。
Foxit命名空间。
Definition: fs_taggedpdf.h:27
#define NULL
空指针值。
Definition: fx_system.h:792
PDFCompliance & operator=(const PDFCompliance &other)
赋值操作符。
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, int convert_to_version, ProgressCallback *progress_callback=0)
将PDF文件转换为指定的PDF版本。