pub struct SheetDocument {
pub document: Document,
/* private fields */
}Expand description
An OpenDocument spreadsheet.
Fields§
§document: DocumentThe package and everything shared with the other two formats.
Implementations§
Source§impl SheetDocument
impl SheetDocument
Sourcepub fn cell(&self, sheet: &Sheet, row: usize, column: usize) -> Option<Cell<'_>>
pub fn cell(&self, sheet: &Sheet, row: usize, column: usize) -> Option<Cell<'_>>
One cell, by sheet, row and column, all counting from zero.
None for a cell the document never wrote, which is the usual answer
past the edge of the used range and means an empty cell rather than an
error.
Sourcepub fn row_element(&self, sheet: &Sheet, row: usize) -> Option<&Element>
pub fn row_element(&self, sheet: &Sheet, row: usize) -> Option<&Element>
The table:table-row element a row number falls in.
Sourcepub fn row_height(&self, sheet: &Sheet, row: usize) -> Option<Length>
pub fn row_height(&self, sheet: &Sheet, row: usize) -> Option<Length>
A row’s height, where its style gives one.
Sourcepub fn cell_style(
&self,
sheet: &Sheet,
cell: Option<&Cell<'_>>,
column: usize,
) -> Rc<Properties>
pub fn cell_style( &self, sheet: &Sheet, cell: Option<&Cell<'_>>, column: usize, ) -> Rc<Properties>
The resolved style of a cell: the style it names, or the one its column gives every cell that names none.
Auto Trait Implementations§
impl !Freeze for SheetDocument
impl !RefUnwindSafe for SheetDocument
impl !Send for SheetDocument
impl !Sync for SheetDocument
impl Unpin for SheetDocument
impl UnsafeUnpin for SheetDocument
impl UnwindSafe for SheetDocument
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