phpdftk API Documentation

Constraint

Table of Contents

Interfaces

ConformanceConstraint
A single category of conformance checks (e.g. font embedding, encryption).

Classes

ActionConstraint
PDF/A clause 6.5 / 6.6.1: Restricted action types.
AnnotationConstraint
PDF/UA-1 clause 7.18.1: Annotations must be accessible.
ColorSpaceConstraint
PDF/A clause 6.2: Device-dependent color spaces are only allowed when a matching OutputIntent is present.
DisplayDocTitleConstraint
PDF/UA-1 clause 7.18.1: ViewerPreferences /DisplayDocTitle must be true.
DPartRootConstraint
PDF/VT: Catalog must have a /DPartRoot reference.
EmbeddedFileConstraint
PDF/A-1 clause 6.9 / PDF/A-2 clause 6.10: Embedded files are prohibited.
EncryptionConstraint
PDF/A clause 6.6: Encryption is prohibited.
FilterConstraint
PDF/A-1 clause 6.8: LZWDecode filter is prohibited.
FontEmbeddingConstraint
PDF/A clause 6.3: All fonts must be embedded.
FormConstraint
Prohibits interactive forms (AcroForm).
MetadataConstraint
PDF/A clause 6.7: XMP metadata is required and must contain the conformance identification schema.
MultimediaConstraint
Prohibits multimedia content (movies, sounds, renditions, rich media).
OutputIntentConstraint
PDF/A clause 6.2.2: At least one OutputIntent with the correct subtype and an embedded ICC profile is required.
PdfEActionConstraint
ISO 24517-1 (PDF/E-1): Action restrictions.
PdfEColorSpaceConstraint
ISO 24517-1 (PDF/E-1): Color space validation.
PdfRActionConstraint
ISO 23504-1 (PDF/R-1): Action restrictions.
PdfRFontConstraint
ISO 23504-1 (PDF/R-1): Font presence warning.
RasterContentConstraint
ISO 23504-1 (PDF/R-1): Raster content validation.
ReferenceXObjectConstraint
ISO 15930-8/9 (PDF/X-5): Reference XObject validation.
TabOrderConstraint
PDF/UA-1 clause 7.5: Every page that contains annotations must have /Tabs set to /S (structure order).
TaggedStructureConstraint
Tagged structure requirements for PDF/A Level A and PDF/UA.
ThreeDContentConstraint
ISO 24517-1 (PDF/E-1): 3D content validation.
TransparencyConstraint
Transparency prohibition for PDF/A-1 (clause 6.4) and PDF/X-1a/X-3.
TrappedConstraint
PDF/X: The Info dictionary /Trapped key must be /True or /False.
TrimBoxConstraint
PDF/X: All pages must have /TrimBox (or /ArtBox as fallback).
ZugferdInvoiceConstraint
ZUGFeRD / Factur-X: Embedded invoice XML validation.
ZugferdXmpConstraint
ZUGFeRD / Factur-X: XMP metadata validation.

        
On this page

Search results