lightweight_pdf_layout/lib.rs
1//! `Layoutable` trait, pagination and text wrapping for `lightweight-pdf`. Knows
2//! `lightweight-pdf-core`'s element types, but nothing about `lightweight-pdf-writer` or fonts
3//! beyond the [`FontResolver`] contract (ADR-010).
4
5mod font_resolver;
6mod geometry;
7#[cfg(feature = "hyphenation")]
8mod hyphenate;
9mod image;
10mod layoutable;
11mod list;
12mod pagination;
13mod render_node;
14mod table;
15mod text;
16mod toc;
17mod warnings;
18
19pub use font_resolver::*;
20pub use geometry::*;
21pub use layoutable::*;
22pub use pagination::*;
23pub use render_node::*;
24pub use text::{text_width_pt, wrap_text, RichLine, StyledWord};
25pub use toc::TocHeading;
26pub use warnings::*;