Skip to main content

Module layout

Module layout 

Source
Expand description

Layout algorithms

Transforms the FO tree into an area tree through layout algorithms.

Re-exports§

pub use block::BlockLayoutContext;
pub use engine::LayoutEngine;
pub use engine::MultiColumnLayout;
pub use inline::InlineArea;
pub use inline::InlineLayoutContext;
pub use inline::LineBreaker;
pub use inline::TextAlign;
pub use knuth_plass::KnuthPlassBreaker;
pub use list::ListLayout;
pub use list::ListMarkerStyle;
pub use page_break::PageBreaker;
pub use page_number_resolver::PageNumberResolver;
pub use properties::extract_break_after;
pub use properties::extract_break_before;
pub use properties::extract_clear;
pub use properties::extract_column_count;
pub use properties::extract_column_gap;
pub use properties::extract_end_indent;
pub use properties::extract_keep_constraint;
pub use properties::extract_letter_spacing;
pub use properties::extract_line_height;
pub use properties::extract_opacity;
pub use properties::extract_orphans;
pub use properties::extract_overflow;
pub use properties::extract_space_after;
pub use properties::extract_space_before;
pub use properties::extract_start_indent;
pub use properties::extract_text_indent;
pub use properties::extract_traits;
pub use properties::extract_widows;
pub use properties::extract_word_spacing;
pub use properties::BreakValue;
pub use properties::Keep;
pub use properties::KeepConstraint;
pub use properties::OverflowBehavior;
pub use streaming::StreamingConfig;
pub use streaming::StreamingLayoutEngine;
pub use streaming::StreamingLayoutIterator;
pub use table::BorderCollapse;
pub use table::CellCollapsedBorders;
pub use table::CollapsedBorder;
pub use table::ColumnInfo;
pub use table::ColumnWidth;
pub use table::TableLayout;
pub use table::TableLayoutMode;

Modules§

block
Block-level layout algorithms
engine
Main layout engine
inline
Inline-level layout and line breaking
knuth_plass
Knuth-Plass line breaking algorithm
list
List layout algorithm
page_break
Page breaking logic
page_number_resolver
Page number resolution for fo:page-number-citation
properties
Property extraction utilities
streaming
Streaming layout engine for processing large documents efficiently
table
Table layout algorithm