summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tabview.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tabview.hxx')
-rw-r--r--sc/source/ui/inc/tabview.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index 51dd31c7ab63..69f87b16f737 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -31,10 +31,6 @@
#include "gridwin.hxx"
#include "drawview.hxx"
-namespace editeng {
- struct MisspellRanges;
-}
-
class ScEditEngineDefaulter;
class ScOutlineWindow;
class ScRowBar;
@@ -46,7 +42,6 @@ class SvBorder;
class FuPoor;
class Splitter;
class ScTabSplitter;
-class SdrView;
class SdrObject;
class ScPageBreakData;
class SdrHdlList;
@@ -66,14 +61,14 @@ enum HeaderType
class ScCornerButton : public vcl::Window
{
private:
- ScViewData* pViewData;
+ ScViewData& rViewData;
protected:
virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
virtual void Resize() override;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
public:
- ScCornerButton( vcl::Window* pParent, ScViewData* pData );
+ ScCornerButton( vcl::Window* pParent, ScViewData& pData );
virtual ~ScCornerButton() override;
virtual void StateChanged( StateChangedType nType ) override;
@@ -370,7 +365,7 @@ public:
*/
void TabChanged( bool bSameTabButMoved = false );
void SetZoom( const Fraction& rNewX, const Fraction& rNewY, bool bAll );
- SC_DLLPUBLIC void RefreshZoom();
+ SC_DLLPUBLIC void RefreshZoom(bool bRecalcScale = true);
void SetPagebreakMode( bool bSet );
void UpdateLayerLocks();
@@ -622,7 +617,7 @@ public:
void EnableAutoSpell( bool bEnable );
void ResetAutoSpell();
void ResetAutoSpellForContentChange();
- void SetAutoSpellData( SCCOL nPosX, SCROW nPosY, const std::vector<editeng::MisspellRanges>* pRanges );
+ void SetAutoSpellData( SCCOL nPosX, SCROW nPosY, const sc::MisspellRangeResult& rRangeResult );
/// @see ScModelObj::getRowColumnHeaders().
void getRowColumnHeaders(const tools::Rectangle& rRectangle, tools::JsonWriter& rJsonWriter);
/// @see ScModelObj::getSheetGeometryData()
@@ -638,6 +633,8 @@ public:
SCCOL GetLOKEndHeaderCol() const { return mnLOKEndHeaderCol; }
void SyncGridWindowMapModeFromDrawMapMode();
+
+ void SwitchRotateMode();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */