Package com.itextpdf.pdfocr
Class OcrProcessContext
java.lang.Object
com.itextpdf.pdfocr.OcrProcessContext
Class for storing ocr processing context.
-
Constructor Summary
ConstructorsConstructorDescriptionOcrProcessContext
(AbstractPdfOcrEventHelper eventHelper) Creates an instance of ocr process context -
Method Summary
Modifier and TypeMethodDescriptionReturns helper for working with events.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
-