LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScSelectionState Class Reference

Contains all available data about any possible selection in a Calc document. More...

#include <selectionstate.hxx>

Collaboration diagram for ScSelectionState:
[legend]

Public Member Functions

 ScSelectionState (ScViewData &rViewData)
 
ScSelectionType GetSelectionType () const
 Returns the type of the selection this object contains. More...
 
const ScAddressGetCellCursor () const
 Returns the position of the cell cursor. More...
 
const ESelectionGetEditSelection () const
 Returns the edit engine selection. More...
 

Private Attributes

ScSelectionType meType
 
ScAddress maCursor
 Type of the selection. More...
 
ESelection maEditSel
 Cell cursor position. More...
 

Detailed Description

Contains all available data about any possible selection in a Calc document.

Definition at line 37 of file selectionstate.hxx.

Constructor & Destructor Documentation

ScSelectionState::ScSelectionState ( ScViewData rViewData)
explicit

Member Function Documentation

const ScAddress& ScSelectionState::GetCellCursor ( ) const
inline

Returns the position of the cell cursor.

Definition at line 46 of file selectionstate.hxx.

References maCursor.

Referenced by ScConversionEngineBase::RestoreCursorPos(), and ScConversionEngineBase::ScConversionEngineBase().

const ESelection& ScSelectionState::GetEditSelection ( ) const
inline

Returns the edit engine selection.

Definition at line 48 of file selectionstate.hxx.

References maEditSel.

Referenced by ScConversionEngineBase::FindNextConversionCell().

ScSelectionType ScSelectionState::GetSelectionType ( ) const
inline

Returns the type of the selection this object contains.

Definition at line 43 of file selectionstate.hxx.

References meType.

Referenced by ScConversionEngineBase::FindNextConversionCell(), and ScConversionEngineBase::ScConversionEngineBase().

Member Data Documentation

ScAddress ScSelectionState::maCursor
private

Type of the selection.

Definition at line 52 of file selectionstate.hxx.

Referenced by GetCellCursor(), and ScSelectionState().

ESelection ScSelectionState::maEditSel
private

Cell cursor position.

Definition at line 53 of file selectionstate.hxx.

Referenced by GetEditSelection(), and ScSelectionState().

ScSelectionType ScSelectionState::meType
private

Definition at line 51 of file selectionstate.hxx.

Referenced by GetSelectionType(), and ScSelectionState().


The documentation for this class was generated from the following files: