Contains all available data about any possible selection in a Calc document.
ScSelectionState(ScViewData &rViewData)
ScSelectionType GetSelectionType() const
Returns the type of the selection this object contains.
const ScAddress & GetCellCursor() const
Returns the position of the cell cursor.
ScAddress maCursor
Type of the selection.
const ESelection & GetEditSelection() const
Returns the edit engine selection.
ESelection maEditSel
Cell cursor position.
ScSelectionType
Enumerates all possible types of selections in a Calc document.
@ SC_SELECTTYPE_EDITCELL
Single cell, cell range, or multi range selection.
@ SC_SELECTTYPE_SHEET
No selection, simple cell cursor.