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

#include <select.hxx>

Inheritance diagram for ScViewFunctionSet:
[legend]
Collaboration diagram for ScViewFunctionSet:
[legend]

Public Member Functions

 ScViewFunctionSet (ScViewData *pNewViewData)
 
void SetSelectionEngine (ScViewSelectionEngine *pSelEngine)
 
void SetAnchor (SCCOL nPosX, SCROW nPosY)
 
void SetAnchorFlag (bool bSet)
 
virtual void BeginDrag () override
 
virtual void CreateAnchor () override
 
virtual void DestroyAnchor () override
 
virtual void SetCursorAtPoint (const Point &rPointPixel, bool bDontSelectAtCursor=false) override
 
virtual bool IsSelectionAtPoint (const Point &rPointPixel) override
 
virtual void DeselectAtPoint (const Point &rPointPixel) override
 
virtual void DeselectAll () override
 
bool SetCursorAtCell (SCCOL nPosX, SCROW nPosY, bool bScroll)
 
bool CheckRefBounds (SCCOL nPosX, SCROW nPosY)
 
- Public Member Functions inherited from FunctionSet
virtual ~FunctionSet ()=0
 
virtual void BeginDrag ()=0
 
virtual void CreateAnchor ()=0
 
virtual void DestroyAnchor ()=0
 
virtual void SetCursorAtPoint (const Point &rPointPixel, bool bDontSelectAtCursor=false)=0
 
virtual bool IsSelectionAtPoint (const Point &rPointPixel)=0
 
virtual void DeselectAtPoint (const Point &rPointPixel)=0
 
virtual void DeselectAll ()=0
 

Private Member Functions

ScSplitPos GetWhich () const
 
sal_uLong CalcUpdateInterval (const Size &rWinSize, const Point &rEffPos, bool bLeftScroll, bool bTopScroll, bool bRightScroll, bool bBottomScroll)
 

Private Attributes

ScViewDatam_pViewData
 
ScViewSelectionEnginem_pEngine
 
bool m_bAnchor
 
bool m_bStarted
 
ScAddress m_aAnchorPos
 

Detailed Description

Definition at line 40 of file select.hxx.

Constructor & Destructor Documentation

◆ ScViewFunctionSet()

ScViewFunctionSet::ScViewFunctionSet ( ScViewData pNewViewData)

Definition at line 46 of file select.cxx.

References m_pViewData.

Member Function Documentation

◆ BeginDrag()

void ScViewFunctionSet::BeginDrag ( )
overridevirtual

◆ CalcUpdateInterval()

sal_uLong ScViewFunctionSet::CalcUpdateInterval ( const Size rWinSize,
const Point rEffPos,
bool  bLeftScroll,
bool  bTopScroll,
bool  bRightScroll,
bool  bBottomScroll 
)
private

◆ CheckRefBounds()

bool ScViewFunctionSet::CheckRefBounds ( SCCOL  nPosX,
SCROW  nPosY 
)

◆ CreateAnchor()

void ScViewFunctionSet::CreateAnchor ( )
overridevirtual

◆ DeselectAll()

void ScViewFunctionSet::DeselectAll ( )
overridevirtual

◆ DeselectAtPoint()

void ScViewFunctionSet::DeselectAtPoint ( const Point rPointPixel)
overridevirtual

Implements FunctionSet.

Definition at line 761 of file select.cxx.

◆ DestroyAnchor()

void ScViewFunctionSet::DestroyAnchor ( )
overridevirtual

◆ GetWhich()

ScSplitPos ScViewFunctionSet::GetWhich ( ) const
private

◆ IsSelectionAtPoint()

bool ScViewFunctionSet::IsSelectionAtPoint ( const Point rPointPixel)
overridevirtual

◆ SetAnchor()

void ScViewFunctionSet::SetAnchor ( SCCOL  nPosX,
SCROW  nPosY 
)

◆ SetAnchorFlag()

void ScViewFunctionSet::SetAnchorFlag ( bool  bSet)

Definition at line 289 of file select.cxx.

References m_bAnchor.

Referenced by ScGridWindow::MouseButtonUp().

