- <xs:simpleType name="yesorno">
- <xs:restriction base="xs:string">
- <xs:enumeration value="yes"/>
- <xs:enumeration value="no"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="position">
- <xs:restriction base="xs:string">
- <xs:enumeration value="TopLeft"/>
- <xs:enumeration value="Top"/>
- <xs:enumeration value="TopRight"/>
- <xs:enumeration value="Right"/>
- <xs:enumeration value="BottomRight"/>
- <xs:enumeration value="Bottom"/>
- <xs:enumeration value="BottomLeft"/>
- <xs:enumeration value="Left"/>
- <xs:enumeration value="Floating"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="stacking">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Top"/>
- <xs:enumeration value="Normal"/>
- <xs:enumeration value="Bottom"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="direction">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Horizontal"/>
- <xs:enumeration value="Vertical"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="keyname">
- <xs:restriction base="xs:string">
- <xs:pattern value="(A-)?(S-)?(A-)?(C-)?(A-)?(S-)?(A-)?[a-zA-Z0-9]*"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="contextname">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Desktop"/>
- <xs:enumeration value="Client"/>
- <xs:enumeration value="Titlebar"/>
- <xs:enumeration value="Handle"/>
- <xs:enumeration value="Frame"/>
- <xs:enumeration value="TLCorner"/>
- <xs:enumeration value="TRCorner"/>
- <xs:enumeration value="BLCorner"/>
- <xs:enumeration value="BRCorner"/>
- <xs:enumeration value="Maximize"/>
- <xs:enumeration value="AllDesktops"/>
- <xs:enumeration value="Shade"/>
- <xs:enumeration value="Iconify"/>
- <xs:enumeration value="Icon"/>
- <xs:enumeration value="Close"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="button">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Left"/>
- <xs:enumeration value="Middle"/>
- <xs:enumeration value="Right"/>
- <xs:enumeration value="Up"/>
- <xs:enumeration value="Down"/>
- <xs:enumeration value="A-Left"/>
- <xs:enumeration value="A-Middle"/>
- <xs:enumeration value="A-Right"/>
- <xs:enumeration value="A-Up"/>
- <xs:enumeration value="A-Down"/>
- <xs:enumeration value="C-A-Left"/>
- <xs:enumeration value="C-A-Middle"/>
- <xs:enumeration value="C-A-Right"/>
- <xs:enumeration value="C-A-Up"/>
- <xs:enumeration value="C-A-Down"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="mouseaction">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Click"/>
- <xs:enumeration value="DoubleClick"/>
- <xs:enumeration value="Drag"/>
- <xs:enumeration value="Press"/>
- <xs:enumeration value="Release"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="actionname">
- <xs:restriction base="xs:string">
- <xs:enumeration value="Activate"/>
- <xs:enumeration value="Close"/>
- <xs:enumeration value="Desktop"/>
- <xs:enumeration value="DesktopDown"/>
- <xs:enumeration value="DesktopLast"/>
- <xs:enumeration value="DesktopLeft"/>
- <xs:enumeration value="DesktopNext"/>
- <xs:enumeration value="DesktopPrevious"/>
- <xs:enumeration value="DesktopRight"/>
- <xs:enumeration value="DesktopUp"/>
- <xs:enumeration value="DirectionalFocusEast"/>
- <xs:enumeration value="DirectionalFocusNorth"/>
- <xs:enumeration value="DirectionalFocusNortheast"/>
- <xs:enumeration value="DirectionalFocusNorthwest"/>
- <xs:enumeration value="DirectionalFocusSouth"/>
- <xs:enumeration value="DirectionalFocusSoutheast"/>
- <xs:enumeration value="DirectionalFocusSouthwest"/>
- <xs:enumeration value="DirectionalFocusWest"/>
- <xs:enumeration value="Execute"/>
- <xs:enumeration value="Exit"/>
- <xs:enumeration value="Focus"/>
- <xs:enumeration value="GrowToEdgeEast"/>
- <xs:enumeration value="GrowToEdgeNorth"/>
- <xs:enumeration value="GrowToEdgeSouth"/>
- <xs:enumeration value="GrowToEdgeWest"/>
- <xs:enumeration value="Iconify"/>
- <xs:enumeration value="Kill"/>
- <xs:enumeration value="Lower"/>
- <xs:enumeration value="MaximizeFull"/>
- <xs:enumeration value="MaximizeHorz"/>
- <xs:enumeration value="MaximizeVert"/>
- <xs:enumeration value="Move"/>
- <xs:enumeration value="MoveRelativeHorz"/>
- <xs:enumeration value="MoveRelativeVert"/>
- <xs:enumeration value="MoveToEdgeEast"/>
- <xs:enumeration value="MoveToEdgeNorth"/>
- <xs:enumeration value="MoveToEdgeSouth"/>
- <xs:enumeration value="MoveToEdgeWest"/>
- <xs:enumeration value="NextWindow"/>
- <xs:enumeration value="NextWindowLinear"/>
- <xs:enumeration value="PreviousWindow"/>
- <xs:enumeration value="PreviousWindowLinear"/>
- <xs:enumeration value="Raise"/>
- <xs:enumeration value="RaiseLower"/>
- <xs:enumeration value="Resize"/>
- <xs:enumeration value="ResizeRelativeHorz"/>
- <xs:enumeration value="ResizeRelativeVert"/>
- <xs:enumeration value="Restart"/>
- <xs:enumeration value="SendToBottomLayer"/>
- <xs:enumeration value="SendToDesktop"/>
- <xs:enumeration value="SendToDesktopDown"/>
- <xs:enumeration value="SendToDesktopLeft"/>
- <xs:enumeration value="SendToDesktopNext"/>
- <xs:enumeration value="SendToDesktopPrevious"/>
- <xs:enumeration value="SendToDesktopRight"/>
- <xs:enumeration value="SendToDesktopUp"/>
- <xs:enumeration value="SendToNormalLayer"/>
- <xs:enumeration value="SendToTopLayer"/>
- <xs:enumeration value="Shade"/>
- <xs:enumeration value="ShadeLower"/>
- <xs:enumeration value="ShowDesktop"/>
- <xs:enumeration value="ShowMenu"/>
- <xs:enumeration value="ToggleAlwaysOnBottom"/>
- <xs:enumeration value="ToggleAlwaysOnTop"/>
- <xs:enumeration value="ToggleDecorations"/>
- <xs:enumeration value="ToggleMaximizeFull"/>
- <xs:enumeration value="ToggleMaximizeHorz"/>
- <xs:enumeration value="ToggleMaximizeVert"/>
- <xs:enumeration value="ToggleOmnipresent"/>
- <xs:enumeration value="ToggleShade"/>
- <xs:enumeration value="ToggleShowDesktop"/>
- <xs:enumeration value="Unfocus"/>
- <xs:enumeration value="UnmaximizeFull"/>
- <xs:enumeration value="UnmaximizeHorz"/>
- <xs:enumeration value="UnmaximizeVert"/>
- <xs:enumeration value="Unshade"/>
- <xs:enumeration value="UnshadeRaise"/>
- <xs:enumeration value="UnShowDesktop"/>
- </xs:restriction>
- </xs:simpleType>
-</xs:schema>
+ <xsd:simpleType name="actionname">
+ <xsd:restriction base="xsd:string">
+ <xsd:pattern value="[Ii][Ff]"/>
+ <xsd:pattern value="[Aa][Cc][Tt][Ii][Vv][Aa][Tt][Ee]"/>
+ <xsd:pattern value="[Bb][Rr][Ee][Aa][Kk][Cc][Hh][Rr][Oo][Oo][Tt]"/>
+ <xsd:pattern value="[Cc][Ll][Oo][Ss][Ee]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
+ <xsd:pattern value="[Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Nn][Oo][Rr][Tt][Hh][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ss][Oo][Uu][Tt][Hh][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Dd][Ii][Rr][Ee][Cc][Tt][Ii][Oo][Nn][Aa][Ll][Ff][Oo][Cc][Uu][Ss][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Ee][Xx][Ee][Cc][Uu][Tt][Ee]"/>
+ <xsd:pattern value="[Ee][Xx][Ii][Tt]"/>
+ <xsd:pattern value="[Ss][Ee][Ss][Ss][Ii][Oo][Nn][Ll][Oo][Gg][Oo][Uu][Tt]"/>
+ <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss]"/>
+ <xsd:pattern value="[Ff][Oo][Cc][Uu][Ss][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm]"/>
+ <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
+ <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
+ <xsd:pattern value="[Gg][Rr][Oo][Ww][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Ii][Cc][Oo][Nn][Ii][Ff][Yy]"/>
+ <xsd:pattern value="[Kk][Ii][Ll][Ll]"/>
+ <xsd:pattern value="[Ll][Oo][Ww][Ee][Rr]"/>
+ <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
+ <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
+ <xsd:pattern value="[Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Cc][Ee][Nn][Tt][Ee][Rr]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Ff][Rr][Oo][Mm][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ee][Aa][Ss][Tt]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Nn][Oo][Rr][Tt][Hh]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ss][Oo][Uu][Tt][Hh]"/>
+ <xsd:pattern value="[Mm][Oo][Vv][Ee][Tt][Oo][Ee][Dd][Gg][Ee][Ww][Ee][Ss][Tt]"/>
+ <xsd:pattern value="[Nn][Ee][Xx][Tt][Ww][Ii][Nn][Dd][Oo][Ww]"/>
+ <xsd:pattern value="[Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss][Ww][Ii][Nn][Dd][Oo][Ww]"/>
+ <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee]"/>
+ <xsd:pattern value="[Rr][Aa][Ii][Ss][Ee][Ll][Oo][Ww][Ee][Rr]"/>
+ <xsd:pattern value="[Rr][Ee][Cc][Oo][Nn][Ff][Ii][Gg][Uu][Rr][Ee]"/>
+ <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee]"/>
+ <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee]"/>
+ <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Hh][Oo][Rr][Zz]"/>
+ <xsd:pattern value="[Rr][Ee][Ss][Ii][Zz][Ee][Rr][Ee][Ll][Aa][Tt][Ii][Vv][Ee][Vv][Ee][Rr][Tt]"/>
+ <xsd:pattern value="[Rr][Ee][Ss][Tt][Aa][Rr][Tt]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Bb][Oo][Tt][Tt][Oo][Mm][Ll][Aa][Yy][Ee][Rr]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Dd][Oo][Ww][Nn]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Ll][Ee][Ff][Tt]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Nn][Ee][Xx][Tt]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Pp][Rr][Ee][Vv][Ii][Oo][Uu][Ss]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Rr][Ii][Gg][Hh][Tt]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Dd][Ee][Ss][Kk][Tt][Oo][Pp][Uu][Pp]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Nn][Oo][Rr][Mm][Aa][Ll][Ll][Aa][Yy][Ee][Rr]"/>
+ <xsd:pattern value="[Ss][Ee][Nn][Dd][Tt][Oo][Tt][Oo][Pp][Ll][Aa][Yy][Ee][Rr]"/>
+ <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee]"/>
+ <xsd:pattern value="[Ss][Hh][Aa][Dd][Ee][Ll][Oo][Ww][Ee][Rr]"/>
+ <xsd:pattern value="[Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
+ <xsd:pattern value="[Ss][Hh][Oo][Ww][Mm][Ee][Nn][Uu]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Bb][Oo][Tt][Tt][Oo][Mm]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Aa][Ll][Ww][Aa][Yy][Ss][Oo][Nn][Tt][Oo][Pp]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Ee][Cc][Oo][Rr][Aa][Tt][Ii][Oo][Nn][Ss]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Dd][Oo][Cc][Kk][Aa][Uu][Tt][Oo][Hh][Ii][Dd][Ee]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ff][Uu][Ll][Ll][Ss][Cc][Rr][Ee][Ee][Nn]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Oo][Mm][Nn][Ii][Pp][Rr][Ee][Ss][Ee][Nn][Tt]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Aa][Dd][Ee]"/>
+ <xsd:pattern value="[Tt][Oo][Gg][Gg][Ll][Ee][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
+ <xsd:pattern value="[Uu][Nn][Ff][Oo][Cc][Uu][Ss]"/>
+ <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Ff][Uu][Ll][Ll]"/>
+ <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Hh][Oo][Rr][Zz]"/>
+ <xsd:pattern value="[Uu][Nn][Mm][Aa][Xx][Ii][Mm][Ii][Zz][Ee][Vv][Ee][Rr][Tt]"/>
+ <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee]"/>
+ <xsd:pattern value="[Uu][Nn][Ss][Hh][Aa][Dd][Ee][Rr][Aa][Ii][Ss][Ee]"/>
+ <xsd:pattern value="[Uu][Nn][Ss][Hh][Oo][Ww][Dd][Ee][Ss][Kk][Tt][Oo][Pp]"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="clienttype">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="desktop"/>
+ <xsd:enumeration value="dock"/>
+ <xsd:enumeration value="toolbar"/>
+ <xsd:enumeration value="menu"/>
+ <xsd:enumeration value="splash"/>
+ <xsd:enumeration value="utility"/>
+ <xsd:enumeration value="dialog"/>
+ <xsd:enumeration value="normal"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="bool">
+ <!-- this is copied to maximization. Keep that in sync. -->
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="yes"/>
+ <xsd:enumeration value="no"/>
+ <xsd:enumeration value="true"/>
+ <xsd:enumeration value="false"/>
+ <xsd:enumeration value="on"/>
+ <xsd:enumeration value="off"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="fontplace">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="ActiveWindow"/>
+ <xsd:enumeration value="InactiveWindow"/>
+ <xsd:enumeration value="MenuHeader"/>
+ <xsd:enumeration value="MenuItem"/>
+ <xsd:enumeration value="OnScreenDisplay"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="fontweight">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="normal"/>
+ <xsd:enumeration value="bold"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="fontslant">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="normal"/>
+ <xsd:enumeration value="italic"/>
+ <xsd:enumeration value="opaque"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="button">
+ <xsd:restriction base="xsd:string">
+ <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}(Left|Middle|Right|Up|Down|Button[0-9]+)"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="center_or_int">
+ <xsd:restriction base="xsd:string">
+ <!-- ob: atoi($_) unless $_ eq 'center'; -->
+ <!-- I think the regexp DTRT WRT atoi. -->
+ <xsd:pattern value="center|-?(0|[1-9][0-9]*)"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="mouse_or_int">
+ <xsd:restriction base="xsd:string">
+ <!-- ob: atoi($_) unless $_ eq 'center'; -->
+ <!-- I think the regexp DTRT WRT atoi. -->
+ <xsd:pattern value="mouse|0|[1-9][0-9]*"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="contextname">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Desktop"/>
+ <xsd:enumeration value="Root"/>
+ <xsd:enumeration value="Client"/>
+ <xsd:enumeration value="Titlebar"/>
+ <xsd:enumeration value="Frame"/>
+ <xsd:enumeration value="TLCorner"/>
+ <xsd:enumeration value="TRCorner"/>
+ <xsd:enumeration value="BLCorner"/>
+ <xsd:enumeration value="BRCorner"/>
+ <xsd:enumeration value="Top"/>
+ <xsd:enumeration value="Left"/>
+ <xsd:enumeration value="Right"/>
+ <xsd:enumeration value="Bottom"/>
+ <xsd:enumeration value="Maximize"/>
+ <xsd:enumeration value="AllDesktops"/>
+ <xsd:enumeration value="Shade"/>
+ <xsd:enumeration value="Iconify"/>
+ <xsd:enumeration value="Icon"/>
+ <xsd:enumeration value="Close"/>
+ <xsd:enumeration value="MoveResize"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="direction">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Horizontal"/>
+ <xsd:enumeration value="Vertical"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="dock_position">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="TopLeft"/>
+ <xsd:enumeration value="Top"/>
+ <xsd:enumeration value="TopRight"/>
+ <xsd:enumeration value="Right"/>
+ <xsd:enumeration value="BottomRight"/>
+ <xsd:enumeration value="Bottom"/>
+ <xsd:enumeration value="BottomLeft"/>
+ <xsd:enumeration value="Left"/>
+ <xsd:enumeration value="Floating"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="keyname">
+ <xsd:restriction base="xsd:string">
+ <!-- FIXME: M, Mod2, Mod5 in addition to S, A, C -->
+ <!-- how do we do all substrings and permutations? -->
+ <xsd:pattern value="(([ACMSW]|Mod[1-5])-){,5}[a-zA-Z0-9]*"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="layer">
+ <xsd:restriction base="xsd:string">
+ <xsd:pattern value="[Aa][Bb][Oo][Vv][Ee]"/>
+ <xsd:pattern value="[Nn][Oo][Rr][Mm][Aa][Ll]"/>
+ <xsd:pattern value="[Bb][Ee][Ll][Oo][Ww]"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="maximization">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Horizontal"/>
+ <xsd:enumeration value="Vertical"/>
+ <!-- this is a copy of ob:bool. Keep it in sync. -->
+ <xsd:enumeration value="yes"/>
+ <xsd:enumeration value="no"/>
+ <xsd:enumeration value="true"/>
+ <xsd:enumeration value="false"/>
+ <xsd:enumeration value="on"/>
+ <xsd:enumeration value="off"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="mouseaction">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Click"/>
+ <xsd:enumeration value="DoubleClick"/>
+ <xsd:enumeration value="Drag"/>
+ <xsd:enumeration value="Press"/>
+ <xsd:enumeration value="Release"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="placementpolicy">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Smart"/>
+ <xsd:enumeration value="UnderMouse"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="placementmonitor">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Any"/>
+ <xsd:enumeration value="Mouse"/>
+ <xsd:enumeration value="Active"/>
+ <xsd:enumeration value="Primary"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="primarymonitor">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Mouse"/>
+ <xsd:enumeration value="Active"/>
+ <xsd:enumeration value="[0-9][0-9][0-9][0-9][0-9]"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="popupposition">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Top"/>
+ <xsd:enumeration value="Center"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="popupshow">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="Always"/>
+ <xsd:enumeration value="Never"/>
+ <xsd:enumeration value="Nonpixel"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="dialogtype">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None"/>
+ <xsd:enumeration value="Icons"/>
+ <xsd:enumeration value="List"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+</xsd:schema>