summaryrefslogtreecommitdiff
path: root/officecfg/registry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-17 21:00:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-17 21:00:36 +0100
commit11e0e8351809befd186a8aaf91d7a583e22f2157 (patch)
tree7103f74db224556aef64a775cff88b61d997264b /officecfg/registry
parent83cdc5ca370ed723d78ab38969792079f248b31f (diff)
Clean up indentation
Change-Id: I8c4be3a69544ff579f054ec455512f2bddc11944
Diffstat (limited to 'officecfg/registry')
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs144
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs149
2 files changed, 186 insertions, 107 deletions
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
index b89cc9c7c9d4..2cb2fabec563 100644
--- a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
@@ -17,57 +17,95 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!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" oor:nillable="false">
- <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" 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 an 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 seets 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 (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>
- <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>
- </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
+ oor:package="org.openoffice.TypeDetection" oor:name="Filter"
+ xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <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" 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 seets 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, whch 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>
+ </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/Types.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
index b30d31ad0ae5..4b7c7c4356f0 100644
--- a/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
@@ -17,58 +17,99 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!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" 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 alphabeticly.</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 tye 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 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" oor:nillable="false">
- <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" 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 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
+ oor:package="org.openoffice.TypeDetection" oor:name="Types" xml:lang="en-US"
+ xmlns:oor="http://openoffice.org/2001/registry"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <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" 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
+ alphabeticly.</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 tye 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 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" oor:nillable="false">
+ <info>
+ <desc>An optimization; points directly at 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" 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>