|
Hi there!
I'm a student working in Telenor Mobil in Norway
this summer. I have a project going where I will use iText-library to generate a
nice looking PDF-report from the database-results that peopple put in on my
web-app.
I'm using your tutorial but I find it weird that
you haven't put out a full API on the web, i'm sure there are _some_ comments on
your methods. When downloading the library _Nothing_ is included. The only thing
you can see is the methods name, and what type the parameter it takes in should
be. To underline what i'm saying i quote your tutorial, chapter 5:
"cellwidth / cellheight:
The cellwidth is determined at the level of the table: you decide the total percentage the table will take on the page (the default is 80%). You also set the relative widths of all cells. If you set the widths of a 3 column table like this: { 1, 1, 2 }; the first and second column will use 25% of the total space; the third column will take 50%. The height of the cell depends on the content and the alignment of the cell. You can't control it yourself. If you have only one line in your cell, you can use the method Cell.setLeading to change the height." Very nice, but how the hell do you do it (i.e what
methods to use and what parameters to put in)?
It feels like a blind man stumblin' around in a
black world with a scarf in front of your eyes..
Besides this - I'm very happy with iText -
when I finally figure out what the right method for what I want to do
is, so thanks :)
Looking forward to hearing from you,
best regards
Jan Helge Maurtvedt
Student at Norwegian University of Technology and
Science (NTNU)
Working for Telenor Mobil
|
