forked from amazingfate/loongoffice
...which incompatibly changed Addons.xcs and breaks extensions (and LibreLogo, which adds to Addons.xcu even though it is not an extension). See the mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2013-July/054612.html> "[Libreoffice-commits] core.git: #i121577# Allow setting toolbar name in Addons.xcu" for details. This reverts commit 85f072ef33ef47b5e3e0bcd51acb5c4179cde2c2 "Resolves: #i121577# Allow setting toolbar name in Addons.xcu" plus follow-up af572d9fbb744c9691abe465815d7927a9d11510 "Related: #i121577# Allow setting toolbar name in Addons.xcu," f13f9b5cc5267a7a5606b1a89db91b6d7aef5f9c "various .xcus are gone now," and 37d9921797a3ad3be8257fbfee11326549fcd987 "odk/examples/python/toolpanel/CalcWindowState.xcu is still in use," plus those parts of f97ca6f65182efc6542c53ac5e973b3ff398a5d1 "Resolves: #i116455# Make toolbar style settings persistent" that apparently belong to the fix for i#121577 rather than i#116455. Change-Id: Ib744566f3d8da7d9008d7dad8bec60f1bf32e743
188 lines
9.4 KiB
XML
188 lines
9.4 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!--
|
|
* 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 .
|
|
-->
|
|
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
|
|
<node oor:name="AddonUI">
|
|
<node oor:name="OfficeToolBar">
|
|
<node oor:name="com.sun.star.comp.framework.addon.complextoolbarcontrols" oor:op="replace">
|
|
<node oor:name="m1" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Image Button</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>ImageButton</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m2" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:ComboboxCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">ComboBox</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>Combobox</value>
|
|
</prop>
|
|
<prop oor:name="Width" oor:type="xs:long">
|
|
<value>200</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m3" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>private:separator</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m4" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:SpinfieldCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Spinfield</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>Spinfield</value>
|
|
</prop>
|
|
<prop oor:name="Width" oor:type="xs:long">
|
|
<value>70</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m5" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>private:separator</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m6" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:EditfieldCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Editfield</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>Editfield</value>
|
|
</prop>
|
|
<prop oor:name="Width" oor:type="xs:long">
|
|
<value>130</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m7" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>private:separator</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m8" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownboxCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Dropdownbox</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>Dropdownbox</value>
|
|
</prop>
|
|
<prop oor:name="Width" oor:type="xs:long">
|
|
<value>80</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m9" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:ToggleDropdownButtonCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Toggle Dropdown Button</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>ToggleDropdownButton</value>
|
|
</prop>
|
|
</node>
|
|
<node oor:name="m10" oor:op="replace">
|
|
<prop oor:name="URL" oor:type="xs:string">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:DropdownButtonCmd</value>
|
|
</prop>
|
|
<prop oor:name="Title" oor:type="xs:string">
|
|
<value xml:lang="en-US">Dropdown Button</value>
|
|
</prop>
|
|
<prop oor:name="Target" oor:type="xs:string">
|
|
<value>_self</value>
|
|
</prop>
|
|
<prop oor:name="Context" oor:type="xs:string">
|
|
<value>com.sun.star.text.TextDocument,com.sun.star.sheet.SpreadsheetDocument</value>
|
|
</prop>
|
|
<prop oor:name="ControlType" oor:type="xs:string">
|
|
<value>DropdownButton</value>
|
|
</prop>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
<node oor:name="Images">
|
|
<node oor:name="vnd.demo.complextoolbarcontrols.image1" oor:op="replace">
|
|
<prop oor:name="URL">
|
|
<value>vnd.demo.complextoolbarcontrols.demoaddon:ImageButtonCmd</value>
|
|
</prop>
|
|
<node oor:name="UserDefinedImages">
|
|
<prop oor:name="ImageSmallURL" oor:type="xs:string">
|
|
<value>%origin%/logo_small.png</value>
|
|
</prop>
|
|
<prop oor:name="ImageBigURL" oor:type="xs:string">
|
|
<value>%origin%/logo_big.png</value>
|
|
</prop>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</oor:component-data>
|