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
24<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
25<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="TypeDetection" oor:package="org.openoffice.Office" xml:lang="en-US">
26	<info>
27		<author>AS</author>
28		<desc >Contains common content types, filters, deep detection services, as well as the frame loader and the content handler for Office.</desc>
29	</info>
30	<templates>
31		<group oor:name="Type">
32			<info>
33				<desc>Lists the types that represent common content formats in Office.</desc>
34			</info>
35			<prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
36				<info>
37					<desc>Displays a localized type on the user interface. Supports CJK by allowing you to assign it a value or language. Any Unicode character is permitted.</desc>
38				</info>
39			</prop>
40			<prop oor:name="Data" oor:type="xs:string">
41				<info>
42					<desc>Contains configuration items of the type. Items are separated by using &quot;,&quot;, list items are separated by&quot;;&quot;. Sequence of items: Preferred,MediaType,ClipboardFormat,URLPattern,Extensions,DocumentIconID.</desc>
43				</info>
44				<value>false</value>
45			</prop>
46		</group>
47		<group oor:name="Filter">
48			<info>
49				<desc>Lists filters that can import or export content.</desc>
50			</info>
51			<prop oor:name="Installed" oor:type="xs:boolean">
52				<info>
53					<desc>Enables or disables filter with the setup utility.</desc>
54				</info>
55				<value>false</value>
56			</prop>
57			<prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
58				<info>
59					<desc>Displays the localized filter on the user interface. Supports CJK by allowing you to assign it a value or language. Any Unicode characters is permitted.</desc>
60				</info>
61			</prop>
62			<prop oor:name="Data" oor:type="xs:string">
63				<info>
64					<desc>Contains configuration items of the filter. Items are separated by &quot;,&quot;, list items are separated by &quot;;&quot;. Sequence of items: Order,Type,DocumentService,FilterService,Flags,UserData,FilteFormatVersion,TemplateName,UIComponent.</desc>
65				</info>
66			</prop>
67		</group>
68		<group oor:name="DetectService">
69			<info>
70				<desc>Improves the type detection. UNO services access stored content to determine type.</desc>
71			</info>
72			<prop oor:name="Types" oor:type="oor:string-list">
73				<info>
74					<desc>Lists internal type names that can be recognized by this service.</desc>
75				</info>
76			</prop>
77		</group>
78		<group oor:name="ContentHandler">
79			<info>
80				<desc>Loads &quot;non visible&quot; content, such as sounds.</desc>
81			</info>
82			<prop oor:name="Types" oor:type="oor:string-list">
83				<info>
84					<desc>Lists internal type names that can be recognized by this service.</desc>
85				</info>
86			</prop>
87		</group>
88		<group oor:name="FrameLoader">
89			<info>
90				<desc>Loads &quot;visible content&quot; into a frame.</desc>
91			</info>
92			<prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
93				<info>
94					<desc>Displays the localized loader on the user interface. Supports CJK by allowing you to assign it a value or language. Any Unicode character is permitted.</desc>
95				</info>
96			</prop>
97			<prop oor:name="Types" oor:type="oor:string-list">
98				<info>
99					<desc>Lists internal type names that can be recognized by this service.</desc>
100				</info>
101			</prop>
102		</group>
103	</templates>
104	<component>
105		<set oor:name="Types" oor:node-type="Type">
106			<info>
107				<desc>Lists the registered content types.</desc>
108			</info>
109		</set>
110		<set oor:name="Filters" oor:node-type="Filter">
111			<info>
112				<desc>Lists the registered office filters.</desc>
113			</info>
114		</set>
115		<set oor:name="DetectServices" oor:node-type="DetectService">
116			<info>
117				<desc>Lists the registered deep detection services.</desc>
118			</info>
119		</set>
120		<set oor:name="ContentHandlers" oor:node-type="ContentHandler">
121			<info>
122				<desc>Lists the registered content handler services.</desc>
123			</info>
124		</set>
125		<set oor:name="FrameLoaders" oor:node-type="FrameLoader">
126			<info>
127				<desc>Lists the registered frame loader services.</desc>
128			</info>
129		</set>
130		<group oor:name="Defaults">
131			<info>
132				<desc>Contains default objects that are used if no specialized service was registered.</desc>
133			</info>
134			<prop oor:name="FrameLoader" oor:type="xs:string">
135				<info>
136					<desc>Specifies the default frame loader.</desc>
137				</info>
138				<value>com.sun.star.comp.office.FrameLoader</value>
139			</prop>
140			<prop oor:name="ShowAlienFilterWarning" oor:type="xs:boolean">
141				<info>
142					<author>OS</author>
143					<desc>Displays a warning when a user tries to set a third-party filter as the default filter in &quot;Tools - Options&quot;.</desc>
144				</info>
145				<value>true</value>
146			</prop>
147		</group>
148	</component>
149</oor:component-schema>
150