diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-22 19:39:47 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2017-01-27 12:54:27 +0000 |
commit | 6e463381b43d888a632e652a873f2b5abe7e5458 (patch) | |
tree | b3a576f5db09eb104ccfb36290f3f22f514bada5 /sw/inc/PostItMgr.hxx | |
parent | 73875b39e0ea00a3d80188c229b91c63355cd087 (diff) |
lok: Allow to reply to comments using postit id
Change-Id: Ic6aaa3066923d62f197bc2b0e02e8049c9d7cd2c
Reviewed-on: https://gerrit.libreoffice.org/33612
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 97448fdd513d..f27c1e4b1d7b 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -156,6 +156,7 @@ class SwPostItMgr: public SfxListener bool mbDeleteNote; FieldShadowState mShadowState; OutlinerParaObject* mpAnswer; + OUString maAnswerText; bool mbIsShowAnchor; // data structure to collect the <SwSidebarWin> instances for certain <SwFrame> instances. @@ -237,6 +238,7 @@ class SwPostItMgr: public SfxListener Color GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const; sw::annotation::SwAnnotationWin* GetAnnotationWin(const SwPostItField* pField) const; + sw::annotation::SwAnnotationWin* GetAnnotationWin(const sal_uInt32 nPostItId) const; sw::sidebarwindows::SwSidebarWin* GetNextPostIt( sal_uInt16 aDirection, sw::sidebarwindows::SwSidebarWin* aPostIt); @@ -265,6 +267,8 @@ class SwPostItMgr: public SfxListener void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;} OutlinerParaObject* IsAnswer() {return mpAnswer;} + void RegisterAnswerText(const OUString& aAnswerText) { maAnswerText = aAnswerText; } + const OUString& GetAnswerText() { return maAnswerText; } void CheckMetaText(); sal_uInt16 Replace(SvxSearchItem* pItem); |