pub struct Document { /* private fields */ }Expand description
An OpenDocument spreadsheet opened far enough to walk.
Implementations§
Trait Implementations§
Source§impl Source for Document
impl Source for Document
fn sheets(&self) -> &[SheetInfo]
fn names(&self) -> &[NameInfo]
fn tables(&self) -> &[TableInfo]
Source§fn external_books(&self) -> &[String]
fn external_books(&self) -> &[String]
The other workbooks the file links to, by file name.
Source§fn walk_sheet_with(
&self,
index: usize,
sink: &mut dyn Sink,
book_distinct: &mut HashSet<String>,
) -> Result<SheetStats, Refusal>
fn walk_sheet_with( &self, index: usize, sink: &mut dyn Sink, book_distinct: &mut HashSet<String>, ) -> Result<SheetStats, Refusal>
One sheet’s cells in document order, to the sink: a
cell row for a
value the file holds, a formula row for a formula, then its
refers rows; with the workbook-wide set of distinct R1C1 formulas
carried across sheets for --counts. What the walk counted comes
back.Source§fn walk_sheet(
&self,
index: usize,
sink: &mut dyn Sink,
) -> Result<SheetStats, Refusal>
fn walk_sheet( &self, index: usize, sink: &mut dyn Sink, ) -> Result<SheetStats, Refusal>
Source::walk_sheet_with with no workbook-wide set.Source§fn printed_name(&self, name: &NameInfo) -> String
fn printed_name(&self, name: &NameInfo) -> String
A
name row’s first field: the name, a sheet-scoped one behind its
sheet as a reference quotes it (Model!Local). The key diff and
audit match names by.Source§fn header_rows(&self, sink: &mut dyn Sink)
fn header_rows(&self, sink: &mut dyn Sink)
The rows that come before any cell, in the fixed order: every
sheet row in tab order, every name row sorted by its name without
case, every table row by its sheet’s tab order then its name.Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more