LibreOffice Module sc (master) 1
|
Contains all available data about any possible selection in a Calc document. More...
#include <selectionstate.hxx>
Public Member Functions | |
ScSelectionState (ScViewData &rViewData) | |
ScSelectionType | GetSelectionType () const |
Returns the type of the selection this object contains. More... | |
const ScAddress & | GetCellCursor () const |
Returns the position of the cell cursor. More... | |
const ESelection & | GetEditSelection () const |
Returns the edit engine selection. More... | |
Private Attributes | |
ScSelectionType | meType |
ScAddress | maCursor |
Type of the selection. More... | |
ESelection | maEditSel |
Cell cursor position. More... | |
Contains all available data about any possible selection in a Calc document.
Definition at line 36 of file selectionstate.hxx.
|
explicit |
Definition at line 26 of file selectionstate.cxx.
References ScViewData::GetActivePart(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetEditView(), ScViewData::GetEditViewCol(), ScViewData::GetEditViewRow(), ScViewData::GetMarkData(), ScViewData::GetTabNo(), ScViewData::HasEditView(), ScMarkData::IsMultiMarked(), maCursor, maEditSel, ScMarkData::MarkToMulti(), meType, meType, SC_SELECTTYPE_EDITCELL, SC_SELECTTYPE_SHEET, ScAddress::SetCol(), ScAddress::SetRow(), and ScAddress::SetTab().
|
inline |
Returns the position of the cell cursor.
Definition at line 45 of file selectionstate.hxx.
References maCursor.
Referenced by ScConversionEngineBase::RestoreCursorPos(), and ScConversionEngineBase::ScConversionEngineBase().
|
inline |
Returns the edit engine selection.
Definition at line 47 of file selectionstate.hxx.
References maEditSel.
Referenced by ScConversionEngineBase::FindNextConversionCell().
|
inline |
Returns the type of the selection this object contains.
Definition at line 42 of file selectionstate.hxx.
References meType.
Referenced by ScConversionEngineBase::FindNextConversionCell(), and ScConversionEngineBase::ScConversionEngineBase().
|
private |
Type of the selection.
Definition at line 51 of file selectionstate.hxx.
Referenced by GetCellCursor(), and ScSelectionState().
|
private |
Cell cursor position.
Definition at line 52 of file selectionstate.hxx.
Referenced by GetEditSelection(), and ScSelectionState().
|
private |
Definition at line 50 of file selectionstate.hxx.
Referenced by GetSelectionType(), and ScSelectionState().