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 
foxit::FS_HANDLE
void * FS_HANDLE
Handle type.
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)
Verify a PDF file with specified PDF version.
foxit::addon::compliance::PDFCompliance::operator=
PDFCompliance & operator=(const PDFCompliance &other)
Assign operator.
foxit::addon::compliance::PDFCompliance::operator==
bool operator==(const PDFCompliance &other) const
Equal operator.
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:395
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)
Convert a PDF file to a specified PDF version.
foxit::addon::compliance::PDFCompliance::PDFCompliance
PDFCompliance()
Constructor.
foxit::addon::compliance::PDFCompliance::operator!=
bool operator!=(const PDFCompliance &other) const
Not equal operator.
foxit
Foxit namespace.
Definition: fs_taggedpdf.h:27
fs_compliancecommon.h
Header file for compliance basic classes and methods.
NULL
#define NULL
The null-pointer value.
Definition: fx_system.h:780
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:163
foxit::addon::compliance::PDFCompliance::IsEmpty
bool IsEmpty() const
Check whether current object is empty or not.
foxit::addon::compliance::PDFCompliance
Definition: fs_pdfcompliance.h:41
foxit::addon::compliance::PDFCompliance::~PDFCompliance
~PDFCompliance()
Destructor.
foxit::Base
Definition: fs_basictypes.h:427