2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License
, v.
2.0. If a copy of the MPL was not distributed with this
6 * file
, You can obtain one at http
://mozilla.org
/MPL
/2.0/.
8 * This file incorporates work covered by the following license notice
:
10 * Licensed to the Apache Software
Foundation (ASF
) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License
, Version
2.0 (the
"License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http
://www.apache.org
/licenses
/LICENSE
-2.0 .
19 <!ENTITY
% controls
"form:text|form:textarea|form:fixed-text|form:file|
20 form:password|form:formatted-text|form:button|form:image|
21 form:checkbox|form:radio|form:listbox|form:combobox|form:frame|
22 form:hidden|form:image-frame|form:grid|form:value-range|form:generic-control">
24 <!ENTITY
% name
"form:name CDATA #IMPLIED">
25 <!ENTITY
% service
-name
"form:service-name CDATA #IMPLIED">
27 <!ENTITY
% navigation
"(none|current|parent)">
28 <!ENTITY
% cycles
"(records|current|page)">
29 <!ENTITY
% url
"CDATA">
32 <!ENTITY
% types
"(submit|reset|push|url)">
33 <!ENTITY
% button
-type
"form:button-type %types; 'push'">
34 <!ENTITY
% current
-selected
"form:current-selected %boolean; 'false'">
35 <!ENTITY
% current
-value
"form:current-value CDATA #IMPLIED">
36 <!ENTITY
% value
"form:value CDATA #IMPLIED">
37 <!ENTITY
% disabled
"form:disabled %boolean; 'false'">
38 <!ENTITY
% dropdown
"form:dropdown %boolean; 'false'">
39 <!ENTITY
% for
"form:for CDATA #IMPLIED">
40 <!ENTITY
% image
-data
"form:image-data %url; #IMPLIED">
41 <!ENTITY
% label
"form:label CDATA #IMPLIED">
42 <!ENTITY
% max
-length
"form:max-length CDATA #IMPLIED">
43 <!ENTITY
% printable
"form:printable %boolean; 'true'">
44 <!ENTITY
% readonly
"form:readonly %boolean; 'false'">
45 <!ENTITY
% size
"form:size CDATA #IMPLIED">
46 <!ENTITY
% selected
"form:selected %boolean; 'false'">
47 <!ENTITY
% size
"form:size CDATA #IMPLIED">
48 <!ENTITY
% tab
-index
"form:tab-index CDATA #IMPLIED">
49 <!ENTITY
% target
-frame
"office:target-frame CDATA '_blank'">
50 <!ENTITY
% target
-location
"xlink:href %url; #IMPLIED">
51 <!ENTITY
% tab
-stop
"form:tab-stop %boolean; 'true'">
52 <!ENTITY
% title
"form:title CDATA #IMPLIED">
53 <!ENTITY
% default
-value
"form:default-value CDATA #IMPLIED">
54 <!ENTITY
% bound
-column
"form:bound-column CDATA #IMPLIED">
55 <!ENTITY
% convert
-empty
"form:convert-empty-to-null %boolean; 'false'">
56 <!ENTITY
% data
-field
"form:data-field CDATA #IMPLIED">
57 <!ENTITY
% linked
-cell
"form:linked-cell CDATA #IMPLIED">
58 <!ENTITY
% visual
-effect
"form:visual-effect (flat|3d) #IMPLIED">
59 <!ENTITY
% image
-position
"form:image-position (start|end|top|bottom|center) 'center'">
60 <!ENTITY
% image
-align
"form:image-align (start|center|end) 'center'">
61 <!ENTITY
% list
-linkage
-type
"form:list-linkage-type (selection|selection-indexes) #IMPLIED">
62 <!ENTITY
% source
-cell
-range
"form:source-cell-range CDATA #IMPLIED">
63 <!ENTITY
% list
-source
"form:list-source CDATA #IMPLIED">
64 <!ENTITY
% list
-source
-types
"(table|query|sql|sql-pass-through|value-list|table-fields)">
65 <!ENTITY
% list
-source
-type
"form:list-source-type %list-source-types; #IMPLIED">
66 <!ENTITY
% column
-style
-name
"form:column-style-name %styleName; #IMPLIED">
67 <!ENTITY
% min
-value
"form:min-value %float; #IMPLIED">
68 <!ENTITY
% max
-value
"form:max-value %float; #IMPLIED">
69 <!ENTITY
% step
-size
"form:step-size %positiveInteger; '1'">
70 <!ENTITY
% page
-step
-size
"form:page-step-size %positiveInteger; #IMPLIED">
71 <!ENTITY
% delay
-for
-repeat
"form:delay-for-repeat %positiveInteger; #IMPLIED">
72 <!ENTITY
% orientation
"form:orientation (horizontal|vertical) #IMPLIED">
77 <!ELEMENT form
:control (%controls
;)+>
78 <!ATTLIST form
:control
%name
;
82 <!ELEMENT form
:form (form
:properties?
, office
:events?
, (form
:control|form
:form
)*)
>
83 <!ATTLIST form
:form
%name
; %service
-name
;>
84 <!ATTLIST form
:form xlink
:href
%url
; #IMPLIED
>
85 <!ATTLIST form
:form form
:enctype CDATA
"application/x-www-form-urlencoded">
86 <!ATTLIST form
:form form
:method CDATA
"get">
87 <!ATTLIST form
:form office
:target
-frame CDATA
"_blank">
88 <!ATTLIST form
:form form
:allow
-deletes
%boolean
; "true">
89 <!ATTLIST form
:form form
:allow
-inserts
%boolean
; "true">
90 <!ATTLIST form
:form form
:allow
-updates
%boolean
; "true">
91 <!ATTLIST form
:form form
:apply
-filter
%boolean
; "false">
92 <!ATTLIST form
:form form
:command CDATA #IMPLIED
>
93 <!ATTLIST form
:form form
:command
-type (table|query|command
) "command">
94 <!ATTLIST form
:form form
:datasource CDATA #IMPLIED
>
95 <!ATTLIST form
:form form
:detail
-fields CDATA #IMPLIED
>
96 <!ATTLIST form
:form form
:escape
-processing
%boolean
; "true">
97 <!ATTLIST form
:form form
:filter CDATA #IMPLIED
>
98 <!ATTLIST form
:form form
:ignore
-result
%boolean
; "false">
99 <!ATTLIST form
:form form
:master
-fields CDATA #IMPLIED
>
100 <!ATTLIST form
:form form
:navigation
-mode
%navigation
; #IMPLIED
>
101 <!ATTLIST form
:form form
:order CDATA #IMPLIED
>
102 <!ATTLIST form
:form form
:tab
-cycle
%cycles
; #IMPLIED
>
104 <!ELEMENT office
:forms (form
:form*)
>
105 <!ATTLIST office
:forms form
:automatic
-focus
%boolean
; "false">
106 <!ATTLIST office
:forms form
:apply
-design
-mode
%boolean
; "true">
108 <!ELEMENT form
:text (form
:properties?
, office
:events?
)>
109 <!ATTLIST form
:text
%current
-value
;
122 <!ELEMENT form
:textarea (form
:properties?
, office
:events?
, text
:p*)
>
123 <!ATTLIST form
:textarea
%current
-value
;
136 <!ELEMENT form
:password (form
:properties?
, office
:events?
)>
137 <!ATTLIST form
:password
%disabled
;
147 <!ATTLIST form
:password form
:echo
-char CDATA
"*">
149 <!ELEMENT form
:file (form
:properties?
, office
:events?
)>
150 <!ATTLIST form
:file
%current
-value
;
160 <!ELEMENT form
:formatted
-text (form
:properties?
, office
:events?
)>
161 <!ATTLIST form
:formatted
-text
%current
-value
;
175 <!ATTLIST form
:formatted
-text form
:validation
%boolean
; "false">
177 <!ELEMENT form
:fixed
-text (form
:properties?
, office
:events?
)>
178 <!ATTLIST form
:fixed
-text
%for
;
183 <!ATTLIST form
:fixed
-text form
:multi
-line
%boolean
; "false">
185 <!ELEMENT form
:combobox (form
:properties?
, office
:events?
, form
:item*)
>
186 <!ATTLIST form
:combobox
%current
-value
;
204 <!ATTLIST form
:combobox form
:auto
-complete
%boolean
; #IMPLIED
>
206 <!ELEMENT form
:item (#PCDATA
)>
207 <!ATTLIST form
:item
%label
;>
209 <!ELEMENT form
:listbox (form
:properties?
, office
:events?
, form
:option*)
>
210 <!ATTLIST form
:listbox
%disabled
;
225 <!ATTLIST form
:listbox form
:multiple
%boolean
; "false">
227 <!ELEMENT form
:option (#PCDATA
)>
228 <!ATTLIST form
:option
%current
-selected
;
233 <!ELEMENT form
:button (form
:properties?
, office
:events?
)>
234 <!ATTLIST form
:button
%button
-type
;
248 <!ATTLIST form
:button form
:default
-button
%boolean
; "false"
249 form
:toggle
%boolean
; "false"
250 form
:focus
-on
-click
%boolean
; "true">
252 <!ELEMENT form
:image (form
:properties?
, office
:events?
)>
253 <!ATTLIST form
:image
%button
-type
;
264 <!ELEMENT form
:checkbox (form
:properties?
, office
:events?
)>
265 <!ATTLIST form
:checkbox
%disabled
;
278 <!ENTITY
% states
"(unchecked|checked|unknown)">
279 <!ATTLIST form
:checkbox form
:current
-state
%states
; #IMPLIED
>
280 <!ATTLIST form
:checkbox form
:is
-tristate
%boolean
; "false">
281 <!ATTLIST form
:checkbox form
:state
%states
; "unchecked">
283 <!ELEMENT form
:radio (form
:properties?
, office
:events?
)>
284 <!ATTLIST form
:radio
%current
-selected
;
299 <!ELEMENT form
:frame (form
:properties?
, office
:events?
)>
300 <!ATTLIST form
:frame
%disabled
;
306 <!ELEMENT form
:image
-frame (form
:properties?
, office
:events?
)>
307 <!ATTLIST form
:image
-frame
%disabled
;
314 <!ELEMENT form
:hidden (form
:properties?
, office
:events?
)>
315 <!ATTLIST form
:hidden
%name
;
319 <!ELEMENT form
:grid (form
:properties?
, office
:events?
, form
:column*)
>
320 <!ATTLIST form
:grid
%disabled
;
326 <!ENTITY
% column
-type
"form:text| form:textarea| form:formatted-text|form:checkbox| form:listbox| form:combobox">
327 <!ELEMENT form
:column (%column
-type
;)+>
328 <!ATTLIST form
:column
%name
;
333 <!ELEMENT form
:generic
-control (form
:properties?
, office
:events?
)>
335 <!ELEMENT form
:value
-range (form
:properties?
, office
:events?
)>
336 <!ATTLIST form
:value
-range
%disabled
;
351 <!ELEMENT form
:properties (form
:property
+)>
352 <!ELEMENT form
:property (form
:property
-value*)
>
353 <!ATTLIST form
:property form
:property
-is
-list
%boolean
; #IMPLIED
>
354 <!ATTLIST form
:property form
:property
-name CDATA #REQUIRED
>
355 <!ATTLIST form
:property form
:property
-type (boolean|short|int|long|double|string
) #REQUIRED
>
356 <!ELEMENT form
:property
-value (#PCDATA
)>
357 <!ATTLIST form
:property
-value form
:property
-is
-void
%boolean
; #IMPLIED
>