AnnotationConstraint
in package
implements
ConformanceConstraint
FinalYes
PDF/UA-1 clause 7.18.1: Annotations must be accessible.
All annotations (except Widget and Popup) must have /Contents set to provide an accessible text alternative. Link annotations must additionally have /Contents or be wrapped in a Link structure element.
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
check()
Check the document against this constraint for the given profile.
public
check(DocumentInspector $inspector, ConformanceProfile $profile) : array<int, ConformanceViolation>
Parameters
- $inspector : DocumentInspector
- $profile : ConformanceProfile