dialog.dtd 20 KB

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