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