* lib/mc.ext.in: For MS Word documents try "catdoc", "word2x"

and "strings". Recognize "write" files and MS Word templates.
For MS Excel documents try "xls2csv" and "strings".
Escape spaces in the "type" directives.
From Nerijus Baliunas.
This commit is contained in:
Pavel Roskin 2001-05-29 20:40:59 +00:00
parent a0f3445a02
commit d9713d6233
2 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2001-04-29 Pavel Roskin <proski@gnu.org>
* lib/mc.ext.in: For MS Word documents try "catdoc", "word2x"
and "strings". Recognize "write" files and MS Word templates.
For MS Excel documents try "xls2csv" and "strings".
Escape spaces in the "type" directives.
From Nerijus Baliunas.
2001-05-29 Pavel Roskin <proski@gnu.org> 2001-05-29 Pavel Roskin <proski@gnu.org>
* Make.common.in: Add -I$(top_srcdir) to XCPPFLAGS. * Make.common.in: Add -I$(top_srcdir) to XCPPFLAGS.
@ -1316,7 +1324,7 @@ Sun Dec 13 15:26:19 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
1998-12-08 Christopher Blizzard <blizzard@appliedtheory.com> 1998-12-08 Christopher Blizzard <blizzard@appliedtheory.com>
* configure.in (builddir): Add icons/Makefile to AC_OUTPUT so that * configure.in (builddir): Add icons/Makefile to AC_OUTPUT so that
the build will still work. (Has this been replaced by new_icons?) the build will still work. (Has this been replaced by new_icons?)
Tue Dec 1 11:58:55 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz> Tue Dec 1 11:58:55 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>

View File

@ -347,13 +347,17 @@ regex/\.([Hh]tml?|HTML?)$
View with @X11_WWW@=@X11_WWW@ file://%f View with @X11_WWW@=@X11_WWW@ file://%f
# Microsoft Word Document # Microsoft Word Document
regex/\.([Dd]oc|DOC)$ regex/\.([Dd]o[ct]|DO[CT]|[Ww]ri|WRI)$
#View=%view{ascii} catdoc -w %f View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
View=%view{ascii} word2x -f text %f - type/Microsoft\ Word
type/Microsoft Word Document View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
#View=%view{ascii} catdoc -w %f
View=%view{ascii} word2x -f text %f - # Microsoft Excel Worksheet
regex/\.([Xx]l[sw]|XL[SW])$
View=%view{ascii} xls2csv %f || strings %f
type/Microsoft\ Excel
View=%view{ascii} xls2csv %f || strings %f
# Framemaker # Framemaker
type/FrameMaker type/FrameMaker
Open=fmclient -f %f Open=fmclient -f %f