Skip to main content

Module form

Module form 

Source
Expand description

The AcroForm data model (ISO 32000-1 §12.7): fields, their inherited attributes, their values, and the edits that write a filled form back out.

No JavaScript. A /AA script action on a field is data this crate will hand you (Action::javascript); executing it is out of scope permanently, which is what “fill, no JS” means.

Structs§

Field
One terminal form field.
FieldFlags
A field’s /Ff flag word (ISO 32000-1 tables 227–230).
FieldValues
Values written to a form’s fields, keyed by fully-qualified name.
Form
Every terminal field of a document’s interactive form.

Enums§

FieldKind
What kind of control a form field is (ISO 32000-1 §12.7.4).

Functions§

apply
Turns an edit buffer into the object replacements that write it to a file.
field_attr
Looks an attribute up on a field and then up its ancestors.
full_name
A field’s fully-qualified name: its ancestors’ /T values and its own, joined with dots from the root down.
selected_indices_for_interaction
Which rows of a choice field an interaction treats as selected.