summaryrefslogtreecommitdiffstats
path: root/officecfg/registry/schema/org/openoffice/TypeDetection
diff options
context:
space:
mode:
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/TypeDetection')
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs114
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs68
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs77
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs107
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs44
5 files changed, 410 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
new file mode 100644
index 000000000..5433e1349
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
@@ -0,0 +1,114 @@
+<?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="Filter" xml:lang="en-US">
+ <info>
+ <desc>Contains common filters for Office. See package TypeDetection and
+ TypeDetection_Types for other parts of type/filter configuration too.</desc>
+ </info>
+ <templates>
+ <group oor:name="Filter">
+ <info>
+ <desc>Lists filters that can import or export content.</desc>
+ </info>
+ <prop oor:name="FileFormatVersion" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>A unique ID, which is used internally to differentiate among
+ file formats of the same type.</desc>
+ </info>
+ <value>0</value>
+ </prop>
+ <prop oor:name="Type" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>Supported content type of this filter. Must be an internal type
+ name.</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="DocumentService" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>The uno service name of the supported office document
+ type.</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="UIComponent" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>The uno implementation name a dialog, which is used to ask a
+ user for special filter parameter (e.g., for csv).</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="UserData" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>Filter specific data.</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="FilterService" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>The uno implementation name of the filter service.</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="TemplateName" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>Name of a corresponding template, which is merged together with
+ the style sheets of the loaded document.</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="Flags" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>Specify the filter in some further properties
+ (import/export/...).</desc>
+ </info>
+ <value/>
+ </prop>
+ <prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
+ <info>
+ <desc>Localized name of the filter, which can be shown at the
+ UI.</desc>
+ </info>
+ </prop>
+ <prop oor:name="ExportExtension" oor:type="xs:string" oor:nillable="true">
+ <info>
+ <desc>Extension to use when exporting content using this filter. When
+ this value is not given, it is inferred from the Type associated with
+ this filter.</desc>
+ </info>
+ </prop>
+ <prop oor:name="Enabled" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Whether the filter is enabled. It makes sense to disable a filter,
+ as a temporary security measure, when there is a 0-day vulnerability in
+ it.</desc>
+ </info>
+ <value>true</value>
+ </prop>
+ </group>
+ </templates>
+ <component>
+ <set oor:name="Filters" oor:node-type="Filter">
+ <info>
+ <desc>Lists the registered office filters.</desc>
+ </info>
+ </set>
+ </component>
+</oor:component-schema>
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs
new file mode 100644
index 000000000..fbca75810
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs
@@ -0,0 +1,68 @@
+<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="GraphicFilter" oor:package="org.openoffice.TypeDetection" xml:lang="en-US">
+ <info>
+ <desc>Contains specialized data for internal image filter.</desc>
+ </info>
+ <templates>
+ <group oor:name="Filter">
+ <info>
+ <desc>Lists of all internal image filters.</desc>
+ </info>
+ <prop oor:name="Type" oor:type="xs:string">
+ <info>
+ <desc>Supported content type of this filter. Must be an internal type name.</desc>
+ </info>
+ </prop>
+ <prop oor:name="FormatName" oor:type="xs:string">
+ <info>
+ <desc>A shortname which describes the graphics format.</desc>
+ </info>
+ </prop>
+ <prop oor:name="RealFilterName" oor:type="xs:string">
+ <info>
+ <desc>The internal filter name of a real document filter (mostly draw).</desc>
+ </info>
+ </prop>
+ <prop oor:name="UIComponent" oor:type="xs:string">
+ <info>
+ <desc>The uno implementation name a dialog, which is used to ask an user for special filter parameter (e.g. for csv).</desc>
+ </info>
+ </prop>
+ <prop oor:name="Flags" oor:type="oor:string-list">
+ <info>
+ <desc>Specify the filter in some further properties (e.g. import/export/..).</desc>
+ </info>
+ </prop>
+ <prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
+ <info>
+ <desc>Localized name of the filter, which can be shown at the UI.</desc>
+ </info>
+ </prop>
+ </group>
+ </templates>
+ <component>
+ <set oor:name="Filters" oor:node-type="Filter">
+ <info>
+ <desc>Lists the registered office filters.</desc>
+ </info>
+ </set>
+ </component>
+</oor:component-schema>
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs
new file mode 100644
index 000000000..e9ae32f20
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs
@@ -0,0 +1,77 @@
+<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Misc" oor:package="org.openoffice.TypeDetection" xml:lang="en-US">
+ <info>
+ <desc>Contains common content types, filters, deep detection services, as well as the frame loader and the content handler for Office.</desc>
+ </info>
+ <templates>
+ <group oor:name="FrameLoader">
+ <info>
+ <desc>Can load a type as visible component into a com.sun.star.frame.Frame.</desc>
+ </info>
+ <prop oor:name="Types" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>List of internal type names, which can be interpreted by this loader implementation.</desc>
+ </info>
+ <value/>
+ </prop>
+ </group>
+ <group oor:name="ContentHandler">
+ <info>
+ <desc>Can load a type as non visible component, e.g. sounds.</desc>
+ </info>
+ <prop oor:name="Types" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>List of internal type names, which can be interpreted by this handler implementation.</desc>
+ </info>
+ <value/>
+ </prop>
+ </group>
+ </templates>
+ <component>
+ <set oor:name="FrameLoaders" oor:node-type="FrameLoader">
+ <info>
+ <desc>Lists the registered frame loader services.</desc>
+ </info>
+ </set>
+ <set oor:name="ContentHandlers" oor:node-type="ContentHandler">
+ <info>
+ <desc>Lists the registered content handler services.</desc>
+ </info>
+ </set>
+ <group oor:name="Defaults">
+ <info>
+ <desc>Contains default objects that are used if no specialized service was registered or values which specify special behaviour of type/filter environment.</desc>
+ </info>
+ <prop oor:name="DefaultFrameLoader" oor:type="xs:string" oor:nillable="false">
+ <info>
+ <desc>Specify a generic frame loader, which can use filter services for loading documents into frames.</desc>
+ </info>
+ <value>com.sun.star.comp.office.FrameLoader</value>
+ </prop>
+ <prop oor:name="ShowAlienFilterWarning" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Displays a warning when a user tries to set a third-party filter as the default filter in "Tools - Options".</desc>
+ </info>
+ <value>true</value>
+ </prop>
+ </group>
+ </component>
+</oor:component-schema>
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
new file mode 100644
index 000000000..4f6640211
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
@@ -0,0 +1,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 &gt; 0 are
+ recognized. Types with an order value &lt; 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>
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
new file mode 100644
index 000000000..93159a28a
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
@@ -0,0 +1,44 @@
+<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="UISort" oor:package="org.openoffice.TypeDetection" xml:lang="en-US">
+ <info>
+ <desc>Contains the order of filters if they are shown inside an UI office.</desc>
+ </info>
+ <templates>
+ <group oor:name="ModuleFilterOrder">
+ <info>
+ <desc>Knows an ordered list of filters related to an office module.</desc>
+ </info>
+ <prop oor:name="SortedFilterList" oor:type="oor:string-list" oor:nillable="false">
+ <info>
+ <desc>It's a sorted list of internal filter names. All filters which are not listed here are appended alphabetically at the end of this list</desc>
+ </info>
+ <value/>
+ </prop>
+ </group>
+ </templates>
+ <component>
+ <set oor:name="ModuleDependendFilterOrder" oor:node-type="ModuleFilterOrder">
+ <info>
+ <desc>Bind sorted lists of filter names to an office module.</desc>
+ </info>
+ </set>
+ </component>
+</oor:component-schema>