-
Notifications
You must be signed in to change notification settings - Fork 5
/
xuilib.dtd
493 lines (438 loc) · 11.3 KB
/
xuilib.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
<!--
Comments here
-->
<!ENTITY % BOOL "(true | false)" >
<!ENTITY % ORIENT "(horizontal | vertical)" >
<!--================ core attributes =========================-->
<!ENTITY % coreattrs
"id ID #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
left CDATA #IMPLIED
top CDATA #IMPLIED
hFlex CDATA #IMPLIED
vFlex CDATA #IMPLIED
minwidth CDATA #IMPLIED
minheight CDATA #IMPLIED
maxwidth CDATA #IMPLIED
maxheight CDATA #IMPLIED
cellSpaceX CDATA #IMPLIED
cellSpaceY CDATA #IMPLIED
maxheight CDATA #IMPLIED
columns CDATA #IMPLIED
rows CDATA #IMPLIED
span CDATA #IMPLIED
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
hidden %BOOL; #IMPLIED
disabled %BOOL; #IMPLIED
orient %ORIENT; #IMPLIED"
>
<!ENTITY % label "label CDATA #IMPLIED" >
<!ENTITY % value "value CDATA #IMPLIED" >
<!ELEMENT dialog ANY>
<!ATTLIST dialog
%coreattrs;
caption CDATA #IMPLIED
centerScreen %BOOL; #IMPLIED
contextHelp %BOOL; #IMPLIED
clipChildren %BOOL; #IMPLIED
clipSiblings %BOOL; #IMPLIED
minimizeBox %BOOL; #IMPLIED
maximizeBox %BOOL; #IMPLIED
sysMenu %BOOL; #IMPLIED
titleBar %BOOL; #IMPLIED
border (none | thin | resizing | dialogFrame) #IMPLIED
>
<!ELEMENT disabler EMPTY>
<!ATTLIST disabler
disable %BOOL; #IMPLIED
type (int | emptystring | nonemptystring) #IMPLIED
intval CDATA #IMPLIED
applyto CDATA #REQUIRED
>
<!ELEMENT openhelp EMPTY>
<!ATTLIST openhelp
topic CDATA #REQUIRED
>
<!ELEMENT box ANY>
<!ATTLIST box
%coreattrs;
marginLeft CDATA #IMPLIED
marginRight CDATA #IMPLIED
marginTop CDATA #IMPLIED
marginBottom CDATA #IMPLIED
>
<!ELEMENT button (selectfile | sendcmd | openhelp)*>
<!ATTLIST button
%coreattrs;
%label;
dlgType (button | accept | cancel | help | disclosure) #IMPLIED
default %BOOL; #IMPLIED
>
<!ELEMENT checkbox (disabler*)>
<!ATTLIST checkbox
%coreattrs;
%label;
checked %BOOL; #IMPLIED
auto %BOOL; #IMPLIED
triState %BOOL; #IMPLIED
>
<!ELEMENT groupbox ANY>
<!ATTLIST groupbox
%coreattrs;
%label;
>
<!ELEMENT label EMPTY>
<!ATTLIST label
%coreattrs;
%value;
vcenter %BOOL; #IMPLIED
multiline %BOOL; #IMPLIED
textalign (left|right|center) #IMPLIED
>
<!ELEMENT radio (disabler*)>
<!ATTLIST radio
%coreattrs;
%label;
%value;
selected %BOOL; #IMPLIED
multiline %BOOL; #IMPLIED
vAlign (default|top|bottom|center) #IMPLIED
hAlign (default|left|right|center) #IMPLIED
>
<!ELEMENT radiogroup ANY>
<!ATTLIST radiogroup
%coreattrs;
>
<!ELEMENT spacer EMPTY>
<!ATTLIST spacer
%coreattrs;
>
<!ELEMENT spin EMPTY>
<!ATTLIST spin
%coreattrs;
buddyalign (left|right) #IMPLIED
upper CDATA #IMPLIED
lower CDATA #IMPLIED
pos CDATA #IMPLIED
>
<!ELEMENT textbox (spin | disabler)*>
<!ATTLIST textbox
%coreattrs;
readonly %BOOL; #IMPLIED
multiline %BOOL; #IMPLIED
maxlength CDATA #IMPLIED
textrows CDATA #IMPLIED
textcols CDATA #IMPLIED
size CDATA #IMPLIED
numberonly %BOOL; #IMPLIED
password %BOOL; #IMPLIED
textalign (left|right) #IMPLIED
wantReturn %BOOL; #IMPLIED
autoHScroll %BOOL; #IMPLIED
autoVScroll %BOOL; #IMPLIED
hScroll %BOOL; #IMPLIED
vScroll %BOOL; #IMPLIED
>
<!ELEMENT combobox (listitem | disabler)*>
<!ATTLIST combobox
%coreattrs;
editable %BOOL; #IMPLIED
sorted %BOOL; #IMPLIED
hasstrings %BOOL; #IMPLIED
autoComplete %BOOL; #IMPLIED
size CDATA #IMPLIED
ownerdraw (no | fixed | variable) #IMPLIED
>
<!ELEMENT listitem EMPTY>
<!ATTLIST listitem
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
selected %BOOL; #IMPLIED
%label;
%value;
>
<!ELEMENT tabswitcher (tab*)>
<!ATTLIST tabswitcher
%coreattrs;
imageSize CDATA #IMPLIED
imageAlign (left | top) #IMPLIED
showSwitcher %BOOL; #IMPLIED
showCaption %BOOL; #IMPLIED
>
<!ELEMENT tab ANY>
<!ATTLIST tab
%coreattrs;
%label;
selected %BOOL; #IMPLIED
caption CDATA #IMPLIED
icon CDATA #IMPLIED
value CDATA #IMPLIED
helpTopic CDATA #IMPLIED
setFocus %BOOL; #IMPLIED
>
<!ELEMENT tabbox (tabpanel*)>
<!ATTLIST tabbox
%coreattrs;
>
<!ELEMENT tabpanel ANY>
<!ATTLIST tabpanel
%coreattrs;
%label;
marginLeft CDATA #IMPLIED
marginRight CDATA #IMPLIED
marginBottom CDATA #IMPLIED
marginTop CDATA #IMPLIED
>
<!ELEMENT vsplitter EMPTY>
<!ATTLIST vsplitter
id ID #IMPLIED
>
<!ELEMENT hsplitter EMPTY>
<!ATTLIST hsplitter
id ID #IMPLIED
>
<!ELEMENT color EMPTY>
<!ATTLIST color
%coreattrs;
enableNone %BOOL; #IMPLIED
>
<!ELEMENT slider EMPTY>
<!ATTLIST slider
%coreattrs;
minValue CDATA #IMPLIED
maxValue CDATA #IMPLIED
pos CDATA #IMPLIED
ticFreq CDATA #IMPLIED
noTics %BOOL; #IMPLIED
autoTics %BOOL; #IMPLIED
type %ORIENT; #IMPLIED
invert %BOOL; #IMPLIED
>
<!ELEMENT hotkey EMPTY>
<!ATTLIST hotkey
%coreattrs;
>
<!ELEMENT picture EMPTY>
<!ATTLIST picture
%coreattrs;
pic CDATA #REQUIRED
picWidth CDATA #REQUIRED
picHeight CDATA #REQUIRED
frames CDATA #IMPLIED
animInterval CDATA #IMPLIED
framesOrient (vertical | horizontal) #IMPLIED
>
<!ELEMENT listbox (listitem | disabler)*>
<!ATTLIST listbox
%coreattrs;
multicolumn %BOOL; #IMPLIED
selection (single | multiple | extended | none) #IMPLIED
ownerDraw (none | fixed | variable) #IMPLIED
sort %BOOL; #IMPLIED
nointegralheight %BOOL; #IMPLIED
colWidth CDATA #IMPLIED
>
<!ELEMENT line EMPTY>
<!ATTLIST line
%coreattrs;
type (EtchedHorz | EtchedVert) #IMPLIED
>
<!ELEMENT url EMPTY>
<!ATTLIST url
%coreattrs;
textalign (left | right) #IMPLIED
text CDATA #REQUIRED
url CDATA #REQUIRED
>
<!ELEMENT list (listcol*)>
<!ATTLIST list
%coreattrs;
view (icon | smallicon | list | report) #IMPLIED
NoColHeader %BOOL; #IMPLIED
AutoArrange %BOOL; #IMPLIED
AlwaysShowSelection %BOOL; #IMPLIED
EditLabels %BOOL; #IMPLIED
NoSortHeader %BOOL; #IMPLIED
NoLabelWrap %BOOL; #IMPLIED
NoScroll %BOOL; #IMPLIED
SingleSelection %BOOL; #IMPLIED
ownerDraw %BOOL; #IMPLIED
CheckBoxes %BOOL; #IMPLIED
FullRowSelect %BOOL; #IMPLIED
GridLines %BOOL; #IMPLIED
HeaderDragDrop %BOOL; #IMPLIED
LabelTip %BOOL; #IMPLIED
editColumns %BOOL; #IMPLIED
smallIconsWidth CDATA #IMPLIED
smallIconsHeight CDATA #IMPLIED
>
<!ELEMENT listcol EMPTY>
<!ATTLIST listcol
id ID #IMPLIED
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
caption CDATA #IMPLIED
name CDATA #IMPLIED
size CDATA #IMPLIED
flex CDATA #IMPLIED
icon CDATA #IMPLIED
textalign (left | right | center) #IMPLIED
colHasImages %BOOL; #IMPLIED
image %BOOL; #IMPLIED
bitmapOnRight %BOOL; #IMPLIED
visible %BOOL; #IMPLIED
>
<!ELEMENT selectfile (ext*)>
<!ATTLIST selectfile
id ID #IMPLIED
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
title CDATA #REQUIRED
defExt CDATA #IMPLIED
type (open | save) #REQUIRED
allowMultiSelect %BOOL; #IMPLIED
dontAddRecent %BOOL; #IMPLIED
enableSizing %BOOL; #IMPLIED
explorer %BOOL; #IMPLIED
fileMustExist %BOOL; #IMPLIED
forceHidden %BOOL; #IMPLIED
hideReadOnly %BOOL; #IMPLIED
longNames %BOOL; #IMPLIED
noNetworkButton %BOOL; #IMPLIED
noReadOnlyReturn %BOOL; #IMPLIED
noTestFileCreate %BOOL; #IMPLIED
noValidate %BOOL; #IMPLIED
overwriteprompt %BOOL; #IMPLIED
pathmustexist %BOOL; #IMPLIED
readonly %BOOL; #IMPLIED
shareaware %BOOL; #IMPLIED
showhelp %BOOL; #IMPLIED
createprompt %BOOL; #IMPLIED
saveto CDATA #IMPLIED
>
<!ELEMENT ext EMPTY>
<!ATTLIST ext
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
text CDATA #REQUIRED
extension CDATA #REQUIRED
>
<!ELEMENT checkslist (checkitem*)>
<!ATTLIST checkslist
%coreattrs;
visibleItems CDATA #IMPLIED
>
<!ELEMENT checkitem EMPTY>
<!ATTLIST checkitem
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
label CDATA #REQUIRED
value CDATA #REQUIRED
>
<!ELEMENT freedraw EMPTY>
<!ATTLIST freedraw
%coreattrs;
>
<!ELEMENT contexthelp (tip*)>
<!ATTLIST contexthelp
>
<!ELEMENT tip (#PCDATA)>
<!ATTLIST tip
control IDREF #REQUIRED
img CDATA #IMPLIED
imgWidth CDATA #IMPLIED
imgHeight CDATA #IMPLIED
tag CDATA #IMPLIED
locid CDATA #IMPLIED
noloc CDATA #IMPLIED
>
<!ELEMENT sendcmd EMPTY>
<!ATTLIST sendcmd
cmd CDATA #IMPLIED
sendto IDREF #REQUIRED
inViewerOnly %BOOL; #IMPLIED
>
<!ELEMENT progress EMPTY>
<!ATTLIST progress
%coreattrs;
marquee %BOOL; #IMPLIED
smooth %BOOL; #IMPLIED
smoothreverse %BOOL; #IMPLIED
vertical %BOOL; #IMPLIED
lowLimit CDATA #IMPLIED
highLimit CDATA #IMPLIED
pos CDATA #IMPLIED
>
<!ELEMENT datepicker EMPTY>
<!ATTLIST datepicker
%coreattrs;
format (shortDate | longDate | time) #IMPLIED
showNone %BOOL; #IMPLIED
useSpin %BOOL; #IMPLIED
>
<!ELEMENT statusbar (sbpart*)>
<!ATTLIST statusbar
sizeGrip %BOOL; #IMPLIED
>
<!ELEMENT sbpart EMPTY>
<!ATTLIST sbpart
id ID #IMPLIED
flex CDATA #IMPLIED
>
<!ELEMENT toolbar (toolbarbutton*)>
<!ATTLIST toolbar
id ID #IMPLIED
altDrag %BOOL; #IMPLIED
flat %BOOL; #IMPLIED
list %BOOL; #IMPLIED
tooltips %BOOL; #IMPLIED
drawDDArrows %BOOL; #IMPLIED
mixedButtons %BOOL; #IMPLIED
btnWidth CDATA #IMPLIED
btnHeight CDATA #IMPLIED
>
<!ELEMENT toolbarbutton EMPTY>
<!ATTLIST toolbarbutton
id ID #IMPLIED
button %BOOL; #IMPLIED
check %BOOL; #IMPLIED
checkgroup %BOOL; #IMPLIED
dropdown %BOOL; #IMPLIED
group %BOOL; #IMPLIED
noprefix %BOOL; #IMPLIED
separator %BOOL; #IMPLIED
showtext %BOOL; #IMPLIED
wholedropdown %BOOL; #IMPLIED
label CDATA #IMPLIED
icon CDATA #IMPLIED
tip CDATA #IMPLIED
iconWidth CDATA #IMPLIED
iconHeight CDATA #IMPLIED
>
<!ELEMENT rtf EMPTY>
<!ATTLIST rtf
%coreattrs;
autoHScroll %BOOL; #IMPLIED
autoVScroll %BOOL; #IMPLIED
hScroll %BOOL; #IMPLIED
vScroll %BOOL; #IMPLIED
readonly %BOOL; #IMPLIED
multiline %BOOL; #IMPLIED
wantReturn %BOOL; #IMPLIED
textalign (left|right|center) #IMPLIED
>
<!ELEMENT menupopup (menuitem | menuseparator | menupopup)*>
<!ATTLIST menupopup
id ID #IMPLIED
label CDATA #IMPLIED
>
<!ELEMENT menuitem EMPTY>
<!ATTLIST menuitem
id ID #IMPLIED
label CDATA #IMPLIED
radio %BOOL; #IMPLIED
default %BOOL; #IMPLIED
>
<!ELEMENT menuseparator EMPTY>