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: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 % list-source "form:list-source CDATA #IMPLIED"> 67<!ENTITY % list-source-types "(table|query|sql|sql-pass-through|value-list|table-fields)"> 68<!ENTITY % list-source-type "form:list-source-type %list-source-types; #IMPLIED"> 69 70<!ELEMENT form:control (%controls;)+> 71<!ATTLIST form:control %name; 72 %service-name; 73 %control-id;> 74 75<!ELEMENT form:form (form:properties?, office:events?, (form:control|form:form)*)> 76<!ATTLIST form:form %name; %service-name;> 77<!ATTLIST form:form xlink:href %url; #IMPLIED> 78<!ATTLIST form:form form:enctype CDATA "application/x-www-form-urlencoded"> 79<!ATTLIST form:form form:method CDATA "get"> 80<!ATTLIST form:form office:target-frame CDATA "_blank"> 81<!ATTLIST form:form form:allow-deletes %boolean; "true"> 82<!ATTLIST form:form form:allow-inserts %boolean; "true"> 83<!ATTLIST form:form form:allow-updates %boolean; "true"> 84<!ATTLIST form:form form:apply-filter %boolean; "false"> 85<!ATTLIST form:form form:command CDATA #IMPLIED> 86<!ATTLIST form:form form:command-type (table|query|command) "command"> 87<!ATTLIST form:form form:datasource CDATA #IMPLIED> 88<!ATTLIST form:form form:detail-fields CDATA #IMPLIED> 89<!ATTLIST form:form form:escape-processing %boolean; "true"> 90<!ATTLIST form:form form:filter CDATA #IMPLIED> 91<!ATTLIST form:form form:ignore-result %boolean; "false"> 92<!ATTLIST form:form form:master-fields CDATA #IMPLIED> 93<!ATTLIST form:form form:navigation-mode %navigation; #IMPLIED> 94<!ATTLIST form:form form:order CDATA #IMPLIED> 95<!ATTLIST form:form form:tab-cycle %cycles; #IMPLIED> 96 97<!ELEMENT office:forms (form:form*)> 98<!ATTLIST office:forms form:automatic-focus %boolean; "false"> 99<!ATTLIST office:forms form:apply-design-mode %boolean; "true"> 100 101<!ELEMENT form:text (form:properties?, office:events?)> 102<!ATTLIST form:text %current-value; 103 %disabled; 104 %max-length; 105 %printable; 106 %readonly; 107 %tab-index; 108 %tab-stop; 109 %title; 110 %value; 111 %convert-empty; 112 %data-field;> 113 114<!ELEMENT form:textarea (form:properties?, office:events?)> 115<!ATTLIST form:textarea %current-value; 116 %disabled; 117 %max-length; 118 %printable; 119 %readonly; 120 %tab-index; 121 %tab-stop; 122 %title; 123 %value; 124 %convert-empty; 125 %data-field;> 126 127<!ELEMENT form:password (form:properties?, office:events?)> 128<!ATTLIST form:password %disabled; 129 %max-length; 130 %printable; 131 %tab-index; 132 %tab-stop; 133 %title; 134 %value; 135 %convert-empty;> 136 137<!ATTLIST form:password form:echo-char CDATA "*"> 138 139<!ELEMENT form:file (form:properties?, office:events?)> 140<!ATTLIST form:file %current-value; 141 %disabled; 142 %max-length; 143 %printable; 144 %readonly; 145 %tab-index; 146 %tab-stop; 147 %title; 148 %value;> 149 150<!ELEMENT form:formatted-text (form:properties?, office:events?)> 151<!ATTLIST form:formatted-text %current-value; 152 %disabled; 153 %max-length; 154 %printable; 155 %readonly; 156 %tab-index; 157 %tab-stop; 158 %title; 159 %value; 160 %convert-empty; 161 %data-field;> 162<!ATTLIST form:formatted-text form:max-value CDATA #IMPLIED> 163<!ATTLIST form:formatted-text form:min-value CDATA #IMPLIED> 164<!ATTLIST form:formatted-text form:validation %boolean; "false"> 165 166<!ELEMENT form:fixed-text (form:properties?, office:events?)> 167<!ATTLIST form:fixed-text %for; 168 %disabled; 169 %label; 170 %printable; 171 %title;> 172<!ATTLIST form:fixed-text form:multi-line %boolean; "false"> 173 174<!ELEMENT form:combobox (form:properties?, office:events?, form:item*)> 175<!ATTLIST form:combobox %current-value; 176 %disabled; 177 %dropdown; 178 %max-length; 179 %printable; 180 %readonly; 181 %size; 182 %tab-index; 183 %tab-stop; 184 %title; 185 %value; 186 %convert-empty; 187 %data-field; 188 %list-source; 189 %list-source-type;> 190<!ATTLIST form:combobox form:auto-complete %boolean; #IMPLIED> 191 192<!ELEMENT form:item (#PCDATA)> 193<!ATTLIST form:item %label;> 194 195<!ELEMENT form:listbox (form:properties?, office:events?, form:option*)> 196<!ATTLIST form:listbox %disabled; 197 %dropdown; 198 %printable; 199 %size; 200 %tab-index; 201 %tab-stop; 202 %title; 203 %bound-column; 204 %data-field; 205 %list-source; 206 %list-source-type;> 207<!ATTLIST form:listbox form:multiple %boolean; "false"> 208 209<!ELEMENT form:option (#PCDATA)> 210<!ATTLIST form:option %current-selected; 211 %selected; 212 %label; 213 %value;> 214 215<!ELEMENT form:button (form:properties?, office:events?)> 216<!ATTLIST form:button %button-type; 217 %disabled; 218 %label; 219 %image-data; 220 %printable; 221 %tab-index; 222 %tab-stop; 223 %target-frame; 224 %target-location; 225 %title; 226 %value;> 227<!ATTLIST form:button form:default-button %boolean; "false"> 228 229<!ELEMENT form:image (form:properties?, office:events?)> 230<!ATTLIST form:image %button-type; 231 %disabled; 232 %image-data; 233 %printable; 234 %tab-index; 235 %tab-stop; 236 %target-frame; 237 %target-location; 238 %title; 239 %value;> 240 241<!ELEMENT form:checkbox (form:properties?, office:events?)> 242<!ATTLIST form:checkbox %disabled; 243 %label; 244 %printable; 245 %tab-index; 246 %tab-stop; 247 %title; 248 %value; 249 %data-field;> 250<!ENTITY % states "(unchecked|checked|unknown)"> 251<!ATTLIST form:checkbox form:current-state %states; #IMPLIED> 252<!ATTLIST form:checkbox form:is-tristate %boolean; "false"> 253<!ATTLIST form:checkbox form:state %states; "unchecked"> 254 255<!ELEMENT form:radio (form:properties?, office:events?)> 256<!ATTLIST form:radio %current-selected; 257 %disabled; 258 %label; 259 %printable; 260 %selected; 261 %tab-index; 262 %tab-stop; 263 %title; 264 %value; 265 %data-field;> 266 267<!ELEMENT form:frame (form:properties?, office:events?)> 268<!ATTLIST form:frame %disabled; 269 %for; 270 %label; 271 %printable; 272 %title;> 273 274<!ELEMENT form:image-frame (form:properties?, office:events?)> 275<!ATTLIST form:image-frame %disabled; 276 %image-data; 277 %printable; 278 %readonly; 279 %title; 280 %data-field;> 281 282<!ELEMENT form:hidden (form:properties?, office:events?)> 283<!ATTLIST form:hidden %name; 284 %service-name; 285 %value;> 286 287<!ELEMENT form:grid (form:properties?, office:events?, form:column*)> 288<!ATTLIST form:grid %disabled; 289 %printable; 290 %tab-index; 291 %tab-stop; 292 %title;> 293<!ENTITY % column-type "form:text| form:textarea| form:formatted-text|form:checkbox| form:listbox| form:combobox"> 294<!ELEMENT form:column (%column-type;)+> 295<!ATTLIST form:column %name; 296 %service-name; 297 %label;> 298 299<!ELEMENT form:generic-control (form:properties?, office:events?)> 300 301 302<!ELEMENT form:properties (form:property+)> 303<!ELEMENT form:property (form:property-value*)> 304<!ATTLIST form:property form:property-is-list %boolean; #IMPLIED> 305<!ATTLIST form:property form:property-name CDATA #REQUIRED> 306<!ATTLIST form:property form:property-type (boolean|short|int|long|double|string) #REQUIRED> 307<!ELEMENT form:property-value (#PCDATA)> 308 309