From 52804249b2ec88a0318fb5e289f8af5d89a71a2d Mon Sep 17 00:00:00 2001 From: dockes Date: Mon, 25 Aug 2008 16:12:16 +0000 Subject: [PATCH] opxml formats --- src/sampleconf/mimeconf | 5 ++++- src/sampleconf/mimemap | 21 ++++++++++++++++++++- src/sampleconf/mimeview | 4 +++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 69aba0b9..078f7c5c 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -1,4 +1,4 @@ -# @(#$Id: mimeconf,v 1.39 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeconf,v 1.40 2008-08-25 16:12:16 dockes Exp $ (C) 2004 J.F.Dockes # Recoll : associations of mime types to processing filters. # There are different sections for decompression, 'interning' for indexing @@ -32,6 +32,8 @@ application/pdf = exec rclpdf application/postscript = exec rclps application/vnd.ms-excel = exec rclxls application/vnd.ms-powerpoint = exec rclppt +application/vnd.openxmlformats-officedocument.wordprocessingml.document = \ + exec rclopxml application/vnd.sun.xml.calc = exec rclsoff application/vnd.sun.xml.calc.template = exec rclsoff application/vnd.sun.xml.draw = exec rclsoff @@ -114,6 +116,7 @@ text = \ application/msword \ application/pdf \ application/postscript \ + application/vnd.openxmlformats-officedocument.wordprocessingml.document \ application/vnd.sun.xml.writer \ application/vnd.sun.xml.writer.global \ application/vnd.sun.xml.writer.template \ diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 92a06ac0..e3f96c44 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -1,4 +1,4 @@ -# @(#$Id: mimemap,v 1.30 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimemap,v 1.31 2008-08-25 16:12:16 dockes Exp $ (C) 2004 J.F.Dockes # Recoll: associations of file name extensions to mime types .txt = text/plain @@ -56,6 +56,25 @@ .sxg = application/vnd.sun.xml.writer.global .stw = application/vnd.sun.xml.writer.template +# ms openxml +.docm = application/vnd.ms-word.document.macroEnabled.12 +.docx = application/vnd.openxmlformats-officedocument.wordprocessingml.document +.dotm = application/vnd.ms-word.template.macroEnabled.12 +.dotx = application/vnd.openxmlformats-officedocument.wordprocessingml.template +.potm = application/vnd.ms-powerpoint.template.macroEnabled.12 +.potx = application/vnd.openxmlformats-officedocument.presentationml.template +.ppam = application/vnd.ms-powerpoint.addin.macroEnabled.12 +.ppsm = application/vnd.ms-powerpoint.slideshow.macroEnabled.12 +.ppsx = application/vnd.openxmlformats-officedocument.presentationml.slideshow +.pptm = application/vnd.ms-powerpoint.presentation.macroEnabled.12 +.pptx = application/vnd.openxmlformats-officedocument.presentationml.presentation +.xlam = application/vnd.ms-excel.addin.macroEnabled.12 +.xlsb = application/vnd.ms-excel.sheet.binary.macroEnabled.12 +.xlsm = application/vnd.ms-excel.sheet.macroEnabled.12 +.xlsx = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet +.xltm = application/vnd.ms-excel.template.macroEnabled.12 +.xltx = application/vnd.openxmlformats-officedocument.spreadsheetml.template + .abw = application/x-abiword .lyx = application/x-lyx .sla = application/x-scribus diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index ddbb9de6..498aa26a 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -1,4 +1,4 @@ -# @(#$Id: mimeview,v 1.12 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes +# @(#$Id: mimeview,v 1.13 2008-08-25 16:12:16 dockes Exp $ (C) 2004 J.F.Dockes ## ########################################## # External viewers, launched by the recoll GUI when you click on a result @@ -17,6 +17,8 @@ application/pdf = xpdf %f application/postscript = gv %f application/vnd.ms-excel = openoffice %f application/vnd.ms-powerpoint = openoffice %f +application/vnd.openxmlformats-officedocument.wordprocessingml.document = openoffice %f +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = openoffice %f application/vnd.sun.xml.calc = openoffice %f application/vnd.sun.xml.calc.template = openoffice %f application/vnd.sun.xml.draw = openoffice %f