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 {
71  } Version;
72 
73 
76  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
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 (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:66
PDF/A-3b (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:70
Definition: fs_compliancecommon.h:751
ViewOrPrintCondition
Enumeration for viewing or printing condition.
Definition: fs_compliancecommon.h:56
Definition: fs_compliancecommon.h:187
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 PDFA version.
Header file for compliance basic classes and methods.
Version
Enumeration for PDF/A version.
Definition: fs_pdfa.h:48
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
bool operator==(const PDFACompliance &other) const
Equal operator.
FX_INT32 int32
32-bit signed integer.
Definition: fs_basictypes.h:194
Definition: fs_basictypes.h:443
PDF/A-2b (without fallback conversion), just only for converting.
Definition: fs_pdfa.h:68
Foxit namespace.
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)
Verify a PDF file with specified PDFA version.
bool operator !=(const PDFACompliance &other) const
Not equal operator.
#define NULL
The null-pointer value.
Definition: fx_system.h:792
bool IsEmpty() const
Check whether current object is empty or not.
PDFACompliance & operator=(const PDFACompliance &other)
Assign operator.