diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-10 21:03:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-10 22:51:30 +0200 |
commit | b80935d5c45f26876d9fa2718c7a6b9a469b12cf (patch) | |
tree | 62cfdbef6c98d92ed975d2dd4e89bb62d3cf80ca /sw/inc | |
parent | c7874d890d55e9736b065c8396d65438a57b55ad (diff) |
various extensions to REDLINE_ sequence not reflected in related resources
i.e.
commit e52f14efaa53b496599b51fb064a933183731fca
Author: Adam Co <rattles2013@gmail.com>
Date: Sun Dec 8 17:14:14 2013 +0200
Export redline 'paragraph formatting changes' back to DOCX
const RedlineType_t REDLINE_FMTCOLL = 0x4;// Style has been altered (Autoformat!).
+ const RedlineType_t REDLINE_PARAGRAPH_FORMAT = 0x5;// Paragraph attributes have been changed
commit d688069023959ab97d14eb1dbfd5bf6ad3c1b160
Author: Adam Co <rattles2013@gmail.com>
Date: Mon Feb 3 17:44:22 2014 +0200
Add support for 'Table Row Redlines' in SW core
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.
commit 06a887ca92f35b4e44dfc638a9a444fc636bc9d0
Author: Adam Co <rattles2013@gmail.com>
Date: Wed Feb 5 13:37:45 2014 +0200
Add support for 'Table Cell Redlines' in SW core
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.
all extend the REDLINE_* ranges, and SwRedlineData::GetDescr just adds GetType() of a value
in that range to the STR_UNDO_REDLINE_INSERT baseline which just maps the new values to
arbitrary unrelated strings
Change-Id: I44d5050ef012ac44346a7164b89a2773fb33d4dc
Reviewed-on: https://gerrit.libreoffice.org/38642
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/comcore.hrc | 49 |
1 files changed, 27 insertions, 22 deletions
diff --git a/sw/inc/comcore.hrc b/sw/inc/comcore.hrc index 679020a5b198..c858f5cdfc20 100644 --- a/sw/inc/comcore.hrc +++ b/sw/inc/comcore.hrc @@ -42,29 +42,34 @@ #define STR_UNDO_REDLINE_FORMAT (RC_COMCORE_BEGIN + 21) #define STR_UNDO_REDLINE_TABLE (RC_COMCORE_BEGIN + 22) #define STR_UNDO_REDLINE_FMTCOLL (RC_COMCORE_BEGIN + 23) -#define STR_START_QUOTE (RC_COMCORE_BEGIN + 25) -#define STR_END_QUOTE (RC_COMCORE_BEGIN + 26) -#define STR_LDOTS (RC_COMCORE_BEGIN + 27) -#define STR_YIELDS (RC_COMCORE_BEGIN + 28) -#define STR_PARAGRAPHS (RC_COMCORE_BEGIN + 29) -#define STR_MULTISEL (RC_COMCORE_BEGIN + 30) -#define STR_N_REDLINES (RC_COMCORE_BEGIN + 32) -#define STR_FIELD (RC_COMCORE_BEGIN + 33) +#define STR_UNDO_REDLINE_PARAGRAPH_FORMAT (RC_COMCORE_BEGIN + 24) +#define STR_UNDO_REDLINE_TABLE_ROW_INSERT (RC_COMCORE_BEGIN + 25) +#define STR_UNDO_REDLINE_TABLE_ROW_DELETE (RC_COMCORE_BEGIN + 26) +#define STR_UNDO_REDLINE_TABLE_CELL_INSERT (RC_COMCORE_BEGIN + 27) +#define STR_UNDO_REDLINE_TABLE_CELL_DELETE (RC_COMCORE_BEGIN + 28) +#define STR_START_QUOTE (RC_COMCORE_BEGIN + 29) +#define STR_END_QUOTE (RC_COMCORE_BEGIN + 30) +#define STR_LDOTS (RC_COMCORE_BEGIN + 31) +#define STR_YIELDS (RC_COMCORE_BEGIN + 32) +#define STR_PARAGRAPHS (RC_COMCORE_BEGIN + 33) +#define STR_MULTISEL (RC_COMCORE_BEGIN + 34) +#define STR_N_REDLINES (RC_COMCORE_BEGIN + 35) +#define STR_FIELD (RC_COMCORE_BEGIN + 36) -#define STR_FRAME (RC_COMCORE_BEGIN + 34) -#define STR_OLE (RC_COMCORE_BEGIN + 35) -#define STR_MATH_FORMULA (RC_COMCORE_BEGIN + 36) -#define STR_CHART (RC_COMCORE_BEGIN + 37) -#define STR_NOTE (RC_COMCORE_BEGIN + 38) -#define STR_REFERENCE (RC_COMCORE_BEGIN + 39) -#define STR_SCRIPT (RC_COMCORE_BEGIN + 40) -#define STR_AUTHORITY_ENTRY (RC_COMCORE_BEGIN + 41) -#define STR_SPECIALCHAR (RC_COMCORE_BEGIN + 42) -#define STR_FOOTNOTE (RC_COMCORE_BEGIN + 43) -#define STR_GRAPHIC (RC_COMCORE_BEGIN + 44) -#define STR_DRAWING_OBJECTS (RC_COMCORE_BEGIN + 45) -#define STR_TABLE_NAME (RC_COMCORE_BEGIN + 46) -#define STR_PARAGRAPH_UNDO (RC_COMCORE_BEGIN + 47) +#define STR_FRAME (RC_COMCORE_BEGIN + 37) +#define STR_OLE (RC_COMCORE_BEGIN + 38) +#define STR_MATH_FORMULA (RC_COMCORE_BEGIN + 39) +#define STR_CHART (RC_COMCORE_BEGIN + 40) +#define STR_NOTE (RC_COMCORE_BEGIN + 41) +#define STR_REFERENCE (RC_COMCORE_BEGIN + 42) +#define STR_SCRIPT (RC_COMCORE_BEGIN + 43) +#define STR_AUTHORITY_ENTRY (RC_COMCORE_BEGIN + 44) +#define STR_SPECIALCHAR (RC_COMCORE_BEGIN + 45) +#define STR_FOOTNOTE (RC_COMCORE_BEGIN + 46) +#define STR_GRAPHIC (RC_COMCORE_BEGIN + 47) +#define STR_DRAWING_OBJECTS (RC_COMCORE_BEGIN + 48) +#define STR_TABLE_NAME (RC_COMCORE_BEGIN + 49) +#define STR_PARAGRAPH_UNDO (RC_COMCORE_BEGIN + 50) // defines for the Autoformat Redline Comments #define STR_AUTOFMTREDL_DEL_EMPTY_PARA 0 |