Skip to content

16.0.15

📅 2023-01-28

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:

  1. You can add and edit form fields in a CPageContent2 object
  2. During OCR processing, the iDRS can detect empty form fields, and automatically add candidates found in the CPageContent2 object
  3. 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).

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.

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.

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.

N/A

N/A

IDDescription
IDRSRD-6307The iDRS incorrectly detects Thai language on an English document
IDRSRD-6260The iDRS crashes/hangs when detecting language and orientation of the attached document
IDRSRD-6262The iDRS crashes when detecting the language of a specific image
IDRSRD-6199Performance of iDRS corners detection feature can be improved
IDRSRD-6074The iDRS crashes when aborting OCR processing during DRS_END phase
IDRSRD-6027The iDRS processing time is slower with worker thread count higher than 1, for Asian languages
IDRSDEV-1503The iDRS may crash when memory threshold is reached
IDRSDEV-1512The id of iDRS C API macOS library should be set
IDRSDEV-1449The iDRS should allow to add or edit Form fields on document pages
IDRSDEV-1443The iDRS should be able to detect empty form fields on an image
IDRSDEV-780The iDRS should be able to write Form data when creating a PDF document
IDDescription
IDRSDEV-1543iDRS 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.