Expand description
XFA feature surface for pdf-engine.
This module is compiled only with the xfa feature and re-exports the
high-level helpers needed to extract and flatten XFA content without making
the base crate depend on the XFA stack by default.
Structs§
- Form
Data - A JSON-friendly representation of an XFA form’s data.
- Form
Node Id - A unique identifier for a form node.
- Form
Schema - Schema metadata for a form’s fields.
- Form
Tree - The form tree: a node-based representation of the merged template+data.
- XfaPackets
- XfaPackets.
Enums§
- XfaError
- XfaError.
Functions§
- export_
schema - Extract a schema from a FormTree.
- extract_
packets - Extract the XFA packets embedded in a document.
- flatten
- Flatten an XFA document into static PDF bytes.
- form_
tree_ to_ json - Convert a FormTree into a JSON-friendly
FormDatastructure. - form_
tree_ to_ value - Convert a FormTree into a raw
serde_json::Value. - has_xfa
- Returns
trueif the document has an XFA template packet.