pub struct DocxFile { /* private fields */ }
Expand description
An extracted docx file
Implementations§
source§impl DocxFile
impl DocxFile
sourcepub fn from_reader<T: Read + Seek>(reader: T) -> DocxResult<Self>
pub fn from_reader<T: Read + Seek>(reader: T) -> DocxResult<Self>
Extracts from reader
sourcepub fn from_file<P: AsRef<Path>>(path: P) -> DocxResult<Self>
pub fn from_file<P: AsRef<Path>>(path: P) -> DocxResult<Self>
Extracts from file
sourcepub fn parse<'a>(&'a self) -> DocxResult<Docx<'a>>
pub fn parse<'a>(&'a self) -> DocxResult<Docx<'a>>
Parses content into Docx
struct