| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
* This file is part of the LibreOffice project. |
| 4 |
* |
| 5 |
* This Source Code Form is subject to the terms of the Mozilla Public |
| 6 |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 8 |
* |
| 9 |
* This file incorporates work covered by the following license notice: |
| 10 |
* |
| 11 |
* Licensed to the Apache Software Foundation (ASF) under one or more |
| 12 |
* contributor license agreements. See the NOTICE file distributed |
| 13 |
* with this work for additional information regarding copyright |
| 14 |
* ownership. The ASF licenses this file to you under the Apache |
| 15 |
* License, Version 2.0 (the "License"); you may not use this file |
| 16 |
* except in compliance with the License. You may obtain a copy of |
| 17 |
* the License at http://www.apache.org/licenses/LICENSE-2.0 . |
| 18 |
--> |
| 19 |
<!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd"> |
| 20 |
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="ToolbarMode" oor:package="org.openoffice.Office.UI" xml:lang="en-US"> |
| 21 |
<info> |
| 22 |
<desc>Contains information about toolbar modes.</desc> |
| 23 |
</info> |
| 24 |
<templates> |
| 25 |
<group oor:name="ModeEntry"> |
| 26 |
<info> |
| 27 |
<desc>The container for mode description.</desc> |
| 28 |
</info> |
| 29 |
<prop oor:name="Label" oor:type="xs:string" oor:nillable="false" oor:localized="true"> |
| 30 |
<info> |
| 31 |
<desc>The toolbar mode label.</desc> |
| 32 |
</info> |
| 33 |
</prop> |
| 34 |
<prop oor:name="CommandArg" oor:type="xs:string" oor:nillable="false"> |
| 35 |
<info> |
| 36 |
<desc>The toolbar mode name to use as a parameter in the UNO command. Must be a single word.</desc> |
| 37 |
</info> |
| 38 |
</prop> |
| 39 |
<prop oor:name="MenuPosition" oor:type="xs:int" oor:nillable="false"> |
| 40 |
<info> |
| 41 |
<desc>Position in the menu.</desc> |
| 42 |
</info> |
| 43 |
</prop> |
| 44 |
<prop oor:name="IsExperimental" oor:type="xs:boolean" oor:nillable="false"> |
| 45 |
<info> |
| 46 |
<desc>Enables entry only in the experimental mode.</desc> |
| 47 |
</info> |
| 48 |
<value> |
| 49 |
false |
| 50 |
</value> |
| 51 |
</prop> |
| 52 |
<prop oor:name="HasNotebookbar" oor:type="xs:boolean" oor:nillable="false"> |
| 53 |
<info> |
| 54 |
<desc>Determines if Notebookbar is visible.</desc> |
| 55 |
</info> |
| 56 |
</prop> |
| 57 |
<prop oor:name="Toolbars" oor:type="oor:string-list" oor:nillable="false"> |
| 58 |
<info> |
| 59 |
<desc>List of mandatory toolbars.</desc> |
| 60 |
</info> |
| 61 |
</prop> |
| 62 |
<prop oor:name="UserToolbars" oor:type="oor:string-list" oor:nillable="false"> |
| 63 |
<info> |
| 64 |
<desc>List of visible toolbars activated by user.</desc> |
| 65 |
</info> |
| 66 |
</prop> |
| 67 |
<prop oor:name="UIItemProperties" oor:type="oor:string-list" oor:nillable="false"> |
| 68 |
<info> |
| 69 |
<desc> |
| 70 |
List of context descriptors. Each context descriptor is a string that contains three comma |
| 71 |
separated values (note that values are case sensitive): |
| 72 |
1. UIItemID - contains the ID of uiitem(GtkToolButton/GtkMenuItem) of notebookbar |
| 73 |
2. propertyName - contains the value of attribute(name) of property node. |
| 74 |
3. propertyValue - contains the value of property node. |
| 75 |
</desc> |
| 76 |
</info> |
| 77 |
</prop> |
| 78 |
<prop oor:name="Sidebar" oor:type="xs:string" oor:nillable="false"> |
| 79 |
<info> |
| 80 |
<desc> |
| 81 |
Describes sidebar mode. |
| 82 |
Arrow - sidebar collapsed, showing the 'open' arrow button |
| 83 |
Tabs - sidebar is showing only tab bars |
| 84 |
Opened - sidebar fully opened |
| 85 |
</desc> |
| 86 |
</info> |
| 87 |
</prop> |
| 88 |
<prop oor:name="HasMenubar" oor:type="xs:boolean" oor:nillable="false"> |
| 89 |
<info> |
| 90 |
<desc>Determines if menubar is visible.</desc> |
| 91 |
</info> |
| 92 |
<value>false</value> |
| 93 |
</prop> |
| 94 |
</group> |
| 95 |
<group oor:name="Application"> |
| 96 |
<info> |
| 97 |
<desc>Describes toolbar modes for one application.</desc> |
| 98 |
</info> |
| 99 |
<prop oor:name="Active" oor:type="xs:string" oor:nillable="false"> |
| 100 |
<info> |
| 101 |
<desc>Contains name of currently used mode.</desc> |
| 102 |
</info> |
| 103 |
</prop> |
| 104 |
<set oor:name="Modes" oor:node-type="ModeEntry"> |
| 105 |
<info> |
| 106 |
<desc>Contains list of toolbar modes.</desc> |
| 107 |
</info> |
| 108 |
</set> |
| 109 |
</group> |
| 110 |
</templates> |
| 111 |
<component> |
| 112 |
<prop oor:name="ActiveWriter" oor:type="xs:string" oor:nillable="false"> |
| 113 |
<info> |
| 114 |
<desc>Contains name of currently used implementation in the Writer module.</desc> |
| 115 |
</info> |
| 116 |
</prop> |
| 117 |
<prop oor:name="ActiveCalc" oor:type="xs:string" oor:nillable="false"> |
| 118 |
<info> |
| 119 |
<desc>Contains name of currently used implementation in the Calc module.</desc> |
| 120 |
</info> |
| 121 |
</prop> |
| 122 |
<prop oor:name="ActiveImpress" oor:type="xs:string" oor:nillable="false"> |
| 123 |
<info> |
| 124 |
<desc>Contains name of currently used implementation in the Impress module.</desc> |
| 125 |
</info> |
| 126 |
</prop> |
| 127 |
<prop oor:name="ActiveDraw" oor:type="xs:string" oor:nillable="false"> |
| 128 |
<info> |
| 129 |
<desc>Contains name of currently used implementation in the Draw module.</desc> |
| 130 |
</info> |
| 131 |
</prop> |
| 132 |
<set oor:name="Applications" oor:node-type="Application"> |
| 133 |
<info> |
| 134 |
<desc>Contains list of toolbar mode settings for each application.</desc> |
| 135 |
</info> |
| 136 |
</set> |
| 137 |
</component> |
| 138 |
</oor:component-schema> |