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 36 of file selectionstate.hxx.

Constructor & Destructor Documentation

◆ ScSelectionState()

ScSelectionState::ScSelectionState ( ScViewData rViewData)
explicit

Member Function Documentation

◆ GetCellCursor()

const ScAddress & ScSelectionState::GetCellCursor ( ) const
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().

◆ GetEditSelection()

const ESelection & ScSelectionState::GetEditSelection ( ) const
inline

Returns the edit engine selection.

Definition at line 47 of file selectionstate.hxx.

References maEditSel.

Referenced by ScConversionEngineBase::FindNextConversionCell().

◆ GetSelectionType()

ScSelectionType ScSelectionState::GetSelectionType ( ) const
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().

Member Data Documentation

◆ maCursor

ScAddress ScSelectionState::maCursor
private

Type of the selection.

Definition at line 51 of file selectionstate.hxx.

Referenced by GetCellCursor(), and ScSelectionState().

◆ maEditSel

ESelection ScSelectionState::maEditSel
private

Cell cursor position.

Definition at line 52 of file selectionstate.hxx.

Referenced by GetEditSelection(), and ScSelectionState().

◆ meType

ScSelectionType ScSelectionState::meType
private

Definition at line 50 of file selectionstate.hxx.

Referenced by GetSelectionType(), and ScSelectionState().


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