Foxit PDF SDK

fs_pdfa.h
Go to the documentation of this file.
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 {
50 e_VersionPDFA1a = 1,
52 e_VersionPDFA1b = 2,
54 e_VersionPDFA2a = 3,
56 e_VersionPDFA2b = 4,
58 e_VersionPDFA2u = 5,
60 e_VersionPDFA3a = 6,
62 e_VersionPDFA3b = 7,
64 e_VersionPDFA3u = 8,
66 e_VersionPDFA1bWithoutFBC = 9,
68 e_VersionPDFA2bWithoutFBC = 10,
70 e_VersionPDFA3bWithoutFBC = 11
71 } Version;
72
73
75 PDFACompliance();
76 // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
77 explicit PDFACompliance(FS_HANDLE handle);
79 ~PDFACompliance();
85 PDFACompliance(const PDFACompliance& other);
86
94 PDFACompliance& operator = (const PDFACompliance& other);
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
foxit::addon::compliance::PDFACompliance::~PDFACompliance
~PDFACompliance()
Destructor.
foxit::addon::compliance::PDFACompliance::e_VersionPDFA1bWithoutFBC
PDF/A-1b (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:66
foxit::addon::compliance::PDFACompliance::e_VersionPDFA2b
PDF/A-2b.
Definition: fs_pdfa.h:56
foxit::addon::compliance::PDFACompliance::e_VersionPDFA3bWithoutFBC
PDF/A-3b (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:70
foxit::addon::compliance::PDFACompliance::e_VersionPDFA1b
PDF/A-1b.
Definition: fs_pdfa.h:52
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:761
foxit::addon::compliance::PDFACompliance::e_VersionPDFA3a
PDF/A-3a.
Definition: fs_pdfa.h:60
foxit::addon::compliance::PDFACompliance::e_VersionPDFA3b
PDF/A-3b.
Definition: fs_pdfa.h:62
foxit::addon::compliance::ComplianceEngine::ViewOrPrintCondition
ViewOrPrintCondition
Enumeration for viewing or printing condition.
Definition: fs_compliancecommon.h:56
foxit::addon::compliance::PDFACompliance::PDFACompliance
PDFACompliance()
Constructor.
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:198
foxit::addon::compliance::PDFACompliance
Definition: fs_pdfa.h:41
foxit::addon::compliance::PDFACompliance::ConvertPDFFile
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version, ProgressCallback *progress_callback=0)
Convert a PDF file with specified PDF/A version.
foxit::addon::compliance::PDFACompliance::e_VersionPDFA2u
PDF/A-2u.
Definition: fs_pdfa.h:58
fs_compliancecommon.h
Header file for compliance basic classes and methods.
foxit::addon::compliance::PDFACompliance::Version
Version
Enumeration for PDF/A version.
Definition: fs_pdfa.h:48
foxit::FS_HANDLE
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
foxit::addon::compliance::PDFACompliance::operator==
bool operator==(const PDFACompliance &other) const
Equal operator.
foxit::int32
FX_INT32 int32
32-bit signed integer.
Definition: fs_basictypes.h:193
foxit::Base
Definition: fs_basictypes.h:451
foxit::addon::compliance::PDFACompliance::e_VersionPDFA2a
PDF/A-2a.
Definition: fs_pdfa.h:54
foxit::addon::compliance::PDFACompliance::e_VersionPDFA2bWithoutFBC
PDF/A-2b (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:68
foxit::addon::compliance::PDFACompliance::e_VersionPDFA1a
PDF/A-1a.
Definition: fs_pdfa.h:50
foxit
Foxit namespace.
Definition: fs_pdf3d.h:26
foxit::addon::compliance::PDFACompliance::Verify
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)
Verify a PDF file with specified PDF/A version.
foxit::addon::compliance::PDFACompliance::operator !=
bool operator !=(const PDFACompliance &other) const
Not equal operator.
NULL
#define NULL
The null-pointer value.
Definition: fx_system.h:792
foxit::addon::compliance::PDFACompliance::IsEmpty
bool IsEmpty() const
Check whether current object is empty or not.
foxit::addon::compliance::PDFACompliance::operator=
PDFACompliance & operator=(const PDFACompliance &other)
Assign operator.
foxit::addon::compliance::PDFACompliance::e_VersionPDFA3u
PDF/A-3u.
Definition: fs_pdfa.h:64