2010-09-10 15:53:54 +02:00
|
|
|
Index: misc/mc.ext.in
|
|
|
|
===================================================================
|
|
|
|
--- misc/mc.ext.in.orig 2010-07-06 18:51:59.439510211 +0200
|
|
|
|
+++ misc/mc.ext.in 2010-07-06 18:54:56.647019263 +0200
|
|
|
|
@@ -510,12 +510,17 @@ shell/.abw
|
2007-01-16 00:14:57 +01:00
|
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
|
|
|
|
|
|
|
# Microsoft Word Document
|
|
|
|
-regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
|
|
|
|
+type/^Microsoft\ Office\ Document
|
|
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
2010-09-10 15:53:54 +02:00
|
|
|
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
|
|
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
2007-01-16 00:14:57 +01:00
|
|
|
+
|
|
|
|
type/^Microsoft\ Word
|
|
|
|
Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (ooffice %f >/dev/null 2>&1 &); fi >/dev/null
|
2010-09-10 15:53:54 +02:00
|
|
|
- View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
|
|
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
2007-01-16 00:14:57 +01:00
|
|
|
+
|
|
|
|
+regex/\.([Dd]ot|DOT|[Ww]ri|WRI)$
|
|
|
|
+ Open=if which abiword ; then (abiword %f >/dev/null 2>&1 &); else (OOo %f >/dev/null 2>&1 &); fi >/dev/null
|
2010-09-10 15:53:54 +02:00
|
|
|
+ View=%view{ascii} wvText %f - || strings %f
|
2007-01-16 00:14:57 +01:00
|
|
|
|
|
|
|
# RTF document
|
|
|
|
regex/\.([rR][tT][fF])$
|