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


Groups > comp.lang.java.programmer > #38608

Re: Displaying a ragged array

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Displaying a ragged array
Date Thu, 20 Sep 2018 15:30:47 +0200
Organization A noiseless patient Spider
Lines 24
Message-ID <po07fc$6tk$1@dont-email.me> (permalink)
References <pnmkqh$7dp$1@news.albasani.net> <pnoc21$ga9$1@dont-email.me> <pnovgf$rio$1@news.albasani.net> <pnp6d1$vj6$1@dont-email.me> <pnpe6d$ivs$1@news.albasani.net> <pntsi7$t5j$1@dont-email.me> <pnu278$1o1$1@news.albasani.net> <pnu4b1$qao$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Date Thu, 20 Sep 2018 13:31:24 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="acdd6834f9855c967ce2b4fc01b4f9d6"; logging-data="7092"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wzlIRSlC6AN0AZIWHNmmX"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Cancel-Lock sha1:9ZtLPC7kpNQqU3Uyj8K4lvmOBE0=
In-Reply-To <pnu4b1$qao$1@dont-email.me>
X-Antivirus-Status Clean
Content-Language en-GB
X-Antivirus AVG (VPS 180920-6, 09/20/2018), Outbound message
Xref csiph.com comp.lang.java.programmer:38608

Show key headers only | View raw


On 2018-09-19 20:25, Eric Sosman wrote:
>     One further possibility (only you can say whether it's "possible" or
> "out of the question"): Store the data as actual spreadsheet files --
> as .ods rather than as .csv, for LibreOffice.  That way you can set up
> the proper formatting (all "Text," most likely) to begin with, and the
> spreadsheet will remember it and preserve it each time it's opened.
> Java tools for reading and writing ODF exist (I know of jOpenDocument
> and ODFDOM, although the freely-available documentation isn't great),
> or you can even use UNO to control a running LibreOffice instance from
> Java.  I found the official ODF spec rather daunting and gave up trying
> to read it; nonetheless I was able to reverse-engineer enough of the
> format to load simple .ods spreadsheets.  Unsupported code available on
> request.

I remember using the (Star|Open|Libre)Office API from Java to create PDF
files, a couple years ago. It was a harrowing experience - akin to the
COM mess (which is to say that you can still make something worthwhile
out of it).

CSV is a good data format. Until your process involves a human opening
those files in a spreadsheet editor.

-- 
DF.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-16 22:17 +0000
  Re: Displaying a ragged array Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-09-17 16:00 +0200
    Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-17 19:32 +0000
      Re: Displaying a ragged array Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-09-17 23:29 +0200
        Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-17 23:43 +0000
          Re: Displaying a ragged array Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-09-19 18:12 +0200
            Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-19 17:49 +0000
              Re: Displaying a ragged array Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-09-19 14:25 -0400
                Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-19 19:29 +0000
                Re: Displaying a ragged array Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-09-20 15:30 +0200
                Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-20 15:06 +0000
              Re: Displaying a ragged array Eric Douglas <e.d.programmer@gmail.com> - 2018-09-24 08:11 -0700
                Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-24 17:52 +0000
                Re: Displaying a ragged array Eric Douglas <e.d.programmer@gmail.com> - 2018-09-24 12:01 -0700
                Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-10-23 21:00 +0000
  Re: Displaying a ragged array Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-09-17 10:17 -0400
    Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-17 19:46 +0000
      Re: Displaying a ragged array Martin Gregorie <martin@mydomain.invalid> - 2018-09-17 23:53 +0000

csiph-web