Expand description
Modules§
- container
- ZIP container access — OOXML, ODF and EPUB are all ZIP archives of XML.
- csv
- CSV extractor — one table, the first record as its header.
- epub
- EPUB extractor — the spine’s XHTML documents, in reading order.
- html
- HTML extractor — a real HTML5 parse (html5ever), then a walk into the model.
- markdown
- Markdown extractor — normalises Markdown through the
Documentmodel. - odf
- OpenDocument text and presentations (
.odt,.odp). - ooxml
- OOXML extractors — docx and pptx, plus the parts they share.
- PDF extractor — born-digital text, reconstructed from glyph positions.
- rtf
- RTF extractor — a small reader for the parts of RTF that carry text.
- spreadsheet
- Spreadsheets (
.xlsx,.ods) via calamine — one heading and one table per sheet. - text
- Plain-text extractor — blank-line separated paragraphs.
- xml
- A tiny XML tree, shared by the OOXML and ODF extractors.
Structs§
- Extract
Opts - Options that influence extraction.
- Page
Range - A
--pagesselection:1-10,3,2-.
Traits§
Functions§
- extract_
path - Detect the format of
pathand extract it. - for_
format - Pick the extractor for a format, if one exists yet.