1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 *   Licensed to the Apache Software Foundation (ASF) under one or more
12 *   contributor license agreements. See the NOTICE file distributed
13 *   with this work for additional information regarding copyright
14 *   ownership. The ASF licenses this file to you under the Apache
15 *   License, Version 2.0 (the "License"); you may not use this file
16 *   except in compliance with the License. You may obtain a copy of
17 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
20<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">
21  <info>
22    <desc>Contains common content types, filters, deep detection services, as well as the frame loader and the content handler for Office.</desc>
23  </info>
24  <templates>
25    <group oor:name="Type">
26      <info>
27        <desc>Lists the types that represent common content formats in Office.</desc>
28      </info>
29      <prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
30        <info>
31          <desc>Displays a localized type on the user interface. Supports CJK by allowing you to assign it a value or language. Any UniCode characters is permitted.</desc>
32        </info>
33      </prop>
34      <prop oor:name="Data" oor:type="xs:string" oor:nillable="false">
35        <info>
36          <desc>Contains configuration items of the type. Items are separated by using ",", list items are separated by";". Sequence of items: Preferred,MediaType,ClipboardFormat,URLPattern,Extensions,DocumentIconID.</desc>
37        </info>
38        <value>false</value>
39      </prop>
40    </group>
41    <group oor:name="Filter">
42      <info>
43        <desc>Lists filters that can import or export content.</desc>
44      </info>
45      <prop oor:name="Installed" oor:type="xs:boolean" oor:nillable="false">
46        <info>
47          <desc>Enables or disables filter with the setup utility.</desc>
48        </info>
49        <value>false</value>
50      </prop>
51      <prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
52        <info>
53          <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>
54        </info>
55      </prop>
56      <prop oor:name="Data" oor:type="xs:string">
57        <info>
58          <desc>Contains configuration items of the filter. Items are separated by ",", list items are separated by ";". Sequence of items: Order,Type,DocumentService,FilterService,Flags,UserData,FilteFormatVersion,TemplateName,UIComponent.</desc>
59        </info>
60      </prop>
61    </group>
62    <group oor:name="DetectService">
63      <info>
64        <desc>Improves the type detection. UNO services access stored content to determine type.</desc>
65      </info>
66      <prop oor:name="Types" oor:type="oor:string-list">
67        <info>
68          <desc>Lists internal type names that can be recognized by this service.</desc>
69        </info>
70      </prop>
71    </group>
72    <group oor:name="ContentHandler">
73      <info>
74        <desc>Loads "non visible" content, such as sounds.</desc>
75      </info>
76      <prop oor:name="Types" oor:type="oor:string-list">
77        <info>
78          <desc>Lists internal type names that can be recognized by this service.</desc>
79        </info>
80      </prop>
81    </group>
82    <group oor:name="FrameLoader">
83      <info>
84        <desc>Loads "visible content" into a frame.</desc>
85      </info>
86      <prop oor:name="UIName" oor:type="xs:string" oor:localized="true">
87        <info>
88          <desc>Displays the localized loader on the user interface. Supports CJK by allowing you to assign it a value or language. Any UniCode characters is permitted.</desc>
89        </info>
90      </prop>
91      <prop oor:name="Types" oor:type="oor:string-list">
92        <info>
93          <desc>Lists internal type names that can be recognized by this service.</desc>
94        </info>
95      </prop>
96    </group>
97  </templates>
98  <component>
99    <set oor:name="Types" oor:node-type="Type">
100      <info>
101        <desc>Lists the registered content types.</desc>
102      </info>
103    </set>
104    <set oor:name="Filters" oor:node-type="Filter">
105      <info>
106        <desc>Lists the registered office filters.</desc>
107      </info>
108    </set>
109    <set oor:name="DetectServices" oor:node-type="DetectService">
110      <info>
111        <desc>Lists the registered deep detection services.</desc>
112      </info>
113    </set>
114    <set oor:name="ContentHandlers" oor:node-type="ContentHandler">
115      <info>
116        <desc>Lists the registered content handler services.</desc>
117      </info>
118    </set>
119    <set oor:name="FrameLoaders" oor:node-type="FrameLoader">
120      <info>
121        <desc>Lists the registered frame loader services.</desc>
122      </info>
123    </set>
124    <group oor:name="Defaults">
125      <info>
126        <desc>Contains default objects that are used if no specialized service was registered.</desc>
127      </info>
128      <prop oor:name="FrameLoader" oor:type="xs:string" oor:nillable="false">
129        <info>
130          <desc>Specifies the default frame loader.</desc>
131        </info>
132        <value>com.sun.star.comp.office.FrameLoader</value>
133      </prop>
134      <prop oor:name="ShowAlienFilterWarning" oor:type="xs:boolean" oor:nillable="false">
135        <info>
136          <desc>Displays a warning when a user tries to set a third-party filter as the default filter in "Tools - Options".</desc>
137        </info>
138        <value>true</value>
139      </prop>
140    </group>
141  </component>
142</oor:component-schema>
143