summaryrefslogtreecommitdiff
path: root/sw/inc/SidebarWin.hxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-01-19 10:34:17 +0530
committerpranavk <pranavk@collabora.co.uk>2017-01-27 11:49:01 +0000
commita623b3a449dfcddaad5b621ff1c0b7a520edf4d6 (patch)
treeffd18a62765fc12e9f85948b1b6fb2cbe0c5e1c3 /sw/inc/SidebarWin.hxx
parent6b977d5a24d5db80c59440a3358c629959d7cf86 (diff)
lok: New commandvalues command - .uno:ViewAnnotations
Change-Id: I1c3560ab4609c64da7a77e9a65febeb569ec1a3c Reviewed-on: https://gerrit.libreoffice.org/33468 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/inc/SidebarWin.hxx')
-rw-r--r--sw/inc/SidebarWin.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx
index adfb47c16118..742e2f29c5b3 100644
--- a/sw/inc/SidebarWin.hxx
+++ b/sw/inc/SidebarWin.hxx
@@ -30,6 +30,7 @@
#include <vcl/lineinfo.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
+#include <basegfx/range/b2drange.hxx>
#include <editeng/editstat.hxx>
class SwPostItMgr;
@@ -80,6 +81,7 @@ class SwSidebarWin : public vcl::Window
void CheckMetaText();
inline Point GetAnchorPos() { return mAnchorRect.Pos(); }
+ inline const std::vector<basegfx::B2DRange>& GetAnnotationTextRanges() { return maAnnotationTextRanges; }
SwEditWin& EditWin();
inline OutlinerView* GetOutlinerView() { return mpOutlinerView;}
@@ -240,6 +242,8 @@ class SwSidebarWin : public vcl::Window
SwRect mAnchorRect;
long mPageBorder;
+ std::vector<basegfx::B2DRange> maAnnotationTextRanges;
+
bool mbMouseOver;
SwPostItHelper::SwLayoutStatus mLayoutStatus;