diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-15 23:55:38 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-18 00:59:13 +0100 |
commit | 5feb8be8e3a7f42b7a1482f90fe8ff5d35706767 (patch) | |
tree | 9525029d2803cb42c2de6a180f609ec7d09c07e7 /sc/source/ui/inc/docsh.hxx | |
parent | f64995d49740622c744a82be9906ab594416d01e (diff) |
sc lok: implement comment callbacks
Change-Id: I1253138aa530ecb2b63bf6cda658d480ac62ada5
Reviewed-on: https://gerrit.libreoffice.org/34326
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
(cherry picked from commit 57056e5d6032ff1ce0a91c078ebaa1deeaa9dc6f)
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 0abc2890f02a..e87ebcce2db1 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -75,6 +75,8 @@ typedef std::unordered_map< sal_uLong, sal_uLong > ScChangeActionMergeMap; //enum ScDBFormat { SC_FORMAT_SDF, SC_FORMAT_DBF }; +enum class LOKCommentNotificationType { Add, Modify, Remove }; + // Extra flags for Repaint #define SC_PF_LINES 1 #define SC_PF_TESTMERGE 2 @@ -398,6 +400,7 @@ public: static OUString GetDBaseFilterName(); static OUString GetDifFilterName(); static bool HasAutomaticTableName( const OUString& rFilter ); + static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument* pDocument, const ScAddress& rPos, const ScPostIt* pNote); DECL_LINK( RefreshDBDataHdl, Timer*, void ); |