itext.pdfa
PdfA1Checker defines the requirements of the PDF/A-1 standard and contains
method implementations from the abstract
class.
PdfA1Checker defines the requirements of the PDF/A-1 standard and contains
method implementations from the abstract
class.
The specification implemented by this class is ISO 19005-1
Creates a PdfA1Checker with the required conformance level
the required conformance level, a or
b
PdfA2Checker defines the requirements of the PDF/A-2 standard and contains a
number of methods that override the implementations of its superclass
.
PdfA2Checker defines the requirements of the PDF/A-2 standard and contains a
number of methods that override the implementations of its superclass
.
The specification implemented by this class is ISO 19005-2
Creates a PdfA2Checker with the required conformance level
the required conformance level, a or
u or b
PdfA3Checker defines the requirements of the PDF/A-3 standard and contains a
number of methods that override the implementations of its superclass
.
PdfA3Checker defines the requirements of the PDF/A-3 standard and contains a
number of methods that override the implementations of its superclass
.
The specification implemented by this class is ISO 19005-3
Creates a PdfA3Checker with the required conformance level
the required conformance level, a or
u or b
An abstract class that will run through all necessary checks defined in the
different PDF/A standards and levels.
An abstract class that will run through all necessary checks defined in the
different PDF/A standards and levels. A number of common checks are executed
in this class, while standard-dependent specifications are implemented in the
available subclasses. The standard that is followed is the series of ISO
19005 specifications, currently generations 1 through 3. The ZUGFeRD standard
is derived from ISO 19005-3.
While it is possible to subclass this method and implement its abstract
methods in client code, this is not encouraged and will have little effect.
It is not possible to plug custom implementations into iText, because iText
should always refuse to create non-compliant PDF/A, which would be possible
with client code implementations. Any future generations of the PDF/A
standard and its derivates will get their own implementation in the
iText 7 - pdfa project.
The Red-Green-Blue color profile as defined by the International Color
Consortium.
The Cyan-Magenta-Yellow-Key (black) color profile as defined by the
International Color Consortium.
The Grayscale color profile as defined by the International Color
Consortium.
The Output device class
The Monitor device class
The maximum Graphics State stack depth in PDF/A documents, i.e. the
maximum number of graphics state operators with code q that
may be opened (i.e. not yet closed by a corresponding Q) at
any point in a content stream sequence.
The maximum Graphics State stack depth in PDF/A documents, i.e. the
maximum number of graphics state operators with code q that
may be opened (i.e. not yet closed by a corresponding Q) at
any point in a content stream sequence.
Defined as 28 by PDF/A-1 section 6.1.12, by referring to the PDF spec
Appendix C table 1 "architectural limits".
Contains some objects that are already checked.
Contains some objects that are already checked.
NOTE: Not all objects that were checked are stored in that set. This set is used for avoiding double checks for
actions, xObjects and page objects; and for letting those objects to be manually flushed.
Use this mechanism carefully: objects that are able to be changed (or at least if object's properties
that shall be checked are able to be changed) shouldn't be marked as checked if they are not to be
flushed immediately.
This method checks a number of document-wide requirements of the PDF/A
standard.
This method checks a number of document-wide requirements of the PDF/A
standard. The algorithms of some of these checks vary with the PDF/A
level and thus are implemented in subclasses; others are implemented
as private methods in this class.
The catalog being checked
This method checks all requirements that must be fulfilled by a page in a
PDF/A document.
the page that must be checked
This method checks the requirements that must be fulfilled by a COS
object in a PDF/A document.
the COS object that must be checked
Gets the
for this file.
the defined conformance level for this document.
Remembers which objects have already been checked, in order to avoid
redundant checks.
the object to check
whether or not the object has already been checked
This method checks compliance of the tag structure elements, such as struct elements
or parent tree entries.
an object that represents tag structure element.
This method checks compliance with the graphics state architectural
limitation, explained by
.
the operation to check the graphics state counter for
This method checks compliance with the inline image restrictions in the
PDF/A specs, specifically filter parameters.
a
containing the inline image
a
containing the color spaces used in the document
This method checks compliance with the color restrictions imposed by the
available color spaces in the document.
the color to check
a
containing the color spaces used in the document
whether the color is used for fill or stroke operations
This method checks compliance with the color restrictions imposed by the
available color spaces in the document.
This method checks compliance with the color restrictions imposed by the
available color spaces in the document.
This method will be abstract in update 7.2
the color to check
a
containing the color spaces used in the document
whether the color is used for fill or stroke operations
current content stream
This method performs a range of checks on the given color space, depending
on the type and properties of that color space.
the color space to check
a
containing the color spaces used in the document
whether or not to also check the parent color space
whether the color space is used for fill or stroke operations
Checks whether the rendering intent of the document is within the allowed
range of intents.
Checks whether the rendering intent of the document is within the allowed
range of intents. This is defined in ISO 19005-1 section 6.2.9, and
unchanged in newer generations of the PDF/A specification.
the intent to be analyzed
Performs a number of checks on the graphics state, among others ISO
19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.
the graphics state to be checked
Performs a number of checks on the graphics state, among others ISO
19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.
Performs a number of checks on the graphics state, among others ISO
19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.
This method will be abstract in the update 7.2
the graphics state to be checked
current content stream
Performs a number of checks on the font.
Performs a number of checks on the font. See ISO 19005-1 section 6.3,
ISO 19005-2 and ISO 19005-3 section 6.2.11.
Be aware that not all constraints defined in the ISO are checked in this method,
for most of them we consider that iText always creates valid fonts.
font to be checked
Performs a check of the each font glyph as a Form XObject.
Performs a check of the each font glyph as a Form XObject. See ISO 19005-2 Annex A.5.
This only applies to type 3 fonts.
This method will be abstract in update 7.2
to be checked
stream containing checked font
Exception that is thrown when the PDF Document doesn't adhere to the PDF/A specification.
Creates a PdfAConformanceException.
the error message
Creates a PdfAConformanceException.
the error message
an object
Class containing pdfa conformance constants to be used in logging.
This class extends
and is in charge of creating files
that comply with the PDF/A standard.
This class extends
and is in charge of creating files
that comply with the PDF/A standard.
Client code is still responsible for making sure the file is actually PDF/A
compliant: multiple steps must be undertaken (depending on the
) to ensure that the PDF/A standard is followed.
This class will throw exceptions, mostly
,
and thus refuse to output a PDF/A file if at any point the document does not
adhere to the PDF/A guidelines specified by the
.
Constructs a new PdfADocument for writing purposes, i.e. from scratch.
Constructs a new PdfADocument for writing purposes, i.e. from scratch. A
PDF/A file has a conformance level, and must have an explicit output
intent.
the
object to write to
the generation and strictness level of the PDF/A that must be followed.
a
Constructs a new PdfADocument for writing purposes, i.e. from scratch.
Constructs a new PdfADocument for writing purposes, i.e. from scratch. A
PDF/A file has a conformance level, and must have an explicit output
intent.
the
object to write to
the generation and strictness level of the PDF/A that must be followed.
a
a
Opens a PDF/A document in the stamping mode.
PDF reader.
PDF writer.
Open a PDF/A document in stamping mode.
PDF reader.
PDF writer.
properties of the stamping process
Gets the PdfAConformanceLevel set in the constructor or in the metadata
of the
.
a
Utilities to construct an XMP for a PDF/A file.