diff options
Diffstat (limited to 'sc/source/ui/inc/select.hxx')
-rw-r--r-- | sc/source/ui/inc/select.hxx | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx index ad12d9c743ad..47d1669ca56b 100644 --- a/sc/source/ui/inc/select.hxx +++ b/sc/source/ui/inc/select.hxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,7 +32,7 @@ #include <vcl/seleng.hxx> #endif -#include "viewdata.hxx" // ScSplitPos +#include "viewdata.hxx" // ScSplitPos // --------------------------------------------------------------------------- @@ -43,76 +43,76 @@ class ScViewData; class ScViewSelectionEngine : public SelectionEngine { private: - ScSplitPos eWhich; + ScSplitPos eWhich; public: ScViewSelectionEngine( Window* pWindow, ScTabView* pView, ScSplitPos eSplitPos ); - ScSplitPos GetWhich() const { return eWhich; } - void SetWhich(ScSplitPos eNew) { eWhich = eNew; } + ScSplitPos GetWhich() const { return eWhich; } + void SetWhich(ScSplitPos eNew) { eWhich = eNew; } }; -class ScViewFunctionSet : public FunctionSet // View (Gridwin / Tastatur) +class ScViewFunctionSet : public FunctionSet // View (Gridwin / Tastatur) { private: - ScViewData* pViewData; - ScViewSelectionEngine* pEngine; + ScViewData* pViewData; + ScViewSelectionEngine* pEngine; - BOOL bAnchor; - BOOL bStarted; - ScAddress aAnchorPos; + BOOL bAnchor; + BOOL bStarted; + ScAddress aAnchorPos; - ScSplitPos GetWhich(); + ScSplitPos GetWhich(); public: ScViewFunctionSet( ScViewData* pNewViewData ); - void SetSelectionEngine( ScViewSelectionEngine* pSelEngine ); + void SetSelectionEngine( ScViewSelectionEngine* pSelEngine ); - void SetAnchor( SCCOL nPosX, SCROW nPosY ); - void SetAnchorFlag( BOOL bSet ); + void SetAnchor( SCCOL nPosX, SCROW nPosY ); + void SetAnchorFlag( BOOL bSet ); - virtual void BeginDrag(); - virtual void CreateAnchor(); - virtual void DestroyAnchor(); - virtual BOOL SetCursorAtPoint( const Point& rPointPixel, BOOL bDontSelectAtCursor = FALSE ); - virtual BOOL IsSelectionAtPoint( const Point& rPointPixel ); - virtual void DeselectAtPoint( const Point& rPointPixel ); - virtual void DeselectAll(); + virtual void BeginDrag(); + virtual void CreateAnchor(); + virtual void DestroyAnchor(); + virtual BOOL SetCursorAtPoint( const Point& rPointPixel, BOOL bDontSelectAtCursor = FALSE ); + virtual BOOL IsSelectionAtPoint( const Point& rPointPixel ); + virtual void DeselectAtPoint( const Point& rPointPixel ); + virtual void DeselectAll(); - BOOL SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, BOOL bScroll ); + BOOL SetCursorAtCell( SCsCOL nPosX, SCsROW nPosY, BOOL bScroll ); }; // --------------------------------------------------------------------------- -class ScHeaderFunctionSet : public FunctionSet // Spalten- / Zeilenkoepfe +class ScHeaderFunctionSet : public FunctionSet // Spalten- / Zeilenkoepfe { private: - ScViewData* pViewData; - BOOL bColumn; // Col- / Rowbar - ScSplitPos eWhich; + ScViewData* pViewData; + BOOL bColumn; // Col- / Rowbar + ScSplitPos eWhich; - BOOL bAnchor; - SCCOLROW nCursorPos; + BOOL bAnchor; + SCCOLROW nCursorPos; public: ScHeaderFunctionSet( ScViewData* pNewViewData ); - void SetColumn( BOOL bSet ); - void SetWhich( ScSplitPos eNew ); + void SetColumn( BOOL bSet ); + void SetWhich( ScSplitPos eNew ); - virtual void BeginDrag(); - virtual void CreateAnchor(); - virtual void DestroyAnchor(); - virtual BOOL SetCursorAtPoint( const Point& rPointPixel, BOOL bDontSelectAtCursor = FALSE ); - virtual BOOL IsSelectionAtPoint( const Point& rPointPixel ); - virtual void DeselectAtPoint( const Point& rPointPixel ); - virtual void DeselectAll(); + virtual void BeginDrag(); + virtual void CreateAnchor(); + virtual void DestroyAnchor(); + virtual BOOL SetCursorAtPoint( const Point& rPointPixel, BOOL bDontSelectAtCursor = FALSE ); + virtual BOOL IsSelectionAtPoint( const Point& rPointPixel ); + virtual void DeselectAtPoint( const Point& rPointPixel ); + virtual void DeselectAll(); - void SetAnchorFlag(BOOL bSet) { bAnchor = bSet; } + void SetAnchorFlag(BOOL bSet) { bAnchor = bSet; } }; |