1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 6 Copyright 2000, 2010 Oracle and/or its affiliates. 7 8 OpenOffice.org - a multi-platform office productivity suite 9 10 This file is part of OpenOffice.org. 11 12 OpenOffice.org is free software: you can redistribute it and/or modify 13 it under the terms of the GNU Lesser General Public License version 3 14 only, as published by the Free Software Foundation. 15 16 OpenOffice.org is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Lesser General Public License version 3 for more details 20 (a copy is included in the LICENSE file that accompanied this code). 21 22 You should have received a copy of the GNU Lesser General Public License 23 version 3 along with OpenOffice.org. If not, see 24 <http://www.openoffice.org/license.html> 25 for a copy of the LGPLv3 License. 26 27--> 28 29<!ENTITY % boolean "(true|false)"> 30<!ENTITY % numeric "CDATA"> 31 32<!ENTITY % default-attributes "dlg:id CDATA #REQUIRED 33 dlg:left %numeric; #REQUIRED 34 dlg:top %numeric; #REQUIRED 35 dlg:width %numeric; #REQUIRED 36 dlg:height %numeric; #REQUIRED 37 dlg:style-id CDATA #IMPLIED 38 dlg:tab-index %numeric; #IMPLIED 39 dlg:disabled %boolean; #IMPLIED 40 dlg:printable %boolean; #IMPLIED 41 dlg:page %numeric; #IMPLIED 42 dlg:tag CDATA #IMPLIED 43 dlg:help-text CDATA #IMPLIED 44 dlg:help-url CDATA #IMPLIED 45 "> 46 47<!ENTITY % event "(script:event| 48 script:listener-event| 49 dlg:event 50 )"> 51 52<!ENTITY % control "(dlg:bulletinboard| 53 dlg:button| 54 dlg:checkbox| 55 dlg:combobox| 56 dlg:menulist| 57 dlg:radiogroup| 58 dlg:titledbox| 59 dlg:textfield| 60 dlg:text| 61 dlg:filecontrol| 62 dlg:img| 63 dlg:timefield| 64 dlg:datefield| 65 dlg:numericfield| 66 dlg:currencyfield| 67 dlg:patternfield| 68 dlg:formattedfield| 69 dlg:fixedline| 70 dlg:progressmeter| 71 dlg:scrollbar 72 )"> 73 74<!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)> 75<!ATTLIST dlg:window %default-attributes; 76 dlg:closeable %boolean; #IMPLIED 77 dlg:moveable %boolean; #IMPLIED 78 dlg:resizeable %boolean; #IMPLIED 79 dlg:title CDATA #IMPLIED 80 dlg:withtitlebar CDATA #IMPLIED 81 dlg:image-src CDATA #IMPLIED 82 xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog" 83 xmlns:script CDATA #FIXED "http://openoffice.org/2000/script" 84 > 85 86<!ELEMENT dlg:styles (dlg:style+)> 87 88<!ELEMENT dlg:style EMPTY> 89<!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED 90 dlg:background-color %numeric; #IMPLIED 91 dlg:text-color %numeric; #IMPLIED 92 dlg:textline-color %numeric; #IMPLIED 93 dlg:fill-color %numeric; #IMPLIED 94 dlg:border CDATA #IMPLIED 95 dlg:font-name CDATA #IMPLIED 96 dlg:font-height %numeric; #IMPLIED 97 dlg:font-width %numeric; #IMPLIED 98 dlg:font-stylename CDATA #IMPLIED 99 dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED 100 dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED 101 dlg:font-pitch (fixed|variable) #IMPLIED 102 dlg:font-charwidth %numeric; #IMPLIED 103 dlg:font-weight %numeric; #IMPLIED 104 dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED 105 dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED 106 dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED 107 dlg:font-orientation CDATA #IMPLIED 108 dlg:font-kerning %boolean; #IMPLIED 109 dlg:font-wordlinemode %boolean; #IMPLIED 110 dlg:font-type (raster|device|scalable) #IMPLIED 111 dlg:font-relief (none|embossed|engraved) #IMPLIED 112 dlg:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED 113 dlg:look (none|3d|simple) #IMPLIED 114 > 115 116<!ELEMENT script:event EMPTY> 117<!ATTLIST script:event script:location CDATA #IMPLIED 118 script:language CDATA #REQUIRED 119 script:macro-name CDATA #REQUIRED 120 script:event-name CDATA #REQUIRED 121 > 122<!ELEMENT script:listener-event EMPTY> 123<!ATTLIST script:listener-event script:location CDATA #IMPLIED 124 script:language CDATA #REQUIRED 125 script:macro-name CDATA #REQUIRED 126 script:listener-type CDATA #REQUIRED 127 script:listener-method CDATA #REQUIRED 128 script:listener-param CDATA #IMPLIED 129 > 130<!-- deprecated --> 131<!ELEMENT dlg:event EMPTY> 132<!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED 133 dlg:event-method CDATA #REQUIRED 134 dlg:script-type CDATA #IMPLIED 135 dlg:script-code CDATA #IMPLIED 136 dlg:param CDATA #IMPLIED 137 > 138<!-- /deprecated --> 139 140<!ELEMENT dlg:bulletinboard ((%control;)*)> 141<!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED 142 dlg:top %numeric; #IMPLIED 143 > 144 145<!ELEMENT dlg:button ((%event;)*)> 146<!ATTLIST dlg:button %default-attributes; 147 dlg:value CDATA #IMPLIED 148 dlg:align (left|center|right) #IMPLIED 149 dlg:valign (top|center|bottom) #IMPLIED 150 dlg:checked %boolean; #IMPLIED 151 dlg:image-src CDATA #IMPLIED 152 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 153 dlg:image-align (top|left|right|bottom) #IMPLIED 154 dlg:default %boolean; #IMPLIED 155 dlg:tabstop %boolean; #IMPLIED 156 dlg:button-type (standard|ok|cancel|help) #IMPLIED 157 dlg:repeat %numeric; #IMPLIED 158 dlg:toggled (0|1) #IMPLIED 159 dlg:grab-focus (true|false) #IMPLIED 160 dlg:multiline %boolean; #IMPLIED 161 > 162 163<!ELEMENT dlg:checkbox ((%event;)*)> 164<!ATTLIST dlg:checkbox %default-attributes; 165 dlg:value CDATA #IMPLIED 166 dlg:align (left|center|right) #IMPLIED 167 dlg:valign (top|center|bottom) #IMPLIED 168 dlg:checked %boolean; #IMPLIED 169 dlg:tristate %boolean; #IMPLIED 170 dlg:tabstop %boolean; #IMPLIED 171 dlg:image-src CDATA #IMPLIED 172 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 173 dlg:multiline %boolean; #IMPLIED 174 > 175 176<!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)> 177<!ATTLIST dlg:combobox %default-attributes; 178 dlg:tabstop %boolean; #IMPLIED 179 dlg:readonly %boolean; #IMPLIED 180 dlg:autocomplete %boolean; #IMPLIED 181 dlg:spin %boolean; #IMPLIED 182 dlg:maxlength %numeric; #IMPLIED 183 dlg:linecount %numeric; #IMPLIED 184 dlg:value CDATA #IMPLIED 185 dlg:hide-inactive-selection %boolean; #IMPLIED 186 dlg:align (left|center|right) #IMPLIED 187 > 188 189<!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)> 190<!ATTLIST dlg:menulist %default-attributes; 191 dlg:tabstop %boolean; #IMPLIED 192 dlg:spin %boolean; #IMPLIED 193 dlg:multiselection %boolean; #IMPLIED 194 dlg:readonly %boolean; #IMPLIED 195 dlg:linecount %numeric; #IMPLIED 196 dlg:align (left|center|right) #IMPLIED 197 > 198 199<!ELEMENT dlg:menupopup (dlg:menuitem+)> 200<!ELEMENT dlg:menuitem EMPTY> 201<!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED 202 dlg:selected %boolean; #IMPLIED 203 > 204 205<!ELEMENT dlg:radiogroup (dlg:radio+)> 206<!ELEMENT dlg:radio ((%event;)*)> 207<!ATTLIST dlg:radio %default-attributes; 208 dlg:value CDATA #IMPLIED 209 dlg:align (left|center|right) #IMPLIED 210 dlg:valign (top|center|bottom) #IMPLIED 211 dlg:checked %boolean; #IMPLIED 212 dlg:tabstop %boolean; #IMPLIED 213 dlg:image-src CDATA #IMPLIED 214 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 215 dlg:multiline %boolean; #IMPLIED 216 > 217 218<!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)> 219<!ATTLIST dlg:titledbox %default-attributes; 220 > 221<!ELEMENT dlg:title EMPTY> 222<!ATTLIST dlg:title dlg:value CDATA #IMPLIED 223 > 224 225<!ELEMENT dlg:text ((%event;)*)> 226<!ATTLIST dlg:text %default-attributes; 227 dlg:value CDATA #IMPLIED 228 dlg:align (left|center|right) #IMPLIED 229 dlg:valign (top|center|bottom) #IMPLIED 230 dlg:multiline %boolean; #IMPLIED 231 dlg:tabstop %boolean; #IMPLIED 232 > 233 234<!ELEMENT dlg:textfield ((%event;)*)> 235<!ATTLIST dlg:textfield %default-attributes; 236 dlg:tabstop %boolean; #IMPLIED 237 dlg:align (left|center|right) #IMPLIED 238 dlg:readonly %boolean; #IMPLIED 239 dlg:echochar CDATA #IMPLIED 240 dlg:hard-linebreaks %boolean; #IMPLIED 241 dlg:hscroll %boolean; #IMPLIED 242 dlg:vscroll %boolean; #IMPLIED 243 dlg:maxlength %numeric; #IMPLIED 244 dlg:multiline %boolean; #IMPLIED 245 dlg:value CDATA #IMPLIED 246 dlg:hide-inactive-selection %boolean; #IMPLIED 247 dlg:lineend-format (carriage-return|line-feed|carriage-return-line-feed) #IMPLIED 248 > 249 250<!ELEMENT dlg:img ((%event;)*)> 251<!ATTLIST dlg:img %default-attributes; 252 dlg:src CDATA #IMPLIED 253 dlg:scale-image %boolean; #IMPLIED 254 dlg:tabstop %boolean; #IMPLIED 255 > 256 257<!ELEMENT dlg:filecontrol ((%event;)*)> 258<!ATTLIST dlg:filecontrol %default-attributes; 259 dlg:tabstop %boolean; #IMPLIED 260 dlg:value CDATA #IMPLIED 261 dlg:hide-inactive-selection %boolean; #IMPLIED 262 dlg:readonly %boolean; #IMPLIED 263 > 264 265<!ELEMENT dlg:treecontrol ((%event;)*)> 266<!ATTLIST dlg:treecontrol %default-attributes; 267 dlg:selectiontype CDATA #IMPLIED 268 dlg:rootdisplayed %boolean; #IMPLIED 269 dlg:showshandles %boolean; #IMPLIED 270 dlg:showsroothandles %boolean; #IMPLIED 271 dlg:rowheight %boolean; #IMPLIED 272 dlg:editable %numeric; #IMPLIED 273 dlg:invokesstopnodeediting %boolean; #IMPLIED 274 > 275 276<!ELEMENT dlg:currencyfield ((%event;)*)> 277<!ATTLIST dlg:currencyfield %default-attributes; 278 dlg:tabstop %boolean; #IMPLIED 279 dlg:readonly %boolean; #IMPLIED 280 dlg:currency-symbol CDATA #IMPLIED 281 dlg:strict-format %boolean; #IMPLIED 282 dlg:decimal-accuracy %numeric; #IMPLIED 283 dlg:thousands-separator %boolean; #IMPLIED 284 dlg:value %numeric; #IMPLIED 285 dlg:value-min %numeric; #IMPLIED 286 dlg:value-max %numeric; #IMPLIED 287 dlg:value-step %numeric; #IMPLIED 288 dlg:spin %boolean; #IMPLIED 289 dlg:repeat %numeric; #IMPLIED 290 dlg:hide-inactive-selection %boolean; #IMPLIED 291 dlg:prepend-symbol %boolean; #IMPLIED 292 dlg:enforce-format %boolean; #IMPLIED 293 > 294 295<!ELEMENT dlg:datefield ((%event;)*)> 296<!ATTLIST dlg:datefield %default-attributes; 297 dlg:tabstop %boolean; #IMPLIED 298 dlg:readonly %boolean; #IMPLIED 299 dlg:strict-format %boolean; #IMPLIED 300 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 301 dlg:show-century %boolean; #IMPLIED 302 dlg:value CDATA #IMPLIED 303 dlg:value-min CDATA #IMPLIED 304 dlg:value-max CDATA #IMPLIED 305 dlg:spin %boolean; #IMPLIED 306 dlg:repeat %numeric; #IMPLIED 307 dlg:hide-inactive-selection %boolean; #IMPLIED 308 dlg:dropdown %boolean; #IMPLIED 309 dlg:text CDATA #IMPLIED 310 dlg:enforce-format %boolean; #IMPLIED 311 > 312 313<!ELEMENT dlg:numericfield ((%event;)*)> 314<!ATTLIST dlg:numericfield %default-attributes; 315 dlg:tabstop %boolean; #IMPLIED 316 dlg:readonly %boolean; #IMPLIED 317 dlg:strict-format %boolean; #IMPLIED 318 dlg:decimal-accuracy %numeric; #IMPLIED 319 dlg:thousands-separator %boolean; #IMPLIED 320 dlg:value %numeric; #IMPLIED 321 dlg:value-min %numeric; #IMPLIED 322 dlg:value-max %numeric; #IMPLIED 323 dlg:value-step %numeric; #IMPLIED 324 dlg:spin %boolean; #IMPLIED 325 dlg:repeat %numeric; #IMPLIED 326 dlg:hide-inactive-selection %boolean; #IMPLIED 327 dlg:enforce-format %boolean; #IMPLIED 328 > 329 330<!ELEMENT dlg:timefield ((%event;)*)> 331<!ATTLIST dlg:timefield %default-attributes; 332 dlg:tabstop %boolean; #IMPLIED 333 dlg:readonly %boolean; #IMPLIED 334 dlg:strict-format %boolean; #IMPLIED 335 dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED 336 dlg:value CDATA #IMPLIED 337 dlg:value-min CDATA #IMPLIED 338 dlg:value-max CDATA #IMPLIED 339 dlg:spin %boolean; #IMPLIED 340 dlg:repeat %numeric; #IMPLIED 341 dlg:hide-inactive-selection %boolean; #IMPLIED 342 dlg:text CDATA #IMPLIED 343 dlg:enforce-format %boolean; #IMPLIED 344 > 345 346<!ELEMENT dlg:patternfield ((%event;)*)> 347<!ATTLIST dlg:patternfield %default-attributes; 348 dlg:tabstop %boolean; #IMPLIED 349 dlg:readonly %boolean; #IMPLIED 350 dlg:strict-format %boolean; #IMPLIED 351 dlg:edit-mask CDATA #IMPLIED 352 dlg:literal-mask CDATA #IMPLIED 353 dlg:value CDATA #IMPLIED 354 dlg:maxlength %numeric; #IMPLIED 355 dlg:hide-inactive-selection %boolean; #IMPLIED 356 > 357 358<!ELEMENT dlg:formattedfield ((%event;)*)> 359<!ATTLIST dlg:formattedfield %default-attributes; 360 dlg:tabstop %boolean; #IMPLIED 361 dlg:readonly %boolean; #IMPLIED 362 dlg:strict-format %boolean; #IMPLIED 363 dlg:maxlength %numeric; #IMPLIED 364 dlg:spin %boolean; #IMPLIED 365 dlg:align (left|center|right) #IMPLIED 366 dlg:text CDATA #IMPLIED 367 dlg:value-default CDATA #IMPLIED 368 dlg:value-max %numeric; #IMPLIED 369 dlg:value-min %numeric; #IMPLIED 370 dlg:value %numeric; #IMPLIED 371 dlg:format-code CDATA #IMPLIED 372 dlg:format-locale CDATA #IMPLIED 373 dlg:repeat %numeric; #IMPLIED 374 dlg:hide-inactive-selection %boolean; #IMPLIED 375 dlg:treat-as-number %boolean; #IMPLIED 376 dlg:enforce-format %boolean; #IMPLIED 377 > 378 379<!ELEMENT dlg:fixedline ((%event;)*)> 380<!ATTLIST dlg:fixedline %default-attributes; 381 dlg:align (horizontal|vertical) #IMPLIED 382 dlg:value CDATA #IMPLIED 383 > 384 385<!ELEMENT dlg:scrollbar ((%event;)*)> 386<!ATTLIST dlg:scrollbar %default-attributes; 387 dlg:align (horizontal|vertical) #IMPLIED 388 dlg:curpos %numeric; #IMPLIED 389 dlg:maxpos %numeric; #IMPLIED 390 dlg:minpos %numeric; #IMPLIED 391 dlg:increment %numeric; #IMPLIED 392 dlg:pageincrement %numeric; #IMPLIED 393 dlg:visible-size %numeric; #IMPLIED 394 dlg:repeat %numeric; #IMPLIED 395 dlg:tabstop %boolean; #IMPLIED 396 dlg:live-scroll %boolean; #IMPLIED 397 dlg:symbol-color %numeric; #IMPLIED 398 > 399 400<!ELEMENT dlg:progressmeter ((%event;)*)> 401<!ATTLIST dlg:progressmeter %default-attributes; 402 dlg:value %numeric; #IMPLIED 403 dlg:value-min %numeric; #IMPLIED 404 dlg:value-max %numeric; #IMPLIED 405 > 406