diff options
author | László Németh <nemeth@numbertext.org> | 2019-12-11 15:38:05 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-12-14 17:58:54 +0100 |
commit | 1e278d1d0cfb1d5375195aa764739f00633f21e8 (patch) | |
tree | 13e94f15370305dec09a0d209b71a863e60f8eba /sw/inc/cmdid.h | |
parent | 9f9a0557c16a6b274ba60f5efc983978d1a88762 (diff) |
tdf#37156 Writer menu: Paste as Nested table
Paste table data in Writer tables overwrites the
content of the existing cells, when the cursor is
there in an empty cell or at the beginning of the
first paragraph of a table cell.
Using the new Paste Special option "As Nested Table"
of table popup (local) menu and Edit->Paste Special,
(based on the new .uno:PasteNestedTable command),
clipboard content (including native tables or tables
copied from Calc or other spreadsheets) are inserted
as nested tables in empty cells and at cell starting
cursor positions.
Change-Id: I32807200883651e492ae280efce7bf9806f22283
Reviewed-on: https://gerrit.libreoffice.org/85094
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc/cmdid.h')
-rw-r--r-- | sw/inc/cmdid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index 6b49d5a91e51..6aba5e4d72d4 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -343,6 +343,7 @@ #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) /* */ |