Class PdfUA1AnnotationChecker
- java.lang.Object
-
- com.itextpdf.pdfua.checkers.utils.ua1.PdfUA1AnnotationChecker
-
public final class PdfUA1AnnotationChecker extends java.lang.Object
Class that provides methods for checking PDF/UA-1 compliance of annotations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfUA1AnnotationChecker.PdfUA1AnnotationHandler
Helper class that checks the conformance of annotations while iterating the tag tree structure.
-
Constructor Summary
Constructors Modifier Constructor Description private
PdfUA1AnnotationChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static void
checkAAEntry(PdfDictionary additionalActions)
static void
checkElement(PdfUAValidationContext context, IStructureNode elem)
static boolean
isAnnotationVisible(PdfDictionary annotDict)
Is annotation visible:true
if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).
-
-
-
Method Detail
-
isAnnotationVisible
public static boolean isAnnotationVisible(PdfDictionary annotDict)
Is annotation visible:true
if hidden flag isn't set and annotation intersects CropBox (default value is MediaBox).- Parameters:
annotDict
- annotation to check- Returns:
true
if annotation should be checked, otherwisefalse
-
checkElement
public static void checkElement(PdfUAValidationContext context, IStructureNode elem)
-
checkAAEntry
static void checkAAEntry(PdfDictionary additionalActions)
-
-