#include <import_interface_view.hpp>
Interface for importing view properties. This interface may be obtained from the import_sheet interface.
◆ set_frozen_pane()
virtual void orcus::spreadsheet::iface::import_sheet_view::set_frozen_pane |
( |
col_t | visible_columns, |
|
|
row_t | visible_rows, |
|
|
const address_t & | top_left_cell, |
|
|
sheet_pane_t | active_pane ) |
|
pure virtual |
Set the state of frozen view in the current sheet.
- Parameters
-
visible_columns | number of visible columns in the left pane. |
visible_rows | number of visible rows in the top pane. |
top_left_cell | the top left visible cell in the bottom right pane. |
active_pane | active pane in this sheet. |
◆ set_selected_range()
virtual void orcus::spreadsheet::iface::import_sheet_view::set_selected_range |
( |
sheet_pane_t | pane, |
|
|
range_t | range ) |
|
pure virtual |
Set the selected cursor range in a specified sheet pane.
- Parameters
-
pane | sheet pane associated with the selection. The top-left pane is used for a non-split sheet view. |
range | selected cursor range. The range will be 1 column by 1 row when the cursor is on a single cell only. |
◆ set_sheet_active()
virtual void orcus::spreadsheet::iface::import_sheet_view::set_sheet_active |
( |
| ) |
|
|
pure virtual |
Set the current sheet as the active sheet.
◆ set_split_pane()
virtual void orcus::spreadsheet::iface::import_sheet_view::set_split_pane |
( |
double | hor_split, |
|
|
double | ver_split, |
|
|
const address_t & | top_left_cell, |
|
|
sheet_pane_t | active_pane ) |
|
pure virtual |
Set the information about split view in the current sheet.
- Parameters
-
hor_split | horizontal position of the split in 1/20th of a point, or 0 if none. "Horizontal" in this case indicates the column direction. |
ver_split | vertical position of the split in 1/20th of a point, or 0 if none. "Vertical" in this case indicates the row direction. |
top_left_cell | the top left visible cell in the bottom right pane. |
active_pane | active pane in this sheet. |