public final class PdfUA2TableOfContentsChecker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PdfUA2TableOfContentsChecker.PdfUA2TableOfContentsHandler
Handler class that checks
TOCI tags while traversing the tag tree. |
| Constructor and Description |
|---|
PdfUA2TableOfContentsChecker(PdfUAValidationContext context)
Creates a new instance of
PdfUA2TableOfContentsChecker. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRefInTociStructElement(IStructureNode structNode)
Checks that table of contents item identifies the target of the reference according to PDF/UA-2 specification.
|
public PdfUA2TableOfContentsChecker(PdfUAValidationContext context)
PdfUA2TableOfContentsChecker.context - the validation contextpublic void checkRefInTociStructElement(IStructureNode structNode)
Each TOCI in the table of contents shall identify the target of the reference using the Ref
entry, either directly on the TOCI structure element itself or on a child structure element contained
within, such as a Reference structure element.
structNode - TOCI structure element to checkPdfUAConformanceException - if document has incorrect table of contents itemCopyright © 1998–2025 Apryse Group NV. All rights reserved.