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)
  • Re: HP 4MP printer driver current?
    ... I can print the RTF file from the G4, ... When you print to a PDF, ... When Preview is involved in the print process, the original format of ... Preview to examine a document in a print queue. ...
    (comp.sys.mac.system)
  • Re: HP 4MP printer driver current?
    ... So the built-in PDF rendering can cope with the document, ... If I save it (Print>Save As PDF) as a PDF in Word, ... I can print the RTF file from the G4, ... If the computer is spitting up an "Unexpected EOF" error, ...
    (comp.sys.mac.system)
  • Re: HP 4MP printer driver current?
    ... I can print the RTF file from the G4, ... When you print to a PDF, ... When Preview is involved in the print process, the original format of ... Preview to examine a document in a print queue. ...
    (comp.sys.mac.system)
  • 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)