diff options
author | Abhilash Singh <abhilash300singh@gmail.com> | 2016-10-21 02:14:07 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-11-11 19:35:45 +0000 |
commit | 453de3473cf6f383c71466a1ed15e28b844ed7e5 (patch) | |
tree | b6f8c82c9f4136667d16e7a1cc827f1be01a7e4c /sc/source/ui/inc/cellsh.hxx | |
parent | 553cfda502a1516673233e409f91372766da6c4d (diff) |
tdf#46200 Use the Scroll Lock key as a toggling lock key like Excel
Change-Id: I153522a90674f3f3c4db4ff300ef5cf4075704e3
Reviewed-on: https://gerrit.libreoffice.org/30117
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/cellsh.hxx')
-rw-r--r-- | sc/source/ui/inc/cellsh.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx index 2201e03f0bf5..5b0c7d1a4ddd 100644 --- a/sc/source/ui/inc/cellsh.hxx +++ b/sc/source/ui/inc/cellsh.hxx @@ -29,6 +29,7 @@ #include <memory> #include "formatsh.hxx" #include "address.hxx" +#include <vcl/window.hxx> class SvxClipboardFormatItem; class TransferableDataHelper; @@ -71,6 +72,8 @@ private: RotateTransliteration m_aRotateCase; + VclPtr<vcl::Window> pFrameWin; + public: SFX_DECL_INTERFACE(SCID_CELL_SHELL) @@ -79,7 +82,7 @@ private: static void InitInterface_Impl(); public: - ScCellShell(ScViewData* pData); + ScCellShell( ScViewData* pData, VclPtr<vcl::Window> pFrameWin ); virtual ~ScCellShell() override; void Execute(SfxRequest &); @@ -103,6 +106,9 @@ public: void ExecutePage( SfxRequest& rReq ); void ExecutePageSel( SfxRequest& rReq ); void ExecuteMove( SfxRequest& rReq ); + + VclPtr<vcl::Window> GetFrameWin(); + static void GetStateCursor( SfxItemSet& rSet ); }; |