Skip to main content

extract_tables

Function extract_tables 

Source
pub fn extract_tables<T: DocxRow>(path: &Path) -> Result<Vec<Vec<T>>>
Expand description

Extracts all tables from a document and deserialises each into Vec<T>.

Uses office_oxide’s IR (intermediate representation) to find tables, then converts each row via the DocxRow trait.

§Errors

Returns I/O, format, or conversion errors.