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)
 
- Public Member Functions inherited from FunctionSet
virtual ~FunctionSet ()=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

ScViewDatapViewData
 
ScViewSelectionEnginepEngine
 
bool bAnchor
 
bool bStarted
 
ScAddress aAnchorPos
 

Detailed Description

Definition at line 41 of file select.hxx.

Constructor & Destructor Documentation

ScViewFunctionSet::ScViewFunctionSet ( ScViewData pNewViewData)

Definition at line 43 of file select.cxx.

References pViewData.

Member Function Documentation

void ScViewFunctionSet::BeginDrag ( )
overridevirtual
sal_uLong ScViewFunctionSet::CalcUpdateInterval ( const Size rWinSize,
const Point rEffPos,
bool  bLeftScroll,
bool  bTopScroll,
bool  bRightScroll,
bool  bBottomScroll 
)
private
void ScViewFunctionSet::CreateAnchor ( )
overridevirtual
void ScViewFunctionSet::DeselectAll ( )
overridevirtual
void ScViewFunctionSet::DeselectAtPoint ( const Point rPointPixel)
overridevirtual

Implements FunctionSet.

Definition at line 739 of file select.cxx.

void ScViewFunctionSet::DestroyAnchor ( )
overridevirtual
ScSplitPos ScViewFunctionSet::GetWhich ( ) const
private
bool ScViewFunctionSet::IsSelectionAtPoint ( const Point rPointPixel)
overridevirtual
void ScViewFunctionSet::SetAnchor ( SCCOL  nPosX,
SCROW  nPosY 
)
void ScViewFunctionSet::SetAnchorFlag ( bool  bSet)

Definition at line 280 of file select.cxx.

References bAnchor.

Referenced by ScGridWindow::MouseButtonUp().

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

Definition at line 417 of file select.cxx.

References aAnchorPos, ScTabView::AlignToCursor(), bAnchor, bStarted, ScAddress::Col(), CreateAnchor(), ScTabView::DoneBlockMode(), ScTabView::DoneRefMode(), EMBED_LT, EMBED_RB, ScDocument::FirstVisibleRow(), ScDocument::GetColWidth(), ScViewData::GetCurX(), ScViewData::GetCurY(), ScViewData::GetDelMark(), 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, ScTabView::MarkCursor(), Marks, MATRIX, nScFillModeMouseModifier, pEngine, Protected, pViewData, 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 SetCursorAtPoint().

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

Definition at line 137 of file select.cxx.

References pEngine.

Member Data Documentation

ScAddress ScViewFunctionSet::aAnchorPos
private

Definition at line 49 of file select.hxx.

Referenced by SetAnchor(), and SetCursorAtCell().

bool ScViewFunctionSet::bAnchor
private
bool ScViewFunctionSet::bStarted
private

Definition at line 48 of file select.hxx.

Referenced by SetAnchor(), and SetCursorAtCell().

ScViewSelectionEngine* ScViewFunctionSet::pEngine
private
ScViewData* ScViewFunctionSet::pViewData
private

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