Foxit PDF SDK
fs_pdfa.h
浏览该文件的文档.
1 
16 #ifndef FS_PDFA_H_
17 #define FS_PDFA_H_
18 
19 #include "fs_compliancecommon.h"
20 
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFACompliance FS_FINAL : public Base {
42  public:
48  typedef enum _Version {
71  } Version;
72 
73 
76  // 强烈建议用户不要使用此方法;否则可能发生未知情况。
77  explicit PDFACompliance(FS_HANDLE handle);
85  PDFACompliance(const PDFACompliance& other);
86 
102  bool operator == (const PDFACompliance& other) const;
103 
111  bool operator != (const PDFACompliance& other) const;
112 
120  bool IsEmpty() const;
121 
138  ResultInformation Verify(Version verify_version, const wchar_t* src_pdf_path,
139  int first_page_index = 0, int last_page_index = -1,
140  ProgressCallback* progress_callback = NULL);
141 
154  ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
155  Version convert_to_version, ProgressCallback* progress_callback = NULL);
156 
178  ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path, Version convert_to_version,
179  ComplianceEngine::ViewOrPrintCondition view_or_print_condition,
180  bool convert_problem_pages_into_image, bool convert_all_pages_into_image,
181  int32 image_resolution, ProgressCallback* progress_callback = NULL);
182 };
183 
184 } // namespace compliance
185 } // namespace addon
186 } // namespace foxit
187 
188 #endif // FS_PDFA_H_
189 
PDF/A-1b(无后备转换),仅用于转换。
Definition: fs_pdfa.h:66
PDF/A-3b(无后备转换),仅用于转换。
Definition: fs_pdfa.h:70
Definition: fs_compliancecommon.h:755
ViewOrPrintCondition
查看或打印条件的枚举。
Definition: fs_compliancecommon.h:56
Definition: fs_compliancecommon.h:192
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version, ProgressCallback *progress_callback=0)
使用指定的PDF/A版本转换PDF文件。
合规性基本类和方法的头文件。
Version
PDF/A版本的枚举。
Definition: fs_pdfa.h:48
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:214
bool operator==(const PDFACompliance &other) const
相等操作符。
FX_INT32 int32
有符号 32 位整数。
Definition: fs_basictypes.h:194
Definition: fs_basictypes.h:449
PDF/A-2b(无后备转换),仅用于转换。
Definition: fs_pdfa.h:68
Foxit命名空间。
Definition: fs_taggedpdf.h:27
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/A版本验证PDF文件。
bool operator !=(const PDFACompliance &other) const
不相等操作符。
#define NULL
空指针值。
Definition: fx_system.h:792
bool IsEmpty() const
检查当前对象是否为空。
PDFACompliance & operator=(const PDFACompliance &other)
赋值操作符。