officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu | 23 +++ sw/UIConfig_swriter.mk | 1 sw/uiconfig/swriter/toolbar/singlemode.xml | 69 ++++++++++ 3 files changed, 93 insertions(+)
New commits: commit ba9783d36f4b9de07688c6883edfeecef8ccccb5 Author: Yousuf Philips <philip...@hotmail.com> Date: Sat Mar 5 07:05:24 2016 +0400 tdf#92218 Implement Writer single toolbar mode toolbar Change-Id: Ic6cc130e0dcb91584b11aecb937bc8d7039d2427 Reviewed-on: https://gerrit.libreoffice.org/22818 Tested-by: Yousuf Philips <philip...@hotmail.com> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Yousuf Philips <philip...@hotmail.com> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu index 320e623..07ea600 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu @@ -856,6 +856,29 @@ <value>false</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/sw/UIConfig_swriter.mk b/sw/UIConfig_swriter.mk index 39a2b1d..1c90ba0 100644 --- a/sw/UIConfig_swriter.mk +++ b/sw/UIConfig_swriter.mk @@ -70,6 +70,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/swriter,\ sw/uiconfig/swriter/toolbar/oleobjectbar \ sw/uiconfig/swriter/toolbar/optimizetablebar \ sw/uiconfig/swriter/toolbar/previewobjectbar \ + sw/uiconfig/swriter/toolbar/singlemode \ sw/uiconfig/swriter/toolbar/standardbar \ sw/uiconfig/swriter/toolbar/starshapes \ sw/uiconfig/swriter/toolbar/symbolshapes \ diff --git a/sw/uiconfig/swriter/toolbar/singlemode.xml b/sw/uiconfig/swriter/toolbar/singlemode.xml new file mode 100644 index 0000000..a646d4a --- /dev/null +++ b/sw/uiconfig/swriter/toolbar/singlemode.xml @@ -0,0 +1,69 @@ +<?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:helpid="5537"/> + <toolbar:toolbaritem xlink:href=".uno:OpenFromWriter"/> + <toolbar:toolbaritem xlink:href=".uno:Save" toolbar:helpid="5505"/> + <toolbar:toolbaritem xlink:href=".uno:ExportDirectToPDF" toolbar:visible="false" toolbar:helpid="6674"/> + <toolbar:toolbaritem xlink:href=".uno:Print"/> + <toolbar:toolbaritem xlink:href=".uno:PrintPreview" toolbar:visible="false" toolbar:helpid="5325"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:Undo" toolbar:helpid="5701"/> + <toolbar:toolbaritem xlink:href=".uno:Redo" toolbar:helpid="5700"/> + <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:Strikeout" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:FontColor"/> + <toolbar:toolbaritem xlink:href=".uno:BackColor" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:FormatPaintbrush" toolbar:helpid="5715"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:LeftPara"/> + <toolbar:toolbaritem xlink:href=".uno:CenterPara"/> + <toolbar:toolbaritem xlink:href=".uno:RightPara"/> + <toolbar:toolbaritem xlink:href=".uno:JustifyPara"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:HyperlinkDialog" toolbar:helpid="5678"/> + <toolbar:toolbaritem xlink:href=".uno:InsertAnnotation" toolbar:helpid="20329"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:StyleApply"/> + <toolbar:toolbaritem xlink:href=".uno:StyleUpdateByExample" toolbar:visible="false"/> + <toolbar:toolbaritem xlink:href=".uno:StyleNewByExample" toolbar:visible="false"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:CharFontName"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:FontHeight"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:LineSpacing"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:DefaultBullet"/> + <toolbar:toolbaritem xlink:href=".uno:DefaultNumbering"/> + <toolbar:toolbaritem xlink:href=".uno:IncrementIndent"/> + <toolbar:toolbaritem xlink:href=".uno:DecrementIndent"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:InsertTable" toolbar:helpid="20330"/> + <toolbar:toolbaritem xlink:href=".uno:InsertGraphic" toolbar:helpid="10241"/> + <toolbar:toolbarseparator/> + <toolbar:toolbaritem xlink:href=".uno:SpellingAndGrammarDialog" toolbar:visible="false" toolbar:helpid="20622"/> + <toolbar:toolbaritem xlink:href=".uno:SearchDialog"/> + <toolbar:toolbaritem xlink:href=".uno:ControlCodes" toolbar:helpid="20224"/> + <toolbar:toolbaritem xlink:href=".uno:Zoom" toolbar:visible="false"/> +</toolbar:toolbar> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits