Expand description
Complete AcroForm model export for editor/binding consumption (C-chain).
build_form_model flattens a parsed FieldTree into a list of
FormFieldModel values — one per logical field — with everything an
interactive form UI needs: typed kind, per-page widget rectangles, radio
on-state values, checkbox on-states, choice options, comb/multiline
flags, length limits, access flags and resolved default-appearance info.
The model is deliberately plain data (no lifetimes, no arena ids) so facades and language bindings can serialize it as-is.
Structs§
- DaInfo
- Resolved default-appearance info for a field (from
/DA, inherited). - Form
Field Model - A logical form field with everything an editor UI needs.
- Widget
Model - One widget annotation of a logical field.
Enums§
- Form
Field Kind - The kind of a logical form field, with kind-specific data inline.
Functions§
- build_
form_ model - Build the editor-facing model from a parsed field tree.