File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Java API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Java API" Watch "Java API" New topic
Author

Java API

Ankit Saxena
Greenhorn

Joined: Jul 06, 2009
Posts: 12
Hi All,

What Java APIs are available that can convert RTF to PDF directly.
I have checked JFO API and FOP API.

About Open Office API.does that require Open Office installed on the system

Thanks,
Ankit
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
Yes, the OO API requires OO to be installed. The good news is that http://www.artofsolving.com/opensource/jodconverter makes document conversion using OO much easier than it would otherwise be.

I'm not aware of any other Java library that can convert arbitrary RTF files to PDF. Check out http://www.rtf-to-xml.com/rtf-to-pdf.html for a commercial solution.


Ping & DNS - updated with new look and Ping home screen widget
Ankit Saxena
Greenhorn

Joined: Jul 06, 2009
Posts: 12
thanks,

but we don't have OpenOffice on our system. and cannot install that also.

any other option.
Its very urgent
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
JavaCC is a parser generator for which an RTF grammar is available. If your RTF files are comparatively simple (in other words, they use only a limited subset of all of RTF's capabilities), then it shouldn't be too hard to make that parser emit PDF (by hooking it up to the iText library).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java API
 
Similar Threads
i want to read a file which has been created by Star Office
convert office document to PDF
Print MS Office Documents using Java API
Java and Excel
How to convert HTML to PDF?