Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rust API

The crate is gaebboss-core; cargo doc --open -p gaebboss-core has the full reference. The entry points:

itemwhat it is
Document::open, Document::parse, Document::parse_namedread a file; the name decides the phase when nothing inside does
Document::items, categories, markup_itemsnavigation with Oz, ItemKind, texts and prices
Document::computed_totals, declared_totalsums per Fachdokumentation 4.6.17
text::plain, text::markdown, text::complementsprojections of any text node
validate::validate, validate::validate_against_tenderfindings
Document::write, Document::write_with_report, WriteOptionsXML out, per version and phase
bid::BidX83 to X84
json::to_jsonthe document as JSON with string decimals
decimal::Decimalfixed-point numbers, item_total, total_after_discount
model::*the generated typed model, one struct per schema type

Lower layers are public too: bytes::normalize, lexer::lex and tape::Tape give the flat tape; version::detect the route; read::Reader and the generated generated::read the typed readers.