Foxit PDF SDK

fs_pdfe.h
Go to the documentation of this file.
1
16 #ifndef FS_PDFE_H_
17 #define FS_PDFE_H_
18
19 #include "fs_compliancecommon.h"
20
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFECompliance FS_FINAL : public Base {
42 public:
48 typedef enum _Version {
50 e_VersionPDFE1 = 1
51 } Version;
52
53
55 PDFECompliance();
56 // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
57 explicit PDFECompliance(FS_HANDLE handle);
59 ~PDFECompliance();
65 PDFECompliance(const PDFECompliance& other);
66
74 PDFECompliance& operator = (const PDFECompliance& other);
82 bool operator == (const PDFECompliance& other) const;
83
91 bool operator != (const PDFECompliance& other) const;
92
100 bool IsEmpty() const;
101
116 ResultInformation Verify(const wchar_t* src_pdf_path, int first_page_index = 0, int last_page_index = -1,
117 Version verify_version = e_VersionPDFE1, ProgressCallback* progress_callback = NULL);
118
132 ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
133 Version convert_to_version = e_VersionPDFE1, ProgressCallback* progress_callback = NULL);
134 };
135
136 } // namespace compliance
137 } // namespace addon
138 } // namespace foxit
139
140 #endif // FS_PDFE_H_
foxit::addon::compliance::PDFECompliance::operator==
bool operator==(const PDFECompliance &other) const
Equal operator.
foxit::addon::compliance::PDFECompliance::~PDFECompliance
~PDFECompliance()
Destructor.
foxit::addon::compliance::PDFECompliance::Version
Version
Enumeration for PDF/E version.
Definition: fs_pdfe.h:48
foxit::FS_HANDLE
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
foxit::addon::compliance::PDFECompliance
Definition: fs_pdfe.h:41
foxit::addon::compliance::PDFECompliance::IsEmpty
bool IsEmpty() const
Check whether current object is empty or not.
foxit::addon::compliance::PDFECompliance::operator!=
bool operator!=(const PDFECompliance &other) const
Not equal operator.
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:761
foxit
Foxit namespace.
Definition: fs_taggedpdf.h:27
fs_compliancecommon.h
Header file for compliance basic classes and methods.
foxit::addon::compliance::PDFECompliance::PDFECompliance
PDFECompliance()
Constructor.
NULL
#define NULL
The null-pointer value.
Definition: fx_system.h:792
foxit::addon::compliance::PDFECompliance::Verify
ResultInformation Verify(const wchar_t *src_pdf_path, int first_page_index=0, int last_page_index=-1, Version verify_version=e_VersionPDFE1, ProgressCallback *progress_callback=0)
Verify a PDF file with specified PDF/E version.
foxit::addon::compliance::PDFECompliance::e_VersionPDFE1
PDF/E-1.
Definition: fs_pdfe.h:50
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:198
foxit::addon::compliance::PDFECompliance::ConvertPDFFile
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version=e_VersionPDFE1, ProgressCallback *progress_callback=0)
Convert a PDF file with specified PDF/E version.
foxit::addon::compliance::PDFECompliance::operator=
PDFECompliance & operator=(const PDFECompliance &other)
Assign operator.
foxit::Base
Definition: fs_basictypes.h:451