On Apr 1, 2005 6:39 PM, Dakota Jack <[EMAIL PROTECTED]> wrote: > Anyone with document conversion (Word --> PDF, etc) Struts programs > out there? What is recommended? Cocoon, ????? Thanks.
Some months ago we researched exactly this problem, so I'll summarize our results. We wanted to transform a group of documents that are now created (for historical reasons) as RTF to PDF. They should look more or less the same as before. They use some special font and contain long tables. - We needed to do this on a Unix machine, so all Windows-only based solutions were out (most of them are based on calling the Word formating engine). If you work on a Windows machine, you should definitely try that way first. Since most people view RTF with word, you'll get the layout they are used to, integrating fonts is easy, ... - The best general approach seemed to be Open Office. It produces a reasonable approximation of the Word-layout, integrating fonts is easy, it can be used via API directly from Java. Alas, for some idio^W reason we could not use it, so I can't tell you if there are some snafus later in the process. - Different approaches using FOP (i.e., RTF->XML->PDF) failed more or less horribly. It might be possible to get this method to work, but if you want the same layout as in Windows, be prepared to invest huge amounts of time for each type of document. - We finally ended up using Ted ( http://www.nllgg.nl/Ted/ ). We do get quite good results. It took quite some work to integrate the font and it still has some small problem printing the font in older versions of the Acrobat Reader, but the results look good. The author of Ted was also quite helpful. Hope this helps, Ulrich --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]