summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-08-21 21:53:52 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-08-21 22:07:39 -0400
commitba03f2dc817c692fa8709391ec83d8e01a0f8b28 (patch)
tree93415b497c5088d2302b9f9ad7f18c2eeb21d180 /officecfg
parent601bfe2ce3113719b2f8edaba2ccb6b630051a9a (diff)
fdo#52451: Ensure that the extension for text is .txt from writer.
Added a preferred extension property to the filter which overwrites one(s) given by the default file format type associated with it. Normally this property is not used for the majority of the filters, but for plain text filters, we need to use .txt when saving from writer whereas we do .csv from calc. Change-Id: I3453ad084e4379e5cc1101daeb9d2c3ddd919e92
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs3
1 files changed, 3 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
index f87846f00c99..1de918a7ab49 100644
--- a/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/Filter.xcs
@@ -69,6 +69,9 @@
<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="FileSaveExtension" 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>