Class: Gnm::SheetView
- Inherits:
-
Object
- Object
- Gnm::SheetView
- Defined in:
- (unknown)
Class Method Summary collapse
Instance Method Summary collapse
- #ant(ranges) ⇒ nil
- #attach_control(sc) ⇒ nil
- #cursor_set(edit, base_col, base_row, move_col, move_row, bound) ⇒ nil
- #detach_control(sc) ⇒ nil
- #dispose ⇒ nil
- #edit_pos=(pos) ⇒ nil
-
#editpos_in_filter ⇒ Gnm::Filter
Gnm::Filter that overlaps the sv::edit_pos.
-
#editpos_in_slicer ⇒ Gnm::SheetSlicer
sv::edit_pos.
-
#flag_selection_change ⇒ nil
flag the sheet as requiring an update to the status display.
-
#flag_status_update_pos(pos) ⇒ nil
flag the view as requiring an update to the status display if the supplied cell location is the edit cursor, or part of the selected region.
-
#flag_status_update_range(range) ⇒ nil
flag the sheet as requiring an update to the status display if the supplied cell location contains the edit cursor, or intersects of the selected region.
-
#flag_style_update_range(range) ⇒ nil
Flag style changes that will require updating the style indicators.
-
#freeze_panes(frozen_top_left, unfrozen_top_left) ⇒ nil
By definition the unfrozen region must be below the frozen.
- #initialize(sheet, wbv) ⇒ Gnm::SheetView constructor
- #is_frozen ⇒ Boolean
- #make_cell_visible(col, row, couple_panes) ⇒ nil
-
#panes_insdel_colrow(is_cols, is_insert, start, count) ⇒ nil
Adjust the positions of frozen panes as necessary to handle col/row insertions and deletions.
- #redraw_headers(col, row, r) ⇒ nil
- #redraw_range(r) ⇒ nil
- #resize(force_scroll) ⇒ nil
- #selection_copy(wbc) ⇒ Boolean
- #selection_cut(wbc) ⇒ Boolean
-
#selection_extends_filter(f) ⇒ Gnm::Range
Gnm::Filter whose rows intersect the rows of the current selection range to which the filter can be extended.
-
#selection_intersects_filter_rows ⇒ Gnm::Filter
Gnm::Filter whose rows intersect the rows of the current selection.
-
#set_initial_top_left(col, row) ⇒ nil
Sets the top left cell that a newly created sheet control should display.
- #unant ⇒ nil
- #update ⇒ nil
- #weak_ref(ptr) ⇒ nil
Constructor Details
#initialize(sheet, wbv) ⇒ Gnm::SheetView
Class Method Details
.weak_unref(ptr) ⇒ nil
Instance Method Details
#ant(ranges) ⇒ nil
#attach_control(sc) ⇒ nil
#cursor_set(edit, base_col, base_row, move_col, move_row, bound) ⇒ nil
#detach_control(sc) ⇒ nil
#dispose ⇒ nil
#edit_pos=(pos) ⇒ nil
#editpos_in_filter ⇒ Gnm::Filter
Returns Gnm::Filter that overlaps the sv::edit_pos.
#editpos_in_slicer ⇒ Gnm::SheetSlicer
sv::edit_pos
#flag_selection_change ⇒ nil
flag the sheet as requiring an update to the status display
Will cause auto expressions to be updated
#flag_status_update_pos(pos) ⇒ nil
flag the view as requiring an update to the status display if the supplied cell location is the edit cursor, or part of the selected region.
Will cause the format toolbar, the edit area, and the auto expressions to be updated if appropriate.
#flag_status_update_range(range) ⇒ nil
flag the sheet as requiring an update to the status display if the supplied cell location contains the edit cursor, or intersects of the selected region.
Will cause the format toolbar, the edit area, and the auto expressions to be updated if appropriate.
#flag_style_update_range(range) ⇒ nil
Flag style changes that will require updating the style indicators.
#freeze_panes(frozen_top_left, unfrozen_top_left) ⇒ nil
By definition the unfrozen region must be below the frozen. If frozen_top_left == unfrozen_top_left or frozen_top_left == NULL unfreeze
#is_frozen ⇒ Boolean
#make_cell_visible(col, row, couple_panes) ⇒ nil
#panes_insdel_colrow(is_cols, is_insert, start, count) ⇒ nil
Adjust the positions of frozen panes as necessary to handle col/row insertions and deletions. note this assumes that the ins/del operations have already set the flags that will force a resize.
#redraw_headers(col, row, r) ⇒ nil
#redraw_range(r) ⇒ nil
#resize(force_scroll) ⇒ nil
#selection_copy(wbc) ⇒ Boolean
#selection_cut(wbc) ⇒ Boolean
#selection_extends_filter(f) ⇒ Gnm::Range
Returns Gnm::Filter whose rows intersect the rows of the current selection range to which the filter can be extended.
#selection_intersects_filter_rows ⇒ Gnm::Filter
Returns Gnm::Filter whose rows intersect the rows of the current selection.
#set_initial_top_left(col, row) ⇒ nil
Sets the top left cell that a newly created sheet control should display. This corresponds to the top left cell visible in pane 0 (frozen or not). NOTE : the unfrozen_top_left != initial_top_left. Unfrozen is the first unfrozen cell, and corresponds to the minimum cell in pane 0. However, the pane can scroll and may have something else currently visible as the top left.