diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-03-25 21:21:28 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-30 09:23:49 +0200 |
commit | 7fa8f72a1782fd2eea9c0a29c5b06709d4508b95 (patch) | |
tree | 82ba3b5c7266ec1160c077b85757190a160ac895 /sc/source/ui/inc/gridwin.hxx | |
parent | a7e75be63e7ca7a084d0dbcb78c13f2896eb5b5c (diff) |
sc tiled editing: Allow resizing the cell selection using the handles.
Change-Id: I53e5a43ba4f0ba4783a524751985adb3f4610d84
Diffstat (limited to 'sc/source/ui/inc/gridwin.hxx')
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 36a7e5c2ef87..3cf3e360b7b4 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -330,6 +330,11 @@ public: /// Same as MouseButtonUp(), but coordinates are in logic unit. void LogicMouseButtonUp(const MouseEvent& rMouseEvent); + /// Update the cell selection according to what handles have been dragged. + /// Uses the same parameteres as vcl::ITiledRenderable::setTextSelection() + /// (ie. they are in twips here). + void SetCellSelection(int nType, int nX, int nY); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; void FakeButtonUp(); |