Class: Gnm::SheetView

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sheet, wbv) ⇒ Gnm::SheetView

Parameters:

Class Method Details

.weak_unref(ptr) ⇒ nil

Parameters:

Returns:

  • (nil)

Instance Method Details

#ant(ranges) ⇒ nil

Parameters:

  • ranges (GLib::List<Gnm::Range>)

    The ranges to ant.

Returns:

  • (nil)

#attach_control(sc) ⇒ nil

Parameters:

Returns:

  • (nil)

#cursor_set(edit, base_col, base_row, move_col, move_row, bound) ⇒ nil

Parameters:

  • edit (Gnm::CellPos)
  • base_col (Integer)
  • base_row (Integer)
  • move_col (Integer)
  • move_row (Integer)
  • bound (Gnm::Range)

    A range that should contain all the supplied points

Returns:

  • (nil)

#detach_control(sc) ⇒ nil

Parameters:

Returns:

  • (nil)

#disposenil

Returns:

  • (nil)

#edit_pos=(pos) ⇒ nil

Parameters:

  • pos (Gnm::CellPos)

Returns:

  • (nil)

#editpos_in_filterGnm::Filter

Returns Gnm::Filter that overlaps the sv::edit_pos.

Returns:

  • (Gnm::Filter)

    Gnm::Filter that overlaps the sv::edit_pos

#editpos_in_slicerGnm::SheetSlicer

sv::edit_pos

Returns:

#flag_selection_changenil

flag the sheet as requiring an update to the status display

Will cause auto expressions to be updated

Returns:

  • (nil)

#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.

Parameters:

  • pos (Gnm::CellPos)

Returns:

  • (nil)

#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.

Parameters:

  • range (Gnm::Range)

    If nil then force an update.

Returns:

  • (nil)

#flag_style_update_range(range) ⇒ nil

Flag style changes that will require updating the style indicators.

Parameters:

  • range (Gnm::Range)

    the range that is changing.

Returns:

  • (nil)

#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

Parameters:

  • frozen_top_left (Gnm::CellPos)

    top left corner of the frozen region

  • unfrozen_top_left (Gnm::CellPos)

    top left corner of the unfrozen region

Returns:

  • (nil)

#is_frozenBoolean

Returns:

  • (Boolean)

#make_cell_visible(col, row, couple_panes) ⇒ nil

Parameters:

  • col (Integer)
  • row (Integer)
  • couple_panes (Boolean)

Returns:

  • (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.

Parameters:

  • is_cols (Boolean)

    true for columns, false for rows.

  • is_insert (Boolean)
  • start (Integer)
  • count (Integer)

Returns:

  • (nil)

#redraw_headers(col, row, r) ⇒ nil

Parameters:

  • col (Boolean)
  • row (Boolean)
  • r (Gnm::Range)

Returns:

  • (nil)

#redraw_range(r) ⇒ nil

Parameters:

  • r (Gnm::Range)

Returns:

  • (nil)

#resize(force_scroll) ⇒ nil

Parameters:

  • force_scroll (Boolean)

Returns:

  • (nil)

#selection_copy(wbc) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)

#selection_cut(wbc) ⇒ Boolean

Parameters:

Returns:

  • (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.

Parameters:

  • f (Gnm::Filter)

Returns:

  • (Gnm::Range)

    Gnm::Filter whose rows intersect the rows of the current selection range to which the filter can be extended.

#selection_intersects_filter_rowsGnm::Filter

Returns Gnm::Filter whose rows intersect the rows of the current selection.

Returns:

  • (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. 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.

Parameters:

  • col (Integer)
  • row (Integer)

Returns:

  • (nil)

#unantnil

Returns:

  • (nil)

#updatenil

Returns:

  • (nil)

#weak_ref(ptr) ⇒ nil

Parameters:

Returns:

  • (nil)