Package | Description |
---|---|
com.qoppa.ocr |
OCR bridge integration.
|
com.qoppa.pdfProcess |
jPDFProcess main classes, used to manipulate PDF documents and pages.
|
Modifier and Type | Method and Description |
---|---|
String |
TessJNI.getOCRText(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Performs OCR on a PDF page and returns a plain text result string.
|
String |
TessJNI.performOCR(String language,
PDFPage pdfPage,
int dpi)
Performs OCR on a PDF page and returns an hOCR result string.
|
String |
TessJNI.performOCR(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Performs OCR on a PDF page and returns an hOCR result string.
|
OCRPageResults |
TessJNI.performOCRandOSD(String language,
PDFPage pdfPage,
int dpi,
OCROptions options)
Convert a PDF page to an image and run OCR on it, to return the OCR text in hOCR format, and page orientation information.
|
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFDocument.appendNewPage(double pageWidth,
double pageHeight)
Creates and appends a new PDFPage to this document.
|
PDFPage |
PDFDocument.appendPage(PDFPage page)
Appends a page to this document.
|
PDFPage |
PDFGraphics.getPage()
Returns the PDFPage object that created this graphics object.
|
PDFPage |
PDFDocument.getPage(int pageIndex)
Returns a page in this document.
|
PDFPage |
PDFDocument.insertNewPage(double pageWidth,
double pageHeight,
int index)
Creates a new PDFPage and inserts it into the document at the given position.
|
PDFPage |
PDFDocument.insertPage(PDFPage page,
int index)
Inserts a page into this document at the given index.
|
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFDocument.appendPage(PDFPage page)
Appends a page to this document.
|
void |
PDFPage.appendPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY,
Layer layer)
Adds the content of another page to this page.
|
void |
PDFPage.copyAnnotations(PDFPage srcPage)
Use this method to copy annotations onto this page, from this or other
documents.
|
void |
PDFPage.copyAnnotations(PDFPage srcPage,
Layer layer)
Use this method to copy annotations onto this page, from this or other
documents.
|
PDFPage |
PDFDocument.insertPage(PDFPage page,
int index)
Inserts a page into this document at the given index.
|
void |
PDFPage.prependPageContent(PDFPage srcPage,
double x,
double y,
double scaleX,
double scaleY,
Layer layer)
Prepend the contents of another page to this page.
|