diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/shell.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/viewsh.hxx | 3 | ||||
-rw-r--r-- | include/svx/fmshell.hxx | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index b79fd2da53ce..44c8d8c46321 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -160,7 +160,7 @@ protected: */ SfxShell( SfxViewShell *pViewSh ); - SAL_DLLPRIVATE void SetViewShell_Impl( SfxViewShell* pView ); + void SetViewShell_Impl( SfxViewShell* pView ); SAL_DLLPRIVATE void Invalidate_Impl( SfxBindings& rBindings, sal_uInt16 nId ); SAL_DLLPRIVATE SfxShellObject* GetShellObj_Impl() const; SAL_DLLPRIVATE void SetShellObj_Impl( SfxShellObject* pObj ); @@ -351,6 +351,8 @@ public: */ virtual void Invalidate(sal_uInt16 nId = 0); + virtual bool IsDesignMode() const { return false; }; + bool IsActive() const; /** diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 5cde8317aa2b..b32c78930768 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -207,6 +207,9 @@ public: void RemoveSubShell( SfxShell *pShell=NULL ); SfxShell* GetSubShell( sal_uInt16 ); + virtual SfxShell* GetFormShell() { return 0; }; + virtual const SfxShell* GetFormShell() const { return 0; }; + // Focus, KeyInput, Cursor void GotFocus() const; inline void LostFocus() const; diff --git a/include/svx/fmshell.hxx b/include/svx/fmshell.hxx index b733b253d06c..40228fcd9efd 100644 --- a/include/svx/fmshell.hxx +++ b/include/svx/fmshell.hxx @@ -166,8 +166,8 @@ public: const OutputDevice& i_rDevice ) const; - bool IsDesignMode() const { return m_bDesignMode; } - void SetDesignMode( bool _bDesignMode ); + virtual bool IsDesignMode() const { return m_bDesignMode; } + void SetDesignMode( bool _bDesignMode ); protected: void GetFormState(SfxItemSet &rSet, sal_uInt16 nWhich); |