summaryrefslogtreecommitdiff
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.xcs79
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs62
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs69
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs83
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs54
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/makefile.mk46
6 files changed, 393 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 000000000000..c92f93f79d6e
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
@@ -0,0 +1,79 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
+<oor:component-schema oor:name="Filter" 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">
+ <info>
+ <author>AS</author>
+ <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">
+ <info><desc>An unique ID, which is used internal to differ between file formats of same type.</desc></info>
+ <value>0</value>
+ </prop>
+ <prop oor:name="Type" oor:type="xs:string">
+ <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">
+ <info><desc>The uno service name of the supported office document type.</desc></info>
+ <value/>
+ </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>
+ <value/>
+ </prop>
+ <prop oor:name="UserData" oor:type="oor:string-list">
+ <info><desc>Filter specific data.</desc></info>
+ <value/>
+ </prop>
+ <prop oor:name="FilterService" oor:type="xs:string">
+ <info><desc>The uno implementation name of the filter service.</desc></info>
+ <value/>
+ </prop>
+ <prop oor:name="TemplateName" oor:type="xs:string">
+ <info><desc>Name of a corresponding template, which is merged together with the style seets of the loaded document.</desc></info>
+ <value/>
+ </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>
+ <value/>
+ </prop>
+ <prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
+ <info><desc>Localized name of the filter, whch 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/GraphicFilter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs
new file mode 100644
index 000000000000..c6762465b8be
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/GraphicFilter.xcs
@@ -0,0 +1,62 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
+<oor:component-schema oor:name="GraphicFilter" 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">
+ <info>
+ <author>SJ</author>
+ <desc >Contains specialized data for internal graphic filter.</desc>
+ </info>
+ <templates>
+ <group oor:name="Filter">
+ <info><desc>Lists of all internal graphic 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 describe the grafik 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, whch 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 000000000000..62e3bd508f3d
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Misc.xcs
@@ -0,0 +1,69 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
+<oor:component-schema oor:name="Misc" 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">
+ <info>
+ <author>AS</author>
+ <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">
+ <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">
+ <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">
+ <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">
+ <info><author>OS</author><desc>Displays a warning when a user tries to set a third-party filter as the default filter in &quot;Tools - Options&quot;.</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 000000000000..43e6693fc153
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
@@ -0,0 +1,83 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
+<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">
+ <info>
+ <author>AS</author>
+ <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">
+ <info><desc>Used to sort types inside dialogs. Only values &gt;0 are recognized. Types with an order value &lt;1 will be sorted alphabeticly.</desc></info>
+ <value>0</value>
+ </prop>
+ <prop oor:name="URLPattern" oor:type="oor:string-list">
+ <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">
+ <info><desc>List of file extensions, which match to this type.</desc></info>
+ <value/>
+ </prop>
+ <prop oor:name="DocumentIconID" oor:type="xs:int">
+ <info><desc>Global ID of an icon, which represent this tye at the UI.</desc></info>
+ <value>0</value>
+ </prop>
+ <prop oor:name="MediaType" oor:type="xs:string">
+ <info><desc>Corresponding mime type.</desc></info>
+ <value/>
+ </prop>
+ <prop oor:name="Preferred" oor:type="xs:boolean">
+ <info><desc>In case of ambigoues registrations (e.g. for extensions doc/txt) it specify the prefererred type.</desc></info>
+ <value>false</value>
+ </prop>
+ <prop oor:name="PreferredFilter" oor:type="xs:string">
+ <info><desc>An optimization! Points directly to the preferred filter for this type. No search across all filters is neccessary ...</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">
+ <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">
+ <info><desc>An optimization! Points directly to 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 000000000000..a39002b3100d
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
@@ -0,0 +1,54 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--***********************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************ -->
+<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
+<oor:component-schema oor:name="UISort" 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">
+ <info>
+ <author>AS</author>
+ <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">
+ <info>
+ <desc>Its a sorted list of internal filter names. All filters which are not listed here are appended alphabeticly 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>
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/makefile.mk b/officecfg/registry/schema/org/openoffice/TypeDetection/makefile.mk
new file mode 100644
index 000000000000..e2279a42f78c
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/makefile.mk
@@ -0,0 +1,46 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+PRJ=..$/..$/..$/..$/..
+
+PRJNAME=officecfg
+TARGET=schema_ooTypeDetection
+PACKAGE=org.openoffice.TypeDetection
+
+.INCLUDE : settings.mk
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# --- Targets ------------------------------------------------------
+
+XCSFILES= \
+ Types.xcs \
+ Filter.xcs \
+ GraphicFilter.xcs \
+ Misc.xcs \
+ UISort.xcs
+
+.INCLUDE : target.mk
+