1mod bidi;
4#[cfg(feature = "document")]
5mod columns;
6mod detect_hybrid;
7mod detect_lattice;
8mod detect_text;
9#[cfg(feature = "document")]
10mod document;
11mod edges_geom;
12mod error;
13mod extract;
14#[cfg(feature = "document")]
15mod furniture;
16mod model;
17mod par;
18mod query;
19#[cfg(feature = "reader")]
20mod reader;
21#[cfg(feature = "text")]
22mod text;
23#[cfg(target_arch = "wasm32")]
24mod wasm;
25
26pub use bidi::{BidiText, apply_bidi, bidi};
27pub use detect_hybrid::HybridSettings;
28pub use detect_lattice::LatticeSettings;
29pub use detect_text::TextSettings;
30#[cfg(feature = "document")]
31pub use document::{
32 ContentBlock, ContentLine, ContentPage, ContentText, DocBlock, DocContent, DocDoc, DocPage,
33 TextBlock, TextBlockKind, TextBlockRole, assign_header_footer, assign_headings, assign_lists,
34 build_blocks, extract_content_from_bytes, extract_content_from_bytes_with_query,
35 extract_document_from_bytes, extract_document_from_bytes_with_query,
36 extract_markdown_from_bytes, extract_markdown_from_bytes_with_query,
37};
38pub use error::{Error, Result};
39pub use extract::{
40 DetectMode, EdgePart, ExtractOptions, GlyphPart, GraphicPart, PagePart, ReaderSettings,
41 extract_from_parts,
42};
43pub use model::{BBox, Cell, Document, Orientation, Page, Table};
44pub use query::{ExtractQuery, PageSelection, Region, retain_parts_in_region};
45#[cfg(feature = "reader")]
46pub use reader::{
47 PartsView, ReaderDump, ReaderDumpPage, TextView, extract_from_bytes,
48 extract_from_bytes_with_query, extract_text_from_bytes, extract_text_from_bytes_with,
49 extract_text_from_bytes_with_query, read_pages, read_pages_full, read_pages_full_with,
50 read_pages_with,
51};
52#[cfg(feature = "text")]
53pub use text::{
54 TextChar, TextDoc, TextFont, TextItem, TextLine, TextPage, TextWord, build_text_items,
55 build_text_items_with, build_text_lines, build_text_lines_with, retain_chars_in_region,
56};