Skip to main content

extract_text

Function extract_text 

Source
pub fn extract_text(path: &Path) -> Result<String>
Expand description

Extracts all plain text from a document using office_oxide.

Supports DOCX, DOC, and all other formats office_oxide can read.

ยงErrors

Returns I/O or format errors if the file cannot be opened or parsed.