File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes FOP vs RTF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "FOP vs RTF" Watch "FOP vs RTF" New topic
Author

FOP vs RTF

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

I a project, I need to show some charts and tables through a JSP page and give the user option to export that page's content as a PDF file, RTF document (so that users can edit them using MS Word) and only the statistical data to an XLS file. For creating charts in JSP pages, I am going for cewolf. I have worked with FOP earlier and explored iText in its beta version for PDF generation. For PDF and RTF generation, I can either use FOP with JFor or use iText. I find iText as a better choice as this one tool is providing me consistent API to create both the output formats.

Do you think there are better alternatives?


Ashik Uzzaman
Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I'd probably prefer iText over FOP because of its relative simplicity -- that is, assuming that iText supports all the required features of XSL-FO.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FOP vs RTF