How to generate DOC files in Rails

Hi All,

    How to generate DOC files in Rails like CSV. is there any plugin ,
please advise me.

       Thanks in Advance.

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: