summaryrefslogtreecommitdiff
path: root/filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-06-01 09:46:16 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-06-01 13:01:32 +0200
commit697173f6fdfae581022cfdb5ec5171c5a3be58f0 (patch)
tree62f5908241dcbf7cdb65aa5227d1b356030974a5 /filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu
parent88ff39aee58cf0c098a2cce311cf62efbd76bb6d (diff)
sw: add separate DOCM filter
This way at export time we can preserve the correct content-type, which isn't the same for DOCX and DOCM. Change-Id: I08fa734c72fab7400bd327a07a760839556dbf6f Reviewed-on: https://gerrit.libreoffice.org/38298 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu')
-rw-r--r--filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu17
1 files changed, 17 insertions, 0 deletions
diff --git a/filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu b/filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu
new file mode 100644
index 000000000000..5ee986fc8d83
--- /dev/null
+++ b/filter/source/config/fragments/types/writer_MS_Word_2007_XML_VBA.xcu
@@ -0,0 +1,17 @@
+<!--
+ * 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/.
+-->
+ <node oor:name="writer_MS_Word_2007_VBA" oor:op="replace" >
+ <prop oor:name="DetectService"><value>com.sun.star.comp.oox.FormatDetector</value></prop>
+ <prop oor:name="URLPattern"/>
+ <prop oor:name="Extensions"><value>docm</value></prop>
+ <prop oor:name="MediaType"><value>application/msword</value></prop>
+ <prop oor:name="Preferred"><value>true</value></prop>
+ <prop oor:name="PreferredFilter"><value>MS Word 2007 XML VBA</value></prop>
+ <prop oor:name="UIName"><value xml:lang="en-US">Microsoft Word 2007-2013 XML VBA</value></prop>
+ <prop oor:name="ClipboardFormat"><value>MSWordDoc</value></prop>
+ </node>