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: u32Active column.
cursor_y: u32Active row.
hor_split_mode: SplitModeSplitting the table.
vert_split_mode: SplitModeSplitting the table.
hor_split_pos: u32Position of the split.
vert_split_pos: u32Position of the split.
active_split_range: i16SplitMode is Pixel
- 0-4 indicates the quadrant where the focus is. SplitMode is Cell
- No real function.
position_left: u32SplitMode 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: u32SplitMode is Pixel
- First visible column in the right quadrant. SplitMode is Cell
- The first visible column in the right quadrant.
position_top: u32SplitMode 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: u32SplitMode is Pixel
- The first visible row in teh right quadrant. SplitMode is Cell
- The first visible row in the bottom quadrant.
zoom_type: i16If 0 then zoom_value denotes a percentage. If 2 then zoom_value is 50%???
zoom_value: i32Value of zoom.
page_view_zoom_value: i32Value of pageview zoom.
show_grid: boolGrid is showing.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SheetConfig
impl Send for SheetConfig
impl Sync for SheetConfig
impl Unpin for SheetConfig
impl UnwindSafe for SheetConfig
Blanket Implementations
Mutably borrows from an owned value. Read more