summaryrefslogtreecommitdiff
path: root/sw/inc/redline.hxx
diff options
context:
space:
mode:
authorAdam Co <rattles2013@gmail.com>2014-01-16 16:51:09 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-02-11 11:42:50 +0000
commit7949b380e054342c80035d406c89ddc5badacfad (patch)
tree1db9b865b98a8f6a8cfb85048db1cb34450d247d /sw/inc/redline.hxx
parent08c40a2474405b160aab96cabe115d8437d68f8a (diff)
New redline object and table for non-ranged redlines called 'SwExtraRedline'
Added a new redline object for non-ranged redlines called 'SwExtraRedline'. Examples for such redlines are 'table row was inserted \ deleted', 'table properties changed', 'text was moved' etc. Also - added a table for these redlines called 'SwExtraRedlineTbl'. Change-Id: I9190093c97108b7e4923bc8a9feb441ad5c5694f Reviewed-on: https://gerrit.libreoffice.org/7464 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r--sw/inc/redline.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index b946618a5b0d..3fe682e2836a 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -299,6 +299,16 @@ public:
bool operator<( const SwRangeRedline& ) const;
};
+/// Base object for 'Redlines' that are not of 'Ranged' type (like table row insert\delete)
+class SW_DLLPUBLIC SwExtraRedline
+{
+public:
+ SwExtraRedline( RedlineType_t eType );
+ SwExtraRedline( const SwExtraRedline& );
+ virtual ~SwExtraRedline();
+};
+
+
class SW_DLLPUBLIC SwRedlineHint : public SfxHint
{
#define SWREDLINE_INSERTED 1