New to the iText tool, I took time to read and work on the tutorial.
In the Chapter 7, the Data Merging section ( http://www.lowagie.com/iText/tutorial/ch07.html ) took my interest and seems to be the element I would like to use but I don't know how to deal with tables.
 
As I understood, I can use :
- A database or any kind of source for the data
- An XML file to build the main part of my report with iText tags and my own tags.
 
In the given example, it was possible to insert tags like <givenName>, <name> ...
 
How is it possible to describe tables ? Let's suppose we want to create a report with :
 
- A paragraph
- Different elements coming from a database but as single values.
- A list of elements ( ex : coming from a select firstName, lastName from members )
 
<letter>
 Paragraphe / Summary
      <newline />
      <newline />
    Information, comments ...
       <newline />
        Here is the list of our new members
        <newline />
        <table>
            <row>
                <cell><firstName/></cell><cell>lastName</cell>
            </row>
        </table>
</letter>
 
Does anybody has an example with that kind of job ?
 
 

Reply via email to