16.0.15
📅 2023-01-28
New features
Section titled “New features”Support for editing, detecting and outputting PDF form fields
Section titled “Support for editing, detecting and outputting PDF form fields”The iDRS now has the notion of form field, and allows several operations around it:
- You can add and edit form fields in a
CPageContent2object - During OCR processing, the iDRS can detect empty form fields, and automatically add candidates found in the
CPageContent2object - Form fields can be added to the output PDF documents created later
The following form field types are supported:
- Text
- Combed text
- Password
- Checkbox
- Radio buttons
- List box
- Drop-down list
- Groups
For code snippets illustrating how to use this new feature, go to the Developer Guide at chapter Forms fields.
Coming soon
Future versions of iDRS will introduce the ability to import form fields from an input PDF, as well as to update data in an existing PDF form (new or updated fields).
Editing
Section titled “Editing”A new class CPageInteractiveForm is created to handle form fields. It allows you to set or update the default form style via the CPageInteractiveForm.DefaultFieldStyle property, and the form fields themselves via the CPageInteractiveForm.FormFields property.
This class is accessible using the new property CPageMetadata.InteractiveForm.
Detecting
Section titled “Detecting”The new property COcrContext.EmptyFormsDetection allows to activate the detection of form fields during character recognition.
The detection results are available in the CPageInteractiveForm instance of the CPage content.
Output
Section titled “Output”If the CPage objects in the document to be created contain form fields AND the output type is PDF, then they will be added to the output.
Other formats do not yet support this feature; this possibility may be added in a future release, depending on business needs.
Improvements
Section titled “Improvements”N/A
Deprecated or removed resources
Section titled “Deprecated or removed resources”N/A
Fixed bugs
Section titled “Fixed bugs”| ID | Description |
|---|---|
| IDRSRD-6307 | The iDRS incorrectly detects Thai language on an English document |
| IDRSRD-6260 | The iDRS crashes/hangs when detecting language and orientation of the attached document |
| IDRSRD-6262 | The iDRS crashes when detecting the language of a specific image |
| IDRSRD-6199 | Performance of iDRS corners detection feature can be improved |
| IDRSRD-6074 | The iDRS crashes when aborting OCR processing during DRS_END phase |
| IDRSRD-6027 | The iDRS processing time is slower with worker thread count higher than 1, for Asian languages |
| IDRSDEV-1503 | The iDRS may crash when memory threshold is reached |
| IDRSDEV-1512 | The id of iDRS C API macOS library should be set |
| IDRSDEV-1449 | The iDRS should allow to add or edit Form fields on document pages |
| IDRSDEV-1443 | The iDRS should be able to detect empty form fields on an image |
| IDRSDEV-780 | The iDRS should be able to write Form data when creating a PDF document |
Known Issues
Section titled “Known Issues”| ID | Description |
|---|---|
| IDRSDEV-1543 | iDRS Linux32 may crash during document output phase when memory monitoring is activated |
Notion of Property in C++
For convenience and readability, from this version on, we will use the term Property as explained in the Glossary.