Struct spreadsheet_ods::SheetConfig[][src]

pub struct SheetConfig {
Show 15 fields pub cursor_x: u32, pub cursor_y: u32, pub hor_split_mode: SplitMode, pub vert_split_mode: SplitMode, pub hor_split_pos: u32, pub vert_split_pos: u32, pub active_split_range: i16, pub position_left: u32, pub position_right: u32, pub position_top: u32, pub position_bottom: u32, pub zoom_type: i16, pub zoom_value: i32, pub page_view_zoom_value: i32, pub show_grid: bool,
}
Expand description

Per sheet configurations.

Fields

cursor_x: u32

Active column.

cursor_y: u32

Active row.

hor_split_mode: SplitMode

Splitting the table.

vert_split_mode: SplitMode

Splitting the table.

hor_split_pos: u32

Position of the split.

vert_split_pos: u32

Position of the split.

active_split_range: i16

SplitMode is Pixel

  • 0-4 indicates the quadrant where the focus is. SplitMode is Cell
  • No real function.
position_left: u32

SplitMode is Pixel

  • First visible column in the left quadrant. SplitMode is Cell
  • The first visible column in the left quadrant. AND every column left of this one is simply invisible.
position_right: u32

SplitMode is Pixel

  • First visible column in the right quadrant. SplitMode is Cell
  • The first visible column in the right quadrant.
position_top: u32

SplitMode is Pixel

  • First visible row in the top quadrant. SplitMode is Cell
  • The first visible row in the top quadrant. AND every row up from this one is simply invisible.
position_bottom: u32

SplitMode is Pixel

  • The first visible row in teh right quadrant. SplitMode is Cell
  • The first visible row in the bottom quadrant.
zoom_type: i16

If 0 then zoom_value denotes a percentage. If 2 then zoom_value is 50%???

zoom_value: i32

Value of zoom.

page_view_zoom_value: i32

Value of pageview zoom.

show_grid: bool

Grid is showing.

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.