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.extension" 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">
38        <info><desc>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      <node-ref oor:name="Font" oor:node-type="Font">
163        <info><desc>Font used for displaying the text.</desc></info>
164      </node-ref>
165      <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor">
166        <info><desc>The icon to display.</desc></info>
167      </node-ref>
168      <prop oor:name="Text" oor:type="xs:string">
169        <info><desc>The text to display.</desc></info>
170      </prop>
171      <prop oor:name="Action" oor:type="xs:string">
172        <info><desc>Action to execute when a button is triggered.</desc></info>
173      </prop>
174    </group>
175    <group oor:name="ToolBarEntry">
176      <prop oor:name="Name" oor:type="xs:string">
177        <info><desc>Name of the entry.  May be used to have mode dependant entries.</desc></info>
178      </prop>
179      <prop oor:name="Type" oor:type="xs:string">
180        <info><desc>Type of the entry.  Examples are "Label" and "Button".</desc></info>
181      </prop>
182      <node-ref oor:name="Normal" oor:node-type="ToolBarDescription">
183        <info><desc>Description of a tool bar entry in normal mode (not selected, not mouse over)</desc></info>
184      </node-ref>
185      <node-ref oor:name="MouseOver" oor:node-type="ToolBarDescription">
186        <info><desc>Description of a tool bar entry when the mouse is over it.</desc></info>
187      </node-ref>
188      <node-ref oor:name="Selected" oor:node-type="ToolBarDescription">
189        <info><desc>Description of a tool bar entry when it is selected.</desc></info>
190      </node-ref>
191      <node-ref oor:name="Disabled" oor:node-type="ToolBarDescription">
192        <info><desc>Description of a tool bar entry when it is disabled.</desc></info>
193      </node-ref>
194    </group>
195    <group oor:name="ToolBar">
196      <info><desc>Definition of one tool bar.</desc></info>
197      <set oor:name="Entries" oor:node-type="ToolBarEntry">
198        <info><desc>Entries of the tool bars.</desc></info>
199      </set>
200    </group>
201    <group oor:name="Button">
202      <prop oor:name="Name" oor:type="xs:string">
203        <info><desc>Name of the button that is used to look up the button.</desc></info>
204      </prop>
205      <node-ref oor:name="Font" oor:node-type="Font">
206        <info><desc>Font used for displaying the text.</desc></info>
207      </node-ref>
208      <node-ref oor:name="Icon" oor:node-type="BitmapDescriptor">
209        <info><desc>The icon to display.</desc></info>
210      </node-ref>
211      <prop oor:name="Text" oor:type="xs:string">
212        <info><desc>The text to display.</desc></info>
213      </prop>
214      <prop oor:name="Action" oor:type="xs:string">
215        <info><desc>Action to execute when a button is triggered.</desc></info>
216      </prop>
217    </group>
218    <group oor:name="HelpEntry">
219      <prop oor:name="Left" oor:type="xs:string">
220        <info><desc>Typically a list of keyboard key names.</desc></info>
221      </prop>
222      <prop oor:name="Right" oor:type="xs:string">
223        <info><desc>Typically a description of the action triggered by pressing the keys on the left.</desc></info>
224      </prop>
225    </group>
226    <group oor:name="PaneStyle">
227      <info><desc>Visual properties of a pane style:
228          the border of a pane and its title font.</desc></info>
229      <prop oor:name="StyleName" oor:type="xs:string">
230        <info><desc>Name of the style.  Used for referencing the style.
231            Has to be unique among pane styles and view styles
232            in one theme.</desc></info>
233      </prop>
234      <prop oor:name="ParentStyle" oor:type="xs:string">
235        <info><desc>Name of the parent style.  Values not supplied in this style
236            are taken from the parent style.  Empty string or missing
237            mean no parent.</desc></info>
238        <value></value>
239      </prop>
240      <node-ref oor:name="TitleFont" oor:node-type="Font">
241        <info><desc>Font used for displaying the pane title.</desc></info>
242      </node-ref>
243      <node-ref oor:name="InnerBorderSize" oor:node-type="ThemeBorderSize">
244        <info><desc>Size of the inner part of the border.</desc></info>
245      </node-ref>
246      <node-ref oor:name="OuterBorderSize" oor:node-type="ThemeBorderSize">
247        <info><desc>Size of the outer part of the border.</desc></info>
248      </node-ref>
249      <set oor:name="BorderBitmapList" oor:node-type="BitmapDescriptor">
250        <info><desc>Bitmaps that are used to paint the borders of
251            a pane.</desc></info>
252      </set>
253    </group>
254    <group oor:name="ViewStyle">
255      <info><desc>Visual properties of a view style:
256          font and backround color.</desc></info>
257      <prop oor:name="StyleName" oor:type="xs:string">
258        <info><desc>Name of the style.  Used for referencing the style.
259            Has to be unique among pane styles and view styles
260            in one theme.</desc></info>
261      </prop>
262      <prop oor:name="ParentStyle" oor:type="xs:string">
263        <info><desc>Name of the parent style.  Values not supplied in this style
264            are taken from the parent style.  Empty string or missing
265            mean no parent.</desc></info>
266        <value></value>
267      </prop>
268      <node-ref oor:name="Font" oor:node-type="Font">
269        <info><desc>Font used for text display inside a view.</desc></info>
270      </node-ref>
271      <node-ref oor:name="Background" oor:node-type="BitmapDescriptor">
272        <info><desc>Color (or bitmap) that is used to paint the
273            background of a view.</desc></info>
274      </node-ref>
275    </group>
276    <group oor:name="Style_Association">
277      <info><desc>Association of a drawing framework resource to a
278          style of the presenter theme.</desc></info>
279      <prop oor:name="ResourceURL" oor:type="xs:string">
280        <info><desc>URL of a drawing framework resource.</desc></info>
281      </prop>
282      <prop oor:name="StyleName" oor:type="xs:string">
283        <info><desc>Name of a pane style or a view style.</desc></info>
284      </prop>
285    </group>
286    <group oor:name="PresenterString">
287      <info><desc></desc></info>
288      <prop oor:name="String" oor:type="xs:string">
289      </prop>
290    </group>
291    <group oor:name="ViewDescription">
292      <info><desc>Association of a drawing framework resource to a
293          style of the presenter theme.</desc></info>
294      <prop oor:name="ViewURL" oor:type="xs:string">
295        <info><desc>URL of a drawing framework view.</desc></info>
296      </prop>
297      <prop oor:name="StyleName" oor:type="xs:string">
298        <info><desc>Name of a view style.</desc></info>
299      </prop>
300      <prop oor:name="Title" oor:type="xs:string">
301        <info><desc>Title displayed for the component.  An empty or missing
302            title means that no title is displayed.</desc></info>
303        <value></value>
304      </prop>
305      <prop oor:name="AccessibleTitle" oor:type="xs:string">
306        <info><desc>Title displayed for the component when accessibility support is active.
307            An empty or missing title means that no title is displayed.</desc></info>
308        <value></value>
309      </prop>
310      <prop oor:name="IsOpaque" oor:type="xs:boolean">
311        <info><desc>When the value is false then the background is painted before the
312            view is painted.</desc></info>
313        <value>false</value>
314      </prop>
315      <set oor:name="Strings" oor:node-type="PresenterString">
316        <info><desc>List of localizable strings used by the view.</desc></info>
317      </set>
318    </group>
319    <group oor:name="PresenterTheme">
320      <info><desc>Visual properties of the presenter view.  The values in a theme
321          are hints and can be ignored.</desc></info>
322      <prop oor:name="ThemeName" oor:type="xs:string">
323        <info><desc>Name of the theme.  Used for referencing the theme.
324            Has to be unique among all themes.  The name of the
325            default theme is 'DefaultTheme'</desc></info>
326      </prop>
327      <prop oor:name="ParentTheme" oor:type="xs:string">
328        <info><desc>Name of the parent theme.  Values not supplied in this theme
329            are taken from the parent theme.  Empty string or missing
330            mean default theme.</desc></info>
331        <value></value>
332      </prop>
333      <prop oor:name="BitmapSourceExtension" oor:type="xs:string">
334        <info><desc>Name of the extension which contains the bitmaps
335            referenced by this theme.</desc></info>
336        <value></value>
337      </prop>
338      <node-ref oor:name="Background" oor:node-type="BitmapDescriptor">
339        <info><desc>Color or bitmap that is used to paint the
340            background.</desc></info>
341      </node-ref>
342      <set oor:name="PaneStyles" oor:node-type="PaneStyle">
343        <info><desc>List of pane styles.</desc></info>
344      </set>
345      <set oor:name="ViewStyles" oor:node-type="ViewStyle">
346        <info><desc>List of view styles.</desc></info>
347      </set>
348      <set oor:name="StyleAssociations" oor:node-type="Style_Association">
349        <info><desc>List of style associations.</desc></info>
350      </set>
351      <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor">
352        <info><desc>List of additional bitmaps for example for buttons.</desc></info>
353      </set>
354      <set oor:name="Fonts" oor:node-type="Font">
355        <info><desc>List of additional fonts.</desc></info>
356      </set>
357    </group>
358    <group oor:name="PresenterComponentLayout">
359      <info><desc>Layout of a component of the presenter screen.</desc></info>
360      <prop oor:name="PaneURL" oor:type="xs:string">
361        <info><desc>URL of a pane resource.</desc></info>
362      </prop>
363      <prop oor:name="ViewURL" oor:type="xs:string">
364        <info><desc>URL of a view resource that is to be displayed in
365            the pane.</desc></info>
366      </prop>
367      <prop oor:name="RelativeX" oor:type="xs:double">
368        <info><desc>Relative x position in the range of [0,1].</desc></info>
369      </prop>
370      <prop oor:name="RelativeY" oor:type="xs:double">
371        <info><desc>Relative y position in the range of [0,1].</desc></info>
372      </prop>
373      <prop oor:name="RelativeWidth" oor:type="xs:double">
374        <info><desc>Relative width in the range of [0,1].</desc></info>
375      </prop>
376      <prop oor:name="RelativeHeight" oor:type="xs:double">
377        <info><desc>Relative height in the range of [0,1].</desc></info>
378      </prop>
379    </group>
380    <group oor:name="PresenterLayout">
381      <info><desc>Layout of all components of the presenter screen.</desc></info>
382      <prop oor:name="LayoutName" oor:type="xs:string">
383        <info><desc>Name of the layout.  Used for referencing the layout.
384            Has to be unique among all presenter layouts.</desc></info>
385      </prop>
386      <prop oor:name="ParentLayout" oor:type="xs:string">
387        <info><desc>Name of the parent layout.  Values not supplied in this layout
388            are taken from the parent layout.  Missing or empty string
389            mean no parent layout.</desc></info>
390        <value></value>
391      </prop>
392      <set oor:name="Layout" oor:node-type="PresenterComponentLayout">
393        <info><desc>List of component layouts.</desc></info>
394      </set>
395    </group>
396  </templates>
397  <component>
398    <group oor:name="PresenterScreenSettings">
399      <info><desc>Settings regarding controls that are only used by the Presenter
400          Screen.</desc></info>
401      <set oor:name="ToolBars" oor:node-type="ToolBar">
402        <info><desc>Set of tool bars.</desc></info>
403      </set>
404      <set oor:name="Buttons" oor:node-type="Button">
405        <info><desc>Set of buttons.</desc></info>
406      </set>
407      <group oor:name="ScrollBar">
408        <info><desc>Settings of scroll bars.</desc></info>
409        <set oor:name="Bitmaps" oor:node-type="BitmapDescriptor">
410          <info><desc>Bitmaps of icons used for displaying the scroll bar.</desc></info>
411        </set>
412      </group>
413      <group oor:name="SlideSorter">
414        <info><desc>Settings of the slide sorter of the presenter screen.</desc></info>
415        <node-ref oor:name="BorderSize" oor:node-type="ThemeBorderSize">
416          <info><desc>Size of the border around the current slide.</desc></info>
417        </node-ref>
418        <set oor:name="CurrentSlideBorderBitmaps" oor:node-type="BitmapDescriptor">
419          <info><desc>Bitmaps that are used to paint the border around the current
420              slide.</desc></info>
421        </set>
422      </group>
423      <group oor:name="HelpView">
424        <info><desc>Settings of help view.</desc></info>
425        <set oor:name="HelpStrings" oor:node-type="HelpEntry">
426          <info><desc>List of entries displayed in the help view.</desc></info>
427        </set>
428      </group>
429    </group>
430    <group oor:name="Presenter">
431      <info><desc>General properties of the presenter view.</desc></info>
432      <prop oor:name="StartAlways" oor:type="xs:boolean">
433        <info><desc>When true then presenter screen is displayed on single screen systems
434            or when fullscreen presentation spans all screens.</desc></info>
435        <value>false</value>
436      </prop>
437      <set oor:name="Themes" oor:node-type="PresenterTheme">
438        <info><desc>List of available themes.</desc></info>
439      </set>
440      <prop oor:name="CurrentTheme" oor:type="xs:string">
441        <info><desc>Name of the current theme.  An empty name or the string "DefaultTheme"
442            specify the default theme.</desc></info>
443        <value>DefaultTheme</value>
444      </prop>
445      <set oor:name="Views" oor:node-type="ViewDescription">
446        <info><desc>Description of the views.</desc></info>
447      </set>
448      <set oor:name="Layouts" oor:node-type="PresenterLayout">
449        <info><desc>List of visible presenter components.</desc></info>
450      </set>
451      <prop oor:name="CurrentLayout" oor:type="xs:string">
452        <info><desc>Name of the current layout.  An empty name or the
453            string "DefaultLayout" specify the default layout.</desc></info>
454        <value>DefaultLayout</value>
455      </prop>
456      <set oor:name="Accessibility" oor:node-type="PresenterString">
457        <info><desc>Strings that are used make the presenter console accessible.</desc></info>
458      </set>
459      <prop oor:name="InitialViewMode" oor:type="xs:int">
460        <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>
461        <value>0</value>
462      </prop>
463    </group>
464  </component>
465</oor:component-schema>
466