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
Nested ClassesModifier and TypeClassDescriptionstatic classHelper class that checks the conformance of graphics tags while iterating the tag tree structure. -
Constructor Summary
ConstructorsConstructorDescriptionGraphicsCheckUtil(PdfUAValidationContext context) Creates a newGraphicsCheckUtilinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckLayoutElement(Image image) Checks if image has alternative description or actual text.static voidcheckLayoutImage(Image image) Deprecated.This method is an artifact and will be removed.static ITagTreeIteratorHandlerDeprecated.This method is an artifact and will be removed.
-
Constructor Details
-
GraphicsCheckUtil
Creates a newGraphicsCheckUtilinstance.- 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:
-
ITagTreeIteratorHandleralways null
-
checkLayoutElement
Checks if image has alternative description or actual text.- Parameters:
-
image- The image to check
-