There are also equivalent libraries (for producing xls files without
excel) for

python: http://sourceforge.net/projects/pyexcelerator
http://sourceforge.net/projects/pyxlwriter/
perl:   http://search.cpan.org/dist/Spreadsheet-WriteExcel/

so you don't have to use java...

Tim

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Kirk
Sent: Friday, 20 April 2007 12:46 PM
To: [email protected]
Subject: Re: [Haskell-cafe] COM and Haskell

I hate to recommend Java to Haskellers, but there is a project named Poi
at Apache's Jakarta site[1] that will allow you to (with some Java
programming) read, write, and manipulate Excel files directly. You don't
have to COM to Excel, you don't even need Excel installed! Nice for
producing spreadsheets for download from a web-based app on the fly.

It is complete enough to do formatting, formulas, and such, but you can
see the ugly internals of the Microsoft file formats bleeding out, or at
least that was true 4 years ago.

Maybe it would be a nice project to create a Haskell version of Poi.

--doug

[1] <http://jakarta.apache.org/poi/>


On 4/19/07, Paul Moore <[EMAIL PROTECTED]> wrote:
> On 19/04/07, Marc Weber <[EMAIL PROTECTED]> wrote:
> > There is only one library: hdirect. But I don't know its status 
> > there have been some posts and some authors may have chnaged it.
> > I'd suggest grepping some mailinglist archives (you can find them 
> > all on
> > haskell.org) or wait till someone else gives a more helpful reply ;)
>
> I tried quite a while ago to build hdirect, and failed. It looked like

> it didn't quite support the then-current GHC (6.2???) As far as I can 
> tell, the library hasn't been updated since, so I doubt there's much 
> hope. I'd love to be proved wrong...
>
> > If you application will be only small you'll be faster using
VBScript.
>
> Or Python or Perl, or (probably, I'm not sure) Ruby. Or likely many
others.
>
> Sad, but true...
>
> Paul.
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to