Class PdfUA1AnnotationChecker
java.lang.Object
com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1AnnotationChecker
Class that provides methods for checking PDF/UA-1 compliance of annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHelper class that checks the conformance of annotations while iterating the tag tree structure. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckElement(PdfUAValidationContext context, IStructureNode elem) static booleanisAnnotationVisible(PdfDictionary annotDict) Is annotation visible:trueif hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
-
Method Details
-
isAnnotationVisible
Is annotation visible:trueif hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).- Parameters:
-
annotDict- annotation to check - Returns:
-
trueif annotation should be checked, otherwisefalse
-
checkElement
-