It can sorta be done but you will need a Windows server running with Office
installed on it. You'll then host part of the app there, use some mechanism
to trigger the word doc build on that machine. You use Win32OLE Ruby
libraries to make Word do your bidding.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/241606

In other words, I hope you're getting paid a lot of money to make this
happen, because it's simply not possible without going to extraordinary
lengths.

It may sound unhelpful, but the rest of the replies here are really trying
to get you to fight back on this requirement, as its nearly impossible to
work with. However, I understand your need and desire to make your client's
wishes come true.

Best of luck!

On Tue, Sep 29, 2009 at 7:43 AM, Marcello Parra <[email protected]> wrote:

> Hello all,
>
> I need to create a report and export it to Word/DOC in my Rails App...
> The problem is that is must be .doc.  Can't be .docx (XML) or RTF and my
> app is in a Linux box.
>
> Somebody can help me with that ??
>
> Thanks,
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to