Foxit PDF SDK
fs_pdfx.h
Go to the documentation of this file.
1 
16 #ifndef FS_PDFX_H_
17 #define FS_PDFX_H_
18 
19 #include "fs_compliancecommon.h"
20 
26 namespace foxit {
30 namespace addon {
34 namespace compliance {
41 class PDFXCompliance FS_FINAL : public Base {
42  public:
48  typedef enum _Version {
83  } Version;
84 
85 
88  // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
89  explicit PDFXCompliance(FS_HANDLE handle);
97  PDFXCompliance(const PDFXCompliance& other);
98 
114  bool operator == (const PDFXCompliance& other) const;
115 
123  bool operator != (const PDFXCompliance& other) const;
124 
132  bool IsEmpty() const;
133 
149  ResultInformation Verify(Version verify_version, const wchar_t* src_pdf_path,
150  int first_page_index = 0, int last_page_index = -1,
151  ProgressCallback* progress_callback = NULL);
152 
173  ResultInformation ConvertPDFFile(const wchar_t* src_pdf_path, const wchar_t* saved_pdf_path,
174  Version convert_to_version,
175  ComplianceEngine::ViewOrPrintCondition view_or_print_condition,
176  bool to_convert_rgb_or_lab, bool to_decalibrate_gray_or_cmyk,
177  ProgressCallback* progress_callback = NULL);
178 
179 };
180 
181 } // namespace compliance
182 } // namespace addon
183 } // namespace foxit
184 
185 #endif // FS_PDFX_H_
186 
PDF/X-4 and create language layer views (ISO Coated v2 (ECI))).
Definition: fs_pdfx.h:82
ResultInformation ConvertPDFFile(const wchar_t *src_pdf_path, const wchar_t *saved_pdf_path, Version convert_to_version, ComplianceEngine::ViewOrPrintCondition view_or_print_condition, bool to_convert_rgb_or_lab, bool to_decalibrate_gray_or_cmyk, ProgressCallback *progress_callback=0)
Convert a PDF file with specified PDFX version.
Definition: fs_compliancecommon.h:751
PDF/X-3 (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:68
PDF/X-4 (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:76
PDF/X-1a (Coated GRACoL 2006).
Definition: fs_pdfx.h:58
bool IsEmpty() const
Check whether current object is empty or not.
ViewOrPrintCondition
Enumeration for viewing or printing condition.
Definition: fs_compliancecommon.h:56
PDF/X-1a (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:64
PDF/X-4 (Coated GRACoL 2006).
Definition: fs_pdfx.h:74
Version
Enumeration for PDF/X version.
Definition: fs_pdfx.h:48
PDF/X-1a (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:60
Definition: fs_compliancecommon.h:187
Header file for compliance basic classes and methods.
bool operator==(const PDFXCompliance &other) const
Equal operator.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
PDFXCompliance & operator=(const PDFXCompliance &other)
Assign operator.
PDF/X-4 (Japan Color 2001 Coated).
Definition: fs_pdfx.h:78
PDF/X-3 (Japan Color 2001 Coated).
Definition: fs_pdfx.h:70
Definition: fs_basictypes.h:443
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 PDFX version.
PDF/X-3 (Coated GRACoL 2006).
Definition: fs_pdfx.h:66
Foxit namespace.
Definition: fs_taggedpdf.h:27
PDFX-3 (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:72
bool operator !=(const PDFXCompliance &other) const
Not equal operator.
PDF/X-1a (Japan Color 2001 Coated).
Definition: fs_pdfx.h:62
PDF/X-4 (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:80
#define NULL
The null-pointer value.
Definition: fx_system.h:792