• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FOP vs. iText

 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Should I go with FOP or iText? Any expiriences?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
iText is probably easier to get started with, if you're familiar with Java. XSL-FO is rather complex...
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go for itext..
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have been using FOP for the last month on a major project. In this project, XML data is rearranged to create PDF documents of 200 - 300 pages.

FOP is not a complete implementation of XSL-FO 1.0 - basic level. It is pretty complete but has holes that have tripped me up frequently. Fortunately there is a compliance document that says which features are done. There is also an active fop-users mailing list.

A cursory examination of the iText site didn't reveal any comparable list of compliance with the standard - if you find one, please post the location.

Incidently, Holman's book, "Definitive XSL-FO" is a great help, but if you get it, go to Kinkos and get it rebound in a lay-flat spiral binding because you will constantly be turning back and forth between the sections.
Bill
[ March 11, 2005: Message edited by: William Brogden ]
 
Velika Srbija
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seems that FOP is better for building document templates, but I'll rather try iText. I have to prepare PDF document with images generated by servlets, so it seems that iText is a good solution.?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Velika,
Personally, I use iText. If you only need to render in PDF, I think iText is a good place to start. If you need different formats, or think you are likely to, FOP will make that job easier.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Velika Srbija:
I have to prepare PDF document with images generated by servlets, so it seems that iText is a good solution.?



If you could explain more about where does the images comes from ? in what format?, what is the part of servlet here and so on... that would really help us to see further and make a choice between iText or fop.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using simple PDF stuff like not tie in security and access-ablities issues, using FOP is not a bad choice. Might be following article can help a bit.

http://www-128.ibm.com/developerworks/library/x-ospdf
 
reply
    Bookmark Topic Watch Topic
  • New Topic