Struct spreadsheet_ods::Sheet [−][src]
pub struct Sheet { /* fields omitted */ }Expand description
One sheet of the spreadsheet.
Contains the data and the style-references. The can also be styles on the whole sheet, columns and rows. The more complicated grouping tags are not covered.
Implementations
New, empty, but with a name.
Copy all the attributes but not the actual data.
Iterate all cells.
Iterate a range of cells.
Configuration for the sheet.
Configuration for the sheet.
Sets the table-style
Column style.
Remove the style.
Default cell style for this column.
Remove the style.
Returns the default cell style for this column.
Visibility of the column
Returns the default cell style for this column.
Sets the column width for this column.
Row style.
Remove the style.
Default cell style for this row.
Remove the style.
Returns the default cell style for this row.
Visibility of the row
Returns the default cell style for this row.
Sets the repeat count for this row. Usually this is the last row with data in a sheet. Setting the repeat count will not change the row number of following rows. But they will be changed after writing to an ODS file and reading it again.
Returns the repeat count for this row.
Sets the row-height.
Returns the row-height
Is the sheet displayed?
Returns true if there is no SCell at the given position.
Basic range operator. Returns a copy of the cell content.
Consumes the CellContent and sets the values.
Removes the cell and returns the values as CellContent.
pub fn set_styled_value<V: Into<Value>>(
&mut self,
row: u32,
col: u32,
value: V,
style: &CellStyleRef
)
pub fn set_styled_value<V: Into<Value>>(
&mut self,
row: u32,
col: u32,
value: V,
style: &CellStyleRef
)
Sets a value for the specified cell. Creates a new cell if necessary.
Sets a value for the specified cell. Creates a new cell if necessary.
Sets a formula for the specified cell. Creates a new cell if necessary.
Removes the formula.
Sets the cell-style for the specified cell. Creates a new cell if necessary.
Removes the cell-style.
Sets a content-validation for this cell.
Removes the cell-style.
Returns a content-validation name for this cell.
Sets the rowspan of the cell. Must be greater than 0.
Sets the colspan of the cell. Must be greater than 0.
Defines a range of rows as header rows.
Clears the header-rows definition.
Returns the header rows.
Defines a range of columns as header columns.
Clears the header-columns definition.
Returns the header columns.
Print ranges.
Remove print ranges.
Return the print ranges.
Split horizontally on a cell boundary. The splitting is fixed in position.
Split vertically on a cell boundary. The splitting is fixed in position.
Split horizontally with a pixel width. The split can be moved around. For more control look at SheetConfig.
Split vertically with a pixel width. The split can be moved around. For more control look at SheetConfig.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sheet
impl UnwindSafe for Sheet
Blanket Implementations
Mutably borrows from an owned value. Read more