Okay from Ruby on Linux...yes POI-ruby is probably your best option

I thought you were doing from C on Linux.... Hopefully Avik is around and he can help... I'll ping him if he doesn't answer.

Jeff Swensen wrote:
I might be stating my intention incorrectly.  I have the relevant bits
from poi-ruby compiled with gcj, and am attempting to wrap that myself
instead of using SWIG.

As far as open office and gnumeric, I have been unable to find a fully
featured discrete library for writing XLS files from ruby on linux. Would be most appreciative if you could point me to one.

Andrew C. Oliver wrote:
Why?
Why not just compile with GCJ and then wrap that?

Seems weird to go 3 techs deep...

Also there are C utils for OLE and XLS.  Check out open office and
gnumeric...use those...doesn't make sense to use C->Ruby->POI

Jeff Swensen wrote:
I am attempting to write my own C wrapper for the POI Ruby bindings and
am looking for some guidance.  I compiled poi4r using the swig wrapper
only to result in a segfault which I'm unable to track down.  It also
seems that swig generates a lot of unnecessary bloat while creating the
wrapper, which is why I decided to try to replace it with my own version
(also partly due to some feedback from my boss who seems to dislike swig
quite a bit).

Are there any resources you could point me to for writing the ruby
interface?  I understand that at the most basic level I need to define
all of the Java classes and public methods, but after that I'm at a
loss.  I've tried googling but I can't find any examples of writing a c
extension to wrap compiled java for ruby.

Thanks,
Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


--
From Windows/Exchange to Linux/Meldware
Buni Meldware Communication Suite
Email, Calendaring, ease of configuration/administration
http://buni.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to