1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 <!ENTITY % boolean
"(true|false)">
21 <!ENTITY % numeric
"CDATA">
23 <!ENTITY % default-attributes
"dlg:id CDATA #REQUIRED
24 dlg:left %numeric; #REQUIRED
25 dlg:top %numeric; #REQUIRED
26 dlg:width %numeric; #REQUIRED
27 dlg:height %numeric; #REQUIRED
28 dlg:style-id CDATA #IMPLIED
29 dlg:tab-index %numeric; #IMPLIED
30 dlg:disabled %boolean; #IMPLIED
31 dlg:printable %boolean; #IMPLIED
32 dlg:page %numeric; #IMPLIED
33 dlg:tag CDATA #IMPLIED
34 dlg:help-text CDATA #IMPLIED
35 dlg:help-url CDATA #IMPLIED
38 <!ENTITY % event
"(script:event|
39 script:listener-event|
43 <!ENTITY % control
"(dlg:bulletinboard|
65 <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)
>
66 <!ATTLIST dlg:window %default-attributes;
67 dlg:closeable %boolean; #IMPLIED
68 dlg:moveable %boolean; #IMPLIED
69 dlg:resizeable %boolean; #IMPLIED
70 dlg:title CDATA #IMPLIED
71 dlg:withtitlebar CDATA #IMPLIED
72 dlg:image-src CDATA #IMPLIED
73 xmlns:dlg CDATA #FIXED
"http://openoffice.org/2000/dialog"
74 xmlns:script CDATA #FIXED
"http://openoffice.org/2000/script"
77 <!ELEMENT dlg:styles (dlg:style+)
>
79 <!ELEMENT dlg:style EMPTY
>
80 <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
81 dlg:background-color %numeric; #IMPLIED
82 dlg:text-color %numeric; #IMPLIED
83 dlg:textline-color %numeric; #IMPLIED
84 dlg:fill-color %numeric; #IMPLIED
85 dlg:border CDATA #IMPLIED
86 dlg:font-name CDATA #IMPLIED
87 dlg:font-height %numeric; #IMPLIED
88 dlg:font-width %numeric; #IMPLIED
89 dlg:font-stylename CDATA #IMPLIED
90 dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
91 dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
92 dlg:font-pitch (fixed|variable) #IMPLIED
93 dlg:font-charwidth %numeric; #IMPLIED
94 dlg:font-weight %numeric; #IMPLIED
95 dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
96 dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
97 dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
98 dlg:font-orientation CDATA #IMPLIED
99 dlg:font-kerning %boolean; #IMPLIED
100 dlg:font-wordlinemode %boolean; #IMPLIED
101 dlg:font-type (raster|device|scalable) #IMPLIED
102 dlg:font-relief (none|embossed|engraved) #IMPLIED
103 dlg:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED
104 dlg:look (none|
3d|simple) #IMPLIED
107 <!ELEMENT script:event EMPTY
>
108 <!ATTLIST script:event script:location CDATA #IMPLIED
109 script:language CDATA #REQUIRED
110 script:macro-name CDATA #REQUIRED
111 script:event-name CDATA #REQUIRED
113 <!ELEMENT script:listener-event EMPTY
>
114 <!ATTLIST script:listener-event script:location CDATA #IMPLIED
115 script:language CDATA #REQUIRED
116 script:macro-name CDATA #REQUIRED
117 script:listener-type CDATA #REQUIRED
118 script:listener-method CDATA #REQUIRED
119 script:listener-param CDATA #IMPLIED
122 <!ELEMENT dlg:event EMPTY
>
123 <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
124 dlg:event-method CDATA #REQUIRED
125 dlg:script-type CDATA #IMPLIED
126 dlg:script-code CDATA #IMPLIED
127 dlg:param CDATA #IMPLIED
131 <!ELEMENT dlg:bulletinboard ((%control;)*)
>
132 <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
133 dlg:top %numeric; #IMPLIED
136 <!ELEMENT dlg:button ((%event;)*)
>
137 <!ATTLIST dlg:button %default-attributes;
138 dlg:value CDATA #IMPLIED
139 dlg:align (left|center|right) #IMPLIED
140 dlg:valign (top|center|bottom) #IMPLIED
141 dlg:checked %boolean; #IMPLIED
142 dlg:image-src CDATA #IMPLIED
143 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
144 dlg:image-align (top|left|right|bottom) #IMPLIED
145 dlg:default %boolean; #IMPLIED
146 dlg:tabstop %boolean; #IMPLIED
147 dlg:button-type (standard|ok|cancel|help) #IMPLIED
148 dlg:repeat %numeric; #IMPLIED
149 dlg:toggled (
0|
1) #IMPLIED
150 dlg:grab-focus (true|false) #IMPLIED
151 dlg:multiline %boolean; #IMPLIED
154 <!ELEMENT dlg:checkbox ((%event;)*)
>
155 <!ATTLIST dlg:checkbox %default-attributes;
156 dlg:value CDATA #IMPLIED
157 dlg:align (left|center|right) #IMPLIED
158 dlg:valign (top|center|bottom) #IMPLIED
159 dlg:checked %boolean; #IMPLIED
160 dlg:tristate %boolean; #IMPLIED
161 dlg:tabstop %boolean; #IMPLIED
162 dlg:image-src CDATA #IMPLIED
163 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
164 dlg:multiline %boolean; #IMPLIED
167 <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)
>
168 <!ATTLIST dlg:combobox %default-attributes;
169 dlg:tabstop %boolean; #IMPLIED
170 dlg:readonly %boolean; #IMPLIED
171 dlg:autocomplete %boolean; #IMPLIED
172 dlg:spin %boolean; #IMPLIED
173 dlg:maxlength %numeric; #IMPLIED
174 dlg:linecount %numeric; #IMPLIED
175 dlg:value CDATA #IMPLIED
176 dlg:hide-inactive-selection %boolean; #IMPLIED
177 dlg:align (left|center|right) #IMPLIED
180 <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)
>
181 <!ATTLIST dlg:menulist %default-attributes;
182 dlg:tabstop %boolean; #IMPLIED
183 dlg:spin %boolean; #IMPLIED
184 dlg:multiselection %boolean; #IMPLIED
185 dlg:readonly %boolean; #IMPLIED
186 dlg:linecount %numeric; #IMPLIED
187 dlg:align (left|center|right) #IMPLIED
190 <!ELEMENT dlg:menupopup (dlg:menuitem+)
>
191 <!ELEMENT dlg:menuitem EMPTY
>
192 <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
193 dlg:selected %boolean; #IMPLIED
196 <!ELEMENT dlg:radiogroup (dlg:radio+)
>
197 <!ELEMENT dlg:radio ((%event;)*)
>
198 <!ATTLIST dlg:radio %default-attributes;
199 dlg:value CDATA #IMPLIED
200 dlg:align (left|center|right) #IMPLIED
201 dlg:valign (top|center|bottom) #IMPLIED
202 dlg:checked %boolean; #IMPLIED
203 dlg:tabstop %boolean; #IMPLIED
204 dlg:image-src CDATA #IMPLIED
205 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
206 dlg:multiline %boolean; #IMPLIED
209 <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)
>
210 <!ATTLIST dlg:titledbox %default-attributes;
212 <!ELEMENT dlg:title EMPTY
>
213 <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
216 <!ELEMENT dlg:text ((%event;)*)
>
217 <!ATTLIST dlg:text %default-attributes;
218 dlg:value CDATA #IMPLIED
219 dlg:align (left|center|right) #IMPLIED
220 dlg:valign (top|center|bottom) #IMPLIED
221 dlg:multiline %boolean; #IMPLIED
222 dlg:tabstop %boolean; #IMPLIED
225 <!ELEMENT dlg:textfield ((%event;)*)
>
226 <!ATTLIST dlg:textfield %default-attributes;
227 dlg:tabstop %boolean; #IMPLIED
228 dlg:align (left|center|right) #IMPLIED
229 dlg:readonly %boolean; #IMPLIED
230 dlg:echochar CDATA #IMPLIED
231 dlg:hard-linebreaks %boolean; #IMPLIED
232 dlg:hscroll %boolean; #IMPLIED
233 dlg:vscroll %boolean; #IMPLIED
234 dlg:maxlength %numeric; #IMPLIED
235 dlg:multiline %boolean; #IMPLIED
236 dlg:value CDATA #IMPLIED
237 dlg:hide-inactive-selection %boolean; #IMPLIED
238 dlg:lineend-format (carriage-return|line-feed|carriage-return-line-feed) #IMPLIED
241 <!ELEMENT dlg:img ((%event;)*)
>
242 <!ATTLIST dlg:img %default-attributes;
243 dlg:src CDATA #IMPLIED
244 dlg:scale-image %boolean; #IMPLIED
245 dlg:tabstop %boolean; #IMPLIED
248 <!ELEMENT dlg:filecontrol ((%event;)*)
>
249 <!ATTLIST dlg:filecontrol %default-attributes;
250 dlg:tabstop %boolean; #IMPLIED
251 dlg:value CDATA #IMPLIED
252 dlg:hide-inactive-selection %boolean; #IMPLIED
253 dlg:readonly %boolean; #IMPLIED
256 <!ELEMENT dlg:treecontrol ((%event;)*)
>
257 <!ATTLIST dlg:treecontrol %default-attributes;
258 dlg:selectiontype CDATA #IMPLIED
259 dlg:rootdisplayed %boolean; #IMPLIED
260 dlg:showshandles %boolean; #IMPLIED
261 dlg:showsroothandles %boolean; #IMPLIED
262 dlg:rowheight %boolean; #IMPLIED
263 dlg:editable %numeric; #IMPLIED
264 dlg:invokesstopnodeediting %boolean; #IMPLIED
267 <!ELEMENT dlg:currencyfield ((%event;)*)
>
268 <!ATTLIST dlg:currencyfield %default-attributes;
269 dlg:tabstop %boolean; #IMPLIED
270 dlg:readonly %boolean; #IMPLIED
271 dlg:currency-symbol CDATA #IMPLIED
272 dlg:strict-format %boolean; #IMPLIED
273 dlg:decimal-accuracy %numeric; #IMPLIED
274 dlg:thousands-separator %boolean; #IMPLIED
275 dlg:value %numeric; #IMPLIED
276 dlg:value-min %numeric; #IMPLIED
277 dlg:value-max %numeric; #IMPLIED
278 dlg:value-step %numeric; #IMPLIED
279 dlg:spin %boolean; #IMPLIED
280 dlg:repeat %numeric; #IMPLIED
281 dlg:hide-inactive-selection %boolean; #IMPLIED
282 dlg:prepend-symbol %boolean; #IMPLIED
283 dlg:enforce-format %boolean; #IMPLIED
286 <!ELEMENT dlg:datefield ((%event;)*)
>
287 <!ATTLIST dlg:datefield %default-attributes;
288 dlg:tabstop %boolean; #IMPLIED
289 dlg:readonly %boolean; #IMPLIED
290 dlg:strict-format %boolean; #IMPLIED
291 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
292 dlg:show-century %boolean; #IMPLIED
293 dlg:value CDATA #IMPLIED
294 dlg:value-min CDATA #IMPLIED
295 dlg:value-max CDATA #IMPLIED
296 dlg:spin %boolean; #IMPLIED
297 dlg:repeat %numeric; #IMPLIED
298 dlg:hide-inactive-selection %boolean; #IMPLIED
299 dlg:dropdown %boolean; #IMPLIED
300 dlg:text CDATA #IMPLIED
301 dlg:enforce-format %boolean; #IMPLIED
304 <!ELEMENT dlg:numericfield ((%event;)*)
>
305 <!ATTLIST dlg:numericfield %default-attributes;
306 dlg:tabstop %boolean; #IMPLIED
307 dlg:readonly %boolean; #IMPLIED
308 dlg:strict-format %boolean; #IMPLIED
309 dlg:decimal-accuracy %numeric; #IMPLIED
310 dlg:thousands-separator %boolean; #IMPLIED
311 dlg:value %numeric; #IMPLIED
312 dlg:value-min %numeric; #IMPLIED
313 dlg:value-max %numeric; #IMPLIED
314 dlg:value-step %numeric; #IMPLIED
315 dlg:spin %boolean; #IMPLIED
316 dlg:repeat %numeric; #IMPLIED
317 dlg:hide-inactive-selection %boolean; #IMPLIED
318 dlg:enforce-format %boolean; #IMPLIED
321 <!ELEMENT dlg:timefield ((%event;)*)
>
322 <!ATTLIST dlg:timefield %default-attributes;
323 dlg:tabstop %boolean; #IMPLIED
324 dlg:readonly %boolean; #IMPLIED
325 dlg:strict-format %boolean; #IMPLIED
326 dlg:time-format (
24h_short|
24h_long|
12h_short|
12h_long|Duration_short|Duration_long) #IMPLIED
327 dlg:value CDATA #IMPLIED
328 dlg:value-min CDATA #IMPLIED
329 dlg:value-max CDATA #IMPLIED
330 dlg:spin %boolean; #IMPLIED
331 dlg:repeat %numeric; #IMPLIED
332 dlg:hide-inactive-selection %boolean; #IMPLIED
333 dlg:text CDATA #IMPLIED
334 dlg:enforce-format %boolean; #IMPLIED
337 <!ELEMENT dlg:patternfield ((%event;)*)
>
338 <!ATTLIST dlg:patternfield %default-attributes;
339 dlg:tabstop %boolean; #IMPLIED
340 dlg:readonly %boolean; #IMPLIED
341 dlg:strict-format %boolean; #IMPLIED
342 dlg:edit-mask CDATA #IMPLIED
343 dlg:literal-mask CDATA #IMPLIED
344 dlg:value CDATA #IMPLIED
345 dlg:maxlength %numeric; #IMPLIED
346 dlg:hide-inactive-selection %boolean; #IMPLIED
349 <!ELEMENT dlg:formattedfield ((%event;)*)
>
350 <!ATTLIST dlg:formattedfield %default-attributes;
351 dlg:tabstop %boolean; #IMPLIED
352 dlg:readonly %boolean; #IMPLIED
353 dlg:strict-format %boolean; #IMPLIED
354 dlg:maxlength %numeric; #IMPLIED
355 dlg:spin %boolean; #IMPLIED
356 dlg:align (left|center|right) #IMPLIED
357 dlg:text CDATA #IMPLIED
358 dlg:value-default CDATA #IMPLIED
359 dlg:value-max %numeric; #IMPLIED
360 dlg:value-min %numeric; #IMPLIED
361 dlg:value %numeric; #IMPLIED
362 dlg:format-code CDATA #IMPLIED
363 dlg:format-locale CDATA #IMPLIED
364 dlg:repeat %numeric; #IMPLIED
365 dlg:hide-inactive-selection %boolean; #IMPLIED
366 dlg:treat-as-number %boolean; #IMPLIED
367 dlg:enforce-format %boolean; #IMPLIED
370 <!ELEMENT dlg:fixedline ((%event;)*)
>
371 <!ATTLIST dlg:fixedline %default-attributes;
372 dlg:align (horizontal|vertical) #IMPLIED
373 dlg:value CDATA #IMPLIED
376 <!ELEMENT dlg:scrollbar ((%event;)*)
>
377 <!ATTLIST dlg:scrollbar %default-attributes;
378 dlg:align (horizontal|vertical) #IMPLIED
379 dlg:curpos %numeric; #IMPLIED
380 dlg:maxpos %numeric; #IMPLIED
381 dlg:minpos %numeric; #IMPLIED
382 dlg:increment %numeric; #IMPLIED
383 dlg:pageincrement %numeric; #IMPLIED
384 dlg:visible-size %numeric; #IMPLIED
385 dlg:repeat %numeric; #IMPLIED
386 dlg:tabstop %boolean; #IMPLIED
387 dlg:live-scroll %boolean; #IMPLIED
388 dlg:symbol-color %numeric; #IMPLIED
391 <!ELEMENT dlg:progressmeter ((%event;)*)
>
392 <!ATTLIST dlg:progressmeter %default-attributes;
393 dlg:value %numeric; #IMPLIED
394 dlg:value-min %numeric; #IMPLIED
395 dlg:value-max %numeric; #IMPLIED