summaryrefslogtreecommitdiff
path: root/sw/uiconfig
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 13:29:16 +0100
commit7809e80bc10293eca04a531e64e2f192d1a1d261 (patch)
tree4956feff815fce3569791b0bb1acde3052af2aea /sw/uiconfig
parenteeb0630b81866edc166f5ee83392b3f885fddc70 (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> (cherry picked from commit 7efae60f3625a58f8a617c80f2a55a695fbaef36) Reviewed-on: https://gerrit.libreoffice.org/85280
Diffstat (limited to 'sw/uiconfig')
-rw-r--r--sw/uiconfig/swriter/menubar/menubar.xml2
-rw-r--r--sw/uiconfig/swriter/popupmenu/table.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml
index 77e1ebae5f57..bdfd44675517 100644
--- a/sw/uiconfig/swriter/menubar/menubar.xml
+++ b/sw/uiconfig/swriter/menubar/menubar.xml
@@ -106,6 +106,8 @@
<menu:menuitem menu:id=".uno:PasteUnformatted"/>
<menu:menuitem menu:id=".uno:PasteSpecial"/>
<menu:menuitem menu:id=".uno:PasteNestedTable"/>
+ <menu:menuitem menu:id=".uno:PasteRowsBefore"/>
+ <menu:menuitem menu:id=".uno:PasteColumnsBefore"/>
</menu:menupopup>
</menu:menu>
<menu:menuseparator/>
diff --git a/sw/uiconfig/swriter/popupmenu/table.xml b/sw/uiconfig/swriter/popupmenu/table.xml
index 4baf20af019d..2a302ef1a2cd 100644
--- a/sw/uiconfig/swriter/popupmenu/table.xml
+++ b/sw/uiconfig/swriter/popupmenu/table.xml
@@ -14,6 +14,8 @@
<menu:menu menu:id=".uno:PasteSpecialMenu">
<menu:menupopup>
<menu:menuitem menu:id=".uno:PasteNestedTable"/>
+ <menu:menuitem menu:id=".uno:PasteRowsBefore"/>
+ <menu:menuitem menu:id=".uno:PasteColumnsBefore"/>
<menu:menuitem menu:id=".uno:PasteUnformatted"/>
<menu:menuitem menu:id=".uno:PasteSpecial"/>
</menu:menupopup>