Hi Bruno!
 
My question is about headers.....and database.
 
I'm building a desktop application which connects to a database.
 
Once I have collected all data, I'm trying build a PDF file.
 
When I try set a header, on method 'onEndPage' I cannot get that data...because "disappears" it!
 
Steps are following:
 
1) Before I create a Document, I retrieve all data from database.
2) Then, I create a Document. After, I have this line:
   writer.setPageEvent(new Pagina())
 
Pagina is my class which extends PdfPageEventHelper
 
3) I suppose I have got all my data from database (made before executes option 2) ..but nothing. My hashtable (my collection) is nothing.
 
Why disappears it my collection data on 'onEndPage' method?.....
 
What's wrong about it?
 
 
Thanks ..and I'm sorry for my English level.
 
 
Kind regards,
 
 
Abelardo.

--
Recibe un saludo,

Abelardo León González
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to