3 DO NOT ALTER
OR REMOVE COPYRIGHT NOTICES
OR THIS FILE HEADER.
5 Copyright
2008 by Sun Microsystems
, Inc.
7 OpenOffice.org
- a multi
-platform office productivity suite
13 This file is part of OpenOffice.org.
15 OpenOffice.org is free software
: you can redistribute it and
/or modify
16 it under the terms of the GNU Lesser General Public License version
3
17 only
, as published by the Free Software Foundation.
19 OpenOffice.org is distributed in the hope that it will be useful
,
20 but WITHOUT ANY WARRANTY
; without even the implied warranty of
21 MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the
22 GNU Lesser General Public License version
3 for more details
23 (a copy is included in the LICENSE file that accompanied this code
).
25 You should have received a copy of the GNU Lesser General Public License
26 version
3 along with OpenOffice.org. If not
, see
27 <http
://www.openoffice.org
/license.html
>
28 for a copy of the LGPLv3 License.
32 <!ENTITY
% controls
"form:text|form:textarea|form:fixed-text|form:file|
33 form:password|form:formatted-text|form:button|form:image|
34 form:checkbox|form:radio|form:listbox|form:combobox|form:frame|
35 form:hidden|form:image-frame|form:grid|form:value-range|form:generic-control">
37 <!ENTITY
% name
"form:name CDATA #IMPLIED">
38 <!ENTITY
% service
-name
"form:service-name CDATA #IMPLIED">
40 <!ENTITY
% navigation
"(none|current|parent)">
41 <!ENTITY
% cycles
"(records|current|page)">
42 <!ENTITY
% url
"CDATA">
45 <!ENTITY
% types
"(submit|reset|push|url)">
46 <!ENTITY
% button
-type
"form:button-type %types; 'push'">
47 <!ENTITY
% current
-selected
"form:current-selected %boolean; 'false'">
48 <!ENTITY
% current
-value
"form:current-value CDATA #IMPLIED">
49 <!ENTITY
% value
"form:value CDATA #IMPLIED">
50 <!ENTITY
% disabled
"form:disabled %boolean; 'false'">
51 <!ENTITY
% dropdown
"form:dropdown %boolean; 'false'">
52 <!ENTITY
% for
"form:for CDATA #IMPLIED">
53 <!ENTITY
% image
-data
"form:image-data %url; #IMPLIED">
54 <!ENTITY
% label
"form:label CDATA #IMPLIED">
55 <!ENTITY
% max
-length
"form:max-length CDATA #IMPLIED">
56 <!ENTITY
% printable
"form:printable %boolean; 'true'">
57 <!ENTITY
% readonly
"form:readonly %boolean; 'false'">
58 <!ENTITY
% size
"form:size CDATA #IMPLIED">
59 <!ENTITY
% selected
"form:selected %boolean; 'false'">
60 <!ENTITY
% size
"form:size CDATA #IMPLIED">
61 <!ENTITY
% tab
-index
"form:tab-index CDATA #IMPLIED">
62 <!ENTITY
% target
-frame
"office:target-frame CDATA '_blank'">
63 <!ENTITY
% target
-location
"xlink:href %url; #IMPLIED">
64 <!ENTITY
% tab
-stop
"form:tab-stop %boolean; 'true'">
65 <!ENTITY
% title
"form:title CDATA #IMPLIED">
66 <!ENTITY
% default
-value
"form:default-value CDATA #IMPLIED">
67 <!ENTITY
% bound
-column
"form:bound-column CDATA #IMPLIED">
68 <!ENTITY
% convert
-empty
"form:convert-empty-to-null %boolean; 'false'">
69 <!ENTITY
% data
-field
"form:data-field CDATA #IMPLIED">
70 <!ENTITY
% linked
-cell
"form:linked-cell CDATA #IMPLIED">
71 <!ENTITY
% visual
-effect
"form:visual-effect (flat|3d) #IMPLIED">
72 <!ENTITY
% image
-position
"form:image-position (start|end|top|bottom|center) 'center'">
73 <!ENTITY
% image
-align
"form:image-align (start|center|end) 'center'">
74 <!ENTITY
% list
-linkage
-type
"form:list-linkage-type (selection|selection-indexes) #IMPLIED">
75 <!ENTITY
% source
-cell
-range
"form:source-cell-range CDATA #IMPLIED">
76 <!ENTITY
% list
-source
"form:list-source CDATA #IMPLIED">
77 <!ENTITY
% list
-source
-types
"(table|query|sql|sql-pass-through|value-list|table-fields)">
78 <!ENTITY
% list
-source
-type
"form:list-source-type %list-source-types; #IMPLIED">
79 <!ENTITY
% column
-style
-name
"form:column-style-name %styleName; #IMPLIED">
80 <!ENTITY
% min
-value
"form:min-value %float; #IMPLIED">
81 <!ENTITY
% max
-value
"form:max-value %float; #IMPLIED">
82 <!ENTITY
% step
-size
"form:step-size %positiveInteger; '1'">
83 <!ENTITY
% page
-step
-size
"form:page-step-size %positiveInteger; #IMPLIED">
84 <!ENTITY
% delay
-for
-repeat
"form:delay-for-repeat %positiveInteger; #IMPLIED">
85 <!ENTITY
% orientation
"form:orientation (horizontal|vertical) #IMPLIED">
90 <!ELEMENT form
:control (%controls
;)+>
91 <!ATTLIST form
:control
%name
;
95 <!ELEMENT form
:form (form
:properties?
, office
:events?
, (form
:control|form
:form
)*)
>
96 <!ATTLIST form
:form
%name
; %service
-name
;>
97 <!ATTLIST form
:form xlink
:href
%url
; #IMPLIED
>
98 <!ATTLIST form
:form form
:enctype CDATA
"application/x-www-form-urlencoded">
99 <!ATTLIST form
:form form
:method CDATA
"get">
100 <!ATTLIST form
:form office
:target
-frame CDATA
"_blank">
101 <!ATTLIST form
:form form
:allow
-deletes
%boolean
; "true">
102 <!ATTLIST form
:form form
:allow
-inserts
%boolean
; "true">
103 <!ATTLIST form
:form form
:allow
-updates
%boolean
; "true">
104 <!ATTLIST form
:form form
:apply
-filter
%boolean
; "false">
105 <!ATTLIST form
:form form
:command CDATA #IMPLIED
>
106 <!ATTLIST form
:form form
:command
-type (table|query|command
) "command">
107 <!ATTLIST form
:form form
:datasource CDATA #IMPLIED
>
108 <!ATTLIST form
:form form
:detail
-fields CDATA #IMPLIED
>
109 <!ATTLIST form
:form form
:escape
-processing
%boolean
; "true">
110 <!ATTLIST form
:form form
:filter CDATA #IMPLIED
>
111 <!ATTLIST form
:form form
:ignore
-result
%boolean
; "false">
112 <!ATTLIST form
:form form
:master
-fields CDATA #IMPLIED
>
113 <!ATTLIST form
:form form
:navigation
-mode
%navigation
; #IMPLIED
>
114 <!ATTLIST form
:form form
:order CDATA #IMPLIED
>
115 <!ATTLIST form
:form form
:tab
-cycle
%cycles
; #IMPLIED
>
117 <!ELEMENT office
:forms (form
:form*)
>
118 <!ATTLIST office
:forms form
:automatic
-focus
%boolean
; "false">
119 <!ATTLIST office
:forms form
:apply
-design
-mode
%boolean
; "true">
121 <!ELEMENT form
:text (form
:properties?
, office
:events?
)>
122 <!ATTLIST form
:text
%current
-value
;
135 <!ELEMENT form
:textarea (form
:properties?
, office
:events?
, text
:p*)
>
136 <!ATTLIST form
:textarea
%current
-value
;
149 <!ELEMENT form
:password (form
:properties?
, office
:events?
)>
150 <!ATTLIST form
:password
%disabled
;
160 <!ATTLIST form
:password form
:echo
-char CDATA
"*">
162 <!ELEMENT form
:file (form
:properties?
, office
:events?
)>
163 <!ATTLIST form
:file
%current
-value
;
173 <!ELEMENT form
:formatted
-text (form
:properties?
, office
:events?
)>
174 <!ATTLIST form
:formatted
-text
%current
-value
;
188 <!ATTLIST form
:formatted
-text form
:validation
%boolean
; "false">
190 <!ELEMENT form
:fixed
-text (form
:properties?
, office
:events?
)>
191 <!ATTLIST form
:fixed
-text
%for
;
196 <!ATTLIST form
:fixed
-text form
:multi
-line
%boolean
; "false">
198 <!ELEMENT form
:combobox (form
:properties?
, office
:events?
, form
:item*)
>
199 <!ATTLIST form
:combobox
%current
-value
;
217 <!ATTLIST form
:combobox form
:auto
-complete
%boolean
; #IMPLIED
>
219 <!ELEMENT form
:item (#PCDATA
)>
220 <!ATTLIST form
:item
%label
;>
222 <!ELEMENT form
:listbox (form
:properties?
, office
:events?
, form
:option*)
>
223 <!ATTLIST form
:listbox
%disabled
;
238 <!ATTLIST form
:listbox form
:multiple
%boolean
; "false">
240 <!ELEMENT form
:option (#PCDATA
)>
241 <!ATTLIST form
:option
%current
-selected
;
246 <!ELEMENT form
:button (form
:properties?
, office
:events?
)>
247 <!ATTLIST form
:button
%button
-type
;
261 <!ATTLIST form
:button form
:default
-button
%boolean
; "false"
262 form
:toggle
%boolean
; "false"
263 form
:focus
-on
-click
%boolean
; "true">
265 <!ELEMENT form
:image (form
:properties?
, office
:events?
)>
266 <!ATTLIST form
:image
%button
-type
;
277 <!ELEMENT form
:checkbox (form
:properties?
, office
:events?
)>
278 <!ATTLIST form
:checkbox
%disabled
;
291 <!ENTITY
% states
"(unchecked|checked|unknown)">
292 <!ATTLIST form
:checkbox form
:current
-state
%states
; #IMPLIED
>
293 <!ATTLIST form
:checkbox form
:is
-tristate
%boolean
; "false">
294 <!ATTLIST form
:checkbox form
:state
%states
; "unchecked">
296 <!ELEMENT form
:radio (form
:properties?
, office
:events?
)>
297 <!ATTLIST form
:radio
%current
-selected
;
312 <!ELEMENT form
:frame (form
:properties?
, office
:events?
)>
313 <!ATTLIST form
:frame
%disabled
;
319 <!ELEMENT form
:image
-frame (form
:properties?
, office
:events?
)>
320 <!ATTLIST form
:image
-frame
%disabled
;
327 <!ELEMENT form
:hidden (form
:properties?
, office
:events?
)>
328 <!ATTLIST form
:hidden
%name
;
332 <!ELEMENT form
:grid (form
:properties?
, office
:events?
, form
:column*)
>
333 <!ATTLIST form
:grid
%disabled
;
339 <!ENTITY
% column
-type
"form:text| form:textarea| form:formatted-text|form:checkbox| form:listbox| form:combobox">
340 <!ELEMENT form
:column (%column
-type
;)+>
341 <!ATTLIST form
:column
%name
;
346 <!ELEMENT form
:generic
-control (form
:properties?
, office
:events?
)>
348 <!ELEMENT form
:value
-range (form
:properties?
, office
:events?
)>
349 <!ATTLIST form
:value
-range
%disabled
;
364 <!ELEMENT form
:properties (form
:property
+)>
365 <!ELEMENT form
:property (form
:property
-value*)
>
366 <!ATTLIST form
:property form
:property
-is
-list
%boolean
; #IMPLIED
>
367 <!ATTLIST form
:property form
:property
-name CDATA #REQUIRED
>
368 <!ATTLIST form
:property form
:property
-type (boolean|short|int|long|double|string
) #REQUIRED
>
369 <!ELEMENT form
:property
-value (#PCDATA
)>
370 <!ATTLIST form
:property
-value form
:property
-is
-void
%boolean
; #IMPLIED
>