summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentRedlineAccess.hxx
diff options
context:
space:
mode:
authorAdam Co <rattles2013@gmail.com>2014-02-05 13:37:45 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-02-12 09:38:50 +0000
commit06a887ca92f35b4e44dfc638a9a444fc636bc9d0 (patch)
tree23f0263e85e41d4686b9d3e683e953b1914481fc /sw/inc/IDocumentRedlineAccess.hxx
parent8805a3b77bd6777154d5ce3826f211c53b4f7603 (diff)
Add support for 'Table Cell Redlines' in SW core
This patch adds support for 'Table Cell Redlines' (such as 'table cell inserted' or 'table cell deleted' in SW core). It adds the 'SwTableCellRedline' object, and adds a function for adding objects of that type to the 'SwExtraRedlineTbl', which is the object that holds all the redlines which are not 'Ranged' redlines. Change-Id: Ic2e410be58683f171ea07d430b7544600780711e Reviewed-on: https://gerrit.libreoffice.org/7873 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/IDocumentRedlineAccess.hxx')
-rw-r--r--sw/inc/IDocumentRedlineAccess.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx
index 144eb4a4b131..48320be8374a 100644
--- a/sw/inc/IDocumentRedlineAccess.hxx
+++ b/sw/inc/IDocumentRedlineAccess.hxx
@@ -29,6 +29,7 @@
class SwRangeRedline;
class SwTableRowRedline;
+ class SwTableCellRedline;
class SwRedlineTbl;
class SwExtraRedlineTbl;
class SwPaM;
@@ -69,6 +70,8 @@ namespace nsRedlineType_t
const RedlineType_t REDLINE_PARAGRAPH_FORMAT = 0x5;// Paragraph attributes have been changed.
const RedlineType_t REDLINE_TABLE_ROW_INSERT = 0x6;// Table row has been inserted.
const RedlineType_t REDLINE_TABLE_ROW_DELETE = 0x7;// Table row has been deleted.
+ const RedlineType_t REDLINE_TABLE_CELL_INSERT = 0x8;// Table cell has been inserted.
+ const RedlineType_t REDLINE_TABLE_CELL_DELETE = 0x9;// Table cell has been deleted.
// When larger than 128, flags can be inserted.
const RedlineType_t REDLINE_NO_FLAG_MASK = 0x7F;
@@ -149,6 +152,7 @@ public:
virtual bool AppendRedline(/*[in]*/SwRangeRedline* pPtr, /*[in]*/bool bCallDelete) = 0;
virtual bool AppendTableRowRedline(/*[in]*/SwTableRowRedline* pPtr, /*[in]*/bool bCallDelete) = 0;
+ virtual bool AppendTableCellRedline(/*[in]*/SwTableCellRedline* pPtr, /*[in]*/bool bCallDelete) = 0;
virtual bool SplitRedline(/*[in]*/const SwPaM& rPam) = 0;