typedef enum{DOC2_PROC_LOADING_IMG = 0,DOC2_PROC_SAVING_IMG,DOC2_PROC_FIND_ZONES,DOC2_PROC_RECOGNIZE_MOR,DOC2_PROC_RECOGNITION,DOC2_PROC_SPELLING,DOC2_PROC_WRITE_OUTPUT_DOC,DOC2_PROC_WRITE_OUTPUT_IMG,DOC2_PROC_RECOGNITION3,DOC2_PROC_PROCESSING_IMG,DOC2_PROC_FORMATTING,} DOC2_OCRPROCID;
The DOC2_OCRPROCID enumerated type values identify the possible OCR processes.
| Value | Meaning |
|---|---|
| DOC2_PROC_LOADING_IMG | The image loading process. |
| DOC2_PROC_SAVING_IMG | The image saving process. |
| DOC2_PROC_FIND_ZONES | The page-layout decomposition (auto-zoning) process. |
| DOC2_PROC_RECOGNIZE_MOR | The 1st pass of the Recognition process. This pass is applicable only for the DOC2_RECOGMODULE_MULTI_LINGUAL_OMNIFONT recognition module. |
| DOC2_PROC_RECOGNITION | The 2nd pass of the Recognition process. |
| DOC2_PROC_SPELLING | The spell-checking process. |
| DOC2_PROC_WRITE_OUTPUT_DOC | The process for writing the recognized text to the final output document (to file or memory). |
| DOC2_PROC_WRITE_OUTPUT_IMG | The image conversion process. Activated by the DOC2_PROC_WRITE_OUTPUT_DOC process for saving the image of a graphical image zone to a word processor output document. |
| DOC2_PROC_RECOGNITION3 | The 3rd pass of the Recognition process. This pass is applicable only for the RECOGMODULE_OMNIFONT_PLUS3W recognition module. |
| DOC2_PROC_PROCESSING_IMG | The image pre-processing process. |
| DOC2_PROC_FORMATTING | The page and document formatting process. |
The enumeration is used by: