Class GraphicsCheckUtil
java.lang.Object
com.itextpdf.pdfua.checkers.utils.GraphicsCheckUtil
Class that provides methods for checking PDF/UA compliance of graphics elements.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Helper class that checks the conformance of graphics tags while iterating the tag tree structure. -
Constructor Summary
ConstructorDescriptionGraphicsCheckUtil
(PdfUAValidationContext context) Creates a newGraphicsCheckUtil
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkLayoutElement
(Image image) Checks if image has alternative description or actual text.static void
checkLayoutImage
(Image image) Deprecated.This method is an artifact and will be removed.static ITagTreeIteratorHandler
Deprecated.This method is an artifact and will be removed.
-
Constructor Details
-
GraphicsCheckUtil
Creates a newGraphicsCheckUtil
instance.- Parameters:
-
context
- The validation context.
-
-
Method Details
-
checkLayoutImage
Deprecated.This method is an artifact and will be removed.WARNING! This method is an artifact and currently does nothing. It is kept to ensure backward binary compatibility- Parameters:
-
image
- image to check - Throws:
-
PdfUAConformanceException
- if image doesn't have alternative description or actual text
-
createFigureTagHandler
Deprecated.This method is an artifact and will be removed.WARNING! This method is an artifact and currently does nothing. It is kept to ensure backward binary compatibility- Returns:
-
ITagTreeIteratorHandler
always null
-
checkLayoutElement
Checks if image has alternative description or actual text.- Parameters:
-
image
- The image to check
-