Add simple functionality to this Ruby on Rails app to build a Microsoft Word-readable document (rtf or doc) from template that currently generates html(repost)
$100-220 USD
Cancelled
Posted over 13 years ago
$100-220 USD
Paid on delivery
This is a simple addition to an existing project. The rails project current generates a report (in html), but we want this report to be available in doc or rtf format.
The project was built using Ruby 1.8.7 with rails 2.3.5.
Here's an example of the current report:
[login to view URL]
The report needs to be available as:
1.) A word-readable download
2.) Emailed as a word-readable file
perhaps the best way to do this would be to implement a new report function. e.g.:
http:// [login to view URL]
and
http:// [login to view URL]\at\[login to view URL]
There are a number of options to implement this - I'll leave it to you. A couple options are something like this:
[login to view URL](office.12).aspx
[login to view URL]
OR the rtf gem, or the Apache POI ruby tie-in's. As long as I can reproduce it on a linux box (server), I'm happy. I'll be testing it in word 2003 (with compatibility pack) and word 2007 on windows.
One limitation we've seen with the rtf gem is that it does not do images. The logo (as displayed on the html report) must be included in the word document in a similar fashion.
I also understand that word can read html - but it's never auto-associated to html, and image support is flakey. An rtf or doc with the images is a suitable solution.
## Deliverables
This is adding basic functionality to an already basic rails (2.3.5) app.
Here's the basic interface:
[login to view URL]
The function of "Build Report" will simply have to generate a word readable document (.doc[x], .rtf, etc) instead of the html one that's present. ? From there, the resulting document can then either be downloaded or emailed using a very basic raw interface. (I don't care too much about how the email interface looks - we just need a box to appear that you throw the email address into). The word document will have to include the title image as well as a table at the bottom - exactly the same as the html one does now.
The operating system is linux - you won't be able to use any live running microsoft apps. ? There are plenty of ways to do this, though (rtf gem, apache POI, etc.). I don't mind if an intermediary format (such as docx/ooxml or open office xml) is built in the process, as long as the final result is readable in microsoft office (probably .rtf or .doc).
I'll provide the entire source of the existing app (still in development) as soon as you're accepted.
If the solution involves installing additional gems or libraries (which is expected), I'll need basic instructions on which things to install and where.
## Platform
Ruby 1.8.7 / Rails 2.3.5 Linux / Mac