sw a11y: clang-format SidebarWinAccessible code
[LibreOffice.git] / xmloff / dtd / form.mod
blob2352d913795c5726ee47eb682627da12e8a60032
1 <!--
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 .
17 -->
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;
79 %service-name;
80 %control-id;>
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;
110 %disabled;
111 %max-length;
112 %printable;
113 %readonly;
114 %tab-index;
115 %tab-stop;
116 %title;
117 %value;
118 %convert-empty;
119 %data-field;
120 %linked-cell;>
122 <!ELEMENT form:textarea (form:properties?, office:events?, text:p*)>
123 <!ATTLIST form:textarea %current-value;
124 %disabled;
125 %max-length;
126 %printable;
127 %readonly;
128 %tab-index;
129 %tab-stop;
130 %title;
131 %value;
132 %convert-empty;
133 %data-field;
134 %linked-cell;>
136 <!ELEMENT form:password (form:properties?, office:events?)>
137 <!ATTLIST form:password %disabled;
138 %max-length;
139 %printable;
140 %tab-index;
141 %tab-stop;
142 %title;
143 %value;
144 %convert-empty;
145 %linked-cell;>
147 <!ATTLIST form:password form:echo-char CDATA "*">
149 <!ELEMENT form:file (form:properties?, office:events?)>
150 <!ATTLIST form:file %current-value;
151 %disabled;
152 %max-length;
153 %printable;
154 %readonly;
155 %tab-index;
156 %tab-stop;
157 %title;
158 %value;>
160 <!ELEMENT form:formatted-text (form:properties?, office:events?)>
161 <!ATTLIST form:formatted-text %current-value;
162 %disabled;
163 %max-length;
164 %printable;
165 %readonly;
166 %tab-index;
167 %tab-stop;
168 %title;
169 %min-value;
170 %max-value;
171 %value;
172 %convert-empty;
173 %data-field;
174 %linked-cell;>
175 <!ATTLIST form:formatted-text form:validation %boolean; "false">
177 <!ELEMENT form:fixed-text (form:properties?, office:events?)>
178 <!ATTLIST form:fixed-text %for;
179 %disabled;
180 %label;
181 %printable;
182 %title;>
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;
187 %disabled;
188 %dropdown;
189 %max-length;
190 %printable;
191 %readonly;
192 %size;
193 %tab-index;
194 %tab-stop;
195 %title;
196 %value;
197 %convert-empty;
198 %data-field;
199 %list-source;
200 %list-source-type;
201 %linked-cell;
202 %source-cell-range;>
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;
211 %dropdown;
212 %printable;
213 %size;
214 %tab-index;
215 %tab-stop;
216 %title;
217 %bound-column;
218 %data-field;
219 %list-source;
220 %list-source-type;
221 %linked-cell;
222 %list-linkage-type;
223 %source-cell-range;>
225 <!ATTLIST form:listbox form:multiple %boolean; "false">
227 <!ELEMENT form:option (#PCDATA)>
228 <!ATTLIST form:option %current-selected;
229 %selected;
230 %label;
231 %value;>
233 <!ELEMENT form:button (form:properties?, office:events?)>
234 <!ATTLIST form:button %button-type;
235 %disabled;
236 %label;
237 %image-data;
238 %printable;
239 %tab-index;
240 %tab-stop;
241 %target-frame;
242 %target-location;
243 %title;
244 %value;
245 %image-position;
246 %image-align;>
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;
254 %disabled;
255 %image-data;
256 %printable;
257 %tab-index;
258 %tab-stop;
259 %target-frame;
260 %target-location;
261 %title;
262 %value;>
264 <!ELEMENT form:checkbox (form:properties?, office:events?)>
265 <!ATTLIST form:checkbox %disabled;
266 %label;
267 %printable;
268 %tab-index;
269 %tab-stop;
270 %title;
271 %value;
272 %data-field;
273 %linked-cell;
274 %visual-effect;
275 %image-position;
276 %image-align;>
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;
285 %disabled;
286 %label;
287 %printable;
288 %selected;
289 %tab-index;
290 %tab-stop;
291 %title;
292 %value;
293 %data-field;
294 %linked-cell;
295 %visual-effect;
296 %image-position;
297 %image-align;>
299 <!ELEMENT form:frame (form:properties?, office:events?)>
300 <!ATTLIST form:frame %disabled;
301 %for;
302 %label;
303 %printable;
304 %title;>
306 <!ELEMENT form:image-frame (form:properties?, office:events?)>
307 <!ATTLIST form:image-frame %disabled;
308 %image-data;
309 %printable;
310 %readonly;
311 %title;
312 %data-field;>
314 <!ELEMENT form:hidden (form:properties?, office:events?)>
315 <!ATTLIST form:hidden %name;
316 %service-name;
317 %value;>
319 <!ELEMENT form:grid (form:properties?, office:events?, form:column*)>
320 <!ATTLIST form:grid %disabled;
321 %printable;
322 %tab-index;
323 %tab-stop;
324 %title;>
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;
329 %service-name;
330 %label;
331 %column-style-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;
337 %printable;
338 %tab-index;
339 %tab-stop;
340 %title;
341 %min-value;
342 %max-value;
343 %current-value;
344 %value;
345 %linked-cell;
346 %step-size;
347 %page-step-size;
348 %delay-for-repeat;
349 %orientation;>
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>