summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2021-02-18 09:35:17 +0100
committerLászló Németh <nemeth@numbertext.org>2021-02-25 16:49:33 +0100
commit6ab08b3b1026a582352ea018b9d59e91d3e86d92 (patch)
tree2cfe282812fcba8522b58fadb7c407fd0f4a47b3 /officecfg
parentca7855c24af858f52a11a593761ee9e6b9d6ba79 (diff)
tdf#36466 sc UI: add new options to deselect hidden cells
Implement "Select Visible Rows Only" option to deselect the cells of the hidden rows in the actual selection. Implement "Select Visible Columns Only" option to deselect the cells of the hidden columns in the actual selection. Test e.g. on some data on A1:C1: 1) hide column B (don't try to test with autofilter, because copying of the filtered cells has already worked this way). 2) Select A1:C1 (2 visible cells) 3) Choose Edit->Select->Select Visible Columns Only (no visual feedback) 4) Copy the selection. 5) Paste it e.g. in D2: only A1 and C1 are copied, but not B1. Change-Id: I354ebdf6be6bddae4440f3e9b4929c6e82abc1df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111100 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu12
1 files changed, 10 insertions, 2 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
index 919237963507..77a9015986cf 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
@@ -585,9 +585,17 @@
<value>1</value>
</prop>
</node>
- <node oor:name=".uno:SelectVisibleCells" oor:op="replace">
+ <node oor:name=".uno:SelectVisibleRows" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
- <value xml:lang="en-US">Select Visible Cells Only</value>
+ <value xml:lang="en-US">Select Visible Rows Only</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:SelectVisibleColumns" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Select Visible Columns Only</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
<value>1</value>