summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2019-12-16 13:50:25 +0100
committerLászló Németh <nemeth@numbertext.org>2019-12-17 11:50:48 +0100
commit7efae60f3625a58f8a617c80f2a55a695fbaef36 (patch)
treeccea50e1f58d44dc93d1c5ca4f1a116ca46d5b04 /sw/inc
parentdfcfdf47b5da6a11b2c3118a0f63cc48c10c2cd7 (diff)
tdf#64902 Writer table: Paste Special->Rows Above
and Columns Before table popup and Edit menu items to insert clipboard table data in a table as new rows/columns instead of overwriting the content of the original cells of the target table. This commit introduces the new commands .uno:PasteRowsBefore and .uno:PasteColumnsBefore. See also commit 1e278d1d0cfb1d5375195aa764739f00633f21e8 (tdf#37156 Writer menu: Paste as Nested table). Change-Id: I7d13246a3ace6c5f709d607c416150f8872e4695 Reviewed-on: https://gerrit.libreoffice.org/85214 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/cmdid.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index 6aba5e4d72d4..f382e820cf0b 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -281,6 +281,11 @@
// MSO content controls
#define FN_INSERT_DATE_FORMFIELD (FN_INSERT2 + 25)
+// clipboard table content
+#define FN_PASTE_NESTED_TABLE (FN_INSERT2 + 30) /* instead of the cell-by-cell copy between source and target tables */
+#define FN_TABLE_PASTE_ROW_BEFORE (FN_INSERT2 + 31) /* paste table as new table rows */
+#define FN_TABLE_PASTE_COL_BEFORE (FN_INSERT2 + 32) /* paste table as new table columns */
+
// Region: Format
#define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* apply autoformat options */
#define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* apply autoformat during user input */
@@ -343,7 +348,6 @@
#define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* */
#define FN_TABLE_INSERT_COL_AFTER (FN_FORMAT + 116) /* */
#define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* protect table cells */
-#define FN_PASTE_NESTED_TABLE (FN_FORMAT + 118) /* instead of the cell-by-cell copy between source and target tables */
#define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* undo table cell protection */
#define FN_TABLE_HEADLINE_REPEAT (FN_FORMAT + 120) /* also used in SwXTextTable*/
#define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* */