Debian Codegraph @

officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs

raw
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="Sidebar" oor:package="org.openoffice.Office.UI" xml:lang="en-US">
21 <info>
22 <desc>Specification of decks and content panels of the sidebar.</desc>
23 </info>
24 <templates>
25 <group oor:name="Deck">
26 <info>
27 <desc>Specification of a sidebar deck which is a container of content panels.</desc>
28 </info>
29 <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
30 <info>
31 <desc>The deck title is displayed above the content panels.</desc>
32 </info>
33 <value></value>
34 </prop>
35 <prop oor:name="Id" oor:type="xs:string">
36 <info>
37 <desc>Internally used to identify the deck. Not displayed in the UI.</desc>
38 </info>
39 <value></value>
40 </prop>
41 <prop oor:name="IconURL" oor:type="xs:string">
42 <info>
43 <desc>This icon is displayed in the sidebar tab bar.
44 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
45 </info>
46 <value></value>
47 </prop>
48 <prop oor:name="HighContrastIconURL" oor:type="xs:string">
49 <info>
50 <desc>This icon is displayed in the sidebar tab bar when high contrast mode is active.
51 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
52 </info>
53 <value></value>
54 </prop>
55 <prop oor:name="TitleBarIconURL" oor:type="xs:string">
56 <info>
57 <desc>This icon is displayed in the title bar of the deck.
58 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
59 </info>
60 <value></value>
61 </prop>
62 <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
63 <info>
64 <desc>This icon is displayed in the title bar of the deck when high contrast mode is active.
65 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
66 </info>
67 <value></value>
68 </prop>
69 <prop oor:name="HelpURL" oor:type="xs:string">
70 <info>
71 <desc>Help about the sidebar deck.</desc>
72 </info>
73 <value></value>
74 </prop>
75 <prop oor:name="ContextList" oor:type="oor:string-list">
76 <info><desc>
77 List of context descriptors. Each context descriptor is a string that contains four comma
78 separated values (note that values are case sensitive):
79 1 Application name. Valid values are
80 com.sun.star.text.TextDocument
81 com.sun.star.text.GlobalDocument
82 com.sun.star.text.WebDocument
83 com.sun.star.xforms.XMLFormDocument
84 com.sun.star.sdb.FormDesign
85 com.sun.star.sdb.TextReportDesign
86 com.sun.star.sheet.SpreadsheetDocument
87 com.sun.star.presentation.PresentationDocument
88 com.sun.star.drawing.DrawingDocument
89 com.sun.star.chart2.ChartDocument
90 com.sun.star.formula.FormulaProperties
91
92 Recognized shortcuts:
93 Writer
94 Calc
95 Impress
96 Draw
97 Chart
98 Math
99
100 Shortcuts for multiple applications:
101 DrawImpress
102 WriterVariants
103 These shortcuts exist for even more convenience and handle the frequent case of Draw
104 and Impress as well as different variants of the Writer where they have otherwise
105 identical context descriptions.
106
107 Special values:
108 any
109 none
110
111 2 Context name
112 Know context names are 3DObject, Annotation, Auditing, Axis, Cell, Chart, ChartElements, Draw,
113 DrawFontwork, DrawLine, DrawPage, DrawText, EditCell, ErrorBar, Form, Frame, Graphic, Grid,
114 HandoutPage, MasterPage, Math, Media, MultiObject, NotesPage, OLE, OutlineText, Pivot, Printpreview,
115 Series, SlidesorterPage, Table, Text, TextObject, Trendline, Sparkline
116
117 Special values:
118 any
119 default
120 empty
121
122 3 Panel state. One of
123 visible Panel is initially visible and expanded
124 hidden Panel is initially collapsed, ie only its title bar is visible
125
126 4 (Optional, only used for panels) UNO command that overrides the DefaultMenuCommand. Use
127 the special value none to override the DefaultMenuCommand to the empty string and thereby
128 disable the showing of a) the menu button in the panel titlebar and b) the showing of a dialog.
129 </desc></info>
130 </prop>
131 <prop oor:name="OrderIndex" oor:type="xs:int">
132 <info>
133 <desc>Index used for ordering decks in the tab bar. Smaller values correspond to positions nearer to the top of the tab bar.</desc>
134 </info>
135 <value>10000</value>
136 </prop>
137 <prop oor:name="IsExperimental" oor:type="xs:boolean">
138 <info>
139 <desc>This flag controls whether the deck is experimental and is shown only when experimental mode is enabled.</desc>
140 </info>
141 <value>false</value>
142 </prop>
143 <prop oor:name="HiddenInViewer" oor:type="xs:boolean">
144 <info>
145 <desc>This flag controls whether the deck is hidden when viewer application mode is enabled.</desc>
146 </info>
147 <value>false</value>
148 </prop>
149 </group>
150 <group oor:name="Panel">
151 <info>
152 <desc>Specification of a sidebar content panel.</desc>
153 </info>
154 <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
155 <info>
156 <desc>The panel title is displayed above the content panel.</desc>
157 </info>
158 <value></value>
159 </prop>
160 <prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
161 <info>
162 <desc>When true then the title bar can be omitted when the panel is the only panel in a deck.</desc>
163 </info>
164 <value>false</value>
165 </prop>
166 <prop oor:name="Id" oor:type="xs:string">
167 <info>
168 <desc>Internally used to identify the panel.</desc>
169 </info>
170 <value></value>
171 </prop>
172 <prop oor:name="DeckId" oor:type="xs:string">
173 <info>
174 <desc>Id of the deck to which the panel belongs.</desc>
175 </info>
176 <value></value>
177 </prop>
178 <prop oor:name="TitleBarIconURL" oor:type="xs:string">
179 <info>
180 <desc>This icon is displayed in the title bar of the panel.
181 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
182 </info>
183 <value></value>
184 </prop>
185 <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
186 <info>
187 <desc>This icon is displayed in the title bar of the panel when high contrast mode is active.
188 Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
189 </info>
190 <value></value>
191 </prop>
192 <prop oor:name="HelpURL" oor:type="xs:string">
193 <info>
194 <desc>Help about the sidebar content panel.</desc>
195 </info>
196 <value></value>
197 </prop>
198 <prop oor:name="DefaultMenuCommand" oor:type="xs:string">
199 <info><desc>
200 The default UNO command to execute when the user clicks on the menu button in the panel title bar.
201 Can be overridden in the ContextList to provide context dependent menu dialogs.
202 When empty then the menu icon is not shown in the panel title bar.
203 </desc></info>
204 <value></value>
205 </prop>
206 <prop oor:name="ContextList" oor:type="oor:string-list">
207 <info>
208 <desc>For documentation, please see the Deck/ContextList.</desc>
209 </info>
210 </prop>
211 <prop oor:name="ImplementationURL" oor:type="xs:string">
212 <info>
213 <desc>URL by which the implementation of the panel is known by its factory.</desc>
214 </info>
215 <value></value>
216 </prop>
217 <prop oor:name="OrderIndex" oor:type="xs:int">
218 <info>
219 <desc>Index used for ordering panels inside a deck. Smaller values correspond to positions nearer to the top of the deck.</desc>
220 </info>
221 <value>10000</value>
222 </prop>
223 <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
224 <info>
225 <desc>This flag controls whether the panel is shown when the document in the edit view is read only.</desc>
226 </info>
227 <value>false</value>
228 </prop>
229 <prop oor:name="WantsCanvas" oor:type="xs:boolean">
230 <info>
231 <desc>Experimental: Set to true when panel wants to paint its content via a XCanvas.</desc>
232 </info>
233 <value>false</value>
234 </prop>
235 <prop oor:name="IsExperimental" oor:type="xs:boolean">
236 <info>
237 <desc>This flag controls whether the panel is experimental and is shown only when experimental mode is enabled.</desc>
238 </info>
239 <value>false</value>
240 </prop>
241 <prop oor:name="WantsAWT" oor:type="xs:boolean">
242 <info>
243 <desc>This flag controls whether the panel requires a awt::XWindow parent. This option cannot be false if WantsCanvas
244 is also true. The default of true is suitable for third party sidebar panels, false is only useful for built-in
245 internal panels.</desc>
246 </info>
247 <value>true</value>
248 </prop>
249 </group>
250 </templates>
251 <component>
252 <group oor:name="General">
253 <info>
254 <desc>General Sidebar settings.</desc>
255 </info>
256 <prop oor:name="MaximumWidth" oor:type="xs:int" oor:nillable="false">
257 <info>
258 <desc>Maximum width the sidebar can have.
259 Note that this can be overridden by extensions returning a larger value in XSidebarPanel::getMinimalWidth()</desc>
260 </info>
261 <value>500</value>
262 </prop>
263 <prop oor:name="MinimumWidth" oor:type="xs:boolean" oor:nillable="false">
264 <info>
265 <desc>Enables the calculation of the sidebar's minimum width based on the size of all decks.
266 If false, the user has full control over the sidebar width.</desc>
267 </info>
268 <value>true</value>
269 </prop>
270 </group>
271 <group oor:name="Content">
272 <info>
273 <desc>Description of the decks and panels that can be displayed in the content area of the sidebar.</desc>
274 </info>
275 <set oor:name="DeckList" oor:node-type="Deck">
276 <info>
277 <desc>Contains all registered sidebar decks.</desc>
278 </info>
279 </set>
280 <set oor:name="PanelList" oor:node-type="Panel">
281 <info>
282 <desc>Contains all registered sidebar content panels.</desc>
283 </info>
284 </set>
285 <prop oor:name="LastActiveDeck" oor:type="oor:string-list" oor:nillable="false">
286 <info>
287 <desc>Contains IDs of the decks that were active last time the application was closed.
288 Each entry is a string of 2 comma-separated values, application name and DeckID. Valid
289 values for application name are the same as those in ContextList, for example:
290
291 WriterVariants, StyleListDeck;
292 Impress, PropertyDeck;
293 </desc>
294 </info>
295 <value>
296 <it>any,PropertyDeck</it>
297 </value>
298 </prop>
299 </group>
300 </component>
301 </oor:component-schema>