xref: /trunk/main/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs (revision 5f551de635bbe4c47e985520a47471cf8e391c88)
1d975be8cSAndre Fischer<?xml version="1.0" encoding="UTF-8"?>
2d975be8cSAndre Fischer<!--***********************************************************
3d975be8cSAndre Fischer *
4d975be8cSAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
5d975be8cSAndre Fischer * or more contributor license agreements.  See the NOTICE file
6d975be8cSAndre Fischer * distributed with this work for additional information
7d975be8cSAndre Fischer * regarding copyright ownership.  The ASF licenses this file
8d975be8cSAndre Fischer * to you under the Apache License, Version 2.0 (the
9d975be8cSAndre Fischer * "License"); you may not use this file except in compliance
10d975be8cSAndre Fischer * with the License.  You may obtain a copy of the License at
11d975be8cSAndre Fischer *
12d975be8cSAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
13d975be8cSAndre Fischer *
14d975be8cSAndre Fischer * Unless required by applicable law or agreed to in writing,
15d975be8cSAndre Fischer * software distributed under the License is distributed on an
16d975be8cSAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17d975be8cSAndre Fischer * KIND, either express or implied.  See the License for the
18d975be8cSAndre Fischer * specific language governing permissions and limitations
19d975be8cSAndre Fischer * under the License.
20d975be8cSAndre Fischer *
21d975be8cSAndre Fischer ***********************************************************-->
22d975be8cSAndre Fischer
23d975be8cSAndre Fischer
24d975be8cSAndre Fischer<!DOCTYPE oor:component-schema SYSTEM "../../../../../component-schema.dtd">
25057ad723SJürgen Schmidt<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">
26d975be8cSAndre Fischer  <info>
27d975be8cSAndre Fischer    <author>Andre Fischer</author>
28d975be8cSAndre Fischer    <desc>Specification of decks and content panels of the sidebar.</desc>
29d975be8cSAndre Fischer  </info>
30d975be8cSAndre Fischer  <templates>
31d975be8cSAndre Fischer    <group oor:name="Deck">
32d975be8cSAndre Fischer      <info>
33d975be8cSAndre Fischer        <desc>Specification of a sidebar deck which is a container of content panels.</desc>
34d975be8cSAndre Fischer      </info>
35d975be8cSAndre Fischer      <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
36d975be8cSAndre Fischer        <info>
37d975be8cSAndre Fischer          <desc>The deck title is displayed above the content panels.</desc>
38d975be8cSAndre Fischer        </info>
39d975be8cSAndre Fischer        <value></value>
40d975be8cSAndre Fischer      </prop>
41d975be8cSAndre Fischer      <prop oor:name="Id" oor:type="xs:string" oor:localized="false">
42d975be8cSAndre Fischer        <info>
43d975be8cSAndre Fischer          <desc>Internally used to identify the deck.  Not displayed in the UI.</desc>
44d975be8cSAndre Fischer        </info>
45d975be8cSAndre Fischer        <value></value>
46d975be8cSAndre Fischer      </prop>
47d975be8cSAndre Fischer      <prop oor:name="IconURL" oor:type="xs:string">
48d975be8cSAndre Fischer        <info>
49d975be8cSAndre Fischer          <desc>This icon is displayed in the sidebar tab bar.
50d975be8cSAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
51d975be8cSAndre Fischer        </info>
52d975be8cSAndre Fischer        <value></value>
53d975be8cSAndre Fischer      </prop>
54ff12d537SAndre Fischer      <prop oor:name="HighContrastIconURL" oor:type="xs:string">
55ff12d537SAndre Fischer        <info>
56ff12d537SAndre Fischer          <desc>This icon is displayed in the sidebar tab bar when high contrast mode is active.
57ff12d537SAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
58ff12d537SAndre Fischer        </info>
59ff12d537SAndre Fischer        <value></value>
60ff12d537SAndre Fischer      </prop>
614e21436dSAndre Fischer      <prop oor:name="TitleBarIconURL" oor:type="xs:string">
624e21436dSAndre Fischer        <info>
634e21436dSAndre Fischer          <desc>This icon is displayed in the title bar of the deck.
644e21436dSAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
654e21436dSAndre Fischer        </info>
664e21436dSAndre Fischer        <value></value>
674e21436dSAndre Fischer      </prop>
684e21436dSAndre Fischer      <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
694e21436dSAndre Fischer        <info>
704e21436dSAndre Fischer          <desc>This icon is displayed in the title bar of the deck when high contrast mode is active.
714e21436dSAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
724e21436dSAndre Fischer        </info>
734e21436dSAndre Fischer        <value></value>
744e21436dSAndre Fischer      </prop>
75d975be8cSAndre Fischer      <prop oor:name="HelpURL" oor:type="xs:string">
76d975be8cSAndre Fischer        <info>
77d975be8cSAndre Fischer          <desc>Help about the sidebar deck.</desc>
78d975be8cSAndre Fischer        </info>
79d975be8cSAndre Fischer        <value></value>
80d975be8cSAndre Fischer      </prop>
81f120fe41SAndre Fischer      <prop oor:name="ContextList" oor:type="oor:string-list">
82f120fe41SAndre Fischer        <info><desc>
83f120fe41SAndre Fischer          List of context descriptors.  Each context descriptor is a string that contains four comma
84f120fe41SAndre Fischer          separated values (note that values are case sensitive):
85f120fe41SAndre Fischer          1  Application name. Valid values are
8654eaaa32SAndre Fischer                 com.sun.star.text.TextDocument
8785f1aca2SAndre Fischer                 com.sun.star.text.GlobalDocument
8885f1aca2SAndre Fischer                 com.sun.star.text.WebDocument
8985f1aca2SAndre Fischer                 com.sun.star.xforms.XMLFormDocument
9065d25098SAndre Fischer                 com.sun.star.sdb.FormDesign
91a7f63c05SOliver-Rainer Wittmann                 com.sun.star.sdb.TextReportDesign
92f120fe41SAndre Fischer                 com.sun.star.sheet.SpreadsheetDocument
93f120fe41SAndre Fischer                 com.sun.star.presentation.PresentationDocument
94f120fe41SAndre Fischer                 com.sun.star.drawing.DrawingDocument
95f120fe41SAndre Fischer
96f120fe41SAndre Fischer             Recognized shortcuts:
97f120fe41SAndre Fischer                 Writer
98f120fe41SAndre Fischer                 Calc
99f120fe41SAndre Fischer                 Impress
100f120fe41SAndre Fischer                 Draw
101dfbb0ba8SAndre Fischer
102dfbb0ba8SAndre Fischer             Shortcuts for multiple applications:
103f120fe41SAndre Fischer                 DrawImpress
10485f1aca2SAndre Fischer                 WriterVariants
105dfbb0ba8SAndre Fischer             These shortcuts exist for even more convenience and handle the frequent case of Draw
10685f1aca2SAndre Fischer         and Impress as well as different variants of the Writer where they have otherwise
10785f1aca2SAndre Fischer         identical context descriptions.
108f120fe41SAndre Fischer
109f120fe41SAndre Fischer             Special values:
110f120fe41SAndre Fischer                 any
111f120fe41SAndre Fischer                 none
112f120fe41SAndre Fischer
113f120fe41SAndre Fischer          2  Context name
114f120fe41SAndre Fischer              Know context names are 3DObject, Annotation, Auditing, Cell, Chart, Draw, DrawPage, DrawText,
115f120fe41SAndre Fischer              EditCell, Form, Frame, Graphic, HandoutPage, MasterPage, Media, Multiobj, OLE, OutlineText,
116f120fe41SAndre Fischer              Pivot, SlidesorterPage, Table, Text, TextObject,
11754eaaa32SAndre Fischer              default
118f120fe41SAndre Fischer
119f120fe41SAndre Fischer             Special values:
120f120fe41SAndre Fischer                 any
121f120fe41SAndre Fischer
122f120fe41SAndre Fischer          3  Panel state.  One of
12354eaaa32SAndre Fischer             visible  Panel is initially visible and expanded
124*5f551de6Smseidel             hidden   Panel is initially collapsed, i.e. only its title bar is visible
125f120fe41SAndre Fischer
126f120fe41SAndre Fischer          4  (Optional, only used for panels) UNO command that overrides the DefaultMenuCommand.  Use
127f120fe41SAndre Fischer             the special value none to override the DefaultMenuCommand to the empty string and thereby
128f120fe41SAndre Fischer             disable the showing of a) the menu button in the panel titlebar and b) the showing of a dialog.
129f120fe41SAndre Fischer        </desc></info>
130f120fe41SAndre Fischer      </prop>
1317a32b0c8SAndre Fischer      <prop oor:name="OrderIndex" oor:type="xs:int">
1327a32b0c8SAndre Fischer        <info>
1337a32b0c8SAndre Fischer          <desc>Index used for ordering decks in the tab bar.  Smaller values correspond to positions nearer to the top of the tab bar.</desc>
1347a32b0c8SAndre Fischer        </info>
1357a32b0c8SAndre Fischer        <value>10000</value>
1367a32b0c8SAndre Fischer      </prop>
137d975be8cSAndre Fischer    </group>
138d975be8cSAndre Fischer    <group oor:name="Panel">
139d975be8cSAndre Fischer      <info>
140d975be8cSAndre Fischer        <desc>Specification of a sidebar content panel.</desc>
141d975be8cSAndre Fischer      </info>
142d975be8cSAndre Fischer      <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
143d975be8cSAndre Fischer        <info>
144d975be8cSAndre Fischer          <desc>The panel title is displayed above the content panel.</desc>
145d975be8cSAndre Fischer        </info>
146d975be8cSAndre Fischer        <value></value>
147d975be8cSAndre Fischer      </prop>
14822de8995SAndre Fischer      <prop oor:name="TitleBarIsOptional" oor:type="xs:boolean">
14922de8995SAndre Fischer        <info>
150a893be29SPedro Giffuni          <desc>When true, the title bar can be omitted when the panel is the only panel in a deck.</desc>
15122de8995SAndre Fischer        </info>
15222de8995SAndre Fischer        <value>false</value>
15322de8995SAndre Fischer      </prop>
154d975be8cSAndre Fischer      <prop oor:name="Id" oor:type="xs:string" oor:localized="false">
155d975be8cSAndre Fischer        <info>
156d975be8cSAndre Fischer          <desc>Internally used to identify the panel.</desc>
157d975be8cSAndre Fischer        </info>
158d975be8cSAndre Fischer        <value></value>
159d975be8cSAndre Fischer      </prop>
160d975be8cSAndre Fischer      <prop oor:name="DeckId" oor:type="xs:string" oor:localized="false">
161d975be8cSAndre Fischer        <info>
162d975be8cSAndre Fischer          <desc>Id of the deck to which the panel belongs.</desc>
163d975be8cSAndre Fischer        </info>
164d975be8cSAndre Fischer        <value></value>
165d975be8cSAndre Fischer      </prop>
1664e21436dSAndre Fischer      <prop oor:name="TitleBarIconURL" oor:type="xs:string">
1674e21436dSAndre Fischer        <info>
1684e21436dSAndre Fischer          <desc>This icon is displayed in the title bar of the panel.
1694e21436dSAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
1704e21436dSAndre Fischer        </info>
1714e21436dSAndre Fischer        <value></value>
1724e21436dSAndre Fischer      </prop>
1734e21436dSAndre Fischer      <prop oor:name="HighContrastTitleBarIconURL" oor:type="xs:string">
1744e21436dSAndre Fischer        <info>
1754e21436dSAndre Fischer          <desc>This icon is displayed in the title bar of the panel when high contrast mode is active.
1764e21436dSAndre Fischer          Any URL scheme supported by the com.sun.star.graphic.GraphicProvider service is suitable here.</desc>
1774e21436dSAndre Fischer        </info>
1784e21436dSAndre Fischer        <value></value>
1794e21436dSAndre Fischer      </prop>
180d975be8cSAndre Fischer      <prop oor:name="HelpURL" oor:type="xs:string">
181d975be8cSAndre Fischer        <info>
182d975be8cSAndre Fischer          <desc>Help about the sidebar content panel.</desc>
183d975be8cSAndre Fischer        </info>
184d975be8cSAndre Fischer        <value></value>
185d975be8cSAndre Fischer      </prop>
186f120fe41SAndre Fischer      <prop oor:name="DefaultMenuCommand" oor:type="xs:string">
187f120fe41SAndre Fischer        <info><desc>
188f120fe41SAndre Fischer          The default UNO command to execute when the user clicks on the menu button in the panel title bar.
189*5f551de6Smseidel          Can be overridden in the ContextList to provide context dependent menu dialogs.
190f120fe41SAndre Fischer          When empty then the menu icon is not shown in the panel title bar.
191f120fe41SAndre Fischer        </desc></info>
192f120fe41SAndre Fischer        <value></value>
193f120fe41SAndre Fischer      </prop>
194f120fe41SAndre Fischer      <prop oor:name="ContextList" oor:type="oor:string-list">
195d975be8cSAndre Fischer        <info>
196f120fe41SAndre Fischer          <desc>For documentation, please see the Deck/ContextList.</desc>
197d975be8cSAndre Fischer        </info>
198d975be8cSAndre Fischer      </prop>
199d975be8cSAndre Fischer      <prop oor:name="ImplementationURL" oor:type="xs:string">
200d975be8cSAndre Fischer        <info>
201d975be8cSAndre Fischer          <desc>URL by which the implementation of the panel is known by its factory.</desc>
202d975be8cSAndre Fischer        </info>
203d975be8cSAndre Fischer        <value></value>
204d975be8cSAndre Fischer      </prop>
20595a18594SAndre Fischer      <prop oor:name="OrderIndex" oor:type="xs:int">
20695a18594SAndre Fischer        <info>
20795a18594SAndre Fischer          <desc>Index used for ordering panels inside a deck.  Smaller values correspond to positions nearer to the top of the deck.</desc>
20895a18594SAndre Fischer        </info>
20995a18594SAndre Fischer        <value>10000</value>
21095a18594SAndre Fischer      </prop>
21113e1c3b4SAndre Fischer      <prop oor:name="ShowForReadOnlyDocument" oor:type="xs:boolean">
21213e1c3b4SAndre Fischer        <info>
21313e1c3b4SAndre Fischer          <desc>This flag controls whether the panel is shown when the document in the edit view is read only.</desc>
21413e1c3b4SAndre Fischer        </info>
21513e1c3b4SAndre Fischer        <value>false</value>
21613e1c3b4SAndre Fischer      </prop>
2177a32b0c8SAndre Fischer      <prop oor:name="WantsCanvas" oor:type="xs:boolean">
2187a32b0c8SAndre Fischer        <info>
2197a32b0c8SAndre Fischer          <desc>Experimental: Set to true when panel wants to paint its content via a XCanvas.</desc>
2207a32b0c8SAndre Fischer        </info>
2217a32b0c8SAndre Fischer        <value>false</value>
2227a32b0c8SAndre Fischer      </prop>
223d975be8cSAndre Fischer    </group>
224d975be8cSAndre Fischer  </templates>
225d975be8cSAndre Fischer  <component>
22622de8995SAndre Fischer    <group oor:name="Content">
22722de8995SAndre Fischer      <info>
22822de8995SAndre Fischer        <desc>Description of the decks and panels that can be displayed in the content area of the sidebar.</desc>
22922de8995SAndre Fischer      </info>
230d975be8cSAndre Fischer      <set oor:name="DeckList" oor:node-type="Deck">
231d975be8cSAndre Fischer        <info>
232d975be8cSAndre Fischer          <desc>Contains all registered sidebar decks.</desc>
233d975be8cSAndre Fischer        </info>
234d975be8cSAndre Fischer      </set>
235d975be8cSAndre Fischer      <set oor:name="PanelList" oor:node-type="Panel">
236d975be8cSAndre Fischer        <info>
237d975be8cSAndre Fischer          <desc>Contains all registered sidebar content panels.</desc>
238d975be8cSAndre Fischer        </info>
239d975be8cSAndre Fischer      </set>
24022de8995SAndre Fischer    </group>
241d975be8cSAndre Fischer  </component>
242d975be8cSAndre Fischer</oor:component-schema>
243