Re: Generating / Parsing XLS Files

Alex Young
Mon, 07 Nov 2005 10:03:04 -0000

You can also do it platform independently in a separate process with
Apache POI, straight to OLE2 format:

http://jakarta.apache.org/poi/

Don''t know how stable/reliable it is, though.

--
Alex

Nathaniel S. H. Brown wrote:
> I have found a pretty cool trick whereby you can basically output a table
> with the columns identical to that you would want in Excel and name it with
> the xls extension and MS Excel understands it perfectly (Tested with
> MS-Excel 2003).
>
> As for importing, not sure what libs exist for Ruby.
>
> Warmest regards,
> Nathan.
>
> --------------------------------------------------------------
> Nathaniel S. H. Brown                 Toll Free 1.877.4.INIMIT
> Inimit Innovations                        Phone   604.724.6624
> www.inimit.com                              Fax   604.444.9942
>
>
>
>>-----Original Message-----
>>From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>>[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Jim Jeffers
>>Sent: November 6, 2005 11:48 PM
>>To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>>Subject: [Rails] Generating / Parsing XLS Files
>>
>>Hello,
>>I was wondering if anyone knew of any plugins, patches, or
>>practices for generating excel files.  Also if there is a way
>>to parse and process uploaded xls files (this is probably
>>much more complicated) I''m interested in discovering how to
>>do that as well.  Thanks!
>>
>>- Jim
>>
>>_______________________________________________
>>Rails mailing list
>>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>>http://lists.rubyonrails.org/mailman/listinfo/rails
>>