Microsoft Word is a proprietary file format unlike csv, rtf, pdf
if you have a windows server and have Microsoft office installed, you
can use ruby with win32ole to automate the generation of word document.
on linux there are some libraries(ported from perl and python) which can
generate xls(not sure about word doc), but even then when you open them
in the application it asks for converting them to right format.
I would suggest generating rtf files
regards
Senthil Nayagam
http://blog.railsfactory.com
related urls:
http://rubyonwindows.blogspot.com/2007/04/automating-word-with-ruby-document.html
http://rubyforge.org/projects/ruby-rtf/
Ror Child wrote:> Hi All,
>
> How to generate DOC files in Rails like CSV. is there any plugin ,
> please advise me.
>
> Thanks in Advance.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---