tdf#92218 Implement Writer single toolbar mode toolbar
Change-Id: Ic6cc130e0dcb91584b11aecb937bc8d7039d2427 Reviewed-on: https://gerrit.libreoffice.org/22818 Tested-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
This commit is contained in:
@@ -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>
|
||||
|
@@ -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 \
|
||||
|
69
sw/uiconfig/swriter/toolbar/singlemode.xml
Normal file
69
sw/uiconfig/swriter/toolbar/singlemode.xml
Normal file
@@ -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>
|
Reference in New Issue
Block a user