Package com.itextpdf.pdfocr
Class OcrProcessContext
java.lang.Object
com.itextpdf.pdfocr.OcrProcessContext
Class for storing ocr processing context.
-
Constructor Summary
ConstructorDescriptionOcrProcessContext
(AbstractPdfOcrEventHelper eventHelper) Creates an instance of ocr process context -
Method Summary
Modifier and TypeMethodDescriptionReturns helper for working with events.Get extra OCR process properties.void
setOcrEventHelper
(AbstractPdfOcrEventHelper eventHelper) Sets ocr event helper.
-
Constructor Details
-
OcrProcessContext
Creates an instance of ocr process context- Parameters:
-
eventHelper
- helper class for working with events
-
-
Method Details
-
getOcrEventHelper
Returns helper for working with events.- Returns:
-
an instance of
AbstractPdfOcrEventHelper
-
setOcrEventHelper
Sets ocr event helper.- Parameters:
-
eventHelper
- event helper
-
getOcrProcessProperties
Get extra OCR process properties.- Returns:
- extra OCR process properties.
-