'PDF form fields: Separate/Extract widget dictionary from field dictionary

According to the PDF spec it is possible to merge the widget dictionary and the field dictionary when there is only one associated widget annotation. Is there some support by iText / openPDF to separate the two again? (Low level API would suffice).

Update: Ok so there seems to be no convienient method for it. But what about the following entries which does exist in both dictionaries:

  • AA (additional actions) are defined in (widget) annotation dictionary and in the field dictionary - so when separating where to put it?
  • Parent - both field and annotation define a parent - so when separating where to put it?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source