mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #3929: mc.ext: improve recognition of MS Office formats.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4059d3ab6e
commit
feab399109
@ -607,7 +607,7 @@ shell/i/.gnumeric
|
|||||||
Open=@EXTHELPERSDIR@/doc.sh open gnumeric
|
Open=@EXTHELPERSDIR@/doc.sh open gnumeric
|
||||||
|
|
||||||
# Microsoft Word Document
|
# Microsoft Word Document
|
||||||
regex/i/\.(do[ct]|wri)$
|
regex/i/\.(do[ct]|wri|docx)$
|
||||||
Open=@EXTHELPERSDIR@/doc.sh open msdoc
|
Open=@EXTHELPERSDIR@/doc.sh open msdoc
|
||||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
|
||||||
type/^Microsoft\ Word
|
type/^Microsoft\ Word
|
||||||
@ -626,13 +626,16 @@ type/^Microsoft\ Excel
|
|||||||
Open=@EXTHELPERSDIR@/doc.sh open msxls
|
Open=@EXTHELPERSDIR@/doc.sh open msxls
|
||||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
|
||||||
|
|
||||||
regex/i/\.(ppt|pps)$
|
# Microsoft PowerPoint Presentation
|
||||||
|
regex/i/\.(pp[ts]|pptx)$
|
||||||
Open=@EXTHELPERSDIR@/doc.sh open msppt
|
Open=@EXTHELPERSDIR@/doc.sh open msppt
|
||||||
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
|
||||||
|
|
||||||
# Use OpenOffice.org to open any MS Office documents
|
# Use OpenOffice.org/LibreOffice to open any MS Office documents
|
||||||
type/^Microsoft\ Office\ Document
|
type/^Microsoft\ Office\ Document
|
||||||
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
||||||
|
type/^Microsoft\ OOXML
|
||||||
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
||||||
|
|
||||||
# Framemaker
|
# Framemaker
|
||||||
type/^FrameMaker
|
type/^FrameMaker
|
||||||
|
Loading…
Reference in New Issue
Block a user