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