Women in Technology

Hear us Roar

  Dynamically Creating PDFs in a Web Application
Subject:   coordinate based tools
Date:   2003-06-19 20:58:34
From:   anonymous2
Response to: FOP

I haven't used iText (I'm a FOP fan myself), but I'm familiar with some of the pros and cons of coordinate based tools like iText - the pro is that it is nice when you have to write to a pre-defined pdf, but the disadvantage is if the format changes, it throws off all your coordinates. This isn't an issue with FOP, however while you can build pretty much anything with FOP (images, etc) and the formattingis very powerful, it definitely requires some practice.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • coordinate based tools
    2003-06-20 02:19:38  anonymous2 [View]

    Hmm, you are talking about 'Advanced iText' only and ignoring the 'Simple iText' functionality. iText allows you to work with a com.lowagie.text.Document-object and add high-level objects such as Paragraph, Phrase, Chunk,...
    In that case, you needn't know anything about the coordinate system. You just keep on adding objects and if the end of a page is reached, a new page is automatically started (as one would expect).