pub enum ReadingOrder {
Content,
StructureTree,
Geometric,
}Expand description
The order a page’s text is read in. Every extraction entry point takes
one; ReadingOrder::Content is the default.
Variants§
Content
The content stream’s order: what the producer wrote, which in a typeset document is the order it meant, each column whole before the next. Layout corrects the streams that write across two columns row by row and takes over on a page not written in any order.
StructureTree
The structure tree’s order (ISO 32000-1 §14.7) on a tagged page: the
reading order the author declared, /MarkInfo notwithstanding. A
page the tree does not reach reads in content order.
Geometric
Position on the page: lines top to bottom, spans left to right, a page with a clear gutter column by column. Interleaves the columns of a two-column page the gutter search does not find; opt in only.
Implementations§
Trait Implementations§
Source§impl Clone for ReadingOrder
impl Clone for ReadingOrder
Source§fn clone(&self) -> ReadingOrder
fn clone(&self) -> ReadingOrder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more