Expand description
Core types for XFA layout — Box Model, measurements, and layout primitives.
Implements XFA 3.3 §4 (Box Model) types.
Structs§
- BoxModel
- The XFA Box Model for a form element.
- Caption
- A caption for a form field.
- Insets
- Inset values (margins, padding) for the four sides.
- Measurement
- A measurement with a unit, parsed from XFA attributes.
- Point
- A 2D point in layout coordinates (points, 1pt = 1/72 inch).
- Rect
- An axis-aligned rectangle in layout space.
- Size
- A 2D size in points.
Enums§
- Caption
Placement - Caption placement relative to content.
- Layout
Strategy - Layout strategy for a container.
- Measurement
Unit - Units for measurements in XFA.
- Text
Align - Horizontal text alignment (XFA
<para hAlign>). - Vertical
Align - Vertical text alignment (XFA
<para vAlign>).
Constants§
- DEFAULT_
TEXT_ PADDING - Shared default horizontal text padding, applied per side when paragraph margins are not explicitly set.