Flatten PDF Form Fields in Java

Under the hood, PDF form elements are a type of PDF annotation called widget annotations. They’re used to implement interactive form elements, such as buttons, checkboxes, combo boxes, and more.

As such, the process of flattening PDF forms is identical to that of flattening PDF annotations. See our annotation flattening guide to learn more.