1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23<schema version="1.0" xmlns="http://www.apple.com/metadata"
24                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25                      xsi:schemaLocation="http://www.apple.com/metadata file:///System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Resources/MetadataSchema.xsd">
26    <note>
27        OpenOffice.org allows the user to enter 4 pieces of custom information in the document's metadata.
28        These metadata fields are described here for Spotlight's use.
29    </note>
30    <attributes>
31        <attribute name="org_openoffice_opendocument_custominfo1" type="CFString"/>
32        <attribute name="org_openoffice_opendocument_custominfo2" type="CFString"/>
33        <attribute name="org_openoffice_opendocument_custominfo3" type="CFString"/>
34        <attribute name="org_openoffice_opendocument_custominfo4" type="CFString"/>
35    </attributes>
36
37    <types>
38        <type name="org.openoffice.text">
39            <note>
40		The custom metadata info.
41            </note>
42            <allattrs id="attrs">
43	    org_openoffice_opendocument_custominfo1
44        org_openoffice_opendocument_custominfo2
45	    org_openoffice_opendocument_custominfo3
46        org_openoffice_opendocument_custominfo4
47            </allattrs>
48            <displayattrs id="dattrs">
49	    org_openoffice_opendocument_custominfo1
50        org_openoffice_opendocument_custominfo2
51	    org_openoffice_opendocument_custominfo3
52        org_openoffice_opendocument_custominfo4
53            </displayattrs>
54        </type>
55
56        <type name="org.oasis.opendocument.text">
57            <note>
58		The custom metadata info.
59            </note>
60            <allattrs id="attrs">
61	    org_openoffice_opendocument_custominfo1
62        org_openoffice_opendocument_custominfo2
63	    org_openoffice_opendocument_custominfo3
64        org_openoffice_opendocument_custominfo4
65            </allattrs>
66            <displayattrs id="dattrs">
67	    org_openoffice_opendocument_custominfo1
68        org_openoffice_opendocument_custominfo2
69	    org_openoffice_opendocument_custominfo3
70        org_openoffice_opendocument_custominfo4
71            </displayattrs>
72        </type>
73
74        <type name="org.openoffice.spreadsheet">
75            <note>
76		The custom metadata info.
77            </note>
78            <allattrs id="attrs">
79	    org_openoffice_opendocument_custominfo1
80        org_openoffice_opendocument_custominfo2
81	    org_openoffice_opendocument_custominfo3
82        org_openoffice_opendocument_custominfo4
83            </allattrs>
84            <displayattrs id="dattrs">
85	    org_openoffice_opendocument_custominfo1
86        org_openoffice_opendocument_custominfo2
87	    org_openoffice_opendocument_custominfo3
88        org_openoffice_opendocument_custominfo4
89            </displayattrs>
90        </type>
91
92        <type name="org.oasis.opendocument.spreadsheet">
93            <note>
94		The custom metadata info.
95            </note>
96            <allattrs id="attrs">
97	    org_openoffice_opendocument_custominfo1
98        org_openoffice_opendocument_custominfo2
99	    org_openoffice_opendocument_custominfo3
100        org_openoffice_opendocument_custominfo4
101            </allattrs>
102            <displayattrs id="dattrs">
103	    org_openoffice_opendocument_custominfo1
104        org_openoffice_opendocument_custominfo2
105	    org_openoffice_opendocument_custominfo3
106        org_openoffice_opendocument_custominfo4
107            </displayattrs>
108        </type>
109
110        <type name="org.openoffice.presentation">
111            <note>
112		The custom metadata info.
113            </note>
114            <allattrs id="attrs">
115	    org_openoffice_opendocument_custominfo1
116        org_openoffice_opendocument_custominfo2
117	    org_openoffice_opendocument_custominfo3
118        org_openoffice_opendocument_custominfo4
119            </allattrs>
120            <displayattrs id="dattrs">
121	    org_openoffice_opendocument_custominfo1
122        org_openoffice_opendocument_custominfo2
123	    org_openoffice_opendocument_custominfo3
124        org_openoffice_opendocument_custominfo4
125            </displayattrs>
126        </type>
127
128        <type name="org.oasis.opendocument.presentation">
129            <note>
130		The custom metadata info.
131            </note>
132            <allattrs id="attrs">
133	    org_openoffice_opendocument_custominfo1
134        org_openoffice_opendocument_custominfo2
135	    org_openoffice_opendocument_custominfo3
136        org_openoffice_opendocument_custominfo4
137            </allattrs>
138            <displayattrs id="dattrs">
139	    org_openoffice_opendocument_custominfo1
140        org_openoffice_opendocument_custominfo2
141	    org_openoffice_opendocument_custominfo3
142        org_openoffice_opendocument_custominfo4
143            </displayattrs>
144        </type>
145
146        <type name="org.openoffice.graphics">
147            <note>
148		The custom metadata info.
149            </note>
150            <allattrs id="attrs">
151	    org_openoffice_opendocument_custominfo1
152        org_openoffice_opendocument_custominfo2
153	    org_openoffice_opendocument_custominfo3
154        org_openoffice_opendocument_custominfo4
155            </allattrs>
156            <displayattrs id="dattrs">
157	    org_openoffice_opendocument_custominfo1
158        org_openoffice_opendocument_custominfo2
159	    org_openoffice_opendocument_custominfo3
160        org_openoffice_opendocument_custominfo4
161            </displayattrs>
162        </type>
163
164        <type name="org.oasis.opendocument.graphics">
165            <note>
166		The custom metadata info.
167            </note>
168            <allattrs id="attrs">
169	    org_openoffice_opendocument_custominfo1
170        org_openoffice_opendocument_custominfo2
171	    org_openoffice_opendocument_custominfo3
172        org_openoffice_opendocument_custominfo4
173            </allattrs>
174            <displayattrs id="dattrs">
175	    org_openoffice_opendocument_custominfo1
176        org_openoffice_opendocument_custominfo2
177	    org_openoffice_opendocument_custominfo3
178        org_openoffice_opendocument_custominfo4
179            </displayattrs>
180        </type>
181
182        <type name="org.openoffice.text-master">
183            <note>
184		The custom metadata info.
185            </note>
186            <allattrs id="attrs">
187	    org_openoffice_opendocument_custominfo1
188        org_openoffice_opendocument_custominfo2
189	    org_openoffice_opendocument_custominfo3
190        org_openoffice_opendocument_custominfo4
191            </allattrs>
192            <displayattrs id="dattrs">
193	    org_openoffice_opendocument_custominfo1
194        org_openoffice_opendocument_custominfo2
195	    org_openoffice_opendocument_custominfo3
196        org_openoffice_opendocument_custominfo4
197            </displayattrs>
198        </type>
199
200        <type name="org.oasis.opendocument.text-master">
201            <note>
202		The custom metadata info.
203            </note>
204            <allattrs id="attrs">
205	    org_openoffice_opendocument_custominfo1
206        org_openoffice_opendocument_custominfo2
207	    org_openoffice_opendocument_custominfo3
208        org_openoffice_opendocument_custominfo4
209            </allattrs>
210            <displayattrs id="dattrs">
211	    org_openoffice_opendocument_custominfo1
212        org_openoffice_opendocument_custominfo2
213	    org_openoffice_opendocument_custominfo3
214        org_openoffice_opendocument_custominfo4
215            </displayattrs>
216        </type>
217
218        <type name="org.openoffice.formula">
219            <note>
220		The custom metadata info.
221            </note>
222            <allattrs id="attrs">
223	    org_openoffice_opendocument_custominfo1
224        org_openoffice_opendocument_custominfo2
225	    org_openoffice_opendocument_custominfo3
226        org_openoffice_opendocument_custominfo4
227            </allattrs>
228            <displayattrs id="dattrs">
229	    org_openoffice_opendocument_custominfo1
230        org_openoffice_opendocument_custominfo2
231	    org_openoffice_opendocument_custominfo3
232        org_openoffice_opendocument_custominfo4
233            </displayattrs>
234        </type>
235
236        <type name="org.oasis.opendocument.formula">
237            <note>
238		The custom metadata info.
239            </note>
240            <allattrs id="attrs">
241	    org_openoffice_opendocument_custominfo1
242        org_openoffice_opendocument_custominfo2
243	    org_openoffice_opendocument_custominfo3
244        org_openoffice_opendocument_custominfo4
245            </allattrs>
246            <displayattrs id="dattrs">
247	    org_openoffice_opendocument_custominfo1
248        org_openoffice_opendocument_custominfo2
249	    org_openoffice_opendocument_custominfo3
250        org_openoffice_opendocument_custominfo4
251            </displayattrs>
252        </type>
253
254        <type name="org.openoffice.text-template">
255            <note>
256		The custom metadata info.
257            </note>
258            <allattrs id="attrs">
259	    org_openoffice_opendocument_custominfo1
260        org_openoffice_opendocument_custominfo2
261	    org_openoffice_opendocument_custominfo3
262        org_openoffice_opendocument_custominfo4
263            </allattrs>
264            <displayattrs id="dattrs">
265	    org_openoffice_opendocument_custominfo1
266        org_openoffice_opendocument_custominfo2
267	    org_openoffice_opendocument_custominfo3
268        org_openoffice_opendocument_custominfo4
269            </displayattrs>
270        </type>
271
272        <type name="org.oasis.opendocument.text-template">
273            <note>
274		The custom metadata info.
275            </note>
276            <allattrs id="attrs">
277	    org_openoffice_opendocument_custominfo1
278        org_openoffice_opendocument_custominfo2
279	    org_openoffice_opendocument_custominfo3
280        org_openoffice_opendocument_custominfo4
281            </allattrs>
282            <displayattrs id="dattrs">
283	    org_openoffice_opendocument_custominfo1
284        org_openoffice_opendocument_custominfo2
285	    org_openoffice_opendocument_custominfo3
286        org_openoffice_opendocument_custominfo4
287            </displayattrs>
288        </type>
289
290        <type name="org.openoffice.spreadsheet-template">
291            <note>
292		The custom metadata info.
293            </note>
294            <allattrs id="attrs">
295	    org_openoffice_opendocument_custominfo1
296        org_openoffice_opendocument_custominfo2
297	    org_openoffice_opendocument_custominfo3
298        org_openoffice_opendocument_custominfo4
299            </allattrs>
300            <displayattrs id="dattrs">
301	    org_openoffice_opendocument_custominfo1
302        org_openoffice_opendocument_custominfo2
303	    org_openoffice_opendocument_custominfo3
304        org_openoffice_opendocument_custominfo4
305            </displayattrs>
306        </type>
307
308        <type name="org.oasis.opendocument.spreadsheet-template">
309            <note>
310		The custom metadata info.
311            </note>
312            <allattrs id="attrs">
313	    org_openoffice_opendocument_custominfo1
314        org_openoffice_opendocument_custominfo2
315	    org_openoffice_opendocument_custominfo3
316        org_openoffice_opendocument_custominfo4
317            </allattrs>
318            <displayattrs id="dattrs">
319	    org_openoffice_opendocument_custominfo1
320        org_openoffice_opendocument_custominfo2
321	    org_openoffice_opendocument_custominfo3
322        org_openoffice_opendocument_custominfo4
323            </displayattrs>
324        </type>
325
326        <type name="org.openoffice.presentation-template">
327            <note>
328		The custom metadata info.
329            </note>
330            <allattrs id="attrs">
331	    org_openoffice_opendocument_custominfo1
332        org_openoffice_opendocument_custominfo2
333	    org_openoffice_opendocument_custominfo3
334        org_openoffice_opendocument_custominfo4
335            </allattrs>
336            <displayattrs id="dattrs">
337	    org_openoffice_opendocument_custominfo1
338        org_openoffice_opendocument_custominfo2
339	    org_openoffice_opendocument_custominfo3
340        org_openoffice_opendocument_custominfo4
341            </displayattrs>
342        </type>
343
344        <type name="org.oasis.opendocument.presentation-template">
345            <note>
346		The custom metadata info.
347            </note>
348            <allattrs id="attrs">
349	    org_openoffice_opendocument_custominfo1
350        org_openoffice_opendocument_custominfo2
351	    org_openoffice_opendocument_custominfo3
352        org_openoffice_opendocument_custominfo4
353            </allattrs>
354            <displayattrs id="dattrs">
355	    org_openoffice_opendocument_custominfo1
356        org_openoffice_opendocument_custominfo2
357	    org_openoffice_opendocument_custominfo3
358        org_openoffice_opendocument_custominfo4
359            </displayattrs>
360        </type>
361
362        <type name="org.openoffice.graphics-template">
363            <note>
364		The custom metadata info.
365            </note>
366            <allattrs id="attrs">
367	    org_openoffice_opendocument_custominfo1
368        org_openoffice_opendocument_custominfo2
369	    org_openoffice_opendocument_custominfo3
370        org_openoffice_opendocument_custominfo4
371            </allattrs>
372            <displayattrs id="dattrs">
373	    org_openoffice_opendocument_custominfo1
374        org_openoffice_opendocument_custominfo2
375	    org_openoffice_opendocument_custominfo3
376        org_openoffice_opendocument_custominfo4
377            </displayattrs>
378        </type>
379
380        <type name="org.oasis.opendocument.graphics-template">
381            <note>
382		The custom metadata info.
383            </note>
384            <allattrs id="attrs">
385	    org_openoffice_opendocument_custominfo1
386        org_openoffice_opendocument_custominfo2
387	    org_openoffice_opendocument_custominfo3
388        org_openoffice_opendocument_custominfo4
389            </allattrs>
390            <displayattrs id="dattrs">
391	    org_openoffice_opendocument_custominfo1
392        org_openoffice_opendocument_custominfo2
393	    org_openoffice_opendocument_custominfo3
394        org_openoffice_opendocument_custominfo4
395            </displayattrs>
396        </type>
397
398        <type name="org.oasis.opendocument.chart">
399            <note>
400		The custom metadata info.
401            </note>
402            <allattrs id="attrs">
403	    org_openoffice_opendocument_custominfo1
404        org_openoffice_opendocument_custominfo2
405	    org_openoffice_opendocument_custominfo3
406        org_openoffice_opendocument_custominfo4
407            </allattrs>
408            <displayattrs id="dattrs">
409	    org_openoffice_opendocument_custominfo1
410        org_openoffice_opendocument_custominfo2
411	    org_openoffice_opendocument_custominfo3
412        org_openoffice_opendocument_custominfo4
413            </displayattrs>
414        </type>
415    </types>
416</schema>
417
418