From ce5470cb3eb7e5394ef1d7cb1906886abab80d5d Mon Sep 17 00:00:00 2001 From: Yousuf Philips Date: Fri, 5 Jun 2015 00:52:21 +0400 Subject: tdf#91820 Reorganize calc's menu bar Change-Id: I1eb0ffe8dc5f79057514801735c6b1be8c8d24dd Reviewed-on: https://gerrit.libreoffice.org/16090 Reviewed-by: Yousuf Philips Tested-by: Yousuf Philips --- icon-themes/breeze/links.txt | 6 + icon-themes/galaxy/links.txt | 6 + icon-themes/tango/links.txt | 6 + .../data/org/openoffice/Office/UI/CalcCommands.xcu | 93 ++-- .../org/openoffice/Office/UI/GenericCommands.xcu | 2 +- sc/uiconfig/scalc/menubar/menubar.xml | 524 ++++++++++++--------- 6 files changed, 342 insertions(+), 295 deletions(-) diff --git a/icon-themes/breeze/links.txt b/icon-themes/breeze/links.txt index 8a4be900aaba..41b7a040c392 100644 --- a/icon-themes/breeze/links.txt +++ b/icon-themes/breeze/links.txt @@ -44,6 +44,12 @@ cmd/sc_cellvertbottom.png cmd/sc_alignbottom.png cmd/lc_linespacing.png cmd/lc_spacepara15.png cmd/sc_linespacing.png cmd/sc_spacepara15.png +# calc menu entries +cmd/datapilotmenu.png cmd/sc_datadatapilotrun.png +cmd/insertrowsmenu.png cmd/sc_insertrows.png +cmd/insertcolumnsmenu.png cmd/sc_insertcolumns.png +cmd/functiondialog.png cmd/sc_insertformula.png + # Shapes cmd/lc_basicshapes.png cmd/lc_basicshapes.diamond.png cmd/lc_basicshapes.ellipse.png cmd/lc_ellipse.png diff --git a/icon-themes/galaxy/links.txt b/icon-themes/galaxy/links.txt index 318946e078d6..2c5cb9e21c88 100644 --- a/icon-themes/galaxy/links.txt +++ b/icon-themes/galaxy/links.txt @@ -39,6 +39,12 @@ cmd/sc_linespacing.png cmd/sc_spacepara15.png cmd/sc_mirrorhorz.png cmd/sc_fliphorizontal.png cmd/sc_mirrorvert.png cmd/sc_flipvertical.png +# calc menu entries +cmd/datapilotmenu.png cmd/sc_datadatapilotrun.png +cmd/insertrowsmenu.png cmd/sc_insertrows.png +cmd/insertcolumnsmenu.png cmd/sc_insertcolumns.png +cmd/functiondialog.png cmd/sc_insertformula.png + # image/object context menu entries cmd/sc_wrapmenu.png cmd/sc_wrapon.png cmd/sc_alignframemenu.png cmd/sc_objectalign.png diff --git a/icon-themes/tango/links.txt b/icon-themes/tango/links.txt index c5d69149735a..e75badaea0f8 100644 --- a/icon-themes/tango/links.txt +++ b/icon-themes/tango/links.txt @@ -414,6 +414,12 @@ cmd/he/sc_redo.png cmd/fa/sc_redo.png cmd/he/sc_undo.png cmd/fa/sc_undo.png cmd/he/lc_undo.png cmd/fa/lc_undo.png +# calc menu entries +cmd/datapilotmenu.png cmd/sc_datadatapilotrun.png +cmd/insertrowsmenu.png cmd/sc_insertrows.png +cmd/insertcolumnsmenu.png cmd/sc_insertcolumns.png +cmd/functiondialog.png cmd/sc_insertformula.png + # RTL Problems cmd/sc_recundo.png cmd/sc_undo.png svx/res/id020.png cmd/sc_undo.png diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu index 61b3b5b7b95d..87c1e4cd2c23 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu @@ -56,9 +56,6 @@ ~Split Window - - ~Split - 1 @@ -70,10 +67,7 @@ - ~Freeze Panes - - - ~Freeze + Freeze ~Rows and Columns 1 @@ -174,19 +168,13 @@ - ~Select Sheets... - - - ~Select... + ~Go to Sheet... Sheet ~Events... - - ~Events... - @@ -625,7 +613,7 @@ - ~Delete... + ~Delete Sheet... 1 @@ -790,7 +778,7 @@ - ~Headers & Footers... + ~Headers and Footers... 1 @@ -923,7 +911,7 @@ - ~Page Break Preview + ~Page Break @@ -985,6 +973,14 @@ Underline: Dotted + + + Cle~ar Cells... + + + 1 + + Delete Page Breaks @@ -1055,13 +1051,10 @@ Insert ~Cells... - - ~Cells... - - ~Rows + Insert ~Rows 1 @@ -1069,7 +1062,7 @@ - Co~lumns + Insert Co~lumns 1 @@ -1147,9 +1140,6 @@ Insert ~Sheet... - - ~Sheet... - 1 @@ -1158,9 +1148,6 @@ Insert Shee~t From File... - - Shee~t From File... - @@ -1300,19 +1287,13 @@ ~Hide Sheets - - ~Hide - 1 - ~Show Sheets... - - - ~Show... + ~Show Sheet... @@ -1354,7 +1335,7 @@ - Define Text Attributes + ~Text... @@ -1379,19 +1360,13 @@ Protect ~Sheet... - - ~Sheet... - 1 - Protect ~Document... - - - ~Document... + Protect ~Spreadsheet... @@ -1565,9 +1540,6 @@ ~Rename Sheet... - - ~Rename... - @@ -1576,10 +1548,7 @@ - ~Tab Color... - - - ~Tab Color... + Sheet ~Tab Color... @@ -1589,10 +1558,7 @@ - ~Move/Copy Sheet... - - - ~Move/Copy... + ~Move or Copy Sheet... 1 @@ -1837,12 +1803,12 @@ - S~hare Document... + S~hare Spreadsheet... - Toggle Grid Lines for Current Sheet + Grid Lines for Sheet 1 @@ -1888,7 +1854,7 @@ - Page ~Break + Insert Page ~Break @@ -1903,17 +1869,17 @@ - Fill + Fi~ll Cells - Cell Co~ntents + Ca~lculate - ~Names + ~Names Cells @@ -1928,7 +1894,7 @@ - ~Filter + More ~Filters @@ -1966,6 +1932,11 @@ ~Sheet + + + Cell ~Comment + + M~erge Cells diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 55bccbfa2b2d..5c2bb5ffb3ad 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -3062,7 +3062,7 @@ - ~Remove + ~Remove Outline diff --git a/sc/uiconfig/scalc/menubar/menubar.xml b/sc/uiconfig/scalc/menubar/menubar.xml index 4fd05e56ad5e..bebe8a7884cd 100644 --- a/sc/uiconfig/scalc/menubar/menubar.xml +++ b/sc/uiconfig/scalc/menubar/menubar.xml @@ -22,9 +22,9 @@ + - @@ -32,7 +32,10 @@ - + + + + @@ -41,10 +44,6 @@ - - - - @@ -57,15 +56,14 @@ - - - - + + + @@ -92,41 +90,13 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -140,6 +110,7 @@ + @@ -150,10 +121,14 @@ - - - + + + + + + + @@ -174,59 +149,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -240,7 +164,15 @@ - + + + + + + + + + @@ -249,14 +181,91 @@ - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -268,6 +277,16 @@ + + + + + + + + + + @@ -285,16 +304,6 @@ - - - - - - - - - - @@ -303,34 +312,18 @@ + + - - + - - - - - - - - - - - - - - - - - @@ -342,24 +335,33 @@ + - + - - + + + + + + - + - - - - - + + + + - - - + + + + + + + + @@ -387,114 +389,101 @@ - - - - - - - - - - - - - - - - - - - - - + - + - - - + + - - - - - - + + - + - - - - - - - - - - - + + - - - - - - + - - + + - + + + + - - - - - + + - + + + + + + - - - - + + + + + + + + + + + + + + - + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + - @@ -502,29 +491,47 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + @@ -544,13 +551,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - -- cgit v1.2.3