blob: 4f6640211e59f60372b638cedd12f180bcafd127 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types" xml:lang="en-US">
<info>
<desc>Contains common content types for Office. See package TypeDetection
and TypeDetection_Filters for other parts of type/filter configuration
too.</desc>
</info>
<templates>
<group oor:name="Type">
<info>
<desc>Lists the types that represent common content formats in
Office.</desc>
</info>
<prop oor:name="UIOrder" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Used to sort types inside dialogs. Only values > 0 are
recognized. Types with an order value < 1 will be sorted
alphabetically.</desc>
</info>
<value>0</value>
</prop>
<prop oor:name="URLPattern" oor:type="oor:string-list" oor:nillable="false">
<info>
<desc>List of URL pattern (with simple wildcards */?) which match to
this type.</desc>
</info>
<value/>
</prop>
<prop oor:name="Extensions" oor:type="oor:string-list" oor:nillable="false">
<info>
<desc>List of file extensions, which match to this type.</desc>
</info>
<value/>
</prop>
<prop oor:name="DocumentIconID" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Global ID of an icon, which represent this type at the UI.</desc>
</info>
<value>0</value>
</prop>
<prop oor:name="MediaType" oor:type="xs:string" oor:nillable="false">
<info>
<desc>Corresponding mime type.</desc>
</info>
<value/>
</prop>
<prop oor:name="Preferred" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>In case of ambiguous registrations (e.g. for extensions doc/txt)
it specify the preferred type.</desc>
</info>
<value>false</value>
</prop>
<prop oor:name="PreferredFilter" oor:type="xs:string" oor:nillable="false">
<info>
<desc>An optimization; points directly at the preferred filter for
this type. No search across all filters is necessary.</desc>
</info>
<value/>
</prop>
<prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
<info>
<desc>Localized name of this type for showing it at the UI.</desc>
</info>
</prop>
<prop oor:name="ClipboardFormat" oor:type="xs:string" oor:nillable="false">
<info>
<desc>Unique identifier, which can be searched inside the stream to
detect this format.</desc>
</info>
<value/>
</prop>
<prop oor:name="DetectService" oor:type="xs:string" oor:nillable="false">
<info>
<desc>An optimization; points directly at the deep detection service,
which can verify a flat detection.</desc>
</info>
<value/>
</prop>
</group>
</templates>
<component>
<set oor:name="Types" oor:node-type="Type">
<info>
<desc>Lists the registered content types.</desc>
</info>
</set>
</component>
</oor:component-schema>
|