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 {
50 e_VersionPDFX1a = 0,
52 e_VersionPDFX3 = 1,
54 e_VersionPDFX4 = 2,
56 e_VersionPDFX4p = 3,
58 e_VersionPDFX1aCoatedGRACoL2006 = 4,
60 e_VersionPDFX1aISOCoatedv2ECI = 5,
62 e_VersionPDFX1aJapanColor2001Coated = 6,
64 e_VersionPDFX1aPSOCoatedv3ECI = 7,
66 e_VersionPDFX3CoatedGRACoL2006 = 8,
68 e_VersionPDFX3ISOCoatedv2ECI = 9,
70 e_VersionPDFX3JapanColor2001Coated = 10,
72 e_VersionPDFX3PSOCoatedv3ECI = 11,
74 e_VersionPDFX4CoatedGRACoL2006 = 12,
76 e_VersionPDFX4ISOCoatedv2ECI = 13,
78 e_VersionPDFX4JapanColor2001Coated = 14,
80 e_VersionPDFX4PSOCoatedv3ECI = 15,
82 e_VersionPDFX4AndCLLVISOCoatedv2ECI = 16
83 } Version;
84
85
87 PDFXCompliance();
88 // User is strongly recommended NOT to use this method; otherwise unknown situation may occur.
89 explicit PDFXCompliance(FS_HANDLE handle);
91 ~PDFXCompliance();
97 PDFXCompliance(const PDFXCompliance& other);
98
106 PDFXCompliance& operator = (const PDFXCompliance& other);
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
foxit::addon::compliance::PDFXCompliance
Definition: fs_pdfx.h:41
foxit::FS_HANDLE
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aCoatedGRACoL2006
PDF/X-1a (Coated GRACoL 2006).
Definition: fs_pdfx.h:58
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aJapanColor2001Coated
PDF/X-1a (Japan Color 2001 Coated).
Definition: fs_pdfx.h:62
foxit::addon::compliance::PDFXCompliance::operator==
bool operator==(const PDFXCompliance &other) const
Equal operator.
foxit::addon::compliance::PDFXCompliance::IsEmpty
bool IsEmpty() const
Check whether current object is empty or not.
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1a
PDF/X-1a.
Definition: fs_pdfx.h:50
foxit::addon::compliance::PDFXCompliance::operator!=
bool operator!=(const PDFXCompliance &other) const
Not equal operator.
foxit::addon::compliance::ResultInformation
Definition: fs_compliancecommon.h:761
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aISOCoatedv2ECI
PDF/X-1a (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:60
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3JapanColor2001Coated
PDF/X-3 (Japan Color 2001 Coated).
Definition: fs_pdfx.h:70
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4JapanColor2001Coated
PDF/X-4 (Japan Color 2001 Coated).
Definition: fs_pdfx.h:78
foxit::addon::compliance::ComplianceEngine::ViewOrPrintCondition
ViewOrPrintCondition
Enumeration for viewing or printing condition.
Definition: fs_compliancecommon.h:56
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4p
PDF/X-4p.
Definition: fs_pdfx.h:56
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3CoatedGRACoL2006
PDF/X-3 (Coated GRACoL 2006).
Definition: fs_pdfx.h:66
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4CoatedGRACoL2006
PDF/X-4 (Coated GRACoL 2006).
Definition: fs_pdfx.h:74
foxit
Foxit namespace.
Definition: fs_taggedpdf.h:27
fs_compliancecommon.h
Header file for compliance basic classes and methods.
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4PSOCoatedv3ECI
PDF/X-4 (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:80
foxit::addon::compliance::PDFXCompliance::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/X version.
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3
PDF/X-3.
Definition: fs_pdfx.h:52
foxit::addon::compliance::PDFXCompliance::ConvertPDFFile
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 PDF/X version.
NULL
#define NULL
The null-pointer value.
Definition: fx_system.h:792
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3ISOCoatedv2ECI
PDF/X-3 (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:68
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4AndCLLVISOCoatedv2ECI
PDF/X-4 and create language layer views (ISO Coated v2 (ECI))).
Definition: fs_pdfx.h:82
foxit::addon::compliance::PDFXCompliance::PDFXCompliance
PDFXCompliance()
Constructor.
foxit::addon::compliance::PDFXCompliance::operator=
PDFXCompliance & operator=(const PDFXCompliance &other)
Assign operator.
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX3PSOCoatedv3ECI
PDF/X-3 (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:72
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4
PDF/X-4.
Definition: fs_pdfx.h:54
foxit::addon::compliance::ProgressCallback
Definition: fs_compliancecommon.h:198
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX1aPSOCoatedv3ECI
PDF/X-1a (PSO Coated v3 (ECI)).
Definition: fs_pdfx.h:64
foxit::addon::compliance::PDFXCompliance::~PDFXCompliance
~PDFXCompliance()
Destructor.
foxit::Base
Definition: fs_basictypes.h:451
foxit::addon::compliance::PDFXCompliance::Version
Version
Enumeration for PDF/X version.
Definition: fs_pdfx.h:48
foxit::addon::compliance::PDFXCompliance::e_VersionPDFX4ISOCoatedv2ECI
PDF/X-4 (ISO Coated v2 (ECI)).
Definition: fs_pdfx.h:76