Class GraphicsCheckUtil

java.lang.Object
com.itextpdf.pdfua.checkers.utils.GraphicsCheckUtil

public final class GraphicsCheckUtil extends Object
Class that provides methods for checking PDF/UA compliance of graphics elements.
  • Method Details

    • checkLayoutImage

      public static void checkLayoutImage (Image image)
      Checks if image has alternative description or actual text.
      Parameters:
      image - image to check
      Throws:
      PdfUAConformanceException - if image doesn't have alternative description or actual text
    • createFigureTagHandler

      public static ITagTreeIteratorHandler createFigureTagHandler()
      Checks if figure tag has alternative description or actual text.
      Returns:
      ITagTreeIteratorHandler handler implementation that checks if figure tag has alternative description or actual text