1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # xforme
//!
//! A blazing-fast Rust engine that streams your data through ordinary Excel
//! templates to mass-produce pixel-perfect spreadsheets and PDFs, formatting
//! and formulas intact.
//!
//! It is the Rust migration of *templateIt* — the 2009 Java project by the same
//! author (<https://templateit.sourceforge.net/>): a data-driven template processor
//! that fills a template from a tab-delimited data stream and renders the
//! result to both spreadsheet and PDF — the roles played by Apache POI and
//! iText in the original.
//!
//! The pipeline is:
//!
//! ```text
//! data file ──[data::parse]──▶ Sheet ─┐
//! ├─[engine::process]──▶ Document ──┬─[render_xlsx]──▶ .xlsx
//! Template ────────────────────────────┘ └─[render_pdf]───▶ .pdf
//! ```
//!
//! The bundled [`salesreceipt`] module reproduces the project's canonical Sales
//! Receipt example on top of the generic engine.
pub use Document;
pub use process;
pub use ;
pub use Template;