https://bugs.documentfoundation.org/show_bug.cgi?id=90903
--- Comment #9 from [email protected] ---
A version of this problem exists for .pptx files generated by current LO
7.0.1.2, but not for the .docx and .xlsx files I rapidly generated and tested.
On my up-to-date Arch Linux system, on LO-generated .pptx files the file
command recognizes OOXML, but file -i (using different data / a different
algorithm) returns application/octet-stream. Therefore, the latter is also
returned by xdg-mime.
While this may well be rather a file bug, it appears to be within LO's powers
to fix (or work around) this by making the order of the top-level entries in
the zip match MS-Office-generated files.
I have successfully done this on my test .pptx files, by unzipping and
recomposing it thus:
zip -rD file.pptx [Content_Types].xml _rels ppt docProps
For the resulting file.pptx, the file command and thus xdg-mime return the
correct MIME type.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs