diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-14 10:37:45 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-14 13:40:35 +0100 |
commit | e320d070bb0d4dd0ceb696f2c7cc5afb7c4273c3 (patch) | |
tree | 78056467ec81db0d23f46f3418ae6a4ac6d3dfa9 /sw/inc | |
parent | 4cbbaf571d3982eccd7f7267df3185b3d321d0da (diff) |
sw lok comments: implement setTextSelection() API
So that it's possible to drag the text selection start/end handles in
comment text when there is an existing selection.
Change-Id: I3acc4770928d4f385f0ca09a2484a9e112409907
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/SidebarWin.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx index cb4914021e20..bda077bb8a62 100644 --- a/sw/inc/SidebarWin.hxx +++ b/sw/inc/SidebarWin.hxx @@ -182,6 +182,8 @@ class SwSidebarWin : public vcl::Window void PaintTile(vcl::RenderContext& rRenderContext, const Rectangle& rRect); /// Is there a matching sub-widget inside this sidebar widget for rPointLogic? bool IsHitWindow(const Point& rPointLogic); + /// Allows adjusting the point or mark of the selection to a document coordinate. + void SetCursorLogicPosition(const Point& rPosition, bool bPoint, bool bClearMark); protected: virtual void DataChanged( const DataChangedEvent& aEvent) override; |