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

New, empty, but with a name.

Copy all the attributes but not the actual data.

Iterate all cells.

Iterate a range of cells.

Sheet name.

Sheet name.

Configuration for the sheet.

Configuration for the sheet.

Sets the table-style

Returns the table-style.

Column style.

Remove the style.

Returns the column 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.

Returns the column-width.

Row style.

Remove the style.

Returns the row 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

Returns the maximum used column +1 in the column header

Returns the maximum used row +1 in the row header

Returns a tuple of (max(row)+1, max(col)+1)

Is the sheet displayed?

Is the sheet displayed?

Is the sheet printed?

Is the sheet printed?

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.

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.

Returns a value

Sets a formula for the specified cell. Creates a new cell if necessary.

Removes the formula.

Returns a value

Sets the cell-style for the specified cell. Creates a new cell if necessary.

Removes the cell-style.

Returns a value

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.

Rowspan of the cell.

Sets the colspan of the cell. Must be greater than 0.

Colspan of the cell.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.