|
Foxit PDF SDK
|
Public Member Functions | |
| OCRSettingData () | |
| Constructor. | |
| OCRSettingData (PDFDoc pdf_doc, Range page_range, boolean is_editable, OCRConfig ocr_config) | |
| Constructor, with parameters. More... | |
| synchronized void | delete () |
| Clean up related resources immediately. More... | |
| boolean | getIs_editable () |
| Get decide whether the OCR result is editable. More... | |
| OCRConfig | getOcr_config () |
| Get the OCRConfig object. More... | |
| Range | getPage_range () |
| Get the range of pages that need to be OCR. More... | |
| PDFDoc | getPdf_doc () |
| Get a valid PDF document that need to be OCR. More... | |
| void | set (PDFDoc pdf_doc, Range page_range, boolean is_editable, OCRConfig ocr_config) |
| Set value. More... | |
| void | setIs_editable (boolean value) |
| Set decide whether the OCR result is editable. More... | |
| void | setOcr_config (OCRConfig value) |
| Set the OCRConfig object. More... | |
| void | setPage_range (Range value) |
| Set the range of pages that need to be OCR. More... | |
| void | setPdf_doc (PDFDoc value) |
| Set a valid PDF document that need to be OCR. More... | |
This class represents setting data used for OCR.
| com.foxit.sdk.addon.ocr.OCRSettingData.OCRSettingData | ( | PDFDoc | pdf_doc, |
| Range | page_range, | ||
| boolean | is_editable, | ||
| OCRConfig | ocr_config | ||
| ) |
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. |
| synchronized void com.foxit.sdk.addon.ocr.OCRSettingData.delete | ( | ) |
Clean up related resources immediately.
| com.foxit.sdk.addon.ocr.OCRSettingData.getIs_editable | ( | ) |
Get decide whether the OCR result is editable.
| com.foxit.sdk.addon.ocr.OCRSettingData.getOcr_config | ( | ) |
| com.foxit.sdk.addon.ocr.OCRSettingData.getPage_range | ( | ) |
Get the range of pages that need to be OCR.
| com.foxit.sdk.addon.ocr.OCRSettingData.getPdf_doc | ( | ) |
Get a valid PDF document that need to be OCR.
| void com.foxit.sdk.addon.ocr.OCRSettingData.set | ( | PDFDoc | pdf_doc, |
| Range | page_range, | ||
| boolean | is_editable, | ||
| OCRConfig | ocr_config | ||
| ) |
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. |
| com.foxit.sdk.addon.ocr.OCRSettingData.setIs_editable | ( | boolean | value | ) |
Set decide whether the OCR result is editable.
| [in] | value | 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. |
| com.foxit.sdk.addon.ocr.OCRSettingData.setOcr_config | ( | OCRConfig | value | ) |
| com.foxit.sdk.addon.ocr.OCRSettingData.setPage_range | ( | Range | value | ) |
Set the range of pages that need to be OCR.
| [in] | value | The range of pages that need to be OCR. |
| com.foxit.sdk.addon.ocr.OCRSettingData.setPdf_doc | ( | PDFDoc | value | ) |
Set a valid PDF document that need to be OCR.
| [in] | value | A valid PDF document that need to be OCR. |