Prepare for removal of non-const operator[] from Sequence in vbahelper
[LibreOffice.git] / xmlscript / dtd / dialog.dtd
blob7290b8d2225743a79728ddec83c1bf4a812cc2b4
1 <!--
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 -->
19 <!ENTITY % boolean "(true|false)">
20 <!ENTITY % numeric "CDATA">
22 <!ENTITY % default-attributes "dlg:id CDATA #REQUIRED
23 dlg:left %numeric; #REQUIRED
24 dlg:top %numeric; #REQUIRED
25 dlg:width %numeric; #REQUIRED
26 dlg:height %numeric; #REQUIRED
27 dlg:style-id CDATA #IMPLIED
28 dlg:tab-index %numeric; #IMPLIED
29 dlg:disabled %boolean; #IMPLIED
30 dlg:printable %boolean; #IMPLIED
31 dlg:page %numeric; #IMPLIED
32 dlg:tag CDATA #IMPLIED
33 dlg:help-text CDATA #IMPLIED
34 dlg:help-url CDATA #IMPLIED
37 <!ENTITY % event "(script:event|
38 script:listener-event|
39 dlg:event
40 )">
42 <!ENTITY % control "(dlg:bulletinboard|
43 dlg:button|
44 dlg:checkbox|
45 dlg:combobox|
46 dlg:menulist|
47 dlg:radiogroup|
48 dlg:titledbox|
49 dlg:textfield|
50 dlg:text|
51 dlg:filecontrol|
52 dlg:img|
53 dlg:timefield|
54 dlg:datefield|
55 dlg:numericfield|
56 dlg:currencyfield|
57 dlg:patternfield|
58 dlg:formattedfield|
59 dlg:fixedline|
60 dlg:progressmeter|
61 dlg:scrollbar|
62 dlg:table|
63 dlg:linklabel
64 )">
66 <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)>
67 <!ATTLIST dlg:window %default-attributes;
68 dlg:closeable %boolean; #IMPLIED
69 dlg:moveable %boolean; #IMPLIED
70 dlg:resizeable %boolean; #IMPLIED
71 dlg:title CDATA #IMPLIED
72 dlg:withtitlebar CDATA #IMPLIED
73 dlg:image-src CDATA #IMPLIED
74 xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
75 xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"
78 <!ELEMENT dlg:styles (dlg:style+)>
80 <!ELEMENT dlg:style EMPTY>
81 <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
82 dlg:background-color %numeric; #IMPLIED
83 dlg:text-color %numeric; #IMPLIED
84 dlg:textline-color %numeric; #IMPLIED
85 dlg:fill-color %numeric; #IMPLIED
86 dlg:border CDATA #IMPLIED
87 dlg:font-name CDATA #IMPLIED
88 dlg:font-height %numeric; #IMPLIED
89 dlg:font-width %numeric; #IMPLIED
90 dlg:font-stylename CDATA #IMPLIED
91 dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
92 dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
93 dlg:font-pitch (fixed|variable) #IMPLIED
94 dlg:font-charwidth %numeric; #IMPLIED
95 dlg:font-weight %numeric; #IMPLIED
96 dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
97 dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
98 dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
99 dlg:font-orientation CDATA #IMPLIED
100 dlg:font-kerning %boolean; #IMPLIED
101 dlg:font-wordlinemode %boolean; #IMPLIED
102 dlg:font-type (raster|device|scalable) #IMPLIED
103 dlg:font-relief (none|embossed|engraved) #IMPLIED
104 dlg:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED
105 dlg:look (none|3d|simple) #IMPLIED
108 <!ELEMENT script:event EMPTY>
109 <!ATTLIST script:event script:location CDATA #IMPLIED
110 script:language CDATA #REQUIRED
111 script:macro-name CDATA #REQUIRED
112 script:event-name CDATA #REQUIRED
114 <!ELEMENT script:listener-event EMPTY>
115 <!ATTLIST script:listener-event script:location CDATA #IMPLIED
116 script:language CDATA #REQUIRED
117 script:macro-name CDATA #REQUIRED
118 script:listener-type CDATA #REQUIRED
119 script:listener-method CDATA #REQUIRED
120 script:listener-param CDATA #IMPLIED
122 <!-- deprecated -->
123 <!ELEMENT dlg:event EMPTY>
124 <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
125 dlg:event-method CDATA #REQUIRED
126 dlg:script-type CDATA #IMPLIED
127 dlg:script-code CDATA #IMPLIED
128 dlg:param CDATA #IMPLIED
130 <!-- /deprecated -->
132 <!ELEMENT dlg:bulletinboard ((%control;)*)>
133 <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
134 dlg:top %numeric; #IMPLIED
137 <!ELEMENT dlg:button ((%event;)*)>
138 <!ATTLIST dlg:button %default-attributes;
139 dlg:value CDATA #IMPLIED
140 dlg:align (left|center|right) #IMPLIED
141 dlg:valign (top|center|bottom) #IMPLIED
142 dlg:checked %boolean; #IMPLIED
143 dlg:image-src CDATA #IMPLIED
144 dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
145 dlg:image-align (top|left|right|bottom) #IMPLIED
146 dlg:default %boolean; #IMPLIED
147 dlg:tabstop %boolean; #IMPLIED
148 dlg:button-type (standard|ok|cancel|help) #IMPLIED
149 dlg:repeat %numeric; #IMPLIED
150 dlg:toggled (0|1) #IMPLIED
151 dlg:grab-focus (true|false) #IMPLIED
152 dlg:multiline %boolean; #IMPLIED
155 <!ELEMENT dlg:checkbox ((%event;)*)>
156 <!ATTLIST dlg:checkbox %default-attributes;
157 dlg:value CDATA #IMPLIED
158 dlg:align (left|center|right) #IMPLIED
159 dlg:valign (top|center|bottom) #IMPLIED
160 dlg:checked %boolean; #IMPLIED
161 dlg:tristate %boolean; #IMPLIED
162 dlg:tabstop %boolean; #IMPLIED
163 dlg:image-src CDATA #IMPLIED
164 dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
165 dlg:multiline %boolean; #IMPLIED
168 <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)>
169 <!ATTLIST dlg:combobox %default-attributes;
170 dlg:tabstop %boolean; #IMPLIED
171 dlg:readonly %boolean; #IMPLIED
172 dlg:autocomplete %boolean; #IMPLIED
173 dlg:spin %boolean; #IMPLIED
174 dlg:maxlength %numeric; #IMPLIED
175 dlg:linecount %numeric; #IMPLIED
176 dlg:value CDATA #IMPLIED
177 dlg:hide-inactive-selection %boolean; #IMPLIED
178 dlg:align (left|center|right) #IMPLIED
181 <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)>
182 <!ATTLIST dlg:menulist %default-attributes;
183 dlg:tabstop %boolean; #IMPLIED
184 dlg:spin %boolean; #IMPLIED
185 dlg:multiselection %boolean; #IMPLIED
186 dlg:readonly %boolean; #IMPLIED
187 dlg:linecount %numeric; #IMPLIED
188 dlg:align (left|center|right) #IMPLIED
191 <!ELEMENT dlg:menupopup (dlg:menuitem+)>
192 <!ELEMENT dlg:menuitem EMPTY>
193 <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
194 dlg:selected %boolean; #IMPLIED
197 <!ELEMENT dlg:radiogroup (dlg:radio+)>
198 <!ELEMENT dlg:radio ((%event;)*)>
199 <!ATTLIST dlg:radio %default-attributes;
200 dlg:value CDATA #IMPLIED
201 dlg:align (left|center|right) #IMPLIED
202 dlg:valign (top|center|bottom) #IMPLIED
203 dlg:checked %boolean; #IMPLIED
204 dlg:tabstop %boolean; #IMPLIED
205 dlg:image-src CDATA #IMPLIED
206 dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
207 dlg:multiline %boolean; #IMPLIED
210 <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)>
211 <!ATTLIST dlg:titledbox %default-attributes;
213 <!ELEMENT dlg:title EMPTY>
214 <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
217 <!ELEMENT dlg:text ((%event;)*)>
218 <!ATTLIST dlg:text %default-attributes;
219 dlg:value CDATA #IMPLIED
220 dlg:align (left|center|right) #IMPLIED
221 dlg:valign (top|center|bottom) #IMPLIED
222 dlg:multiline %boolean; #IMPLIED
223 dlg:tabstop %boolean; #IMPLIED
227 <!ELEMENT dlg:linklabel ((%event;)*)>
228 <!ATTLIST dlg:linklabel %default-attributes;
229 dlg:value CDATA #IMPLIED
230 dlg:url CDATA #IMPLIED
231 dlg:align (left|center|right) #IMPLIED
232 dlg:valign (top|center|bottom) #IMPLIED
233 dlg:multiline %boolean; #IMPLIED
234 dlg:tabstop %boolean; #IMPLIED
237 <!ELEMENT dlg:textfield ((%event;)*)>
238 <!ATTLIST dlg:textfield %default-attributes;
239 dlg:tabstop %boolean; #IMPLIED
240 dlg:align (left|center|right) #IMPLIED
241 dlg:readonly %boolean; #IMPLIED
242 dlg:echochar CDATA #IMPLIED
243 dlg:hard-linebreaks %boolean; #IMPLIED
244 dlg:hscroll %boolean; #IMPLIED
245 dlg:vscroll %boolean; #IMPLIED
246 dlg:maxlength %numeric; #IMPLIED
247 dlg:multiline %boolean; #IMPLIED
248 dlg:value CDATA #IMPLIED
249 dlg:hide-inactive-selection %boolean; #IMPLIED
250 dlg:lineend-format (carriage-return|line-feed|carriage-return-line-feed) #IMPLIED
253 <!ELEMENT dlg:img ((%event;)*)>
254 <!ATTLIST dlg:img %default-attributes;
255 dlg:src CDATA #IMPLIED
256 dlg:scale-image %boolean; #IMPLIED
257 dlg:scale-mode (none|isotropic|anisotropic) #IMPLIED
258 dlg:tabstop %boolean; #IMPLIED
261 <!ELEMENT dlg:filecontrol ((%event;)*)>
262 <!ATTLIST dlg:filecontrol %default-attributes;
263 dlg:tabstop %boolean; #IMPLIED
264 dlg:value CDATA #IMPLIED
265 dlg:hide-inactive-selection %boolean; #IMPLIED
266 dlg:readonly %boolean; #IMPLIED
269 <!ELEMENT dlg:treecontrol ((%event;)*)>
270 <!ATTLIST dlg:treecontrol %default-attributes;
271 dlg:selectiontype CDATA #IMPLIED
272 dlg:rootdisplayed %boolean; #IMPLIED
273 dlg:showshandles %boolean; #IMPLIED
274 dlg:showsroothandles %boolean; #IMPLIED
275 dlg:rowheight %boolean; #IMPLIED
276 dlg:editable %numeric; #IMPLIED
277 dlg:invokesstopnodeediting %boolean; #IMPLIED
280 <!ELEMENT dlg:currencyfield ((%event;)*)>
281 <!ATTLIST dlg:currencyfield %default-attributes;
282 dlg:tabstop %boolean; #IMPLIED
283 dlg:readonly %boolean; #IMPLIED
284 dlg:currency-symbol CDATA #IMPLIED
285 dlg:strict-format %boolean; #IMPLIED
286 dlg:decimal-accuracy %numeric; #IMPLIED
287 dlg:thousands-separator %boolean; #IMPLIED
288 dlg:value %numeric; #IMPLIED
289 dlg:value-min %numeric; #IMPLIED
290 dlg:value-max %numeric; #IMPLIED
291 dlg:value-step %numeric; #IMPLIED
292 dlg:spin %boolean; #IMPLIED
293 dlg:repeat %numeric; #IMPLIED
294 dlg:hide-inactive-selection %boolean; #IMPLIED
295 dlg:prepend-symbol %boolean; #IMPLIED
296 dlg:enforce-format %boolean; #IMPLIED
299 <!ELEMENT dlg:datefield ((%event;)*)>
300 <!ATTLIST dlg:datefield %default-attributes;
301 dlg:tabstop %boolean; #IMPLIED
302 dlg:readonly %boolean; #IMPLIED
303 dlg:strict-format %boolean; #IMPLIED
304 dlg:date-format (system_short|system_short_YY|system_short_YYYY|system_long|short_DDMMYY|short_MMDDYY|short_YYMMDD|short_DDMMYYYY|short_MMDDYYYY|short_YYYYMMDD|short_YYMMDD_DIN5008|short_YYYYMMDD_DIN5008) #IMPLIED
305 dlg:show-century %boolean; #IMPLIED
306 dlg:value CDATA #IMPLIED
307 dlg:value-min CDATA #IMPLIED
308 dlg:value-max CDATA #IMPLIED
309 dlg:spin %boolean; #IMPLIED
310 dlg:repeat %numeric; #IMPLIED
311 dlg:hide-inactive-selection %boolean; #IMPLIED
312 dlg:dropdown %boolean; #IMPLIED
313 dlg:text CDATA #IMPLIED
314 dlg:enforce-format %boolean; #IMPLIED
317 <!ELEMENT dlg:numericfield ((%event;)*)>
318 <!ATTLIST dlg:numericfield %default-attributes;
319 dlg:tabstop %boolean; #IMPLIED
320 dlg:readonly %boolean; #IMPLIED
321 dlg:strict-format %boolean; #IMPLIED
322 dlg:decimal-accuracy %numeric; #IMPLIED
323 dlg:thousands-separator %boolean; #IMPLIED
324 dlg:value %numeric; #IMPLIED
325 dlg:value-min %numeric; #IMPLIED
326 dlg:value-max %numeric; #IMPLIED
327 dlg:value-step %numeric; #IMPLIED
328 dlg:spin %boolean; #IMPLIED
329 dlg:repeat %numeric; #IMPLIED
330 dlg:hide-inactive-selection %boolean; #IMPLIED
331 dlg:enforce-format %boolean; #IMPLIED
334 <!ELEMENT dlg:timefield ((%event;)*)>
335 <!ATTLIST dlg:timefield %default-attributes;
336 dlg:tabstop %boolean; #IMPLIED
337 dlg:readonly %boolean; #IMPLIED
338 dlg:strict-format %boolean; #IMPLIED
339 dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
340 dlg:value CDATA #IMPLIED
341 dlg:value-min CDATA #IMPLIED
342 dlg:value-max CDATA #IMPLIED
343 dlg:spin %boolean; #IMPLIED
344 dlg:repeat %numeric; #IMPLIED
345 dlg:hide-inactive-selection %boolean; #IMPLIED
346 dlg:text CDATA #IMPLIED
347 dlg:enforce-format %boolean; #IMPLIED
350 <!ELEMENT dlg:patternfield ((%event;)*)>
351 <!ATTLIST dlg:patternfield %default-attributes;
352 dlg:tabstop %boolean; #IMPLIED
353 dlg:readonly %boolean; #IMPLIED
354 dlg:strict-format %boolean; #IMPLIED
355 dlg:edit-mask CDATA #IMPLIED
356 dlg:literal-mask CDATA #IMPLIED
357 dlg:value CDATA #IMPLIED
358 dlg:maxlength %numeric; #IMPLIED
359 dlg:hide-inactive-selection %boolean; #IMPLIED
362 <!ELEMENT dlg:formattedfield ((%event;)*)>
363 <!ATTLIST dlg:formattedfield %default-attributes;
364 dlg:tabstop %boolean; #IMPLIED
365 dlg:readonly %boolean; #IMPLIED
366 dlg:strict-format %boolean; #IMPLIED
367 dlg:maxlength %numeric; #IMPLIED
368 dlg:spin %boolean; #IMPLIED
369 dlg:align (left|center|right) #IMPLIED
370 dlg:text CDATA #IMPLIED
371 dlg:value-default CDATA #IMPLIED
372 dlg:value-max %numeric; #IMPLIED
373 dlg:value-min %numeric; #IMPLIED
374 dlg:value %numeric; #IMPLIED
375 dlg:format-code CDATA #IMPLIED
376 dlg:format-locale CDATA #IMPLIED
377 dlg:repeat %numeric; #IMPLIED
378 dlg:hide-inactive-selection %boolean; #IMPLIED
379 dlg:treat-as-number %boolean; #IMPLIED
380 dlg:enforce-format %boolean; #IMPLIED
383 <!ELEMENT dlg:fixedline ((%event;)*)>
384 <!ATTLIST dlg:fixedline %default-attributes;
385 dlg:align (horizontal|vertical) #IMPLIED
386 dlg:value CDATA #IMPLIED
389 <!ELEMENT dlg:scrollbar ((%event;)*)>
390 <!ATTLIST dlg:scrollbar %default-attributes;
391 dlg:align (horizontal|vertical) #IMPLIED
392 dlg:curpos %numeric; #IMPLIED
393 dlg:maxpos %numeric; #IMPLIED
394 dlg:minpos %numeric; #IMPLIED
395 dlg:increment %numeric; #IMPLIED
396 dlg:pageincrement %numeric; #IMPLIED
397 dlg:visible-size %numeric; #IMPLIED
398 dlg:repeat %numeric; #IMPLIED
399 dlg:tabstop %boolean; #IMPLIED
400 dlg:live-scroll %boolean; #IMPLIED
401 dlg:symbol-color %numeric; #IMPLIED
404 <!ELEMENT dlg:progressmeter ((%event;)*)>
405 <!ATTLIST dlg:progressmeter %default-attributes;
406 dlg:value %numeric; #IMPLIED
407 dlg:value-min %numeric; #IMPLIED
408 dlg:value-max %numeric; #IMPLIED
411 <!ELEMENT dlg:table ((%event;)*)>
412 <!ATTLIST dlg:table %default-attributes;
413 dlg:showcolumnheader %boolean; #IMPLIED
414 dlg:showrowheader %boolean; #IMPLIED
415 dlg:gridline-color %numeric; #IMPLIED
416 dlg:usegridlines %boolean; #IMPLIED
417 dlg:headerbackground-color %numeric; #IMPLIED
418 dlg:headertext-color %numeric; #IMPLIED
419 dlg:activeselectionbackground-color %numeric; #IMPLIED
420 dlg:activeselectiontext-color %numeric; #IMPLIED
421 dlg:inactiveselectionbackground-color %numeric; #IMPLIED
422 dlg:inactiveselectiontext-color %numeric; #IMPLIED
423 dlg:selectiontype CDATA #IMPLIED
424 dlg:valign (top|center|bottom) #IMPLIED
425 dlg:tabstop %boolean; #IMPLIED