Class TextLayout


  • public final class TextLayout
    extends java.lang.Object
    The text layout of a scan This is part of the output of the OCR recognition, but can also be part of the input of the PDF generation.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextLayout​(java.lang.String hocr)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHocr()
      XML string containing information about text, style and layout of the image that was processed.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextLayout

        public TextLayout​(java.lang.String hocr)
    • Method Detail

      • getHocr

        public java.lang.String getHocr()
        XML string containing information about text, style and layout of the image that was processed.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object