id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3929	Files .docx/.xlsx/.pptx created/edited in LibreOffice are not detected as MS Office files	anatoly.borodin	andrew_b	"Files saved in the ""2007-2013 XML"" format by LibreOffice have different file type reported by '''file''' (file 1:5.32-2ubuntu0.1, Ubuntu 18.04 Bionic Beaver) and are therefore not detected as MS Office documents by '''mc.ext''':

{{{
test.docx: Microsoft OOXML
test.pptx: Microsoft OOXML
test.xlsx: Zip archive data, at least v2.0 to extract
}}}

''(I will file a separate bug at Launchpad or Debian regarding the xlsx file)''

For a file created by the real MS Office I get

{{{
ms-office.docx: Microsoft Word 2007+
}}}

There are two possibilities to fix it:

1. Add something like this to '''mc.ext.in'''

{{{
type/^Microsoft\ OOXML
        Open=@EXTHELPERSDIR@/doc.sh open ooffice
}}}

2. Detect the files by '''regex/i'''.

Which fix is better?"	defect	closed	minor	4.8.22	mc-core	4.8.19	fixed					merged	committed-master
