Foxit PDF SDK
fs_pdfcompliance.h
Go to the documentation of this file.
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  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
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
Check whether current object is empty or not.
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)
Verify a PDF file with specified PDF version.
Definition: fs_compliancecommon.h:751
Definition: fs_compliancecommon.h:187
Header file for compliance basic classes and methods.
Definition: fs_pdfcompliance.h:41
bool operator==(const PDFCompliance &other) const
Equal operator.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Definition: fs_basictypes.h:443
bool operator !=(const PDFCompliance &other) const
Not equal operator.
Foxit namespace.
Definition: fs_taggedpdf.h:27
#define NULL
The null-pointer value.
Definition: fx_system.h:792
PDFCompliance & operator=(const PDFCompliance &other)
Assign operator.
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, int convert_to_version, ProgressCallback *progress_callback=0)
Convert a PDF file to a specified PDF version.