Re: Library for RTF templates and PDF convertion



On Feb 1, 12:39 pm, Dimitri Sverdlov <dima...@xxxxxxxxx> wrote:
Hello!

I'm working on a project that requieres sending letters in PDF with a
customized layout from a web application. The layout templates come
from MS Word and therefore are given in RTF format.

Is there a Java library for
1) Getting data from the application in the RTF template, and
2) Converting that RTF to PDF?

All the RTF->PDF converters I could find so far didn't work for the
templates that I have.
But even an answer to the first question would help, since I could
perhaps use Adobe Acrobat to PDF creation.

Greetings,
Dimitri

I just evaluated a product from Novosoft called rtf2fo (
http://rtf2fo.com/index.html) which takes an rtf file and generates
intermidate FO which you can then use the apache fop library to
generate PDF. Unfortunately, the resulting PDF didn't look like the
RTF. It complained about Unsupported columns of different widths and
the spacing was not the same as the original. You may have better
luck.

Margaret
.



Relevant Pages

  • Library for RTF templates and PDF convertion
    ... customized layout from a web application. ... The layout templates come ... from MS Word and therefore are given in RTF format. ... Converting that RTF to PDF? ...
    (comp.lang.java.softwaretools)
  • Creating a printable report simply, rtf or PDF
    ... Over Christmas I produced, using PHP and MySQL, a database and front end to ... Better ways I assume are to export it in PDF or RTF. ... get my script to produce XML and then use a template ...
    (comp.lang.php)
  • Re: Is there a difference between Word and Wordpad?
    ... If you edit it in WP as an RTF document and set simple ... margins and fonts, it should be OK. ... CutePDF - Create PDF for free, Save PDF Forms, Edit PDF ... |> be a RTF or a DOC file extension. ...
    (microsoft.public.windowsxp.general)
  • Re: looking for an RTF or PDF editor
    ... rtf editor in delphi samples or delphi jedy ... We have a PDF Viewer in PDFtoolkit, where you can open existing PDF ... (or an existing Word, RTF or other template) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Possible to lock Word files/Decent Rtf viewer
    ... PDF at 600 DPI makes a lot more work and size than at 300 DPI. ... > We had a look at PDF, but it is way slower than generating a RTF report. ... >>> Carel Lotz ...
    (microsoft.public.word.docmanagement)