Hi Andrew, Yeah, docx would work, however the customer only has word 2003, which doesn't support that format.
the options I have found so far are: mhtml - the only ruby lib is not free, and the format looks a bit painful to build yourself rtf - can't see a ruby lib, but could build a servlet with java/itext html - can't embed the image, but can make it a link back to the server (which is what we do with our old .net system), but is not ideal I use OpenOffice here, but the customer has word, and have you ever tried to convince a govt dept to change to open office? Not a quick/easy job :) Thanks Simon On Tue, 21 Apr 2009 12:06:53 +0800, Andrew Timberlake <[email protected]> wrote: > > On Tue, Apr 21, 2009 at 5:58 AM, Simon Macneall <[email protected]> > wrote: >> >> That's a fabulous answer. >> I wouldn't be asking if I could convince my customers that a PDF would >> do. They need to be able to edit the document after it is generated. >> >> -1 for helpfulness >> > > Totally off the wall here but .docx files are XML so why not generate > one in Word and then manipulate that from your app? > > Another crazy idea is to use OpenOffice, I think they have a Java > interface that you might be able to hook into somehow. > > I have not done either of these, just throwing out some ideas. > > Andrew Timberlake > http://ramblingsonrails.com > http://www.linkedin.com/in/andrewtimberlake > > "I have never let my schooling interfere with my education" - Mark Twain > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

