Ruby on Rails Thursday, January 14, 2016

On 14 January 2016 at 13:02, Pedro Santos <columbo.jedi@gmail.com> wrote:
> Basically, I need to generate reports which contains more than 300 tables,
> over 100 charts and many images. Until now this was done manually in docx,
> so I was asked to build an RoR app where the user could add all the images
> and data, and with one button click get the report. Here is the problem. The
> user wants to be able to download the report, and be able to edit that file
> manually.
> So I looked for gems. Many of them just fill spaces in docx files. At the
> moment I use axlsx to generate my charts, tables and images, everything is
> saved into excel file. It works pretty well. I was thinking if there is some
> kind of format that ruby can edit (insert tables, bar charts, styles...) and
> the same format could be opened in the office.... why ? because I could open
> the file and convert it to docx..
> I am a little lost. My web app have database ready, just need some way of
> generating that file for the user. Any tips would be nice. I thought about
> html reports, but I cant edit them later, or can I ?

I believe LibreOffice can open html files, which could then be saved
as doc. I guess the MS equivalent can also do that, but I don't know.
Easy enough to try it.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuuAJ6OeQSJ9SHLKWpsNk2BxbcABcB0t1Jr8APjWaFSXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment