![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
A class for validating PDF documents against published PDF standards such as PDF/X. More...
#include <jawsmako/validate.h>
Classes | |
class | CContentError |
A class describing validation errors present in a particular location on a page. More... | |
class | CGeneralError |
A class describing validation errors found in a PDF that are not tied to a location on a page. More... | |
class | CPageErrors |
A collection of all the errors associated with a page. More... |
Public Types | |
enum | ePDFValidateVersion { ePDFX12001 , ePDFX1a2001 , ePDFX1a2003 } |
Supported validation standards. More... | |
typedef CEDLVector< CGeneralError > | CGeneralErrorVect |
typedef CEDLVector< CContentError > | CContentErrorVect |
typedef CEDLVector< CPageErrors > | CPageErrorsVect |
Public Member Functions | |
virtual | ~IPDFValidator () |
virtual bool | validate (const IInputStreamPtr &pdfStream, CGeneralErrorVect &globalErrors, CPageErrorsVect &pageErrors)=0 |
Perform validation on an entire PDF stream. | |
Public Member Functions inherited from IRCObject | |
virtual void | addRef () const =0 |
Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
virtual bool | decRef () const =0 |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
virtual int32 | getRefCount () const =0 |
Retrieve the current reference count of the actual object pointed to. |
Static Public Member Functions | |
static JAWSMAKO_API IPDFValidatorPtr | create (const IJawsMakoPtr &jawsMako, ePDFValidateVersion version, const IProgressMonitorPtr &progressMonitor=IProgressMonitorPtr()) |
Create an IPDFValidator instance that validates against the given version. |
Additional Inherited Members | |
Protected Member Functions inherited from IRCObject | |
virtual | ~IRCObject () |
Virtual destructor. |
A class for validating PDF documents against published PDF standards such as PDF/X.
|
inlinevirtual |
|
static |
Create an IPDFValidator instance that validates against the given version.
jawsMako | The IJawsMako object. |
version | The PDF standard to validate against. |
progressMonitor | A progress monitor for cancelling, and monitoring the job progress. |
|
pure virtual |
Perform validation on an entire PDF stream.
pdfStream | The PDF stream. |
globalErrors | A reference to receive the list of global errors (that is, errors not attached to a particular page). |
pageErrors | A reference to receive the list of page errors (that is, errors attributable to a given page). The page errors will be a vector where the vector entry 0 is for the first page and so forth. |