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<oor:component-schema xml:lang="en-US" 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:package="org.openoffice.Office" oor:name="PresenterScreen">
25  <info>
26    <author>AF</author>
27    <desc>Configuration of the Presenter Screen extension.</desc>
28  </info>
29  <import oor:component="org.openoffice.Office.Impress"></import>
30  <templates>
31    <group oor:name="BitmapDescriptor">
32      <info><desc>Describes one bitmap that can be used as button icon or to paint
33          a pane border.</desc></info>
34      <prop oor:name="Name" oor:type="xs:string">
35        <info><desc>Name of the bitmap.  Used to look-up the bitmap in a container.</desc></info>
36      </prop>
37      <prop oor:name="Text" oor:type="xs:string" oor:localized="true">
38        <info><desc>Localized text that is displayed together with the icon.</desc></info>
39      </prop>
40      <prop oor:name="NormalFileName" oor:type="xs:string">
41        <info><desc>Relative file name to the bitmap for the normal icon.</desc></info>
42      </prop>
43      <prop oor:name="MouseOverFileName" oor:type="xs:string">
44        <info><desc>Relative file name to the bitmap for the mouse over icon.</desc></info>
45      </prop>
46      <prop oor:name="ButtonDownFileName" oor:type="xs:string">
47        <info><desc>Relative file name to the bitmap for the button down icon.</desc></info>
48      </prop>
49      <prop oor:name="DisabledFileName" oor:type="xs:string">
50        <info><desc>Relative file name to the bitmap for the icon in disabled state.</desc></info>
51      </prop>
52      <prop oor:name="SelectedFileName" oor:type="xs:string">
53        <info><desc>Relative file name to the bitmap for the icon in disabled state.</desc></info>
54      </prop>
55      <prop oor:name="MaskFileName" oor:type="xs:string">
56        <info><desc>The file name of the mask bitmap. Use red for pixel outside of
57            the border and blue for inside pixels.</desc></info>
58        <value></value>
59      </prop>
60      <prop oor:name="XOffset" oor:type="xs:int">
61        <info><desc>Horizontal offset to move the bitmap just outside the
62            window border.</desc></info>
63        <value>0</value>
64      </prop>
65      <prop oor:name="YOffset" oor:type="xs:int">
66        <info><desc>Vertical offset to move the bitmap just outside the
67            window border.</desc></info>
68        <value>0</value>
69      </prop>
70      <prop oor:name="XHotSpot" oor:type="xs:int">
71        <info><desc>Horizontal position of a hot spot.</desc></info>
72      </prop>
73      <prop oor:name="YHotSpot" oor:type="xs:int">
74        <info><desc>Vertical position of a hot spot.</desc></info>
75      </prop>
76      <prop oor:name="ReplacementColor" oor:type="xs:hexBinary">
77        <info><desc>Color that is used as replacement for the bitmap when the later
78            can for some reason not be used.</desc></info>
79      </prop>
80      <prop oor:name="HorizontalTexturingMode" oor:type="xs:string">
81        <info><desc>Horizontal texturing mode.</desc></info>
82        <constraints>
83          <enumeration oor:value="Once">
84            <info><desc>Show texture only once</desc></info>
85          </enumeration>
86          <enumeration oor:value="Repeat">
87            <info><desc>Repeat the texture</desc></info>
88          </enumeration>
89          <enumeration oor:value="Stretch">
90            <info><desc>Stretch the texture to cover the paint area</desc></info>
91          </enumeration>
92        </constraints>
93      </prop>
94      <prop oor:name="VerticalTexturingMode" oor:type="xs:string">
95        <info><desc>Vertical texturing mode.</desc></info>
96        <constraints>
97          <enumeration oor:value="Once">
98            <info><desc>Show texture only once</desc></info>
99          </enumeration>
100          <enumeration oor:value="Repeat">
101            <info><desc>Repeat the texture</desc></info>
102          </enumeration>
103          <enumeration oor:value="Stretch">
104            <info><desc>Stretch the texture to cover the paint area</desc></info>
105          </enumeration>
106        </constraints>
107        <value>Once</value>
108      </prop>
109    </group>
110    <group oor:name="ThemeBorderSize">
111      <info><desc>Four values describing the sizes of a border around a
112          rectangular area.</desc></info>
113      <prop oor:name="Left" oor:type="xs:int">
114        <info><desc>Left border size.</desc></info>
115      </prop>
116      <prop oor:name="Top" oor:type="xs:int">
117        <info><desc>Top border size.</desc></info>
118      </prop>
119      <prop oor:name="Right" oor:type="xs:int">
120        <info><desc>Right border size.</desc></info>
121      </prop>
122      <prop oor:name="Bottom" oor:type="xs:int">
123        <info><desc>Bottom border size.</desc></info>
124      </prop>
125    </group>
126    <group oor:name="Font">
127      <info><desc>Font description.</desc></info>
128      <prop oor:name="FamilyName" oor:type="xs:string">
129        <info><desc>The name of the font family.</desc></info>
130      </prop>
131      <prop oor:name="Size" oor:type="xs:int">
132        <info><desc>Font size.</desc></info>
133      </prop>
134      <prop oor:name="Style" oor:type="xs:string">
135        <info><desc>Something like "Bold" or "Italic" or "Bold Italic".</desc></info>
136      </prop>
137      <prop oor:name="Color" oor:type="xs:hexBinary">
138        <info><desc>Font color.</desc></info>
139      </prop>
140      <prop oor:name="Anchor" oor:type="xs:string">
141        <info><desc>Orientation of text.  Can be left, right, or centered.</desc></info>
142        <constraints>
143          <enumeration oor:value="Left">
144            <info><desc>Flush left</desc></info>
145          </enumeration>
146          <enumeration oor:value="Right">
147            <info><desc>Flush right</desc></info>
148          </enumeration>
149          <enumeration oor:value="Center">
150            <info><desc>Centered</desc></info>
151          </enumeration>
152        </constraints>
153      </prop>
154      <prop oor:name="XOffset" oor:type="xs:int">
155        <info><desc>Horizontal offset in relation to the anchor point.</desc></info>
156      </prop>
157      <prop oor:name="YOffset" oor:type="xs:int">
158        <info><desc>Vertical offset in relation to the anchor point.</desc></info>
159      </prop>
160    </group>
161    <group oor:name="ToolBarDescription">
162      <info><desc>Describes a ToolBar.</desc></info>
163      <node-ref oor:name="Font" oor:node-type="Font">
164        <info><desc>Font used for displaying the text.</desc></info>
165      </node-ref>
166      <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor">
167        <info><desc>The icon to display.</desc></info>
168      </node-ref>
169      <prop oor:name="Text" oor:type="xs:string" oor:localized="true">
170        <info><desc>The localized text to display.</desc></info>
171      </prop>
172      <prop oor:name="Action" oor:type="xs:string">
173        <info><desc>Action to execute when a button is triggered.</desc></info>
174      </prop>
175    </group>
176    <group oor:name="ToolBarEntry">
177      <info><desc>Describes a ToolBar entry.</desc></info>
178      <prop oor:name="Name" oor:type="xs:string">
179        <info><desc>Name of the entry.  May be used to have mode dependant entries.</desc></info>
180      </prop>
181      <prop oor:name="Type" oor:type="xs:string">
182        <info><desc>Type of the entry.  Examples are "Label" and "Button".</desc></info>
183      </prop>
184      <node-ref oor:name="Normal" oor:node-type="ToolBarDescription">
185        <info><desc>Description of a tool bar entry in normal mode (not selected, not mouse over)</desc></info>
186      </node-ref>
187      <node-ref oor:name="MouseOver" oor:node-type="ToolBarDescription">
188        <info><desc>Description of a tool bar entry when the mouse is over it.</desc></info>
189      </node-ref>
190      <node-ref oor:name="Selected" oor:node-type="ToolBarDescription">
191        <info><desc>Description of a tool bar entry when it is selected.</desc></info>
192      </node-ref>
193      <node-ref oor:name="Disabled" oor:node-type="ToolBarDescription">
194        <info><desc>Description of a tool bar entry when it is disabled.</desc></info>
195      </node-ref>
196    </group>
197    <group oor:name="ToolBar">
198      <info><desc>Definition of one tool bar.</desc></info>
199      <set oor:name="Entries" oor:node-type="ToolBarEntry">
200        <info><desc>Entries of the tool bars.</desc></info>
201      </set>
202    </group>
203    <group oor:name="Button">
204      <info><desc>Describes a Button.</desc></info>
205      <prop oor:name="Name" oor:type="xs:string">
206        <info><desc>Name of the button that is used to look up the button.</desc></info>
207      </prop>
208      <node-ref oor:name="Font" oor:node-type="Font">
209        <info><desc>Font used for displaying the text.</desc></info>
210      </node-ref>
211      <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor">
212        <info><desc>The icon to display.</desc></info>
213      </node-ref>
214      <prop oor:name="Text" oor:type="xs:string" oor:localized="true">
215        <info><desc>The localized text to display.</desc></info>
216      </prop>
217      <prop oor:name="Action" oor:type="xs:string">
218        <info><desc>Action to execute when a button is triggered.</desc></info>
219      </prop>
220    </group>
221    <group oor:name="HelpEntry">
222      <info><desc>Describes a Help entry.</desc></info>
223      <prop oor:name="Left" oor:type="xs:string" oor:localized="true">
224        <info><desc>Typically a list of localized keyboard key names.</desc></info>
225      </prop>
226      <prop oor:name="Right" oor:type="xs:string" oor:localized="true">
227        <info><desc>Typically a localized description of the action triggered by pressing the keys on the left.</desc></info>
228      </prop>
229    </group>
230    <group oor:name="PaneStyle">
231      <info><desc>Visual properties of a pane style:
232          the border of a pane and its title font.</desc></info>
233      <prop oor:name="StyleName" oor:type="xs:string">
234        <info><desc>Name of the style.  Used for referencing the style.
235            Has to be unique among pane styles and view styles
236            in one theme.</desc></info>
237      </prop>
238      <prop oor:name="ParentStyle" oor:type="xs:string">
239        <info><desc>Name of the parent style.  Values not supplied in this style
240            are taken from the parent style.  Empty string or missing
241            mean no parent.</desc></info>
242        <value></value>
243      </prop>
244      <node-ref oor:name="TitleFont" oor:node-type="Font">
245        <info><desc>Font used for displaying the pane title.</desc></info>
246      </node-ref>
247      <node-ref oor:name="InnerBorderSize" oor:node-type="ThemeBorderSize">
248        <info><desc>Size of the inner part of the border.</desc></info>
249      </node-ref>
250      <node-ref oor:name="OuterBorderSize" oor:node-type="ThemeBorderSize">
251        <info><desc>Size of the outer part of the border.</desc></info>
252      </node-ref>
253      <set oor:name="BorderBitmapList" oor:node-type="BitmapDescriptor">
254        <info><desc>Bitmaps that are used to paint the borders of
255            a pane.</desc></info>
256      </set>
257    </group>
258    <group oor:name="ViewStyle">
259      <info><desc>Visual properties of a view style:
260          font and backround color.</desc></info>
261      <prop oor:name="StyleName" oor:type="xs:string">
262        <info><desc>Name of the style.  Used for referencing the style.
263            Has to be unique among pane styles and view styles
264            in one theme.</desc></info>
265      </prop>
266      <prop oor:name="ParentStyle" oor:type="xs:string">
267        <info><desc>Name of the parent style.  Values not supplied in this style
268            are taken from the parent style.  Empty string or missing
269            mean no parent.</desc></info>
270        <value></value>
271      </prop>
272      <node-ref oor:name="Font" oor:node-type="Font">
273        <info><desc>Font used for text display inside a view.</desc></info>
274      </node-ref>
275      <node-ref oor:name="Background" oor:node-type="BitmapDescriptor">
276        <info><desc>Color (or bitmap) that is used to paint the
277            background of a view.</desc></info>
278      </node-ref>
279    </group>
280    <group oor:name="Style_Association">
281      <info><desc>Association of a drawing framework resource to a
282          style of the presenter theme.</desc></info>
283      <prop oor:name="ResourceURL" oor:type="xs:string">
284        <info><desc>URL of a drawing framework resource.</desc></info>
285      </prop>
286      <prop oor:name="StyleName" oor:type="xs:string">
287        <info><desc>Name of a pane style or a view style.</desc></info>
288      </prop>
289    </group>
290    <group oor:name="PresenterString">
291      <info><desc>A Presenter string</desc></info>
292      <prop oor:name="String" oor:type="xs:string" oor:localized="true">
293        <info><desc>The localized string.</desc></info>
294      </prop>
295    </group>
296    <group oor:name="ViewDescription">
297      <info><desc>Association of a drawing framework resource to a
298          style of the presenter theme.</desc></info>
299      <prop oor:name="ViewURL" oor:type="xs:string">
300        <info><desc>URL of a drawing framework view.</desc></info>
301      </prop>
302      <prop oor:name="StyleName" oor:type="xs:string">
303        <info><desc>Name of a view style.</desc></info>
304      </prop>
305      <prop oor:name="Title" oor:type="xs:string" oor:localized="true">
306        <info><desc>Title displayed for the component.  An empty or missing
307            title means that no title is displayed.</desc></info>
308        <value></value>
309      </prop>
310      <prop oor:name="AccessibleTitle" oor:type="xs:string" oor:localized="true">
311        <info><desc>Title displayed for the component when accessibility support is active.
312            An empty or missing title means that no title is displayed.</desc></info>
313        <value></value>
314      </prop>
315      <prop oor:name="IsOpaque" oor:type="xs:boolean">
316        <info><desc>When the value is false then the background is painted before the
317            view is painted.</desc></info>
318        <value>false</value>
319      </prop>
320      <set oor:name="Strings" oor:node-type="PresenterString">
321        <info><desc>List of localizable strings used by the view.</desc></info>
322      </set>
323    </group>
324    <group oor:name="PresenterTheme">
325      <info><desc>Visual properties of the presenter view.  The values in a theme
326          are hints and can be ignored.</desc></info>
327      <prop oor:name="ThemeName" oor:type="xs:string">
328        <info><desc>Name of the theme.  Used for referencing the theme.
329            Has to be unique among all themes.  The name of the
330            default theme is 'DefaultTheme'</desc></info>
331      </prop>
332      <prop oor:name="ParentTheme" oor:type="xs:string">
333        <info><desc>Name of the parent theme.  Values not supplied in this theme
334            are taken from the parent theme.  Empty string or missing
335            mean default theme.</desc></info>
336        <value></value>
337      </prop>
338      <prop oor:name="BitmapSourceExtension" oor:type="xs:string">
339        <info><desc>Name of the extension which contains the bitmaps
340            referenced by this theme.</desc></info>
341        <value></value>
342      </prop>
343      <node-ref oor:name="Background" oor:node-type="BitmapDescriptor">
344        <info><desc>Color or bitmap that is used to paint the
345            background.</desc></info>
346      </node-ref>
347      <set oor:name="PaneStyles" oor:node-type="PaneStyle">
348        <info><desc>List of pane styles.</desc></info>
349      </set>
350      <set oor:name="ViewStyles" oor:node-type="ViewStyle">
351        <info><desc>List of view styles.</desc></info>
352      </set>
353      <set oor:name="StyleAssociations" oor:node-type="Style_Association">
354        <info><desc>List of style associations.</desc></info>
355      </set>
356      <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor">
357        <info><desc>List of additional bitmaps for example for buttons.</desc></info>
358      </set>
359      <set oor:name="Fonts" oor:node-type="Font">
360        <info><desc>List of additional fonts.</desc></info>
361      </set>
362    </group>
363    <group oor:name="PresenterComponentLayout">
364      <info><desc>Layout of a component of the presenter screen.</desc></info>
365      <prop oor:name="PaneURL" oor:type="xs:string">
366        <info><desc>URL of a pane resource.</desc></info>
367      </prop>
368      <prop oor:name="ViewURL" oor:type="xs:string">
369        <info><desc>URL of a view resource that is to be displayed in
370            the pane.</desc></info>
371      </prop>
372      <prop oor:name="RelativeX" oor:type="xs:double">
373        <info><desc>Relative x position in the range of [0,1].</desc></info>
374      </prop>
375      <prop oor:name="RelativeY" oor:type="xs:double">
376        <info><desc>Relative y position in the range of [0,1].</desc></info>
377      </prop>
378      <prop oor:name="RelativeWidth" oor:type="xs:double">
379        <info><desc>Relative width in the range of [0,1].</desc></info>
380      </prop>
381      <prop oor:name="RelativeHeight" oor:type="xs:double">
382        <info><desc>Relative height in the range of [0,1].</desc></info>
383      </prop>
384    </group>
385    <group oor:name="PresenterLayout">
386      <info><desc>Layout of all components of the presenter screen.</desc></info>
387      <prop oor:name="LayoutName" oor:type="xs:string">
388        <info><desc>Name of the layout.  Used for referencing the layout.
389            Has to be unique among all presenter layouts.</desc></info>
390      </prop>
391      <prop oor:name="ParentLayout" oor:type="xs:string">
392        <info><desc>Name of the parent layout.  Values not supplied in this layout
393            are taken from the parent layout.  Missing or empty string
394            mean no parent layout.</desc></info>
395        <value></value>
396      </prop>
397      <set oor:name="Layout" oor:node-type="PresenterComponentLayout">
398        <info><desc>List of component layouts.</desc></info>
399      </set>
400    </group>
401  </templates>
402  <component>
403    <group oor:name="PresenterScreenSettings">
404      <info><desc>Settings regarding controls that are only used by the Presenter
405          Screen.</desc></info>
406      <set oor:name="ToolBars" oor:node-type="ToolBar">
407        <info><desc>Set of tool bars.</desc></info>
408      </set>
409      <set oor:name="Buttons" oor:node-type="Button">
410        <info><desc>Set of buttons.</desc></info>
411      </set>
412      <group oor:name="ScrollBar">
413        <info><desc>Settings of scroll bars.</desc></info>
414        <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor">
415          <info><desc>Bitmaps of icons used for displaying the scroll bar.</desc></info>
416        </set>
417      </group>
418      <group oor:name="SlideSorter">
419        <info><desc>Settings of the slide sorter of the presenter screen.</desc></info>
420        <node-ref oor:name="BorderSize" oor:node-type="ThemeBorderSize">
421          <info><desc>Size of the border around the current slide.</desc></info>
422        </node-ref>
423        <set oor:name="CurrentSlideBorderBitmaps" oor:node-type="BitmapDescriptor">
424          <info><desc>Bitmaps that are used to paint the border around the current
425              slide.</desc></info>
426        </set>
427      </group>
428      <group oor:name="HelpView">
429        <info><desc>Settings of help view.</desc></info>
430        <set oor:name="HelpStrings" oor:node-type="HelpEntry">
431          <info><desc>List of entries displayed in the help view.</desc></info>
432        </set>
433      </group>
434    </group>
435    <group oor:name="Presenter">
436      <info><desc>General properties of the presenter view.</desc></info>
437      <prop oor:name="StartAlways" oor:type="xs:boolean">
438        <info><desc>When true then presenter screen is displayed on single screen systems
439            or when fullscreen presentation spans all screens.</desc></info>
440        <value>false</value>
441      </prop>
442      <set oor:name="Themes" oor:node-type="PresenterTheme">
443        <info><desc>List of available themes.</desc></info>
444      </set>
445      <prop oor:name="CurrentTheme" oor:type="xs:string">
446        <info><desc>Name of the current theme.  An empty name or the string "DefaultTheme"
447            specify the default theme.</desc></info>
448        <value>DefaultTheme</value>
449      </prop>
450      <set oor:name="Views" oor:node-type="ViewDescription">
451        <info><desc>Description of the views.</desc></info>
452      </set>
453      <set oor:name="Layouts" oor:node-type="PresenterLayout">
454        <info><desc>List of visible presenter components.</desc></info>
455      </set>
456      <prop oor:name="CurrentLayout" oor:type="xs:string">
457        <info><desc>Name of the current layout.  An empty name or the
458            string "DefaultLayout" specify the default layout.</desc></info>
459        <value>DefaultLayout</value>
460      </prop>
461      <set oor:name="Accessibility" oor:node-type="PresenterString">
462        <info><desc>Strings that are used make the presenter console accessible.</desc></info>
463      </set>
464      <prop oor:name="InitialViewMode" oor:type="xs:int">
465        <info><desc>The view mode on start up of the extension.  Valid values are 0 for the Preview-only mode, 1 for the notes view, 2 for the slide overview.</desc></info>
466        <value>0</value>
467      </prop>
468    </group>
469  </component>
470</oor:component-schema>
471