◆ SetCursorAtCell()

bool ScViewFunctionSet::SetCursorAtCell ( SCCOL  nPosX,
SCROW  nPosY,
bool  bScroll 
)

Definition at line 437 of file select.cxx.

References ScRange::aEnd, ScTabView::AlignToCursor(), ScRange::aStart, CheckRefBounds(), ScAddress::Col(), ScDocument::ColHidden(), CreateAnchor(), ScTabView::DoneBlockMode(), ScTabView::DoneRefMode(), EMBED_LT, EMBED_RB, ScDocument::FirstVisibleRow(), ScDocument::GetColWidth(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDelMark(), SfxLokHelper::getDeviceFormFactor(), ScViewData::GetDocument(), ScDocument::GetEmbedded(), ScViewData::GetFillMode(), ScViewData::GetMarkData(), SelectionEngine::GetMouseEvent(), ScViewData::GetRefStartX(), ScViewData::GetRefStartY(), ScViewData::GetRefType(), ScDocument::GetRowHeight(), ScViewData::GetSfxDocShell(), ScViewData::GetSimpleArea(), ScViewData::GetTabNo(), ScDocument::GetTabProtection(), ScViewData::GetView(), ScViewData::GetViewShell(), GetWhich(), ScDocument::HasAttrib(), ScTabView::HideAllCursors(), i, ScTabView::InitBlockMode(), ScTabView::InitRefMode(), ScViewData::IsAnyFillMode(), ScDocument::IsEmbedded(), ScViewData::IsFillMode(), ScMarkData::IsMarked(), ScModule::IsModalMode(), ScMarkData::IsMultiMarked(), ScTableProtection::isOptionEnabled(), ScTabViewShell::IsRefInputMode(), ScViewData::IsSelCtrlMouseClick(), MouseEvent::IsShift(), ScDocument::IsTabProtected(), KEY_MOD1, m_aAnchorPos, m_bAnchor, m_bStarted, m_pEngine, m_pViewData, ScTabView::MarkCursor(), Marks, MATRIX, nScFillModeMouseModifier, Protected, ScViewData::ResetDelMark(), ScAddress::Row(), SC_FOLLOW_LINE, SC_MOD, SC_REFTYPE_EMBED_LT, SC_REFTYPE_EMBED_RB, SC_REFTYPE_FILL, SC_REFTYPE_REF, ScTableProtection::SELECT_LOCKED_CELLS, ScTableProtection::SELECT_UNLOCKED_CELLS, ScTabView::SelectionChanged(), ScAddress::Set(), ScTabView::SetCursor(), ScViewData::SetDelMark(), ScViewData::SetRefStart(), ScTabView::ShowAllCursors(), ScAddress::Tab(), ScTabView::UpdateRef(), ScTabView::UpdateShrinkOverlay(), and ScDocument::ValidRow().

Referenced by ScTabView::MoveCursorAbs(), and SetCursorAtPoint().

◆ SetCursorAtPoint()

void ScViewFunctionSet::SetCursorAtPoint ( const Point rPointPixel,
bool  bDontSelectAtCursor = false 
)
overridevirtual

◆ SetSelectionEngine()

void ScViewFunctionSet::SetSelectionEngine ( ScViewSelectionEngine pSelEngine)

Definition at line 140 of file select.cxx.

References m_pEngine.

Referenced by ScTabView::Init().

Member Data Documentation

◆ m_aAnchorPos

ScAddress ScViewFunctionSet::m_aAnchorPos
private

Definition at line 48 of file select.hxx.

Referenced by SetAnchor(), and SetCursorAtCell().

◆ m_bAnchor

bool ScViewFunctionSet::m_bAnchor
private

◆ m_bStarted

bool ScViewFunctionSet::m_bStarted
private

Definition at line 47 of file select.hxx.

Referenced by SetAnchor(), and SetCursorAtCell().

◆ m_pEngine

ScViewSelectionEngine* ScViewFunctionSet::m_pEngine
private

◆ m_pViewData

ScViewData* ScViewFunctionSet::m_pViewData
private

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