summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2019-12-11 15:38:05 +0100
committerLászló Németh <nemeth@numbertext.org>2019-12-14 22:30:52 +0100
commitd53cd7d7e229568b0c9597bc89d973e0d1050b44 (patch)
treed0363f36e20b3a01a1893059d69a764562be38f3 /officecfg
parent48e8dda3f64079d7a1dd7f87b45ed8288779950a (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> (cherry picked from commit 1e278d1d0cfb1d5375195aa764739f00633f21e8) Reviewed-on: https://gerrit.libreoffice.org/85145
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu11
1 files changed, 11 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index ce664af0e1bd..ac60dc4e32ca 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -1523,6 +1523,17 @@
<value>1</value>
</prop>
</node>
+ <node oor:name=".uno:PasteNestedTable" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Paste as Nested Table</value>
+ </prop>
+ <prop oor:name="PopupLabel" oor:type="xs:string">
+ <value xml:lang="en-US">As Nested Table</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
<node oor:name=".uno:DeleteRows" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Delete Rows</value>