|
Foxit PDF SDK
|
Inherits Object.
Public Member Functions | |
| OCRSettingData () | |
| Constructor. | |
| OCRSettingData (pdf::PDFDoc pdf_doc, const common::Range &page_range, bool is_editable, const OCRConfig &ocr_config) | |
| Constructor, with parameters. More... | |
| bool | operator!= (const OCRSettingData &data) |
| Not equal operator. More... | |
| OCRSettingData & | operator= (const OCRSettingData &data) |
| Assign operator. More... | |
| void | Set (pdf::PDFDoc pdf_doc, const common::Range &page_range, bool is_editable, const OCRConfig &ocr_config) |
| Set value. More... | |
Public Attributes | |
| bool | is_editable |
| Decide whether the OCR result is editable. true means the OCR result is editable. false means the OCR result can only be searched but not be edited. | |
| OCRConfig | ocr_config |
| The OCRConfig object. | |
| common::Range | page_range |
| The range of pages that need to be OCR. | |
| pdf::PDFDoc | pdf_doc |
| A valid PDF document that need to be OCR. | |
This class represents setting data used for OCR.
|
inline |
Constructor, with parameters.
| [in] | pdf_doc | A valid PDF document. |
| [in] | page_range | The range of pages that need to be OCR. |
| [in] | is_editable | true means the OCR result is editable, false means the OCR result can only be searched but not be edited. |
| [in] | ocr_config | The OCRConfig object. |
|
inline |
Not equal operator.
| [in] | data | Another OCR setting data object. This function will check if current object is not equal to this one. |
|
inline |
Assign operator.
| [in] | data | Another OCR setting data object, whose value would be assigned to current object. |
|
inline |
Set value.
| [in] | pdf_doc | A valid PDF document. |
| [in] | page_range | The range of pages that need to be OCR. |
| [in] | is_editable | true means the OCR result is editable, false means the OCR result can only be searched but not be edited. |
| [in] | ocr_config | The OCRConfig object. |