summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2017-07-19 08:46:22 +0200
committerAndras Timar <andras.timar@collabora.com>2017-07-19 19:31:56 +0100
commit6468a2ad9a5dcc6a0f3d174314ee94eecf9426f3 (patch)
tree44e0b23df873c630f3ed61ab184c595ea2b28e8f
parent8891d6bd2bbd8983d79d21893aee3371c39932e4 (diff)
lok: Add docm/xlsm/pptm filters to be known by LOK.
Change-Id: I4995498132b832ce783efc9740f1d7129f085a01
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 32034e72f229..9d9749469420 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -136,6 +136,7 @@ typedef struct
static const ExtensionMap aWriterExtensionMap[] =
{
{ "doc", "MS Word 97" },
+ { "docm", "MS Word 2007 XML VBA" },
{ "docx", "MS Word 2007 XML" },
{ "fodt", "OpenDocument Text Flat XML" },
{ "html", "HTML (StarWriter)" },
@@ -158,6 +159,7 @@ static const ExtensionMap aCalcExtensionMap[] =
{ "pdf", "calc_pdf_Export" },
{ "xhtml", "XHTML Calc File" },
{ "xls", "MS Excel 97" },
+ { "xlsm", "Calc MS Excel 2007 VBA XML" },
{ "xlsx", "Calc MS Excel 2007 XML" },
{ "png", "calc_png_Export" },
{ nullptr, nullptr }
@@ -173,6 +175,7 @@ static const ExtensionMap aImpressExtensionMap[] =
{ "pdf", "impress_pdf_Export" },
{ "potm", "Impress MS PowerPoint 2007 XML Template" },
{ "pot", "MS PowerPoint 97 Vorlage" },
+ { "pptm", "Impress MS PowerPoint 2007 XML VBA" },
{ "pptx", "Impress MS PowerPoint 2007 XML" },
{ "pps", "MS PowerPoint 97 Autoplay" },
{ "ppt", "MS PowerPoint 97" },