3 DO NOT ALTER
OR REMOVE COPYRIGHT NOTICES
OR THIS FILE HEADER.
5 Copyright
2000, 2010 Oracle and
/or its affiliates.
7 OpenOffice.org
- a multi
-platform office productivity suite
9 This file is part of OpenOffice.org.
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.
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
).
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.
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">
33 <!ENTITY
% name
"form:name CDATA #IMPLIED">
34 <!ENTITY
% service
-name
"form:service-name CDATA #IMPLIED">
36 <!ENTITY
% navigation
"(none|current|parent)">
37 <!ENTITY
% cycles
"(records|current|page)">
38 <!ENTITY
% url
"CDATA">
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">
86 <!ELEMENT form
:control (%controls
;)+>
87 <!ATTLIST form
:control
%name
;
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
>
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">
117 <!ELEMENT form
:text (form
:properties?
, office
:events?
)>
118 <!ATTLIST form
:text
%current
-value
;
131 <!ELEMENT form
:textarea (form
:properties?
, office
:events?
, text
:p*)
>
132 <!ATTLIST form
:textarea
%current
-value
;
145 <!ELEMENT form
:password (form
:properties?
, office
:events?
)>
146 <!ATTLIST form
:password
%disabled
;
156 <!ATTLIST form
:password form
:echo
-char CDATA
"*">
158 <!ELEMENT form
:file (form
:properties?
, office
:events?
)>
159 <!ATTLIST form
:file
%current
-value
;
169 <!ELEMENT form
:formatted
-text (form
:properties?
, office
:events?
)>
170 <!ATTLIST form
:formatted
-text
%current
-value
;
184 <!ATTLIST form
:formatted
-text form
:validation
%boolean
; "false">
186 <!ELEMENT form
:fixed
-text (form
:properties?
, office
:events?
)>
187 <!ATTLIST form
:fixed
-text
%for
;
192 <!ATTLIST form
:fixed
-text form
:multi
-line
%boolean
; "false">
194 <!ELEMENT form
:combobox (form
:properties?
, office
:events?
, form
:item*)
>
195 <!ATTLIST form
:combobox
%current
-value
;
213 <!ATTLIST form
:combobox form
:auto
-complete
%boolean
; #IMPLIED
>
215 <!ELEMENT form
:item (#PCDATA
)>
216 <!ATTLIST form
:item
%label
;>
218 <!ELEMENT form
:listbox (form
:properties?
, office
:events?
, form
:option*)
>
219 <!ATTLIST form
:listbox
%disabled
;
234 <!ATTLIST form
:listbox form
:multiple
%boolean
; "false">
236 <!ELEMENT form
:option (#PCDATA
)>
237 <!ATTLIST form
:option
%current
-selected
;
242 <!ELEMENT form
:button (form
:properties?
, office
:events?
)>
243 <!ATTLIST form
:button
%button
-type
;
257 <!ATTLIST form
:button form
:default
-button
%boolean
; "false"
258 form
:toggle
%boolean
; "false"
259 form
:focus
-on
-click
%boolean
; "true">
261 <!ELEMENT form
:image (form
:properties?
, office
:events?
)>
262 <!ATTLIST form
:image
%button
-type
;
273 <!ELEMENT form
:checkbox (form
:properties?
, office
:events?
)>
274 <!ATTLIST form
:checkbox
%disabled
;
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">
292 <!ELEMENT form
:radio (form
:properties?
, office
:events?
)>
293 <!ATTLIST form
:radio
%current
-selected
;
308 <!ELEMENT form
:frame (form
:properties?
, office
:events?
)>
309 <!ATTLIST form
:frame
%disabled
;
315 <!ELEMENT form
:image
-frame (form
:properties?
, office
:events?
)>
316 <!ATTLIST form
:image
-frame
%disabled
;
323 <!ELEMENT form
:hidden (form
:properties?
, office
:events?
)>
324 <!ATTLIST form
:hidden
%name
;
328 <!ELEMENT form
:grid (form
:properties?
, office
:events?
, form
:column*)
>
329 <!ATTLIST form
:grid
%disabled
;
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
;
342 <!ELEMENT form
:generic
-control (form
:properties?
, office
:events?
)>
344 <!ELEMENT form
:value
-range (form
:properties?
, office
:events?
)>
345 <!ATTLIST form
:value
-range
%disabled
;
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
>