summaryrefslogtreecommitdiff
path: root/sd/inc/Annotation.hxx
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-05-19 13:01:25 +0200
committerMarco Cecchetti <mrcekets@gmail.com>2017-05-31 12:08:53 +0200
commitb29363a2ec4509b79fca57842a529b4ce460516e (patch)
tree60408f66c8afcad8213b2229b433e1c151178849 /sd/inc/Annotation.hxx
parent22a69119293ab94f28ca3120362b95eb38ba78d9 (diff)
lok: impress: undoing comment deletion doesn't work
Change-Id: I3399ea4131acde42bdd307a8438a9129a83817f2 Reviewed-on: https://gerrit.libreoffice.org/37815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'sd/inc/Annotation.hxx')
-rw-r--r--sd/inc/Annotation.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 27f1d51c969d..a4203575a732 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -29,8 +29,12 @@ namespace com { namespace sun { namespace star { namespace office {
class XAnnotation;
} } } }
+class SfxViewShell;
+
namespace sd {
+enum class CommentNotificationType { Add, Modify, Remove };
+
void createAnnotation( css::uno::Reference< css::office::XAnnotation >& xAnnotation, SdPage* pPage );
SdrUndoAction* CreateUndoInsertOrRemoveAnnotation( const css::uno::Reference< css::office::XAnnotation >& xAnnotation, bool bInsert );
@@ -39,6 +43,11 @@ sal_uInt32 getAnnotationId(const css::uno::Reference <css::office::XAnnotation>&
const SdPage* getAnnotationPage(const css::uno::Reference<css::office::XAnnotation>& xAnnotation);
+void LOKCommentNotify(CommentNotificationType nType, const SfxViewShell* pViewShell,
+ css::uno::Reference<css::office::XAnnotation>& rxAnnotation);
+
+void LOKCommentNotifyAll(CommentNotificationType nType,
+ css::uno::Reference<css::office::XAnnotation>& rxAnnotation);
}
#endif