summaryrefslogtreecommitdiff
path: root/include/svx/postattr.hxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-01-22 19:39:47 +0530
committerpranavk <pranavk@collabora.co.uk>2017-01-27 12:54:27 +0000
commit6e463381b43d888a632e652a873f2b5abe7e5458 (patch)
treeb3a576f5db09eb104ccfb36290f3f22f514bada5 /include/svx/postattr.hxx
parent73875b39e0ea00a3d80188c229b91c63355cd087 (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 'include/svx/postattr.hxx')
-rw-r--r--include/svx/postattr.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/svx/postattr.hxx b/include/svx/postattr.hxx
index 2c1c2466d7c2..dbe378fcdf27 100644
--- a/include/svx/postattr.hxx
+++ b/include/svx/postattr.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_POSTATTR_HXX
#define INCLUDED_SVX_POSTATTR_HXX
+#include <svl/intitem.hxx>
#include <svl/stritem.hxx>
#include <svx/svxdllapi.h>
@@ -112,6 +113,31 @@ public:
}
};
+// class SvxPostItIdItem -----------------------------------------------
+
+
+/*
+The internal id of a note
+*/
+
+class SVX_DLLPUBLIC SvxPostItIdItem: public SfxUInt32Item
+{
+public:
+ static SfxPoolItem* CreateDefault();
+
+ SvxPostItIdItem( sal_uInt16 nWhich );
+
+ SvxPostItIdItem( sal_uInt32 rId, sal_uInt16 nWhich );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
+
+ inline SvxPostItIdItem& operator=( const SvxPostItIdItem& rId )
+ {
+ SetValue( rId.GetValue() );
+ return *this;
+ }
+};
+
#endif