Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199161

Re: Microsoft Does It Again

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: Microsoft Does It Again
Date 2018-08-21 18:10 +0200
Message-ID <wphoe-4F8-25@gated-at.bofh.it> (permalink)
References <wpgBP-49k-1@gated-at.bofh.it> <wph4R-4iD-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Tue, Aug 21, 2018 at 05:48:31PM +0200, tomas@tuxteam.de wrote:
> > Is there a Linux application that will allow me to recover the
> > contents of the file?
> 
> As others have said, LibreOffice should do. I don't know about xlsx2csv,

It's the *best*. Small, relatively lightweight, and does the job in
milliseconds. The output is limited to CSV though.


> but an apt search on my box yields
> 
>   tomas@trotzki:~$ apt search ooxml
>   Sorting... Done
>   Full Text Search... Done
>   docx2txt/stable,stable,stable 1.4-0.1 all
>     Convert Microsoft OOXML files to plain text

Not relevant. Input is xlsx.


>   libapache-poi-java/stable,stable,stable 3.10.1-3 all
>     Apache POI - Java API for Microsoft Documents
>   
>   libapache-poi-java-doc/stable,stable,stable 3.10.1-3 all
>     Apache POI - Java API for Microsoft Documents (Documentation)

Suggesting using Java to parse XML in ZIP archive can be considered
cruel and unusual punishment in certain countries. Besides, these are
library and a documentation. Implementation of working parser is left as
an exercise to a reader.


>   libexcel-writer-xlsx-perl/stable,stable,stable 0.95-1 all
>     module to create Excel spreadsheets in xlsx format

That one's good, with one *litte* problem.
Making the thing output any sensible result is *very* painful.


>   unoconv/stable,stable,stable 0.7-1.1 all
>     converter between LibreOffice document formats

Don't. Just don't. unoconv is an ugly python script that launches
headless Libreoffice and feeds the file to a resulting web-service.
It has all the disadvantages of Libreoffice (CPU/Memory consumption,
abysmal parsing speed, Libreoffice format limitations), and a single
gain - an ability to batch-convert files.

If Libreoffice is unable to open it - unoconv will do one absolutely no
good.

Also, 'apt search xlsx'.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Microsoft Does It Again "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2018-08-21 17:20 +0200
  Re: Microsoft Does It Again Patrick Wiseman <pwiseman@gmail.com> - 2018-08-21 17:30 +0200
  Re: Microsoft Does It Again Reco <recoverym4n@gmail.com> - 2018-08-21 17:50 +0200
  Re: Microsoft Does It Again <tomas@tuxteam.de> - 2018-08-21 17:50 +0200
    Re: Microsoft Does It Again "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2018-08-21 18:10 +0200
      Re: Microsoft Does It Again "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2018-08-21 21:20 +0200
        Re: Microsoft Does It Again Reco <recoverym4n@gmail.com> - 2018-08-21 21:30 +0200
    Re: Microsoft Does It Again Reco <recoverym4n@gmail.com> - 2018-08-21 18:10 +0200
      Re: Microsoft Does It Again <tomas@tuxteam.de> - 2018-08-21 18:30 +0200
        Re: Microsoft Does It Again Reco <recoverym4n@gmail.com> - 2018-08-21 20:20 +0200
  Re: Microsoft Does It Again Martin <keine-eile@online.de> - 2018-08-21 19:10 +0200
    Re: Microsoft Does It Again Eric S Fraga <e.fraga@ucl.ac.uk> - 2018-08-22 09:40 +0200
      Re: Microsoft Does It Again "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2018-08-22 12:50 +0200
        Re: Microsoft Does It Again Martin <keine-eile@online.de> - 2018-08-22 13:00 +0200

csiph-web