Trait calamine::ExcelReader [] [src]

pub trait ExcelReader: Sized {
    fn new(f: File) -> Result<Self>;
    fn has_vba(&mut self) -> bool;
    fn vba_project(&mut self) -> Result<Cow<VbaProject>>;
    fn read_shared_strings(&mut self) -> Result<Vec<String>>;
    fn read_sheets_names(&mut self,
                         relationships: &HashMap<Vec<u8>, String>)
                         -> Result<Vec<(String, String)>>; fn read_relationships(&mut self) -> Result<HashMap<Vec<u8>, String>>; fn read_worksheet_range(&mut self,
                            path: &str,
                            strings: &[String])
                            -> Result<Range>; }

A trait to share excel reader functions accross different FileTypes

Required Methods

Creates a new instance based on the actual file

Does the workbook contain a vba project

Gets VbaProject

Gets vba references

Read sheets from workbook.xml and get their corresponding path from relationships

Read workbook relationships

Read worksheet data in corresponding worksheet path

Implementors