aboutsummaryrefslogtreecommitdiff
path: root/src/dutil/xsd
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-09-03 11:22:38 -0700
committerRob Mensching <rob@firegiant.com>2017-09-03 13:33:33 -0700
commit5d8375007754101ff2889d0e79486c8f9b7cf5ab (patch)
treea76d6fb6a38dd9f04a93ffcfd9d64e76779b3414 /src/dutil/xsd
parent8e8da6dbc051ec884b5d439bb4f44dc027d05bbf (diff)
downloadwix-5d8375007754101ff2889d0e79486c8f9b7cf5ab.tar.gz
wix-5d8375007754101ff2889d0e79486c8f9b7cf5ab.tar.bz2
wix-5d8375007754101ff2889d0e79486c8f9b7cf5ab.zip
Initial commit
Diffstat (limited to 'src/dutil/xsd')
-rw-r--r--src/dutil/xsd/thmutil.xsd1188
1 files changed, 1188 insertions, 0 deletions
diff --git a/src/dutil/xsd/thmutil.xsd b/src/dutil/xsd/thmutil.xsd
new file mode 100644
index 00000000..ccf951c0
--- /dev/null
+++ b/src/dutil/xsd/thmutil.xsd
@@ -0,0 +1,1188 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4
5<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension"
7 xmlns:html="http://www.w3.org/1999/xhtml"
8 targetNamespace="http://wixtoolset.org/schemas/v4/thmutil"
9 xmlns="http://wixtoolset.org/schemas/v4/thmutil">
10 <xs:annotation>
11 <xs:documentation>
12 Schema for describing Theme files processed by thmutil.
13 </xs:documentation>
14 </xs:annotation>
15
16 <xs:import namespace="http://www.w3.org/1999/xhtml" />
17
18 <xs:element name="Theme">
19 <xs:annotation>
20 <xs:documentation>
21 This is the top-level container element for every thmutil Theme file.
22 </xs:documentation>
23 </xs:annotation>
24 <xs:complexType>
25 <xs:sequence>
26 <xs:element ref="Font" maxOccurs="unbounded" />
27 <xs:element ref="Window" />
28 </xs:sequence>
29 <xs:attribute name="ImageFile" type="xs:string">
30 <xs:annotation>
31 <xs:documentation>
32 Relative path to an image file that can serve as a single source for images in the rest of the theme.
33 This image is referenced by controls using the SourceX and SourceY attributes.
34 Mutually exclusive with the ImageResource attribute.
35 </xs:documentation>
36 </xs:annotation>
37 </xs:attribute>
38 <xs:attribute name="ImageResource" type="xs:string">
39 <xs:annotation>
40 <xs:documentation>
41 Identifier that references an image resource in the module for the window.
42 Mutually exclusive with the ImageFile attribute.
43 </xs:documentation>
44 </xs:annotation>
45 </xs:attribute>
46 </xs:complexType>
47 </xs:element>
48
49 <xs:element name="Font">
50 <xs:annotation>
51 <xs:documentation>Defines a font including the size and color.</xs:documentation>
52 </xs:annotation>
53 <xs:complexType>
54 <xs:simpleContent>
55 <xs:extension base="xs:string">
56 <xs:annotation>
57 <xs:documentation>Name of the font face (required).</xs:documentation>
58 </xs:annotation>
59 <xs:attribute name="Id" type="xs:nonNegativeInteger" use="required">
60 <xs:annotation>
61 <xs:documentation>Numeric identifier for the font. Due to limitations in thmutil the first Font must start with "0" and each subsequent Font must increment the Id by 1. Failure to ensure the Font identifiers follow this strict ordering will create unexpected behavior or crashes.</xs:documentation>
62 </xs:annotation>
63 </xs:attribute>
64 <xs:attribute name="Height" type="xs:int" use="required">
65 <xs:annotation>
66 <xs:documentation>Font size. Use negative numbers to specify the font in pixels.</xs:documentation>
67 </xs:annotation>
68 </xs:attribute>
69 <xs:attribute name="Weight" type="xs:nonNegativeInteger">
70 <xs:annotation>
71 <xs:documentation>Font weight.</xs:documentation>
72 </xs:annotation>
73 </xs:attribute>
74 <xs:attribute name="Foreground" type="FontColorType">
75 <xs:annotation>
76 <xs:documentation>
77 A system color id or a hexadecimal value representing BGR foreground color of the font.
78 "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
79 If this attribute is absent the foreground will be transparent.
80 Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
81 </xs:documentation>
82 </xs:annotation>
83 </xs:attribute>
84 <xs:attribute name="Background" type="FontColorType">
85 <xs:annotation>
86 <xs:documentation>
87 A system color id or a hexadecimal value representing BGR background color of the font.
88 "ffffff" is white, "ff0000" is pure blue, "00ff00" is pure green, "0000ff" is pure red, and "000000" is black.
89 If this attribute is absent the background will be transparent.
90 Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.
91 </xs:documentation>
92 </xs:annotation>
93 </xs:attribute>
94 <xs:attribute name="Underline" type="YesNoType">
95 <xs:annotation>
96 <xs:documentation>Specifies whether the font is underlined.</xs:documentation>
97 </xs:annotation>
98 </xs:attribute>
99 </xs:extension>
100 </xs:simpleContent>
101 </xs:complexType>
102 </xs:element>
103
104 <xs:element name="ImageList">
105 <xs:annotation>
106 <xs:documentation>List of images which can be shared between multiple controls.</xs:documentation>
107 </xs:annotation>
108 <xs:complexType>
109 <xs:choice maxOccurs="unbounded">
110 <xs:element ref="Image" />
111 </xs:choice>
112 <xs:attribute name="Name" type="xs:string" use="required">
113 <xs:annotation>
114 <xs:documentation>
115 Name of the ImageList, to be referenced by other controls.
116 </xs:documentation>
117 </xs:annotation>
118 </xs:attribute>
119 </xs:complexType>
120 </xs:element>
121
122 <xs:element name="Page">
123 <xs:annotation>
124 <xs:documentation>Named set of controls that can be shown and hidden collectively.</xs:documentation>
125 </xs:annotation>
126 <xs:complexType>
127 <xs:group ref="ControlElements" maxOccurs="unbounded"/>
128 <xs:attribute name="Name" type="xs:string">
129 <xs:annotation>
130 <xs:documentation>
131 Optional name for the page.
132 </xs:documentation>
133 </xs:annotation>
134 </xs:attribute>
135 </xs:complexType>
136 </xs:element>
137
138 <xs:element name="Window">
139 <xs:annotation>
140 <xs:documentation>Defines the overall look of the main window.</xs:documentation>
141 </xs:annotation>
142 <xs:complexType>
143 <xs:choice minOccurs="0" maxOccurs="unbounded">
144 <xs:element ref="ImageList" />
145 <xs:element ref="Page" />
146 <xs:group ref="ControlElements" minOccurs="0" maxOccurs="unbounded" />
147 </xs:choice>
148 <xs:attribute name="AutoResize" type="YesNoType">
149 <xs:annotation>
150 <xs:documentation>Specifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.</xs:documentation>
151 </xs:annotation>
152 </xs:attribute>
153 <xs:attribute name="Caption" type="xs:string">
154 <xs:annotation>
155 <xs:documentation>
156 Caption for the window.
157 This is required if not using the StringId attribute.
158 </xs:documentation>
159 </xs:annotation>
160 </xs:attribute>
161 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
162 <xs:annotation>
163 <xs:documentation>Numeric identifier to the Font element that serves as the default font for the window.</xs:documentation>
164 </xs:annotation>
165 </xs:attribute>
166 <xs:attribute name="Height" type="xs:positiveInteger" use="required">
167 <xs:annotation>
168 <xs:documentation>Height of the window.</xs:documentation>
169 </xs:annotation>
170 </xs:attribute>
171 <xs:attribute name="HexStyle" type="xs:hexBinary">
172 <xs:annotation>
173 <xs:documentation>
174 Hexadecimal window style. If this is not specified the default value is: WS_OVERLAPPED | WS_VISIBLE | WS_MINIMIZEBOX | WS_SYSMENU.
175 If SourceX and SourceY are specified, then WS_OVERLAPPED is replaced with WS_POPUP.
176 </xs:documentation>
177 </xs:annotation>
178 </xs:attribute>
179 <xs:attribute name="IconFile" type="xs:string">
180 <xs:annotation>
181 <xs:documentation>Relative path to an icon file for the window. Mutually exclusive with IconResource and SourceX and SourceY attributes.</xs:documentation>
182 </xs:annotation>
183 </xs:attribute>
184 <xs:attribute name="IconResource" type="xs:string">
185 <xs:annotation>
186 <xs:documentation>
187 Identifier that references an icon resource in the module for the icon for the window.
188 Mutually exclusive with IconFile and SourceX and SourceY attributes.
189 </xs:documentation>
190 </xs:annotation>
191 </xs:attribute>
192 <xs:attribute name="MinimumHeight" type="xs:positiveInteger">
193 <xs:annotation>
194 <xs:documentation>Minimum height of the window. Only functions if AutoResize is enabled.</xs:documentation>
195 </xs:annotation>
196 </xs:attribute>
197 <xs:attribute name="MinimumWidth" type="xs:positiveInteger">
198 <xs:annotation>
199 <xs:documentation>Minimum width of the window. Only functions if AutoResize is enabled.</xs:documentation>
200 </xs:annotation>
201 </xs:attribute>
202 <xs:attribute name="SourceX" type="xs:nonNegativeInteger">
203 <xs:annotation>
204 <xs:documentation>X offset of the window background in the Theme/@ImageFile. Mutually exclusive with IconFile and IconResource.</xs:documentation>
205 </xs:annotation>
206 </xs:attribute>
207 <xs:attribute name="SourceY" type="xs:nonNegativeInteger">
208 <xs:annotation>
209 <xs:documentation>Y offset of the window background in the Theme/@ImageFile. Mutually exclusive with IconFile and IconResource.</xs:documentation>
210 </xs:annotation>
211 </xs:attribute>
212 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
213 <xs:annotation>
214 <xs:documentation>
215 Identifier that references a string resource in the module to define the window caption.
216 Mutually exclusive with the Caption attribute.
217 </xs:documentation>
218 </xs:annotation>
219 </xs:attribute>
220 <xs:attribute name="Width" type="xs:positiveInteger" use="required">
221 <xs:annotation>
222 <xs:documentation>Width of the window.</xs:documentation>
223 </xs:annotation>
224 </xs:attribute>
225 </xs:complexType>
226 </xs:element>
227
228 <xs:element name="Billboard">
229 <xs:annotation>
230 <xs:documentation>Defines a control that rotates through a set of images on a specified interval.</xs:documentation>
231 </xs:annotation>
232 <xs:complexType>
233 <xs:sequence>
234 <xs:element ref="Image" />
235 </xs:sequence>
236 <xs:attributeGroup ref="CommonControlAttributes" />
237 <xs:attribute name="Interval" type="xs:positiveInteger">
238 <xs:annotation>
239 <xs:documentation>
240 Specifies the time to wait before showing the next image, in milliseconds.
241 </xs:documentation>
242 </xs:annotation>
243 </xs:attribute>
244 <xs:attribute name="Loop" type="YesNoType">
245 <xs:annotation>
246 <xs:documentation>Specifies whether the billboard should loop through the images infinitely.</xs:documentation>
247 </xs:annotation>
248 </xs:attribute>
249 </xs:complexType>
250 </xs:element>
251
252 <xs:element name="Button">
253 <xs:annotation>
254 <xs:documentation>Defines a button.</xs:documentation>
255 </xs:annotation>
256 <xs:complexType mixed="true">
257 <xs:annotation>
258 <xs:documentation>
259 Text to display in the button.
260 Mutually exclusive with the StringId attribute and child Text elements.
261 </xs:documentation>
262 </xs:annotation>
263 <xs:choice minOccurs="0" maxOccurs="unbounded">
264 <xs:annotation>
265 <xs:documentation>
266 If multiple Action elements are given, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and could be changed at any time).
267 If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
268 </xs:documentation>
269 </xs:annotation>
270 <xs:element ref="BrowseDirectoryAction" />
271 <xs:element ref="ChangePageAction" />
272 <xs:element ref="CloseWindowAction" />
273 <xs:element ref="Text" />
274 <xs:element ref="Tooltip" maxOccurs="1" />
275 </xs:choice>
276 <xs:attributeGroup ref="CommonControlAttributes" />
277 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
278 <xs:annotation>
279 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
280 </xs:annotation>
281 </xs:attribute>
282 <xs:attribute name="HoverFontId" type="xs:nonNegativeInteger">
283 <xs:annotation>
284 <xs:documentation>Numeric identifier to the Font element that serves as the font when the control is hovered over. Only valid when using graphic buttons.</xs:documentation>
285 </xs:annotation>
286 </xs:attribute>
287 <xs:attribute name="ImageFile" type="xs:string">
288 <xs:annotation>
289 <xs:documentation>
290 Relative path to an image file to define a graphic button.
291 The image must be 4x the height to represent the button in 4 states: unselected, hover, selected, focused.
292 Mutually exclusive with ImageResource and SourceX and SourceY attributes.
293 </xs:documentation>
294 </xs:annotation>
295 </xs:attribute>
296 <xs:attribute name="ImageResource" type="xs:string">
297 <xs:annotation>
298 <xs:documentation>
299 Identifier that references an image resource in the module to define a graphic button.
300 The image must be 4x the height to represent the button in 4 states: unselected, hover, selected, focused.
301 Mutually exclusive with ImageFile and SourceX and SourceY attributes.
302 </xs:documentation>
303 </xs:annotation>
304 </xs:attribute>
305 <xs:attribute name="SelectedFontId" type="xs:nonNegativeInteger">
306 <xs:annotation>
307 <xs:documentation>Numeric identifier to the Font element that serves as the font when the control is selected. Only valid when using graphic buttons.</xs:documentation>
308 </xs:annotation>
309 </xs:attribute>
310 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
311 <xs:annotation>
312 <xs:documentation>
313 Identifier that references a string resource in the module to define the text for the control.
314 </xs:documentation>
315 </xs:annotation>
316 </xs:attribute>
317 </xs:complexType>
318 </xs:element>
319
320 <xs:element name="BrowseDirectoryAction">
321 <xs:annotation>
322 <xs:documentation>
323 When the button is pressed, a directory browser dialog is shown.
324 </xs:documentation>
325 </xs:annotation>
326 <xs:complexType>
327 <xs:attribute name="Condition" type="xs:string">
328 <xs:annotation>
329 <xs:documentation>
330 The condition that determines if the parent control will execute this action.
331 </xs:documentation>
332 </xs:annotation>
333 </xs:attribute>
334 <xs:attribute name="VariableName" type="xs:string" use="required">
335 <xs:annotation>
336 <xs:documentation>
337 The name of the variable to update when the user selects a directory from the dialog.
338 </xs:documentation>
339 </xs:annotation>
340 </xs:attribute>
341 </xs:complexType>
342 </xs:element>
343
344 <xs:element name="ChangePageAction">
345 <xs:annotation>
346 <xs:documentation>
347 When the button is pressed, the specified page is shown.
348 </xs:documentation>
349 </xs:annotation>
350 <xs:complexType>
351 <xs:attribute name="Cancel" type="YesNoType">
352 <xs:annotation>
353 <xs:documentation>
354 When set to 'yes', none of the variable changes made on the current page are saved.
355 </xs:documentation>
356 </xs:annotation>
357 </xs:attribute>
358 <xs:attribute name="Condition" type="xs:string">
359 <xs:annotation>
360 <xs:documentation>
361 The condition that determines if the parent control will execute this action.
362 </xs:documentation>
363 </xs:annotation>
364 </xs:attribute>
365 <xs:attribute name="Page" type="xs:string" use="required">
366 <xs:annotation>
367 <xs:documentation>
368 The Name of the Page to show.
369 </xs:documentation>
370 </xs:annotation>
371 </xs:attribute>
372 </xs:complexType>
373 </xs:element>
374
375 <xs:element name="CloseWindowAction">
376 <xs:annotation>
377 <xs:documentation>
378 When the button is pressed, the WM_CLOSE message is sent to the window.
379 </xs:documentation>
380 </xs:annotation>
381 <xs:complexType>
382 <xs:attribute name="Condition" type="xs:string">
383 <xs:annotation>
384 <xs:documentation>
385 The condition that determines if the parent control will execute this action.
386 </xs:documentation>
387 </xs:annotation>
388 </xs:attribute>
389 </xs:complexType>
390 </xs:element>
391
392 <xs:element name="Checkbox">
393 <xs:annotation>
394 <xs:documentation>Defines a checkbox.</xs:documentation>
395 </xs:annotation>
396 <xs:complexType mixed="true">
397 <xs:annotation>
398 <xs:documentation>
399 Text to display beside the checkbox.
400 Mutually exclusive with the StringId attribute and child Text elements.
401 </xs:documentation>
402 </xs:annotation>
403 <xs:choice minOccurs="0" maxOccurs="unbounded">
404 <xs:element ref="Text" />
405 <xs:element ref="Tooltip" maxOccurs="1" />
406 </xs:choice>
407 <xs:attributeGroup ref="CommonControlAttributes" />
408 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
409 <xs:annotation>
410 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
411 </xs:annotation>
412 </xs:attribute>
413 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
414 <xs:annotation>
415 <xs:documentation>
416 Identifier that references a string resource in the module to define the text for the control.
417 </xs:documentation>
418 </xs:annotation>
419 </xs:attribute>
420 </xs:complexType>
421 </xs:element>
422
423 <xs:element name="Combobox">
424 <xs:annotation>
425 <xs:documentation>Defines a combobox.</xs:documentation>
426 </xs:annotation>
427 <xs:complexType>
428 <xs:attributeGroup ref="CommonControlAttributes" />
429 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
430 <xs:annotation>
431 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
432 </xs:annotation>
433 </xs:attribute>
434 </xs:complexType>
435 </xs:element>
436
437 <xs:element name="CommandLink">
438 <xs:annotation>
439 <xs:documentation>Defines a button.</xs:documentation>
440 </xs:annotation>
441 <xs:complexType mixed="true">
442 <xs:annotation>
443 <xs:documentation>
444 Text to display in the button.
445 Mutually exclusive with the StringId attribute and child Text elements.
446 </xs:documentation>
447 </xs:annotation>
448 <xs:choice minOccurs="0" maxOccurs="unbounded">
449 <xs:annotation>
450 <xs:documentation>
451 If multiple Action elements are given, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and could be changed at any time).
452 If none of the conditions of the Action elements are true, then it uses the Action element without the Condition attribute.
453 </xs:documentation>
454 </xs:annotation>
455 <xs:element ref="BrowseDirectoryAction" />
456 <xs:element ref="ChangePageAction" />
457 <xs:element ref="CloseWindowAction" />
458 <xs:element ref="Note" />
459 <xs:element ref="Text" />
460 </xs:choice>
461 <xs:attributeGroup ref="CommonControlAttributes" />
462 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
463 <xs:annotation>
464 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control. Only valid when using graphic buttons.</xs:documentation>
465 </xs:annotation>
466 </xs:attribute>
467 <xs:attribute name="IconFile" type="xs:string">
468 <xs:annotation>
469 <xs:documentation>
470 Relative path to an icon file to define a command link glyph.
471 Mutually exclusive with ImageResource and SourceX and SourceY attributes.
472 </xs:documentation>
473 </xs:annotation>
474 </xs:attribute>
475 <xs:attribute name="IconResource" type="xs:string">
476 <xs:annotation>
477 <xs:documentation>
478 Identifier that references an icon resource in the module to define a command link glyph.
479 Mutually exclusive with ImageFile and SourceX and SourceY attributes.
480 </xs:documentation>
481 </xs:annotation>
482 </xs:attribute>
483 <xs:attribute name="ImageFile" type="xs:string">
484 <xs:annotation>
485 <xs:documentation>
486 Relative path to an image file to define a command link glyph.
487 Mutually exclusive with ImageResource and SourceX and SourceY attributes.
488 </xs:documentation>
489 </xs:annotation>
490 </xs:attribute>
491 <xs:attribute name="ImageResource" type="xs:string">
492 <xs:annotation>
493 <xs:documentation>
494 Identifier that references an image resource in the module to define a command link glyph.
495 Mutually exclusive with ImageFile and SourceX and SourceY attributes.
496 </xs:documentation>
497 </xs:annotation>
498 </xs:attribute>
499 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
500 <xs:annotation>
501 <xs:documentation>
502 Identifier that references a string resource in the module to define the text for the control.
503 </xs:documentation>
504 </xs:annotation>
505 </xs:attribute>
506 </xs:complexType>
507 </xs:element>
508
509 <xs:element name="Editbox">
510 <xs:annotation>
511 <xs:documentation>Defines an edit box.</xs:documentation>
512 </xs:annotation>
513 <xs:complexType>
514 <xs:simpleContent>
515 <xs:extension base="xs:string">
516 <xs:annotation>
517 <xs:documentation>
518 Initial text for the control.
519 Mutually exclusive with the StringId attribute.
520 </xs:documentation>
521 </xs:annotation>
522 <xs:attributeGroup ref="CommonControlAttributes" />
523 <xs:attribute name="FileSystemAutoComplete" type="YesNoType">
524 <xs:annotation>
525 <xs:documentation>Specifies whether the edit box should auto-complete with file system paths.</xs:documentation>
526 </xs:annotation>
527 </xs:attribute>
528 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
529 <xs:annotation>
530 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
531 </xs:annotation>
532 </xs:attribute>
533 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
534 <xs:annotation>
535 <xs:documentation>
536 Identifier that references a string resource in the module to define the initial text for the control.
537 </xs:documentation>
538 </xs:annotation>
539 </xs:attribute>
540 </xs:extension>
541 </xs:simpleContent>
542 </xs:complexType>
543 </xs:element>
544
545 <xs:element name="Hyperlink">
546 <xs:annotation>
547 <xs:documentation>Defines a hyperlink.</xs:documentation>
548 </xs:annotation>
549 <xs:complexType mixed="true">
550 <xs:annotation>
551 <xs:documentation>
552 Text to display as the link.
553 Mutually exclusive with the StringId attribute and child Text elements.
554 </xs:documentation>
555 </xs:annotation>
556 <xs:choice minOccurs="0" maxOccurs="unbounded">
557 <xs:element ref="Text" />
558 <xs:element ref="Tooltip" maxOccurs="1" />
559 </xs:choice>
560 <xs:attributeGroup ref="CommonControlAttributes" />
561 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
562 <xs:annotation>
563 <xs:documentation>Numeric identifier to the Font element that serves as the unselected font.</xs:documentation>
564 </xs:annotation>
565 </xs:attribute>
566 <xs:attribute name="HoverFontId" type="xs:nonNegativeInteger" use="required">
567 <xs:annotation>
568 <xs:documentation>Numeric identifier to the Font element that serves as the font when the control is hovered over.</xs:documentation>
569 </xs:annotation>
570 </xs:attribute>
571 <xs:attribute name="SelectedFontId" type="xs:nonNegativeInteger" use="required">
572 <xs:annotation>
573 <xs:documentation>Numeric identifier to the Font element that serves as the font when the control is selected.</xs:documentation>
574 </xs:annotation>
575 </xs:attribute>
576 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
577 <xs:annotation>
578 <xs:documentation>
579 Identifier that references a string resource in the module to define the text for the control.
580 </xs:documentation>
581 </xs:annotation>
582 </xs:attribute>
583 </xs:complexType>
584 </xs:element>
585
586 <xs:element name="Hypertext">
587 <xs:annotation>
588 <xs:documentation>Defines a text block with support for HTML &lt;a&gt; tags.</xs:documentation>
589 </xs:annotation>
590 <xs:complexType mixed="true">
591 <xs:annotation>
592 <xs:documentation>
593 Text to display as the link.
594 Use HTML &lt;a href="URL"&gt; to create a link.
595 Mutually exclusive with the StringId attribute and child Text elements.
596 </xs:documentation>
597 </xs:annotation>
598 <xs:choice minOccurs="0" maxOccurs="unbounded">
599 <xs:element ref="Text" />
600 <xs:element ref="Tooltip" maxOccurs="1" />
601 </xs:choice>
602 <xs:attributeGroup ref="CommonControlAttributes" />
603 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
604 <xs:annotation>
605 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
606 </xs:annotation>
607 </xs:attribute>
608 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
609 <xs:annotation>
610 <xs:documentation>
611 Identifier that references a string resource in the module to define the text for the control.
612 </xs:documentation>
613 </xs:annotation>
614 </xs:attribute>
615 </xs:complexType>
616 </xs:element>
617
618 <xs:element name="Image">
619 <xs:annotation>
620 <xs:documentation>Defines an image for an ImageList or Billboard.</xs:documentation>
621 </xs:annotation>
622 <xs:complexType>
623 <xs:attribute name="ImageFile" type="xs:string">
624 <xs:annotation>
625 <xs:documentation>Relative path to an image file. Mutually exclusive with ImageResource.</xs:documentation>
626 </xs:annotation>
627 </xs:attribute>
628 <xs:attribute name="ImageResource" type="xs:string">
629 <xs:annotation>
630 <xs:documentation>Identifier that references an image resource in the module. Mutually exclusive with ImageFile.</xs:documentation>
631 </xs:annotation>
632 </xs:attribute>
633 </xs:complexType>
634 </xs:element>
635
636 <xs:element name="ImageControl">
637 <xs:annotation>
638 <xs:documentation>Defines an image.</xs:documentation>
639 </xs:annotation>
640 <xs:complexType>
641 <xs:attributeGroup ref="CommonControlAttributes" />
642 <xs:attribute name="ImageFile" type="xs:string">
643 <xs:annotation>
644 <xs:documentation>Relative path to an image file. Mutually exclusive with ImageResource and SourceX and SourceY attributes.</xs:documentation>
645 </xs:annotation>
646 </xs:attribute>
647 <xs:attribute name="ImageResource" type="xs:string">
648 <xs:annotation>
649 <xs:documentation>Identifier that references an image resource in the module. Mutually exclusive with ImageFile and SourceX and SourceY attributes.</xs:documentation>
650 </xs:annotation>
651 </xs:attribute>
652 </xs:complexType>
653 </xs:element>
654
655 <xs:element name="Label">
656 <xs:annotation>
657 <xs:documentation>Defines a label.</xs:documentation>
658 </xs:annotation>
659 <xs:complexType mixed="true">
660 <xs:annotation>
661 <xs:documentation>
662 Text for the label to display.
663 Mutually exclusive with the StringId attribute and child Text elements.
664 </xs:documentation>
665 </xs:annotation>
666 <xs:choice minOccurs="0" maxOccurs="unbounded">
667 <xs:element ref="Text" />
668 <xs:element ref="Tooltip" maxOccurs="1" />
669 </xs:choice>
670 <xs:attributeGroup ref="CommonControlAttributes" />
671 <xs:attribute name="Center" type="YesNoType" use="optional">
672 <xs:annotation>
673 <xs:documentation>Specifies whether the text should be centered horizontally in the width of the control. Default is "no".</xs:documentation>
674 </xs:annotation>
675 </xs:attribute>
676 <xs:attribute name="DisablePrefix" type="YesNoType" use="optional">
677 <xs:annotation>
678 <xs:documentation>By default ampersands (&amp;) in the text will underline the next character and treat it as an accelerator key. Set this attribute to "yes" to disable that behavior. Default is "no".</xs:documentation>
679 </xs:annotation>
680 </xs:attribute>
681 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
682 <xs:annotation>
683 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
684 </xs:annotation>
685 </xs:attribute>
686 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
687 <xs:annotation>
688 <xs:documentation>
689 Identifier that references a string resource in the module to define the text for the label.
690 </xs:documentation>
691 </xs:annotation>
692 </xs:attribute>
693 </xs:complexType>
694 </xs:element>
695
696 <xs:element name="ListView">
697 <xs:annotation>
698 <xs:documentation>Defines a listview.</xs:documentation>
699 </xs:annotation>
700 <xs:complexType>
701 <xs:choice maxOccurs="unbounded">
702 <xs:element ref="Column" />
703 </xs:choice>
704 <xs:attributeGroup ref="CommonControlAttributes" />
705 <xs:attribute name="FontId" type="xs:nonNegativeInteger">
706 <xs:annotation>
707 <xs:documentation>Numeric identifier to the Font element that serves as the default font for the ListView.</xs:documentation>
708 </xs:annotation>
709 </xs:attribute>
710 <xs:attribute name="HexExtendedStyle" type="xs:hexBinary">
711 <xs:annotation>
712 <xs:documentation>Hexadecimal extended window style.</xs:documentation>
713 </xs:annotation>
714 </xs:attribute>
715 <xs:attribute name="ImageList" type="xs:string">
716 <xs:annotation>
717 <xs:documentation>
718 The name of the ImageList to assign to this listview with type LVSIL_NORMAL.
719 </xs:documentation>
720 </xs:annotation>
721 </xs:attribute>
722 <xs:attribute name="ImageListSmall" type="xs:string">
723 <xs:annotation>
724 <xs:documentation>
725 The name of the ImageList to assign to this listview with type LVSIL_SMALL.
726 </xs:documentation>
727 </xs:annotation>
728 </xs:attribute>
729 <xs:attribute name="ImageListState" type="xs:string">
730 <xs:annotation>
731 <xs:documentation>
732 The name of the ImageList to assign to this listview with type LVSIL_STATE.
733 </xs:documentation>
734 </xs:annotation>
735 </xs:attribute>
736 <xs:attribute name="ImageListGroupHeader" type="xs:string">
737 <xs:annotation>
738 <xs:documentation>
739 The name of the ImageList to assign to this listview with type LVSIL_GROUPHEADER.
740 </xs:documentation>
741 </xs:annotation>
742 </xs:attribute>
743 </xs:complexType>
744 </xs:element>
745
746 <xs:element name="Note">
747 <xs:annotation>
748 <xs:documentation>
749 Defines note text for a command link control based on an optional condition.
750 If multiple Note elements are given for one control, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and may be changed at any time).
751 If none of the conditions of a control's Note elements are true, then it uses the text of the Note element without the Condition attribute.
752 </xs:documentation>
753 </xs:annotation>
754 <xs:complexType>
755 <xs:simpleContent>
756 <xs:extension base="xs:string">
757 <xs:annotation>
758 <xs:documentation>
759 Note text for the parent command link control.
760 </xs:documentation>
761 </xs:annotation>
762 <xs:attribute name="Condition" type="xs:string">
763 <xs:annotation>
764 <xs:documentation>
765 The condition that determines when the parent control will use this note text.
766 </xs:documentation>
767 </xs:annotation>
768 </xs:attribute>
769 </xs:extension>
770 </xs:simpleContent>
771 </xs:complexType>
772 </xs:element>
773
774 <xs:element name="Panel">
775 <xs:annotation>
776 <xs:documentation>Defines a collection of controls.</xs:documentation>
777 </xs:annotation>
778 <xs:complexType>
779 <xs:group ref="ControlElements" maxOccurs="unbounded"/>
780 <xs:attributeGroup ref="CommonControlAttributes" />
781 </xs:complexType>
782 </xs:element>
783
784 <xs:element name="Progressbar">
785 <xs:annotation>
786 <xs:documentation>Defines a progress bar.</xs:documentation>
787 </xs:annotation>
788 <xs:complexType>
789 <xs:attributeGroup ref="CommonControlAttributes" />
790 <xs:attribute name="ImageFile" type="xs:string">
791 <xs:annotation>
792 <xs:documentation>Relative path to an image file for the control. The image must be 4 pixels wide: left pixel is the left side of progress bar, left middle pixel is progress used, right middle pixel is progress unused, right pixel is right side of progress bar. Mutually exclusive with ImageResource and SourceX and SourceY attributes.</xs:documentation>
793 </xs:annotation>
794 </xs:attribute>
795 <xs:attribute name="ImageResource" type="xs:string">
796 <xs:annotation>
797 <xs:documentation>Identifier that references an image resource in the module for the control. The image must be 4 pixels wide: left pixel is the left side of progress bar, left middle pixel is progress used, right middle pixel is progress unused, right pixel is right side of progress bar. Mutually exclusive with ImageFile and SourceX and SourceY attributes.</xs:documentation>
798 </xs:annotation>
799 </xs:attribute>
800 </xs:complexType>
801 </xs:element>
802
803 <xs:element name="RadioButton">
804 <xs:annotation>
805 <xs:documentation>Defines an individual radio button within a set of radio buttons.</xs:documentation>
806 </xs:annotation>
807 <xs:complexType mixed="true">
808 <xs:annotation>
809 <xs:documentation>
810 Text to display beside the radio button.
811 Mutually exclusive with the StringId attribute and child Text elements.
812 </xs:documentation>
813 </xs:annotation>
814 <xs:choice minOccurs="0" maxOccurs="unbounded">
815 <xs:element ref="Text" />
816 <xs:element ref="Tooltip" maxOccurs="1" />
817 </xs:choice>
818 <xs:attributeGroup ref="CommonControlAttributes" />
819 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
820 <xs:annotation>
821 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
822 </xs:annotation>
823 </xs:attribute>
824 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
825 <xs:annotation>
826 <xs:documentation>
827 Identifier that references a string resource in the module to define the text for the control.
828 </xs:documentation>
829 </xs:annotation>
830 </xs:attribute>
831 <xs:attribute name="Value" type="xs:string">
832 <xs:annotation>
833 <xs:documentation>Optional value used when setting the variable associated with the set of radio buttons.</xs:documentation>
834 </xs:annotation>
835 </xs:attribute>
836 </xs:complexType>
837 </xs:element>
838
839 <xs:element name="RadioButtons">
840 <xs:annotation>
841 <xs:documentation>Defines a set of radio buttons.</xs:documentation>
842 </xs:annotation>
843 <xs:complexType>
844 <xs:choice maxOccurs="unbounded">
845 <xs:element ref="RadioButton" />
846 </xs:choice>
847 <xs:attribute name="Name" type="xs:string">
848 <xs:annotation>
849 <xs:documentation>Optional variable name for the set of radio buttons.</xs:documentation>
850 </xs:annotation>
851 </xs:attribute>
852 </xs:complexType>
853 </xs:element>
854
855 <xs:element name="Richedit">
856 <xs:annotation>
857 <xs:documentation>Defines a rich edit control.</xs:documentation>
858 </xs:annotation>
859 <xs:complexType mixed="true">
860 <xs:annotation>
861 <xs:documentation>
862 Initial text for the control.
863 Mutually exclusive with the StringId attribute.
864 </xs:documentation>
865 </xs:annotation>
866 <xs:choice minOccurs="0" maxOccurs="unbounded">
867 <xs:element ref="Text" />
868 <xs:element ref="Tooltip" maxOccurs="1" />
869 </xs:choice>
870 <xs:attributeGroup ref="CommonControlAttributes" />
871 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
872 <xs:annotation>
873 <xs:documentation>
874 Numeric identifier to the Font element that serves as the font for the control.
875 </xs:documentation>
876 </xs:annotation>
877 </xs:attribute>
878 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
879 <xs:annotation>
880 <xs:documentation>
881 Identifier that references a string resource in the module to define the initial text for the control.
882 </xs:documentation>
883 </xs:annotation>
884 </xs:attribute>
885 </xs:complexType>
886 </xs:element>
887
888 <xs:element name="Static">
889 <xs:annotation>
890 <xs:documentation>Defines a straight line.</xs:documentation>
891 </xs:annotation>
892 <xs:complexType>
893 <xs:attributeGroup ref="CommonControlAttributes" />
894 </xs:complexType>
895 </xs:element>
896
897 <xs:element name="Tab">
898 <xs:annotation>
899 <xs:documentation>Defines an individual tab within a set of tabs.</xs:documentation>
900 </xs:annotation>
901 <xs:complexType>
902 <xs:simpleContent>
903 <xs:extension base="xs:string">
904 <xs:annotation>
905 <xs:documentation>
906 Caption of the tab.
907 Mutually exclusive with the StringId attribute.
908 </xs:documentation>
909 </xs:annotation>
910 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
911 <xs:annotation>
912 <xs:documentation>
913 Identifier that references a string resource in the module to define the caption of the tab.
914 </xs:documentation>
915 </xs:annotation>
916 </xs:attribute>
917 </xs:extension>
918 </xs:simpleContent>
919 </xs:complexType>
920 </xs:element>
921
922 <xs:element name="Tabs">
923 <xs:annotation>
924 <xs:documentation>Defines a set of tabs.</xs:documentation>
925 </xs:annotation>
926 <xs:complexType>
927 <xs:choice maxOccurs="unbounded">
928 <xs:element ref="Tab" />
929 </xs:choice>
930 <xs:attributeGroup ref="CommonControlAttributes" />
931 <xs:attribute name="FontId" type="xs:nonNegativeInteger" use="required">
932 <xs:annotation>
933 <xs:documentation>Numeric identifier to the Font element that serves as the font for the control.</xs:documentation>
934 </xs:annotation>
935 </xs:attribute>
936 </xs:complexType>
937 </xs:element>
938
939 <xs:element name="Text">
940 <xs:annotation>
941 <xs:documentation>
942 Defines text for the parent control based on an optional condition.
943 If multiple Text elements are given for one control, the conditions should be mutually exclusive (when multiple conditions are true, the behavior is undefined and may be changed at any time).
944 If none of the conditions of a control's Text elements are true, then it uses the text of the Text element without the Condition attribute.
945 </xs:documentation>
946 </xs:annotation>
947 <xs:complexType>
948 <xs:simpleContent>
949 <xs:extension base="xs:string">
950 <xs:annotation>
951 <xs:documentation>
952 Text for the parent control.
953 </xs:documentation>
954 </xs:annotation>
955 <xs:attribute name="Condition" type="xs:string">
956 <xs:annotation>
957 <xs:documentation>
958 The condition that determines when the parent control will use this text.
959 </xs:documentation>
960 </xs:annotation>
961 </xs:attribute>
962 </xs:extension>
963 </xs:simpleContent>
964 </xs:complexType>
965 </xs:element>
966
967 <xs:element name="Tooltip">
968 <xs:annotation>
969 <xs:documentation>
970 Defines text for the parent control's tooltip.
971 </xs:documentation>
972 </xs:annotation>
973 <xs:complexType>
974 <xs:simpleContent>
975 <xs:extension base="xs:string">
976 <xs:annotation>
977 <xs:documentation>
978 Text for the parent control's tooltip.
979 </xs:documentation>
980 </xs:annotation>
981 </xs:extension>
982 </xs:simpleContent>
983 </xs:complexType>
984 </xs:element>
985
986 <xs:element name="TreeView">
987 <xs:annotation>
988 <xs:documentation>Defines a treeview.</xs:documentation>
989 </xs:annotation>
990 <xs:complexType>
991 <xs:attributeGroup ref="CommonControlAttributes"/>
992 <xs:attribute name="AlwaysShowSelect">
993 <xs:annotation>
994 <xs:documentation>Specifies whether the row always appears selected even when the treeview has lost focus.</xs:documentation>
995 </xs:annotation>
996 </xs:attribute>
997 <xs:attribute name="EnableDragDrop">
998 <xs:annotation>
999 <xs:documentation>Specifies whether drag and drop is enabled for the treeview.</xs:documentation>
1000 </xs:annotation>
1001 </xs:attribute>
1002 <xs:attribute name="FullRowSelect">
1003 <xs:annotation>
1004 <xs:documentation>Specifies whether an entire row is selected for the treeview.</xs:documentation>
1005 </xs:annotation>
1006 </xs:attribute>
1007 <xs:attribute name="HasButtons">
1008 <xs:annotation>
1009 <xs:documentation>Specifies whether the treeview will show buttons.</xs:documentation>
1010 </xs:annotation>
1011 </xs:attribute>
1012 <xs:attribute name="HasLines">
1013 <xs:annotation>
1014 <xs:documentation>Specifies whether lines appear for all treeview items.</xs:documentation>
1015 </xs:annotation>
1016 </xs:attribute>
1017 <xs:attribute name="LinesAtRoot">
1018 <xs:annotation>
1019 <xs:documentation>Specifies whether the root nodes have lines beside them.</xs:documentation>
1020 </xs:annotation>
1021 </xs:attribute>
1022 </xs:complexType>
1023 </xs:element>
1024
1025 <xs:element name="Column">
1026 <xs:annotation>
1027 <xs:documentation>A column of a list.</xs:documentation>
1028 </xs:annotation>
1029 <xs:complexType>
1030 <xs:simpleContent>
1031 <xs:extension base="xs:string">
1032 <xs:annotation>
1033 <xs:documentation>
1034 Text for the column header.
1035 Mutually exclusive with the StringId attribute.
1036 </xs:documentation>
1037 </xs:annotation>
1038 <xs:attribute name="Width" type="xs:int">
1039 <xs:annotation>
1040 <xs:documentation>Width of the column.</xs:documentation>
1041 </xs:annotation>
1042 </xs:attribute>
1043 <xs:attribute name="Expands" type="YesNoType">
1044 <xs:annotation>
1045 <xs:documentation>
1046 Whether or not this column can grow to fill available width of the listview.
1047 More than one column can be marked with yes - all expandable columns will share available extra space.
1048 This is especially useful if the Window/@AutoResize is yes.
1049 </xs:documentation>
1050 </xs:annotation>
1051 </xs:attribute>
1052 <xs:attribute name="StringId" type="xs:nonNegativeInteger">
1053 <xs:annotation>
1054 <xs:documentation>
1055 Identifier that references a string resource in the module to define the text for the column header.
1056 </xs:documentation>
1057 </xs:annotation>
1058 </xs:attribute>
1059 </xs:extension>
1060 </xs:simpleContent>
1061 </xs:complexType>
1062 </xs:element>
1063
1064 <xs:group name="ControlElements">
1065 <xs:choice>
1066 <xs:element ref="Billboard" />
1067 <xs:element ref="Button" />
1068 <xs:element ref="Checkbox" />
1069 <xs:element ref="Combobox" />
1070 <xs:element ref="CommandLink" />
1071 <xs:element ref="Editbox" />
1072 <xs:element ref="Hyperlink" />
1073 <xs:element ref="Hypertext" />
1074 <xs:element ref="ImageControl" />
1075 <xs:element ref="Label" />
1076 <xs:element ref="ListView" />
1077 <xs:element ref="Panel" />
1078 <xs:element ref="Progressbar" />
1079 <xs:element ref="RadioButtons" />
1080 <xs:element ref="Richedit" />
1081 <xs:element ref="Static" />
1082 <xs:element ref="Tabs" />
1083 <xs:element ref="TreeView" />
1084 </xs:choice>
1085 </xs:group>
1086
1087 <xs:attributeGroup name="CommonControlAttributes">
1088 <xs:attribute name="Name" type="xs:string">
1089 <xs:annotation>
1090 <xs:documentation>Optional name for the control.</xs:documentation>
1091 </xs:annotation>
1092 </xs:attribute>
1093 <xs:attribute name="DisableAutomaticBehavior" type="YesNoType">
1094 <xs:annotation>
1095 <xs:documentation>Set to 'yes' to disable automatic variable getting and setting, EnableCondition, VisibleCondition, and conditional Text elements. The default is 'no'.</xs:documentation>
1096 </xs:annotation>
1097 </xs:attribute>
1098 <xs:attribute name="EnableCondition" type="xs:string">
1099 <xs:annotation>
1100 <xs:documentation>A condition that determines if the control is enabled. If this condition is true or omitted, then the control will be enabled.</xs:documentation>
1101 </xs:annotation>
1102 </xs:attribute>
1103 <xs:attribute name="Height" type="xs:int" use="required">
1104 <xs:annotation>
1105 <xs:documentation>Height of the control. Non-positive values extend the control to the bottom of the window minus the value.</xs:documentation>
1106 </xs:annotation>
1107 </xs:attribute>
1108 <xs:attribute name="HexStyle" type="xs:hexBinary">
1109 <xs:annotation>
1110 <xs:documentation>Hexadecimal window style for the control.</xs:documentation>
1111 </xs:annotation>
1112 </xs:attribute>
1113 <xs:attribute name="HideWhenDisabled" type="YesNoType">
1114 <xs:annotation>
1115 <xs:documentation>Specifies whether the control should be hidden when disabled.</xs:documentation>
1116 </xs:annotation>
1117 </xs:attribute>
1118 <xs:attribute name="TabStop" type="YesNoType">
1119 <xs:annotation>
1120 <xs:documentation>Specifies whether the control is part of the tab sequence of controls.</xs:documentation>
1121 </xs:annotation>
1122 </xs:attribute>
1123 <xs:attribute name="Visible" type="YesNoType">
1124 <xs:annotation>
1125 <xs:documentation>Specifies whether the control is initially visible.</xs:documentation>
1126 </xs:annotation>
1127 </xs:attribute>
1128 <xs:attribute name="VisibleCondition" type="xs:string">
1129 <xs:annotation>
1130 <xs:documentation>
1131 A condition that determines if the control is visible. If this condition is true or omitted, then the control will be visible.
1132 </xs:documentation>
1133 </xs:annotation>
1134 </xs:attribute>
1135 <xs:attribute name="Width" type="xs:int" use="required">
1136 <xs:annotation>
1137 <xs:documentation>Width of the control. Non-positive values extend the control to the right of the window minus the value.</xs:documentation>
1138 </xs:annotation>
1139 </xs:attribute>
1140 <xs:attribute name="X" type="xs:int" use="required">
1141 <xs:annotation>
1142 <xs:documentation>X coordinate for the control from the left of the window. Negative values are coordinates from the right of the window minus the width of the control.</xs:documentation>
1143 </xs:annotation>
1144 </xs:attribute>
1145 <xs:attribute name="Y" type="xs:int" use="required">
1146 <xs:annotation>
1147 <xs:documentation>Y coordinate for the control from the top of the window. Negative values are coordinates from the bottom of the window minus the height of the control.</xs:documentation>
1148 </xs:annotation>
1149 </xs:attribute>
1150 </xs:attributeGroup>
1151
1152 <xs:simpleType name="YesNoType">
1153 <xs:annotation>
1154 <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
1155 </xs:annotation>
1156 <xs:restriction base="xs:NMTOKEN">
1157 <xs:enumeration value="no"/>
1158 <xs:enumeration value="yes"/>
1159 </xs:restriction>
1160 </xs:simpleType>
1161
1162 <xs:simpleType name="SystemColorType">
1163 <xs:annotation>
1164 <xs:documentation>
1165 Indicates a system color for a font.
1166 </xs:documentation>
1167 </xs:annotation>
1168 <xs:restriction base="xs:NMTOKEN">
1169 <xs:enumeration value="btnface" />
1170 <xs:enumeration value="btntext" />
1171 <xs:enumeration value="graytext" />
1172 <xs:enumeration value="highlight" />
1173 <xs:enumeration value="highlighttext" />
1174 <xs:enumeration value="hotlight" />
1175 <xs:enumeration value="window" />
1176 <xs:enumeration value="windowtext" />
1177 </xs:restriction>
1178 </xs:simpleType>
1179
1180 <xs:simpleType name="FontColorType">
1181 <xs:annotation>
1182 <xs:documentation>
1183 Indicates the foreground or background color of a font.
1184 </xs:documentation>
1185 </xs:annotation>
1186 <xs:union memberTypes="SystemColorType xs:string"/>
1187 </xs:simpleType>
1188</xs:schema>