Ticket #4475 (new defect)

Opened 17 months ago

Last modified 17 months ago

MC cannot view .docx files

Reported by: pelya Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Opening MS Word .docx files with F3 button fails. I've looked through doc.sh script and installed all the obscure .docx to text conversion tools listed there - wvHtml, elinks, antiword, catdoc, and none of these tools work with .docx files saved with MS Word 2007 or newer.
On the other hand, the default Debian and Ubuntu installation includes LibreOffice? out of the box, and LibreOffice? can convert any version of .docx file to text using --cat flag.

I'm adding a patch to use LibreOffice? by default for viewing MS Word documents with F3 button.

Tested on MC 4.8.26 on Debian 10.

Attachments

docx.patch (625 bytes) - added by pelya 17 months ago.
docx-ver2.patch (750 bytes) - added by pelya 17 months ago.

Change History

Changed 17 months ago by pelya

comment:1 Changed 17 months ago by pelya

  • Priority changed from major to minor

comment:2 Changed 17 months ago by andrew_b

  • Component changed from mcview to mc-core

comment:3 Changed 17 months ago by pelya

It appears that LibreOffice? --cat flag does not work when LibreOffice? is running in another window. I've updated the patch to work around this problem by creating a separate user profile for LibreOffice? in a temporary directory.

Changed 17 months ago by pelya

comment:4 Changed 17 months ago by andrew_b

Please try your patch in the native linux console.

Note: See TracTickets for help on using tickets.