phpdftk API Documentation

EmbeddedFileConstraint
in package
implements ConformanceConstraint

FinalYes

PDF/A-1 clause 6.9 / PDF/A-2 clause 6.10: Embedded files are prohibited.

PDF/A-3 (ISO 19005-3): Embedded files are allowed (associated via /AF).

This constraint checks for the presence of embedded files via the Catalog /Names dictionary. PDF/A-3+ allows them, so the constraint is skipped for those profiles. ZUGFeRD/Factur-X profiles are based on PDF/A-3 and require embedded files.

Table of Contents

Interfaces

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

Methods

check()  : array<int, ConformanceViolation>
Check the document against this constraint for the given profile.

Methods


        
On this page

Search results