Class PDFGeneratorConfiguration


  • public final class PDFGeneratorConfiguration
    extends java.lang.Object
    A configuration for the PDF generator
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFGeneratorConfiguration​(java.lang.String fontPath, java.lang.String iccProfilePath, boolean debug)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getDebug()
      If true, OCR'ed text will visible on the PDF.
      java.lang.String getFontPath()  
      java.lang.String getIccProfilePath()
      An ICC profile file that will be configured on the PDF file.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • PDFGeneratorConfiguration

        public PDFGeneratorConfiguration​(java.lang.String fontPath,
                                         java.lang.String iccProfilePath,
                                         boolean debug)
    • Method Detail

      • getFontPath

        public java.lang.String getFontPath()
      • getIccProfilePath

        public java.lang.String getIccProfilePath()
        An ICC profile file that will be configured on the PDF file. This is needed to have PDF/A compliance. It's a RGB profile so that it supports any RGB or Grayscale image.
      • getDebug

        public boolean getDebug()
        If true, OCR'ed text will visible on the PDF. Defaults to false
      • toString

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