1<!-- 2 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 5 Copyright 2000, 2010 Oracle and/or its affiliates. 6 7 OpenOffice.org - a multi-platform office productivity suite 8 9 This file is part of OpenOffice.org. 10 11 OpenOffice.org is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Lesser General Public License version 3 13 only, as published by the Free Software Foundation. 14 15 OpenOffice.org is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Lesser General Public License version 3 for more details 19 (a copy is included in the LICENSE file that accompanied this code). 20 21 You should have received a copy of the GNU Lesser General Public License 22 version 3 along with OpenOffice.org. If not, see 23 <http://www.openoffice.org/license.html> 24 for a copy of the LGPLv3 License. 25 26--> 27 28<!ENTITY % controls "form:text|form:textarea|form:fixed-text|form:file| 29 form:password|form:formatted-text|form:button|form:image| 30 form:checkbox|form:radio|form:listbox|form:combobox|form:frame| 31 form:hidden|form:image-frame|form:grid|form:value-range|form:generic-control"> 32 33<!ENTITY % name "form:name CDATA #IMPLIED"> 34<!ENTITY % service-name "form:service-name CDATA #IMPLIED"> 35 36<!ENTITY % navigation "(none|current|parent)"> 37<!ENTITY % cycles "(records|current|page)"> 38<!ENTITY % url "CDATA"> 39 40 41<!ENTITY % types "(submit|reset|push|url)"> 42<!ENTITY % button-type "form:button-type %types; 'push'"> 43<!ENTITY % current-selected "form:current-selected %boolean; 'false'"> 44<!ENTITY % current-value "form:current-value CDATA #IMPLIED"> 45<!ENTITY % value "form:value CDATA #IMPLIED"> 46<!ENTITY % disabled "form:disabled %boolean; 'false'"> 47<!ENTITY % dropdown "form:dropdown %boolean; 'false'"> 48<!ENTITY % for "form:for CDATA #IMPLIED"> 49<!ENTITY % image-data "form:image-data %url; #IMPLIED"> 50<!ENTITY % label "form:label CDATA #IMPLIED"> 51<!ENTITY % max-length "form:max-length CDATA #IMPLIED"> 52<!ENTITY % printable "form:printable %boolean; 'true'"> 53<!ENTITY % readonly "form:readonly %boolean; 'false'"> 54<!ENTITY % size "form:size CDATA #IMPLIED"> 55<!ENTITY % selected "form:selected %boolean; 'false'"> 56<!ENTITY % size "form:size CDATA #IMPLIED"> 57<!ENTITY % tab-index "form:tab-index CDATA #IMPLIED"> 58<!ENTITY % target-frame "office:target-frame CDATA '_blank'"> 59<!ENTITY % target-location "xlink:href %url; #IMPLIED"> 60<!ENTITY % tab-stop "form:tab-stop %boolean; 'true'"> 61<!ENTITY % title "form:title CDATA #IMPLIED"> 62<!ENTITY % default-value "form:default-value CDATA #IMPLIED"> 63<!ENTITY % bound-column "form:bound-column CDATA #IMPLIED"> 64<!ENTITY % convert-empty "form:convert-empty-to-null %boolean; 'false'"> 65<!ENTITY % data-field "form:data-field CDATA #IMPLIED"> 66<!ENTITY % linked-cell "form:linked-cell CDATA #IMPLIED"> 67<!ENTITY % visual-effect "form:visual-effect (flat|3d) #IMPLIED"> 68<!ENTITY % image-position "form:image-position (start|end|top|bottom|center) 'center'"> 69<!ENTITY % image-align "form:image-align (start|center|end) 'center'"> 70<!ENTITY % list-linkage-type "form:list-linkage-type (selection|selection-indexes) #IMPLIED"> 71<!ENTITY % source-cell-range "form:source-cell-range CDATA #IMPLIED"> 72<!ENTITY % list-source "form:list-source CDATA #IMPLIED"> 73<!ENTITY % list-source-types "(table|query|sql|sql-pass-through|value-list|table-fields)"> 74<!ENTITY % list-source-type "form:list-source-type %list-source-types; #IMPLIED"> 75<!ENTITY % column-style-name "form:column-style-name %styleName; #IMPLIED"> 76<!ENTITY % min-value "form:min-value %float; #IMPLIED"> 77<!ENTITY % max-value "form:max-value %float; #IMPLIED"> 78<!ENTITY % step-size "form:step-size %positiveInteger; '1'"> 79<!ENTITY % page-step-size "form:page-step-size %positiveInteger; #IMPLIED"> 80<!ENTITY % delay-for-repeat "form:delay-for-repeat %positiveInteger; #IMPLIED"> 81<!ENTITY % orientation "form:orientation (horizontal|vertical) #IMPLIED"> 82 83 84 85 86<!ELEMENT form:control (%controls;)+> 87<!ATTLIST form:control %name; 88 %service-name; 89 %control-id;> 90 91<!ELEMENT form:form (form:properties?, office:events?, (form:control|form:form)*)> 92<!ATTLIST form:form %name; %service-name;> 93<!ATTLIST form:form xlink:href %url; #IMPLIED> 94<!ATTLIST form:form form:enctype CDATA "application/x-www-form-urlencoded"> 95<!ATTLIST form:form form:method CDATA "get"> 96<!ATTLIST form:form office:target-frame CDATA "_blank"> 97<!ATTLIST form:form form:allow-deletes %boolean; "true"> 98<!ATTLIST form:form form:allow-inserts %boolean; "true"> 99<!ATTLIST form:form form:allow-updates %boolean; "true"> 100<!ATTLIST form:form form:apply-filter %boolean; "false"> 101<!ATTLIST form:form form:command CDATA #IMPLIED> 102<!ATTLIST form:form form:command-type (table|query|command) "command"> 103<!ATTLIST form:form form:datasource CDATA #IMPLIED> 104<!ATTLIST form:form form:detail-fields CDATA #IMPLIED> 105<!ATTLIST form:form form:escape-processing %boolean; "true"> 106<!ATTLIST form:form form:filter CDATA #IMPLIED> 107<!ATTLIST form:form form:ignore-result %boolean; "false"> 108<!ATTLIST form:form form:master-fields CDATA #IMPLIED> 109<!ATTLIST form:form form:navigation-mode %navigation; #IMPLIED> 110<!ATTLIST form:form form:order CDATA #IMPLIED> 111<!ATTLIST form:form form:tab-cycle %cycles; #IMPLIED> 112 113<!ELEMENT office:forms (form:form*)> 114<!ATTLIST office:forms form:automatic-focus %boolean; "false"> 115<!ATTLIST office:forms form:apply-design-mode %boolean; "true"> 116 117<!ELEMENT form:text (form:properties?, office:events?)> 118<!ATTLIST form:text %current-value; 119 %disabled; 120 %max-length; 121 %printable; 122 %readonly; 123 %tab-index; 124 %tab-stop; 125 %title; 126 %value; 127 %convert-empty; 128 %data-field; 129 %linked-cell;> 130 131<!ELEMENT form:textarea (form:properties?, office:events?, text:p*)> 132<!ATTLIST form:textarea %current-value; 133 %disabled; 134 %max-length; 135 %printable; 136 %readonly; 137 %tab-index; 138 %tab-stop; 139 %title; 140 %value; 141 %convert-empty; 142 %data-field; 143 %linked-cell;> 144 145<!ELEMENT form:password (form:properties?, office:events?)> 146<!ATTLIST form:password %disabled; 147 %max-length; 148 %printable; 149 %tab-index; 150 %tab-stop; 151 %title; 152 %value; 153 %convert-empty; 154 %linked-cell;> 155 156<!ATTLIST form:password form:echo-char CDATA "*"> 157 158<!ELEMENT form:file (form:properties?, office:events?)> 159<!ATTLIST form:file %current-value; 160 %disabled; 161 %max-length; 162 %printable; 163 %readonly; 164 %tab-index; 165 %tab-stop; 166 %title; 167 %value;> 168 169<!ELEMENT form:formatted-text (form:properties?, office:events?)> 170<!ATTLIST form:formatted-text %current-value; 171 %disabled; 172 %max-length; 173 %printable; 174 %readonly; 175 %tab-index; 176 %tab-stop; 177 %title; 178 %min-value; 179 %max-value; 180 %value; 181 %convert-empty; 182 %data-field; 183 %linked-cell;> 184<!ATTLIST form:formatted-text form:validation %boolean; "false"> 185 186<!ELEMENT form:fixed-text (form:properties?, office:events?)> 187<!ATTLIST form:fixed-text %for; 188 %disabled; 189 %label; 190 %printable; 191 %title;> 192<!ATTLIST form:fixed-text form:multi-line %boolean; "false"> 193 194<!ELEMENT form:combobox (form:properties?, office:events?, form:item*)> 195<!ATTLIST form:combobox %current-value; 196 %disabled; 197 %dropdown; 198 %max-length; 199 %printable; 200 %readonly; 201 %size; 202 %tab-index; 203 %tab-stop; 204 %title; 205 %value; 206 %convert-empty; 207 %data-field; 208 %list-source; 209 %list-source-type; 210 %linked-cell; 211 %source-cell-range;> 212 213<!ATTLIST form:combobox form:auto-complete %boolean; #IMPLIED> 214 215<!ELEMENT form:item (#PCDATA)> 216<!ATTLIST form:item %label;> 217 218<!ELEMENT form:listbox (form:properties?, office:events?, form:option*)> 219<!ATTLIST form:listbox %disabled; 220 %dropdown; 221 %printable; 222 %size; 223 %tab-index; 224 %tab-stop; 225 %title; 226 %bound-column; 227 %data-field; 228 %list-source; 229 %list-source-type; 230 %linked-cell; 231 %list-linkage-type; 232 %source-cell-range;> 233 234<!ATTLIST form:listbox form:multiple %boolean; "false"> 235 236<!ELEMENT form:option (#PCDATA)> 237<!ATTLIST form:option %current-selected; 238 %selected; 239 %label; 240 %value;> 241 242<!ELEMENT form:button (form:properties?, office:events?)> 243<!ATTLIST form:button %button-type; 244 %disabled; 245 %label; 246 %image-data; 247 %printable; 248 %tab-index; 249 %tab-stop; 250 %target-frame; 251 %target-location; 252 %title; 253 %value; 254 %image-position; 255 %image-align;> 256 257<!ATTLIST form:button form:default-button %boolean; "false" 258 form:toggle %boolean; "false" 259 form:focus-on-click %boolean; "true"> 260 261<!ELEMENT form:image (form:properties?, office:events?)> 262<!ATTLIST form:image %button-type; 263 %disabled; 264 %image-data; 265 %printable; 266 %tab-index; 267 %tab-stop; 268 %target-frame; 269 %target-location; 270 %title; 271 %value;> 272 273<!ELEMENT form:checkbox (form:properties?, office:events?)> 274<!ATTLIST form:checkbox %disabled; 275 %label; 276 %printable; 277 %tab-index; 278 %tab-stop; 279 %title; 280 %value; 281 %data-field; 282 %linked-cell; 283 %visual-effect; 284 %image-position; 285 %image-align;> 286 287<!ENTITY % states "(unchecked|checked|unknown)"> 288<!ATTLIST form:checkbox form:current-state %states; #IMPLIED> 289<!ATTLIST form:checkbox form:is-tristate %boolean; "false"> 290<!ATTLIST form:checkbox form:state %states; "unchecked"> 291 292<!ELEMENT form:radio (form:properties?, office:events?)> 293<!ATTLIST form:radio %current-selected; 294 %disabled; 295 %label; 296 %printable; 297 %selected; 298 %tab-index; 299 %tab-stop; 300 %title; 301 %value; 302 %data-field; 303 %linked-cell; 304 %visual-effect; 305 %image-position; 306 %image-align;> 307 308<!ELEMENT form:frame (form:properties?, office:events?)> 309<!ATTLIST form:frame %disabled; 310 %for; 311 %label; 312 %printable; 313 %title;> 314 315<!ELEMENT form:image-frame (form:properties?, office:events?)> 316<!ATTLIST form:image-frame %disabled; 317 %image-data; 318 %printable; 319 %readonly; 320 %title; 321 %data-field;> 322 323<!ELEMENT form:hidden (form:properties?, office:events?)> 324<!ATTLIST form:hidden %name; 325 %service-name; 326 %value;> 327 328<!ELEMENT form:grid (form:properties?, office:events?, form:column*)> 329<!ATTLIST form:grid %disabled; 330 %printable; 331 %tab-index; 332 %tab-stop; 333 %title;> 334 335<!ENTITY % column-type "form:text| form:textarea| form:formatted-text|form:checkbox| form:listbox| form:combobox"> 336<!ELEMENT form:column (%column-type;)+> 337<!ATTLIST form:column %name; 338 %service-name; 339 %label; 340 %column-style-name;> 341 342<!ELEMENT form:generic-control (form:properties?, office:events?)> 343 344<!ELEMENT form:value-range (form:properties?, office:events?)> 345<!ATTLIST form:value-range %disabled; 346 %printable; 347 %tab-index; 348 %tab-stop; 349 %title; 350 %min-value; 351 %max-value; 352 %current-value; 353 %value; 354 %linked-cell; 355 %step-size; 356 %page-step-size; 357 %delay-for-repeat; 358 %orientation;> 359 360<!ELEMENT form:properties (form:property+)> 361<!ELEMENT form:property (form:property-value*)> 362<!ATTLIST form:property form:property-is-list %boolean; #IMPLIED> 363<!ATTLIST form:property form:property-name CDATA #REQUIRED> 364<!ATTLIST form:property form:property-type (boolean|short|int|long|double|string) #REQUIRED> 365<!ELEMENT form:property-value (#PCDATA)> 366<!ATTLIST form:property-value form:property-is-void %boolean; #IMPLIED> 367