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 oor:name="Types" oor:package="org.openoffice.TypeDetection" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 26 <info> 27 <author>AS</author> 28 <desc >Contains common content types for Office. See package TypeDetection and TypeDetection_Filters for other parts of type/filter configuration too.</desc> 29 </info> 30 <templates> 31 <group oor:name="Type"> 32 <info><desc>Lists the types that represent common content formats in Office.</desc></info> 33 <prop oor:name="UIOrder" oor:type="xs:int"> 34 <info><desc>Used to sort types inside dialogs. Only values >0 are recognized. Types with an order value <1 will be sorted alphabeticly.</desc></info> 35 <value>0</value> 36 </prop> 37 <prop oor:name="URLPattern" oor:type="oor:string-list"> 38 <info><desc>List of URL pattern (with simple wildcards */?) which match to this type.</desc></info> 39 <value/> 40 </prop> 41 <prop oor:name="Extensions" oor:type="oor:string-list"> 42 <info><desc>List of file extensions, which match to this type.</desc></info> 43 <value/> 44 </prop> 45 <prop oor:name="DocumentIconID" oor:type="xs:int"> 46 <info><desc>Global ID of an icon, which represent this tye at the UI.</desc></info> 47 <value>0</value> 48 </prop> 49 <prop oor:name="MediaType" oor:type="xs:string"> 50 <info><desc>Corresponding mime type.</desc></info> 51 <value/> 52 </prop> 53 <prop oor:name="Preferred" oor:type="xs:boolean"> 54 <info><desc>In case of ambigoues registrations (e.g. for extensions doc/txt) it specify the prefererred type.</desc></info> 55 <value>false</value> 56 </prop> 57 <prop oor:name="PreferredFilter" oor:type="xs:string"> 58 <info><desc>An optimization! Points directly to the preferred filter for this type. No search across all filters is neccessary ...</desc></info> 59 <value/> 60 </prop> 61 <prop oor:name="UIName" oor:localized="true" oor:type="xs:string"> 62 <info><desc>Localized name of this type for showing it at the UI.</desc></info> 63 </prop> 64 <prop oor:name="ClipboardFormat" oor:type="xs:string"> 65 <info><desc>Unique identifier, which can be searched inside the stream to detect this format.</desc></info> 66 <value/> 67 </prop> 68 <prop oor:name="DetectService" oor:type="xs:string"> 69 <info><desc>An optimization! Points directly to the deep detection service, which can verify a flat detection.</desc></info> 70 <value/> 71 </prop> 72 </group> 73 </templates> 74 <component> 75 <set oor:name="Types" oor:node-type="Type"> 76 <info><desc>Lists the registered content types.</desc></info> 77 </set> 78 </component> 79</oor:component-schema> 80