1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 Copyright 2008 by Sun Microsystems, Inc.
8 OpenOffice.org - a multi-platform office productivity suite
10 $RCSfile: dialog.dtd,v $
14 This file is part of OpenOffice.org.
16 OpenOffice.org is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License version 3
18 only, as published by the Free Software Foundation.
20 OpenOffice.org is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU Lesser General Public License version 3 for more details
24 (a copy is included in the LICENSE file that accompanied this code).
26 You should have received a copy of the GNU Lesser General Public License
27 version 3 along with OpenOffice.org. If not, see
28 <http://www.openoffice.org/license.html>
29 for a copy of the LGPLv3 License.
33 <!ENTITY % boolean
"(true|false)">
34 <!ENTITY % numeric
"CDATA">
36 <!ENTITY % default-attributes
"dlg:id CDATA #REQUIRED
37 dlg:left %numeric; #REQUIRED
38 dlg:top %numeric; #REQUIRED
39 dlg:width %numeric; #REQUIRED
40 dlg:height %numeric; #REQUIRED
41 dlg:style-id CDATA #IMPLIED
42 dlg:tab-index %numeric; #IMPLIED
43 dlg:disabled %boolean; #IMPLIED
44 dlg:printable %boolean; #IMPLIED
45 dlg:page %numeric; #IMPLIED
46 dlg:tag CDATA #IMPLIED
47 dlg:help-text CDATA #IMPLIED
48 dlg:help-url CDATA #IMPLIED
51 <!ENTITY % event
"(script:event|
52 script:listener-event|
56 <!ENTITY % control
"(dlg:bulletinboard|
78 <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)
>
79 <!ATTLIST dlg:window %default-attributes;
80 dlg:closeable %boolean; #IMPLIED
81 dlg:moveable %boolean; #IMPLIED
82 dlg:resizeable %boolean; #IMPLIED
83 dlg:title CDATA #IMPLIED
84 dlg:withtitlebar CDATA #IMPLIED
85 dlg:image-src CDATA #IMPLIED
86 xmlns:dlg CDATA #FIXED
"http://openoffice.org/2000/dialog"
87 xmlns:script CDATA #FIXED
"http://openoffice.org/2000/script"
90 <!ELEMENT dlg:styles (dlg:style+)
>
92 <!ELEMENT dlg:style EMPTY
>
93 <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
94 dlg:background-color %numeric; #IMPLIED
95 dlg:text-color %numeric; #IMPLIED
96 dlg:textline-color %numeric; #IMPLIED
97 dlg:fill-color %numeric; #IMPLIED
98 dlg:border CDATA #IMPLIED
99 dlg:font-name CDATA #IMPLIED
100 dlg:font-height %numeric; #IMPLIED
101 dlg:font-width %numeric; #IMPLIED
102 dlg:font-stylename CDATA #IMPLIED
103 dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
104 dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
105 dlg:font-pitch (fixed|variable) #IMPLIED
106 dlg:font-charwidth %numeric; #IMPLIED
107 dlg:font-weight %numeric; #IMPLIED
108 dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
109 dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
110 dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
111 dlg:font-orientation CDATA #IMPLIED
112 dlg:font-kerning %boolean; #IMPLIED
113 dlg:font-wordlinemode %boolean; #IMPLIED
114 dlg:font-type (raster|device|scalable) #IMPLIED
115 dlg:font-relief (none|embossed|engraved) #IMPLIED
116 dlg:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED
117 dlg:look (none|
3d|simple) #IMPLIED
120 <!ELEMENT script:event EMPTY
>
121 <!ATTLIST script:event script:location CDATA #IMPLIED
122 script:language CDATA #REQUIRED
123 script:macro-name CDATA #REQUIRED
124 script:event-name CDATA #REQUIRED
126 <!ELEMENT script:listener-event EMPTY
>
127 <!ATTLIST script:listener-event script:location CDATA #IMPLIED
128 script:language CDATA #REQUIRED
129 script:macro-name CDATA #REQUIRED
130 script:listener-type CDATA #REQUIRED
131 script:listener-method CDATA #REQUIRED
132 script:listener-param CDATA #IMPLIED
135 <!ELEMENT dlg:event EMPTY
>
136 <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
137 dlg:event-method CDATA #REQUIRED
138 dlg:script-type CDATA #IMPLIED
139 dlg:script-code CDATA #IMPLIED
140 dlg:param CDATA #IMPLIED
144 <!ELEMENT dlg:bulletinboard ((%control;)*)
>
145 <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
146 dlg:top %numeric; #IMPLIED
149 <!ELEMENT dlg:button ((%event;)*)
>
150 <!ATTLIST dlg:button %default-attributes;
151 dlg:value CDATA #IMPLIED
152 dlg:align (left|center|right) #IMPLIED
153 dlg:valign (top|center|bottom) #IMPLIED
154 dlg:checked %boolean; #IMPLIED
155 dlg:image-src CDATA #IMPLIED
156 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
157 dlg:image-align (top|left|right|bottom) #IMPLIED
158 dlg:default %boolean; #IMPLIED
159 dlg:tabstop %boolean; #IMPLIED
160 dlg:button-type (standard|ok|cancel|help) #IMPLIED
161 dlg:repeat %numeric; #IMPLIED
162 dlg:toggled (
0|
1) #IMPLIED
163 dlg:grab-focus (true|false) #IMPLIED
164 dlg:multiline %boolean; #IMPLIED
167 <!ELEMENT dlg:checkbox ((%event;)*)
>
168 <!ATTLIST dlg:checkbox %default-attributes;
169 dlg:value CDATA #IMPLIED
170 dlg:align (left|center|right) #IMPLIED
171 dlg:valign (top|center|bottom) #IMPLIED
172 dlg:checked %boolean; #IMPLIED
173 dlg:tristate %boolean; #IMPLIED
174 dlg:tabstop %boolean; #IMPLIED
175 dlg:image-src CDATA #IMPLIED
176 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
177 dlg:multiline %boolean; #IMPLIED
180 <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)
>
181 <!ATTLIST dlg:combobox %default-attributes;
182 dlg:tabstop %boolean; #IMPLIED
183 dlg:readonly %boolean; #IMPLIED
184 dlg:autocomplete %boolean; #IMPLIED
185 dlg:spin %boolean; #IMPLIED
186 dlg:maxlength %numeric; #IMPLIED
187 dlg:linecount %numeric; #IMPLIED
188 dlg:value CDATA #IMPLIED
189 dlg:hide-inactive-selection %boolean; #IMPLIED
190 dlg:align (left|center|right) #IMPLIED
193 <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)
>
194 <!ATTLIST dlg:menulist %default-attributes;
195 dlg:tabstop %boolean; #IMPLIED
196 dlg:spin %boolean; #IMPLIED
197 dlg:multiselection %boolean; #IMPLIED
198 dlg:readonly %boolean; #IMPLIED
199 dlg:linecount %numeric; #IMPLIED
200 dlg:align (left|center|right) #IMPLIED
203 <!ELEMENT dlg:menupopup (dlg:menuitem+)
>
204 <!ELEMENT dlg:menuitem EMPTY
>
205 <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
206 dlg:selected %boolean; #IMPLIED
209 <!ELEMENT dlg:radiogroup (dlg:radio+)
>
210 <!ELEMENT dlg:radio ((%event;)*)
>
211 <!ATTLIST dlg:radio %default-attributes;
212 dlg:value CDATA #IMPLIED
213 dlg:align (left|center|right) #IMPLIED
214 dlg:valign (top|center|bottom) #IMPLIED
215 dlg:checked %boolean; #IMPLIED
216 dlg:tabstop %boolean; #IMPLIED
217 dlg:image-src CDATA #IMPLIED
218 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
219 dlg:multiline %boolean; #IMPLIED
222 <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)
>
223 <!ATTLIST dlg:titledbox %default-attributes;
225 <!ELEMENT dlg:title EMPTY
>
226 <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
229 <!ELEMENT dlg:text ((%event;)*)
>
230 <!ATTLIST dlg:text %default-attributes;
231 dlg:value CDATA #IMPLIED
232 dlg:align (left|center|right) #IMPLIED
233 dlg:valign (top|center|bottom) #IMPLIED
234 dlg:multiline %boolean; #IMPLIED
235 dlg:tabstop %boolean; #IMPLIED
238 <!ELEMENT dlg:textfield ((%event;)*)
>
239 <!ATTLIST dlg:textfield %default-attributes;
240 dlg:tabstop %boolean; #IMPLIED
241 dlg:align (left|center|right) #IMPLIED
242 dlg:readonly %boolean; #IMPLIED
243 dlg:echochar CDATA #IMPLIED
244 dlg:hard-linebreaks %boolean; #IMPLIED
245 dlg:hscroll %boolean; #IMPLIED
246 dlg:vscroll %boolean; #IMPLIED
247 dlg:maxlength %numeric; #IMPLIED
248 dlg:multiline %boolean; #IMPLIED
249 dlg:value CDATA #IMPLIED
250 dlg:hide-inactive-selection %boolean; #IMPLIED
251 dlg:lineend-format (carriage-return|line-feed|carriage-return-line-feed) #IMPLIED
254 <!ELEMENT dlg:img ((%event;)*)
>
255 <!ATTLIST dlg:img %default-attributes;
256 dlg:src CDATA #IMPLIED
257 dlg:scale-image %boolean; #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