Struct spreadsheet_ods::WorkBook[][src]

pub struct WorkBook { /* fields omitted */ }
Expand description

Book is the main structure for the Spreadsheet.

Implementations

Empty.

Set ODS version.

ODS version.

Configuration flags.

Configuration flags.

Number of sheets.

Finds the sheet index by the sheet-name.

Detaches a sheet. Useful if you have to make mutating calls to the workbook and the sheet intermixed.

Warning

The sheet has to be re-attached before saving the workbook.

Panics

Panics if the sheet has already been detached. Panics if n is out of bounds.

Reattaches the sheet in the place it was before.

Panics

Panics if n is out of bounds.

Returns a certain sheet.

Panics

Panics if n is out of bounds.

Returns a certain sheet.

Panics

Panics if n does not exist.

Inserts the sheet at the given position.

Appends a sheet.

Removes a sheet from the table.

Panics

Panics if the sheet was detached.

Adds a default-style for all new values. This information is only used when writing the data to the ODS file.

Returns the default style name.

Finds a ValueFormat starting with the stylename attached to a cell.

Adds a font.

Removes a font.

Returns the FontDecl.

Returns a mutable FontDecl.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a style. Unnamed styles will be assigned an automatic name.

Removes a style.

Returns the style.

Returns the mutable style.

Adds a value format. Unnamed formats will be assigned an automatic name.

Removes the format.

Returns the format.

Returns the mutable format.

Adds a value PageStyle. Unnamed formats will be assigned an automatic name.

Removes the PageStyle.

Returns the PageStyle.

Returns the mutable PageStyle.

Adds a value MasterPage. Unnamed formats will be assigned an automatic name.

Removes the MasterPage.

Returns the MasterPage.

Returns the mutable MasterPage.

Adds a Validation. Nameless validations will be assigned a name.

Removes a Validation.

Returns the Validation.

Returns a mutable Validation.

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

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.