summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2016-01-19 16:32:18 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-02-17 13:02:32 +0200
commita009ba2b8ed7ead021ecc3356a477a08e72d2191 (patch)
treeefb3046135e99ad3e23aa6293fdda57f08f9459a /officecfg
parentd562ee461735a6daa6dcdfcc559f851cad160aaf (diff)
tdf#91013 Add new uno commands to freeze one row and column.
Added freezepanesfirstcolumn and freezepanesfirstrow commands. FreezePanes button became a split button that includes this two new uno commands. And this new commands added to menu. Change-Id: Ic6958067cc98b3df50bcd06a1eac220bd9a61473 Reviewed-on: https://gerrit.libreoffice.org/21604 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu16
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu25
2 files changed, 41 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
index 8f4d9115743e..df6cfe1e1b86 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
@@ -73,6 +73,22 @@
<value>1</value>
</prop>
</node>
+ <node oor:name=".uno:FreezePanesFirstColumn" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Freeze First Column</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
+ <node oor:name=".uno:FreezePanesFirstRow" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Freeze First Row</value>
+ </prop>
+ <prop oor:name="Properties" oor:type="xs:int">
+ <value>1</value>
+ </prop>
+ </node>
<node oor:name=".uno:ShowErrors" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">Trace ~Error</value>
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu
index 4df10e21867b..b994e8001d4f 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu
@@ -305,6 +305,17 @@
<value>conditional</value>
</prop>
</node>
+ <node oor:name="c26" oor:op="replace">
+ <prop oor:name="Command">
+ <value>.uno:FreezePanesMenu</value>
+ </prop>
+ <prop oor:name="Module">
+ <value/>
+ </prop>
+ <prop oor:name="Controller">
+ <value>com.sun.star.comp.framework.FreezePanesMenuController</value>
+ </prop>
+ </node>
</node>
<node oor:name="ToolBar">
<node oor:name="ZoomToolBox" oor:op="replace">
@@ -1054,6 +1065,20 @@
<value>com.sun.star.comp.framework.SaveToolbarController</value>
</prop>
</node>
+ <node oor:name="FreezePanesToolbarController" oor:op="replace">
+ <prop oor:name="Command">
+ <value>.uno:FreezePanes</value>
+ </prop>
+ <prop oor:name="Module">
+ <value/>
+ </prop>
+ <prop oor:name="Controller">
+ <value>com.sun.star.comp.framework.GenericPopupToolbarController</value>
+ </prop>
+ <prop oor:name="Value">
+ <value>.uno:FreezePanesMenu</value>
+ </prop>
+ </node>
<node oor:name="org.apache.openoffice.comp.framework.NewToolbarController" oor:op="replace">
<prop oor:name="Command">
<value>.uno:AddDirect</value>