removeAcroFormWhenEmpty property

bool removeAcroFormWhenEmpty
final

Whether the /AcroForm should leave the catalog when no field is left.

With false, the dictionary stays in place with an empty /Fields — useful for whoever needs to preserve /DR or /DA for a later step.

Implementation

final bool removeAcroFormWhenEmpty;