1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd">
25<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">
26  <info>
27    <author>Andre Fischer</author>
28    <desc>Specification of decks and content panels of the sidebar.</desc>
29  </info>
30  <templates>
31    <group oor:name="Deck">
32      <info>
33        <desc>Specification of a sidebar deck which is a container of content panels.</desc>
34      </info>
35      <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
36        <info>
37          <desc>The deck title is displayed above the content panels.</desc>
38        </info>
39        <value></value>
40      </prop>
41      <prop oor:name="Id" oor:type="xs:string" oor:localized="false">
42        <info>
43          <desc>Internally used to identify the deck.  Not displayed in the UI.</desc>
44        </info>
45        <value></value>
46      </prop>
47      <prop oor:name="IconURL" oor:type="xs:string">
48        <info>
49          <desc>This icon is displayed in the sidebar tab bar.
50          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
51        </info>
52        <value></value>
53      </prop>
54      <prop oor:name="HighContrastIconURL" oor:type="xs:string">
55        <info>
56          <desc>This icon is displayed in the sidebar tab bar when high contrast mode is active.
57          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
58        </info>
59        <value></value>
60      </prop>
61      <prop oor:name="TitleBarIconURL" oor:type="xs:string">
62        <info>
63          <desc>This icon is displayed in the title bar of the deck.
64          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
65        </info>
66        <value></value>
67      </prop>
68      <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
69        <info>
70          <desc>This icon is displayed in the title bar of the deck when high contrast mode is active.
71          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
72        </info>
73        <value></value>
74      </prop>
75      <prop oor:name="HelpURL" oor:type="xs:string">
76        <info>
77          <desc>Help about the sidebar deck.</desc>
78        </info>
79        <value></value>
80      </prop>
81      <prop oor:name="ContextList" oor:type="oor:string-list">
82        <info><desc>
83          List of context descriptors.  Each context descriptor is a string that contains four comma
84          separated values (note that values are case sensitive):
85          1  Application name. Valid values are
86                 com.sun.star.text.TextDocument
87                 com.sun.star.text.GlobalDocument
88                 com.sun.star.text.WebDocument
89                 com.sun.star.xforms.XMLFormDocument
90                 com.sun.star.sdb.FormDesign
91                 com.sun.star.sdb.TextReportDesign
92                 com.sun.star.sheet.SpreadsheetDocument
93                 com.sun.star.presentation.PresentationDocument
94                 com.sun.star.drawing.DrawingDocument
95
96             Recognized shortcuts:
97                 Writer
98                 Calc
99                 Impress
100                 Draw
101
102             Shortcuts for multiple applications:
103                 DrawImpress
104                 WriterVariants
105             These shortcuts exist for even more convenience and handle the frequent case of Draw
106	     and Impress as well as different variants of the Writer where they have otherwise
107	     identical context descriptions.
108
109             Special values:
110                 any
111                 none
112
113          2  Context name
114              Know context names are 3DObject, Annotation, Auditing, Cell, Chart, Draw, DrawPage, DrawText,
115              EditCell, Form, Frame, Graphic, HandoutPage, MasterPage, Media, Multiobj, OLE, OutlineText,
116              Pivot, SlidesorterPage, Table, Text, TextObject,
117              default
118
119             Special values:
120                 any
121
122          3  Panel state.  One of
123             visible  Panel is initially visible and expanded
124             hidden   Panel is initially collapsed, i.e. 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    </group>
138    <group oor:name="Panel">
139      <info>
140        <desc>Specification of a sidebar content panel.</desc>
141      </info>
142      <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
143        <info>
144          <desc>The panel title is displayed above the content panel.</desc>
145        </info>
146        <value></value>
147      </prop>
148      <prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
149        <info>
150          <desc>When true, the title bar can be omitted when the panel is the only panel in a deck.</desc>
151        </info>
152        <value>false</value>
153      </prop>
154      <prop oor:name="Id" oor:type="xs:string" oor:localized="false">
155        <info>
156          <desc>Internally used to identify the panel.</desc>
157        </info>
158        <value></value>
159      </prop>
160      <prop oor:name="DeckId" oor:type="xs:string" oor:localized="false">
161        <info>
162          <desc>Id of the deck to which the panel belongs.</desc>
163        </info>
164        <value></value>
165      </prop>
166      <prop oor:name="TitleBarIconURL" oor:type="xs:string">
167        <info>
168          <desc>This icon is displayed in the title bar of the panel.
169          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
170        </info>
171        <value></value>
172      </prop>
173      <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
174        <info>
175          <desc>This icon is displayed in the title bar of the panel when high contrast mode is active.
176          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
177        </info>
178        <value></value>
179      </prop>
180      <prop oor:name="HelpURL" oor:type="xs:string">
181        <info>
182          <desc>Help about the sidebar content panel.</desc>
183        </info>
184        <value></value>
185      </prop>
186      <prop oor:name="DefaultMenuCommand" oor:type="xs:string">
187        <info><desc>
188          The default UNO command to execute when the user clicks on the menu button in the panel title bar.
189          Can be overridden in the ContextList to provide context dependent menu dialogs.
190          When empty then the menu icon is not shown in the panel title bar.
191        </desc></info>
192        <value></value>
193      </prop>
194      <prop oor:name="ContextList" oor:type="oor:string-list">
195        <info>
196          <desc>For documentation, please see the Deck/ContextList.</desc>
197        </info>
198      </prop>
199      <prop oor:name="ImplementationURL" oor:type="xs:string">
200        <info>
201          <desc>URL by which the implementation of the panel is known by its factory.</desc>
202        </info>
203        <value></value>
204      </prop>
205      <prop oor:name="OrderIndex" oor:type="xs:int">
206        <info>
207          <desc>Index used for ordering panels inside a deck.  Smaller values correspond to positions nearer to the top of the deck.</desc>
208        </info>
209        <value>10000</value>
210      </prop>
211      <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
212        <info>
213          <desc>This flag controls whether the panel is shown when the document in the edit view is read only.</desc>
214        </info>
215        <value>false</value>
216      </prop>
217      <prop oor:name="WantsCanvas" oor:type="xs:boolean">
218        <info>
219          <desc>Experimental: Set to true when panel wants to paint its content via a XCanvas.</desc>
220        </info>
221        <value>false</value>
222      </prop>
223    </group>
224  </templates>
225  <component>
226    <group oor:name="Content">
227      <info>
228        <desc>Description of the decks and panels that can be displayed in the content area of the sidebar.</desc>
229      </info>
230      <set oor:name="DeckList" oor:node-type="Deck">
231        <info>
232          <desc>Contains all registered sidebar decks.</desc>
233        </info>
234      </set>
235      <set oor:name="PanelList" oor:node-type="Panel">
236        <info>
237          <desc>Contains all registered sidebar content panels.</desc>
238        </info>
239      </set>
240    </group>
241  </component>
242</oor:component-schema>
243