add the panels option, which is for NextWindow/PreviousWindow and the directional...
[mikachu/openbox.git] / data / rc.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2 <!--
3      xml Schema for the openbox windowmanager configuration file
4
5      Changes:
6      Son Aug 10 15:49:10 CEST 2003 - pch(a)myzel.net
7          restrictions added, up to current format
8      Don Aug 14 21:10:27 CEST 2003 - pch(a)myzel.net
9          up to current (from action.c,config.c)
10      Don Aug 21 23:07:30 CEST 2003 - pch(a)myzel.net
11          new element - follow
12      Mon Sep  1 00:57:55 CEST 2003 - pch(a)myzel.net
13          up to alpha7
14      Mit Sep  3 12:40:10 CEST 2003 - pch(a)myzel.net
15          up to alpha8, a little documentation
16      Mon Sep  8 11:52:07 CEST 2003 - pch(a)myzel.net
17          up to cvs 1.12
18      Mon Sep 15 14:27:42 CEST 2003 - pch(a)myzel.net
19          up to cvs 1.14
20      Die Sep 16 20:56:37 CEST 2003 - pch(a)myzel.net
21          use a namespace
22      Fri Sep 19 14:36:33 EDT 2003 - xor(a)orodu.net
23          use openbox.org for namespace
24      Mon Sep 22 02:34:53 EDT 2003 - xor(a)orodu.net
25          add the focusLast and raiseOnFocus options
26          fix some capitalization
27      Mon Sep 22 14:08:16 EDT 2003 - xor(a)orodu.net
28          update hideTimeout to hideDelay
29      Thu Apr 22 12:33:11 UTC 2004 - mikachu(a)openbox.org
30          add diffs between 3.1 and 3.2
31      Sun Oct 31 10:08:34 UTC 2004 - mikachu(a)openbox.org
32          we haven't remembered to update this changelog in a while,
33          adding desktopMenuIcons.
34      Thu Nov  4 12:07:08 UTC 2004 - mikachu(a)openbox.org
35          Add fourCorners to resize context.
36      Sat Feb 12 01:57:16 UTC 2005 - mikachu(a)openbox.org
37          Add the group option to raise/lower stuff.
38      Sun Sep 25 14:44:21 UTC 2005 - mikachu(a)openbox.org
39          Add showDelay for the dock
40      Tue Jul 18 23:43:15 CEST 2006 - jonaskoelker(a)gnu.org
41          hack code for great justice
42      Tue Oct 31 03:30:26 UTC 2006 - mikachu(a)openbox.org
43          Add movefromedge* actions
44      Sun Mar  4 12:12:19 EST 2007 - danakj(a)orodu.net
45          Add font section to theme section
46      Sun Mar  4 13:49:37 EST 2007 - danakj(a)orodu.net
47          Removing font shadows - they are going back into the themerc
48 -->
49 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
50     targetNamespace="http://openbox.org/"
51     xmlns:ob="http://openbox.org/"
52     elementFormDefault="qualified">
53     <!--
54          root node
55       -->
56     <xs:element name="openbox_config">
57         <xs:annotation>
58             <xs:documentation>all these elements are expected in a openbox config file</xs:documentation>
59         </xs:annotation>
60         <xs:complexType>
61             <xs:sequence>
62                 <xs:element name="resistance" type="ob:resistance"/>
63                 <xs:element name="focus" type="ob:focus"/>
64                 <xs:element name="placement" type="ob:placement"/>
65                 <xs:element name="theme" type="ob:theme"/>
66                 <xs:element name="desktops" type="ob:desktops"/>
67                 <xs:element name="resize" type="ob:resize"/>
68                 <xs:element name="dock" type="ob:dock"/>
69                 <xs:element name="keyboard" type="ob:keyboard"/>
70                 <xs:element name="mouse" type="ob:mouse"/>
71                 <xs:element name="menu" type="ob:menu"/>
72                 <xs:element name="applications" type="ob:applications"/>
73             </xs:sequence>
74         </xs:complexType>
75     </xs:element>
76     <!--
77          complex types
78       -->
79     <xs:complexType name="resistance">
80         <xs:annotation>
81             <xs:documentation>defines behaviour of windows when close to each other or the screen edge</xs:documentation>
82         </xs:annotation>
83         <xs:sequence>
84             <xs:element minOccurs="0" name="strength" type="xs:integer"/>
85             <xs:element minOccurs="0" name="screen_edge_strength" type="xs:integer"/>
86             <xs:element minOccurs="0" name="edges_hit_layers_below" type="ob:bool"/>
87         </xs:sequence>
88     </xs:complexType>
89     <xs:complexType name="focus">
90         <xs:annotation>
91             <xs:documentation>defines aspects of window focus</xs:documentation>
92         </xs:annotation>
93         <xs:sequence>
94             <xs:element minOccurs="0" name="focusNew" type="ob:bool"/>
95             <xs:element minOccurs="0" name="focusLast" type="ob:bool"/>
96             <xs:element minOccurs="0" name="followMouse" type="ob:bool"/>
97             <xs:element minOccurs="0" name="focusDelay" type="xs:integer"/>
98             <xs:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/>
99         </xs:sequence>
100     </xs:complexType>
101     <xs:complexType name="placement">
102         <xs:annotation>
103             <xs:documentation>defines how new windows are placed</xs:documentation>
104         </xs:annotation>
105         <xs:sequence>
106             <xs:element name="policy" type="ob:placementpolicy"/>
107         </xs:sequence>
108     </xs:complexType>
109     <xs:complexType name="theme">
110         <xs:sequence>
111             <xs:element minOccurs="0" name="name" type="xs:string"/>
112             <xs:element minOccurs="0" name="titleLayout" type="xs:string"/>
113             <xs:element minOccurs="0" name="titleNumber" type="ob:bool"/>
114             <xs:element minOccurs="0" name="keepBorder" type="ob:bool"/>
115             <xs:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
116             <xs:element minOccurs="0" name="font" type="ob:font"/>
117         </xs:sequence>
118     </xs:complexType>
119     <xs:complexType name="font">
120         <xs:sequence>
121             <xs:element minOccurs="0" name="name" type="xs:string"/>
122             <xs:element minOccurs="0" name="size" type="xs:integer"/>
123             <xs:element minOccurs="0" name="weight" type="ob:fontweight"/>
124             <xs:element minOccurs="0" name="slant" type="ob:fontslant"/>
125         </xs:sequence>
126     </xs:complexType>
127     <xs:complexType name="desktops">
128         <xs:annotation>
129             <xs:documentation>defines the number and names of desktops</xs:documentation>
130         </xs:annotation>
131         <xs:sequence>
132             <xs:element minOccurs="0" name="number" type="xs:integer"/>
133             <xs:element minOccurs="0" name="firstdesk" type="xs:integer"/>
134             <xs:element minOccurs="0" name="names">
135                 <xs:complexType>
136                     <xs:sequence>
137                         <xs:element maxOccurs="unbounded" name="name" type="xs:string"/>
138                     </xs:sequence>
139                 </xs:complexType>
140             </xs:element>
141         </xs:sequence>
142     </xs:complexType>
143     <xs:complexType name="resize">
144         <xs:sequence>
145             <xs:element minOccurs="0" name="drawContents" type="ob:bool"/>
146             <xs:element minOccurs="0" name="fourCorners" type="ob:bool"/>
147             <xs:element minOccurs="0" name="popupShow" type="ob:popupshow"/>
148             <xs:element minOccurs="0" name="popupPosition" type="ob:popupposition"/>
149         </xs:sequence>
150     </xs:complexType>
151     <xs:complexType name="dock">
152         <xs:sequence>
153             <xs:element minOccurs="0" name="position" type="ob:dock_position"/>
154             <xs:element minOccurs="0" name="floatingX" type="xs:integer"/>
155             <xs:element minOccurs="0" name="floatingY" type="xs:integer"/>
156             <xs:element minOccurs="0" name="noStrut" type="ob:bool"/>
157             <xs:element minOccurs="0" name="stacking" type="ob:layer"/>
158             <xs:element minOccurs="0" name="direction" type="ob:direction"/>
159             <xs:element minOccurs="0" name="autoHide" type="ob:bool"/>
160             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
161             <xs:element minOccurs="0" name="showDelay" type="xs:integer"/>
162             <xs:element minOccurs="0" name="moveButton" type="ob:button"/>
163         </xs:sequence>
164     </xs:complexType>
165     <xs:complexType name="action">
166         <xs:sequence>
167             <xs:element minOccurs="0" name="execute" type="xs:string"/>
168             <xs:element minOccurs="0" name="menu" type="xs:string"/>
169             <xs:element minOccurs="0" name="delta" type="xs:integer"/>
170             <xs:element minOccurs="0" name="x" type="xs:integer"/>
171             <xs:element minOccurs="0" name="y" type="xs:integer"/>
172             <xs:element minOccurs="0" name="left" type="xs:integer"/>
173             <xs:element minOccurs="0" name="right" type="xs:integer"/>
174             <xs:element minOccurs="0" name="up" type="xs:integer"/>
175             <xs:element minOccurs="0" name="down" type="xs:integer"/>
176             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
177             <xs:element minOccurs="0" name="wrap" type="ob:bool"/>
178             <xs:element minOccurs="0" name="follow" type="ob:bool"/>
179             <xs:element minOccurs="0" name="dialog" type="ob:bool"/>
180             <xs:element minOccurs="0" name="panels" type="ob:bool"/>
181             <xs:element minOccurs="0" name="here" type="ob:bool"/>
182             <xs:element minOccurs="0" name="linear" type="ob:bool"/>
183             <xs:element minOccurs="0" name="group" type="ob:bool"/>
184         </xs:sequence>
185         <xs:attribute name="name" type="ob:actionname" use="required"/>
186     </xs:complexType>
187     <xs:complexType name="keybind">
188         <xs:sequence>
189             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
190         </xs:sequence>
191         <xs:attribute name="key" type="ob:keyname" use="required"/>
192     </xs:complexType>
193     <xs:complexType name="keyboard">
194         <xs:sequence>
195             <xs:element minOccurs="0" name="chainQuitKey" type="ob:keyname"/>
196             <xs:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
197         </xs:sequence>
198     </xs:complexType>
199     <xs:complexType name="mousebind">
200         <xs:sequence>
201             <xs:element maxOccurs="unbounded" name="action" type="ob:action"/>
202         </xs:sequence>
203         <xs:attribute name="action" type="ob:mouseaction" use="required"/>
204         <xs:attribute name="button" type="ob:button" use="required"/>
205     </xs:complexType>
206     <xs:complexType name="context">
207         <xs:sequence>
208             <xs:element maxOccurs="unbounded" name="mousebind" type="ob:mousebind"/>
209         </xs:sequence>
210         <xs:attribute name="name" type="ob:contextname" use="required"/>
211     </xs:complexType>
212     <xs:complexType name="mouse">
213         <xs:sequence>
214             <xs:element minOccurs="0" name="dragThreshold" type="xs:integer"/>
215             <xs:element minOccurs="0" name="doubleClickTime" type="xs:integer"/>
216             <xs:element maxOccurs="unbounded" name="context" type="ob:context"/>
217         </xs:sequence>
218     </xs:complexType>
219     <xs:complexType name="menu">
220         <xs:sequence>
221             <xs:element maxOccurs="unbounded" name="file" type="xs:string"/>
222             <xs:element minOccurs="0" name="warpPointer" type="ob:bool"/>
223             <xs:element minOccurs="0" name="xorStyle" type="ob:bool"/>
224             <xs:element minOccurs="0" name="hideDelay" type="xs:integer"/>
225             <xs:element minOccurs="0" name="middle" type="ob:bool"/>
226             <xs:element minOccurs="0" name="submenuShowDelay" type="xs:integer"/>
227             <xs:element minOccurs="0" name="desktopMenuIcons" type="ob:bool"/>
228         </xs:sequence>
229     </xs:complexType>
230     <xs:complexType name="window_position">
231         <xs:sequence>
232             <xs:element name="x" type="ob:center_or_int"/>
233             <xs:element name="y" type="ob:center_or_int"/>
234         </xs:sequence>
235     </xs:complexType>
236     <xs:complexType name="application">
237         <xs:sequence>
238             <xs:element minOccurs="0" name="decor" type="xs:string"/>
239             <xs:element minOccurs="0" name="shade" type="ob:bool"/>
240             <xs:element minOccurs="0" name="position" type="ob:window_position"/>
241             <xs:element minOccurs="0" name="focus" type="xs:string"/>
242             <xs:element minOccurs="0" name="desktop" type="xs:integer"/>
243             <xs:element minOccurs="0" name="head" type="xs:string"/>
244             <xs:element minOccurs="0" name="layer" type="ob:layer"/>
245             <xs:element minOccurs="0" name="iconic" type="ob:bool"/>
246             <xs:element minOccurs="0" name="skip_pager" type="ob:bool"/>
247             <xs:element minOccurs="0" name="skip_taskbar" type="ob:bool"/>
248             <xs:element minOccurs="0" name="fullscreen" type="ob:bool"/>
249             <xs:element minOccurs="0" name="maximized" type="ob:maximization"/>
250         </xs:sequence>
251         <!-- at least one of these must be present -->
252         <xs:attribute name="name" type="xs:string"/>
253         <xs:attribute name="class" type="xs:string"/>
254         <xs:attribute name="role" type="xs:string"/>
255     </xs:complexType>
256     <xs:complexType name="applications">
257         <xs:sequence>
258             <xs:element minOccurs="0" maxOccurs="unbounded" name="application" type="ob:application"/>
259         </xs:sequence>
260     </xs:complexType>
261     <!--
262          simple types / restrictions
263       -->
264     <xs:simpleType name="actionname">
265         <xs:restriction base="xs:string">
266             <xs:enumeration value="Activate"/>
267             <xs:enumeration value="Close"/>
268             <xs:enumeration value="Desktop"/>
269             <xs:enumeration value="DesktopDown"/>
270             <xs:enumeration value="DesktopLast"/>
271             <xs:enumeration value="DesktopLeft"/>
272             <xs:enumeration value="DesktopNext"/>
273             <xs:enumeration value="DesktopPrevious"/>
274             <xs:enumeration value="DesktopRight"/>
275             <xs:enumeration value="DesktopUp"/>
276             <xs:enumeration value="DirectionalFocusEast"/>
277             <xs:enumeration value="DirectionalFocusNorth"/>
278             <xs:enumeration value="DirectionalFocusNortheast"/>
279             <xs:enumeration value="DirectionalFocusNorthwest"/>
280             <xs:enumeration value="DirectionalFocusSouth"/>
281             <xs:enumeration value="DirectionalFocusSoutheast"/>
282             <xs:enumeration value="DirectionalFocusSouthwest"/>
283             <xs:enumeration value="DirectionalFocusWest"/>
284             <xs:enumeration value="Execute"/>
285             <xs:enumeration value="Exit"/>
286             <xs:enumeration value="Focus"/>
287             <xs:enumeration value="FocusToBottom"/>
288             <xs:enumeration value="GrowToEdgeEast"/>
289             <xs:enumeration value="GrowToEdgeNorth"/>
290             <xs:enumeration value="GrowToEdgeSouth"/>
291             <xs:enumeration value="GrowToEdgeWest"/>
292             <xs:enumeration value="Iconify"/>
293             <xs:enumeration value="Kill"/>
294             <xs:enumeration value="Lower"/>
295             <xs:enumeration value="MaximizeFull"/>
296             <xs:enumeration value="MaximizeHorz"/>
297             <xs:enumeration value="MaximizeVert"/>
298             <xs:enumeration value="Move"/>
299             <xs:enumeration value="MoveRelative"/>
300             <xs:enumeration value="MoveRelativeHorz"/>
301             <xs:enumeration value="MoveRelativeVert"/>
302             <xs:enumeration value="MoveToCenter"/>
303             <xs:enumeration value="MoveFromEdgeEast"/>
304             <xs:enumeration value="MoveFromEdgeNorth"/>
305             <xs:enumeration value="MoveFromEdgeSouth"/>
306             <xs:enumeration value="MoveFromEdgeWest"/>
307             <xs:enumeration value="MoveToEdgeEast"/>
308             <xs:enumeration value="MoveToEdgeNorth"/>
309             <xs:enumeration value="MoveToEdgeSouth"/>
310             <xs:enumeration value="MoveToEdgeWest"/>
311             <xs:enumeration value="NextWindow"/>
312             <xs:enumeration value="PreviousWindow"/>
313             <xs:enumeration value="Raise"/>
314             <xs:enumeration value="RaiseLower"/>
315             <xs:enumeration value="Reconfigure"/>
316             <xs:enumeration value="Resize"/>
317             <xs:enumeration value="ResizeRelative"/>
318             <xs:enumeration value="ResizeRelativeHorz"/>
319             <xs:enumeration value="ResizeRelativeVert"/>
320             <xs:enumeration value="Restart"/>
321             <xs:enumeration value="SendToBottomLayer"/>
322             <xs:enumeration value="SendToDesktop"/>
323             <xs:enumeration value="SendToDesktopDown"/>
324             <xs:enumeration value="SendToDesktopLeft"/>
325             <xs:enumeration value="SendToDesktopNext"/>
326             <xs:enumeration value="SendToDesktopPrevious"/>
327             <xs:enumeration value="SendToDesktopRight"/>
328             <xs:enumeration value="SendToDesktopUp"/>
329             <xs:enumeration value="SendToNormalLayer"/>
330             <xs:enumeration value="SendToTopLayer"/>
331             <xs:enumeration value="Shade"/>
332             <xs:enumeration value="ShadeLower"/>
333             <xs:enumeration value="ShowDesktop"/>
334             <xs:enumeration value="ShowMenu"/>
335             <xs:enumeration value="ToggleAlwaysOnBottom"/>
336             <xs:enumeration value="ToggleAlwaysOnTop"/>
337             <xs:enumeration value="ToggleDecorations"/>
338             <xs:enumeration value="ToggleDockAutoHide"/>
339             <xs:enumeration value="ToggleFullscreen"/>
340             <xs:enumeration value="ToggleMaximizeFull"/>
341             <xs:enumeration value="ToggleMaximizeHorz"/>
342             <xs:enumeration value="ToggleMaximizeVert"/>
343             <xs:enumeration value="ToggleOmnipresent"/>
344             <xs:enumeration value="ToggleShade"/>
345             <xs:enumeration value="ToggleShowDesktop"/>
346             <xs:enumeration value="Unfocus"/>
347             <xs:enumeration value="UnmaximizeFull"/>
348             <xs:enumeration value="UnmaximizeHorz"/>
349             <xs:enumeration value="UnmaximizeVert"/>
350             <xs:enumeration value="Unshade"/>
351             <xs:enumeration value="UnshadeRaise"/>
352             <xs:enumeration value="UnShowDesktop"/>
353         </xs:restriction>
354     </xs:simpleType>
355     <xs:simpleType name="bool">
356         <!-- this is copied to maximization.  Keep that in sync. -->
357         <xs:restriction base="xs:string">
358             <xs:enumeration value="yes"/>
359             <xs:enumeration value="no"/>
360             <xs:enumeration value="true"/>
361             <xs:enumeration value="false"/>
362             <xs:enumeration value="on"/>
363             <xs:enumeration value="off"/>
364         </xs:restriction>
365     </xs:simpleType>
366     <xs:simpleType name="fontweight">
367         <xs:restriction base="xs:string">
368             <xs:enumeration value="normal"/>
369             <xs:enumeration value="bold"/>
370         </xs:restriction>
371     </xs:simpleType>
372     <xs:simpleType name="fontslant">
373         <xs:restriction base="xs:string">
374             <xs:enumeration value="normal"/>
375             <xs:enumeration value="italic"/>
376             <xs:enumeration value="opaque"/>
377         </xs:restriction>
378     </xs:simpleType>
379     <xs:simpleType name="button">
380         <xs:restriction base="xs:string">
381             <xs:enumeration value="Left"/>
382             <xs:enumeration value="Middle"/>
383             <xs:enumeration value="Right"/>
384             <xs:enumeration value="Up"/>
385             <xs:enumeration value="Down"/>
386             <xs:enumeration value="A-Left"/>
387             <xs:enumeration value="A-Middle"/>
388             <xs:enumeration value="A-Right"/>
389             <xs:enumeration value="A-Up"/>
390             <xs:enumeration value="A-Down"/>
391             <xs:enumeration value="C-A-Left"/>
392             <xs:enumeration value="C-A-Middle"/>
393             <xs:enumeration value="C-A-Right"/>
394             <xs:enumeration value="C-A-Up"/>
395             <xs:enumeration value="C-A-Down"/>
396         </xs:restriction>
397     </xs:simpleType>
398     <xs:simpleType name="center_or_int">
399         <xs:restriction base="xs:string">
400             <!-- ob: atoi($_) unless $_ eq 'center'; -->
401             <!-- I think the regexp DTRT WRT atoi. -->
402             <xs:pattern value="center|0|[1-9][0-9]*"/>
403         </xs:restriction>
404     </xs:simpleType>
405     <xs:simpleType name="contextname">
406         <xs:restriction base="xs:string">
407             <xs:enumeration value="Desktop"/>
408             <xs:enumeration value="Client"/>
409             <xs:enumeration value="Titlebar"/>
410             <xs:enumeration value="Handle"/>
411             <xs:enumeration value="Frame"/>
412             <xs:enumeration value="TLCorner"/>
413             <xs:enumeration value="TRCorner"/>
414             <xs:enumeration value="BLCorner"/>
415             <xs:enumeration value="BRCorner"/>
416             <xs:enumeration value="Maximize"/>
417             <xs:enumeration value="AllDesktops"/>
418             <xs:enumeration value="Shade"/>
419             <xs:enumeration value="Iconify"/>
420             <xs:enumeration value="Icon"/>
421             <xs:enumeration value="Close"/>
422             <xs:enumeration value="MoveResize"/>
423         </xs:restriction>
424     </xs:simpleType>
425     <xs:simpleType name="direction">
426         <xs:restriction base="xs:string">
427             <xs:enumeration value="Horizontal"/>
428             <xs:enumeration value="Vertical"/>
429         </xs:restriction>
430     </xs:simpleType>
431     <xs:simpleType name="dock_position">
432         <xs:restriction base="xs:string">
433             <xs:enumeration value="TopLeft"/>
434             <xs:enumeration value="Top"/>
435             <xs:enumeration value="TopRight"/>
436             <xs:enumeration value="Right"/>
437             <xs:enumeration value="BottomRight"/>
438             <xs:enumeration value="Bottom"/>
439             <xs:enumeration value="BottomLeft"/>
440             <xs:enumeration value="Left"/>
441             <xs:enumeration value="Floating"/>
442         </xs:restriction>
443     </xs:simpleType>
444     <xs:simpleType name="keyname">
445         <xs:restriction base="xs:string">
446             <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
447             <!-- how do we do all substrings and permutations? -->
448             <xs:pattern value="(A-)?(S-)?(A-)?(C-)?(A-)?(S-)?(A-)?[a-zA-Z0-9]*"/>
449         </xs:restriction>
450     </xs:simpleType>
451     <xs:simpleType name="layer">
452         <xs:restriction base="xs:string">
453             <xs:enumeration value="Top"/>
454             <xs:enumeration value="Normal"/>
455             <xs:enumeration value="Bottom"/>
456         </xs:restriction>
457     </xs:simpleType>
458     <xs:simpleType name="maximization">
459         <xs:restriction base="xs:string">
460             <xs:enumeration value="Horizontal"/>
461             <xs:enumeration value="Vertical"/>
462             <!-- this is a copy of ob:bool.  Keep it in sync. -->
463             <xs:enumeration value="yes"/>
464             <xs:enumeration value="no"/>
465             <xs:enumeration value="true"/>
466             <xs:enumeration value="false"/>
467             <xs:enumeration value="on"/>
468             <xs:enumeration value="off"/>
469         </xs:restriction>
470     </xs:simpleType>
471     <xs:simpleType name="mouseaction">
472         <xs:restriction base="xs:string">
473             <xs:enumeration value="Click"/>
474             <xs:enumeration value="DoubleClick"/>
475             <xs:enumeration value="Drag"/>
476             <xs:enumeration value="Press"/>
477             <xs:enumeration value="Release"/>
478         </xs:restriction>
479     </xs:simpleType>
480     <xs:simpleType name="placementpolicy">
481         <xs:restriction base="xs:string">
482             <xs:enumeration value="Smart"/>
483             <xs:enumeration value="UnderMouse"/>
484         </xs:restriction>
485     </xs:simpleType>
486     <xs:simpleType name="popupposition">
487         <xs:restriction base="xs:string">
488             <xs:enumeration value="Top"/>
489             <xs:enumeration value="Center"/>
490         </xs:restriction>
491     </xs:simpleType>
492     <xs:simpleType name="popupshow">
493         <xs:restriction base="xs:string">
494             <xs:enumeration value="Always"/>
495             <xs:enumeration value="Never"/>
496             <xs:enumeration value="Nonpixel"/>
497         </xs:restriction>
498     </xs:simpleType>
499 </xs:schema>