diff options
Diffstat (limited to 'sc/source/ui/inc/gridwin.hxx')
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 3976c90e49a6..08e47a332e55 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -207,9 +207,9 @@ private: DECL_LINK( PopupModeEndHdl, FloatingWindow* ); DECL_LINK( PopupSpellingHdl, SpellCallbackInfo* ); - sal_Bool TestMouse( const MouseEvent& rMEvt, sal_Bool bAction ); + bool TestMouse( const MouseEvent& rMEvt, bool bAction ); - sal_Bool DoPageFieldSelection( SCCOL nCol, SCROW nRow ); + bool DoPageFieldSelection( SCCOL nCol, SCROW nRow ); bool DoAutoFilterButton( SCCOL nCol, SCROW nRow, const MouseEvent& rMEvt ); void DoPushButton( SCCOL nCol, SCROW nRow, const MouseEvent& rMEvt ); @@ -231,9 +231,9 @@ private: void PagebreakMove( const MouseEvent& rMEvt, sal_Bool bUp ); - void UpdateDragRect( sal_Bool bShowRange, const Rectangle& rPosRect ); + void UpdateDragRect( bool bShowRange, const Rectangle& rPosRect ); - sal_Bool IsAutoFilterActive( SCCOL nCol, SCROW nRow, SCTAB nTab ); + bool IsAutoFilterActive( SCCOL nCol, SCROW nRow, SCTAB nTab ); void ExecFilter( sal_uLong nSel, SCCOL nCol, SCROW nRow, const String& aValue, bool bCheckForDates ); void FilterSelect( sal_uLong nSel ); @@ -242,27 +242,27 @@ private: void ExecPageFieldSelect( SCCOL nCol, SCROW nRow, sal_Bool bHasSelection, const String& rStr ); - sal_Bool HasScenarioButton( const Point& rPosPixel, ScRange& rScenRange ); + bool HasScenarioButton( const Point& rPosPixel, ScRange& rScenRange ); - sal_Bool DropScroll( const Point& rMousePos ); + bool DropScroll( const Point& rMousePos ); sal_Int8 AcceptPrivateDrop( const AcceptDropEvent& rEvt ); sal_Int8 ExecutePrivateDrop( const ExecuteDropEvent& rEvt ); sal_Int8 DropTransferObj( ScTransferObj* pTransObj, SCCOL nDestPosX, SCROW nDestPosY, - const Point& rLogicPos, sal_Int8 nDndAction ); + const Point& rLogicPos, sal_Int8 nDndAction ); void HandleMouseButtonDown( const MouseEvent& rMEvt ); - sal_Bool DrawMouseButtonDown(const MouseEvent& rMEvt); - sal_Bool DrawMouseButtonUp(const MouseEvent& rMEvt); - sal_Bool DrawMouseMove(const MouseEvent& rMEvt); - sal_Bool DrawKeyInput(const KeyEvent& rKEvt); - sal_Bool DrawCommand(const CommandEvent& rCEvt); - sal_Bool DrawHasMarkedObj(); + bool DrawMouseButtonDown(const MouseEvent& rMEvt); + bool DrawMouseButtonUp(const MouseEvent& rMEvt); + bool DrawMouseMove(const MouseEvent& rMEvt); + bool DrawKeyInput(const KeyEvent& rKEvt); + bool DrawCommand(const CommandEvent& rCEvt); + bool DrawHasMarkedObj(); void DrawEndAction(); void DrawMarkDropObj( SdrObject* pObj ); SdrObject* GetEditObject(); - sal_Bool IsMyModel(SdrEditView* pSdrView); + bool IsMyModel(SdrEditView* pSdrView); void DrawRedraw( ScOutputData& rOutputData, ScUpdateMode eMode, sal_uLong nLayer ); void DrawSdrGrid( const Rectangle& rDrawingRect, OutputDevice* pContentDev ); @@ -271,10 +271,10 @@ private: void DrawPagePreview( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, OutputDevice* pContentDev ); - sal_Bool GetEditUrl( const Point& rPos, - String* pName=0, String* pUrl=0, String* pTarget=0 ); - sal_Bool GetEditUrlOrError( sal_Bool bSpellErr, const Point& rPos, + bool GetEditUrl( const Point& rPos, String* pName=0, String* pUrl=0, String* pTarget=0 ); + bool GetEditUrlOrError( bool bSpellErr, const Point& rPos, + String* pName=0, String* pUrl=0, String* pTarget=0 ); bool HitRangeFinder( const Point& rMouse, bool& rCorner, sal_uInt16* pIndex = NULL, SCsCOL* pAddX = NULL, SCsROW* pAddY = NULL ); @@ -338,7 +338,7 @@ public: void UpdateFormulas(); - void DoAutoFilterMenue( SCCOL nCol, SCROW nRow, sal_Bool bDataSelect ); + void DoAutoFilterMenue( SCCOL nCol, SCROW nRow, bool bDataSelect ); void DoScenarioMenue( const ScRange& rScenRange ); void LaunchPageFieldMenu( SCCOL nCol, SCROW nRow ); @@ -347,14 +347,11 @@ public: ::com::sun::star::sheet::DataPilotFieldOrientation GetDPFieldOrientation( SCCOL nCol, SCROW nRow ) const; void DrawButtons( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, - ScTableInfo& rTabInfo, OutputDevice* pContentDev ); + ScTableInfo& rTabInfo, OutputDevice* pContentDev ); using Window::Draw; void Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, - ScUpdateMode eMode = SC_UPDATE_ALL ); - - void InvertSimple( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, - sal_Bool bTestMerge = false, sal_Bool bRepeat = false ); + ScUpdateMode eMode = SC_UPDATE_ALL ); void CreateAnchorHandle(SdrHdlList& rHdl, const ScAddress& rAddress); @@ -362,12 +359,12 @@ public: void ShowCursor(); void UpdateAutoFillMark(bool bMarked, const ScRange& rMarkRange); - void UpdateListValPos( sal_Bool bVisible, const ScAddress& rPos ); + void UpdateListValPos( bool bVisible, const ScAddress& rPos ); - sal_Bool ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, sal_Bool bKeyboard ); + bool ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, bool bKeyboard ); void HideNoteMarker(); - MapMode GetDrawMapMode( sal_Bool bForce = false ); + MapMode GetDrawMapMode( bool bForce = false ); void ContinueDrag(); |