Class GraphicsCheckUtil


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

      • checkLayoutImage

        @Deprecated
        public static void checkLayoutImage​(Image image)
        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
        public static ITagTreeIteratorHandler 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

        public void checkLayoutElement​(Image image)
        Checks if image has alternative description or actual text.
        Parameters:
        image - The image to check
      • hasAtleastOneValidValue

        private static boolean hasAtleastOneValidValue​(java.lang.Object altText,
                                                       java.lang.Object actualText)