diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2016-04-14 18:12:11 +0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-02 10:47:45 +0000 |
commit | 66a3295a0b87617e912eacb4e1bec390385fee38 (patch) | |
tree | b1500ee2de559ccdd822612762765ecbd0e8b50b | |
parent | 08bb0cf5872c24533312994976969e734d33bcef (diff) |
tdf#92218 Implement Calc single toolbar mode toolbar
Change-Id: Ie261b71000c37f18efe0658bbf239c9639a5fcf3
Reviewed-on: https://gerrit.libreoffice.org/24088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
(cherry picked from commit da27c5d58948a782f25338320f9c57cfe542986e)
Reviewed-on: https://gerrit.libreoffice.org/25725
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu | 23 | ||||
-rw-r--r-- | sc/UIConfig_scalc.mk | 1 | ||||
-rw-r--r-- | sc/uiconfig/scalc/toolbar/singlemode.xml | 88 |
3 files changed, 112 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu index 0485e5316f1b..d41335a3185e 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu @@ -694,6 +694,29 @@ <value>true</value> </prop> </node> + <node oor:name="private:resource/toolbar/singlemode" oor:op="replace"> + <prop oor:name="DockPos" oor:type="xs:string"> + <value>0,0</value> + </prop> + <prop oor:name="Docked" oor:type="xs:boolean"> + <value>true</value> + </prop> + <prop oor:name="DockingArea" oor:type="xs:int"> + <value>0</value> + </prop> + <prop oor:name="UIName" oor:type="xs:string"> + <value xml:lang="en-US">Standard (Single Mode)</value> + </prop> + <prop oor:name="Visible" oor:type="xs:boolean"> + <value>false</value> + </prop> + <prop oor:name="HideFromToolbarMenu" oor:type="xs:boolean"> + <value>false</value> + </prop> + <prop oor:name="ContextSensitive" oor:type="xs:boolean"> + <value>false</value> + </prop> + </node> </node> </node> </oor:component-data> diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk index 21bb7e107402..7ab8cd4fbdfa 100644 --- a/sc/UIConfig_scalc.mk +++ b/sc/UIConfig_scalc.mk @@ -76,6 +76,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/scalc,\ sc/uiconfig/scalc/toolbar/mediaobjectbar \ sc/uiconfig/scalc/toolbar/moreformcontrols \ sc/uiconfig/scalc/toolbar/previewbar \ + sc/uiconfig/scalc/toolbar/singlemode \ sc/uiconfig/scalc/toolbar/standardbar \ sc/uiconfig/scalc/toolbar/starshapes \ sc/uiconfig/scalc/toolbar/symbolshapes \ diff --git a/sc/uiconfig/scalc/toolbar/singlemode.xml b/sc/uiconfig/scalc/toolbar/singlemode.xml new file mode 100644 index 000000000000..fff6ef809f1a --- /dev/null +++ b/sc/uiconfig/scalc/toolbar/singlemode.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "toolbar.dtd"> +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> +<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar" xmlns:xlink="http://www.w3.org/1999/xlink"> + <toolbar:toolbaritem xlink:href=".uno:AddDirect"/> + <toolbar:toolbaritem xlink:href=".uno:OpenFromCalc"/> + <toolbar:toolbaritem xlink:href=".uno:Save"/> + <toolbar:toolbaritem xlink:href=".uno:ExportDirectToPDF" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:Print"/> + <toolbar:toolbaritem xlink:href=".uno:PrintPreview" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:Undo"/> + <toolbar:toolbaritem xlink:href=".uno:Redo"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:SearchDialog"/> + <toolbar:toolbaritem xlink:href=".uno:FormatPaintbrush"/> + <toolbar:toolbaritem xlink:href=".uno:SpellDialog" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatStandard" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatCurrency"/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatPercent"/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatDecimal"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatIncDecimals"/> + <toolbar:toolbaritem xlink:href=".uno:NumberFormatDecDecimals"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:StyleApply" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:CharFontName"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:FontHeight"/> + <toolbar:toolbaritem xlink:href=".uno:Grow" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:Shrink" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:Bold"/> + <toolbar:toolbaritem xlink:href=".uno:Italic"/> + <toolbar:toolbaritem xlink:href=".uno:Underline"/> + <toolbar:toolbaritem xlink:href=".uno:Color"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:BackgroundColor"/> + <toolbar:toolbaritem xlink:href=".uno:SetBorderStyle"/> + <toolbar:toolbaritem xlink:href=".uno:LineStyle" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:FrameLineColor"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:AlignLeft"/> + <toolbar:toolbaritem xlink:href=".uno:AlignHorizontalCenter"/> + <toolbar:toolbaritem xlink:href=".uno:AlignRight"/> + <toolbar:toolbaritem xlink:href=".uno:AlignBlock" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:WrapText"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:AlignTop"/> + <toolbar:toolbaritem xlink:href=".uno:AlignVCenter"/> + <toolbar:toolbaritem xlink:href=".uno:AlignBottom"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:ToggleMergeCells" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:IncrementIndent" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:DecrementIndent" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:InsertGraphic" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:InsertObjectChart"/> + <toolbar:toolbaritem xlink:href=".uno:DataDataPilotRun"/> + <toolbar:toolbaritem xlink:href=".uno:InsertAnnotation"/> + <toolbar:toolbaritem xlink:href=".uno:HyperlinkDialog"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:DataSort"/> + <toolbar:toolbaritem xlink:href=".uno:SortAscending" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:SortDescending" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:DataFilterAutoFilter"/> + <toolbar:toolbaritem xlink:href=".uno:DataFilterStandardFilter" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:DataFilterSpecialFilter" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:ConditionalFormatMenu"/> +</toolbar:toolbar> |