Skip to main content

Crate xfa_layout_engine

Crate xfa_layout_engine 

Source
Expand description

XFA Layout Engine — Box Model and pagination.

Implements the XFA layout algorithms from XFA 3.3 §4 and §8, including positioned/flowed layout, content splitting, and pagination.

Modules§

error
Layout engine error types.
form
Form node types — the input to the layout engine.
ir
LayoutTreeIR — canonical, deterministic intermediate representation of XFA layout state.
layout
Layout engine — positions form nodes into layout rectangles.
scripting
Scripting integration — run FormCalc calculate/validate scripts on form fields.
text
Text Measurement and Wrapping
trace
Decision-trace channel for XFA observability.
types
Core types for XFA layout — Box Model, measurements, and layout primitives.