Package com.itextpdf.pdfua.wtpdf
Class WellTaggedPdfForAccessibilityChecker
java.lang.Object
com.itextpdf.pdfua.checkers.PdfUAChecker
com.itextpdf.pdfua.checkers.PdfUA2Checker
com.itextpdf.pdfua.wtpdf.WellTaggedPdfForAccessibilityChecker
- All Implemented Interfaces:
-
IValidationChecker
- Direct Known Subclasses:
-
WellTaggedPdfForReuseChecker
Checker that validates a PDF document against the Well Tagged PDF for Accessibility standard.
-
Constructor Summary
ConstructorsConstructorDescriptionWellTaggedPdfForAccessibilityChecker(PdfDocument pdfDocument) Creates a newWellTaggedPdfForAccessibilityCheckerinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckMetadata(PdfCatalog catalog) Checks that theCatalogdictionary of a conforming file contains theMetadatakey whose value is a metadata stream as defined in ISO 32000-2:2020.Methods inherited from class com.itextpdf.pdfua.checkers.PdfUA2Checker
checkCatalog, checkFormFieldsAndAnnotations, checkPdfObject, checkStructureTreeRoot, createTagTreeIterator, getPdfDocument, getUAValidationContext, isPdfObjectReadyToFlush, validateMethods inherited from class com.itextpdf.pdfua.checkers.PdfUAChecker
checkContentInCanvas, checkFonts, checkLang, checkLogicalStructureInBMC, checkText, checkViewerPreferences, warnOnPageFlush
-
Constructor Details
-
WellTaggedPdfForAccessibilityChecker
Creates a newWellTaggedPdfForAccessibilityCheckerinstance.The created checker will validate the provided document against the WTPDF for Accessibility standard.
- Parameters:
-
pdfDocument- thePdfDocumentto validate; must not benull
-
-
Method Details
-
checkMetadata
Checks that theCatalogdictionary of a conforming file contains theMetadatakey whose value is a metadata stream as defined in ISO 32000-2:2020.Checks that the
Metadatastream as specified in ISO 32000-2:2020, 14.3 in the document catalog dictionary includes adc: titleentry reflecting the title of the document.- Overrides:
-
checkMetadatain classPdfUA2Checker - Parameters:
-
catalog-PdfCatalogdocument catalog dictionary
-