You don't have to do the same work twice. One thing is to calculate the data and the other is to create the PDF. make it work first and worry later about optimizations (if needed, most probably not).
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paco albadeguerra > Sent: Monday, January 08, 2007 3:07 PM > To: [email protected] > Subject: [iText-questions] Question about reviews > > Hi there! > > I have a nasty problem whith a Pdf. This pdf consist in quite > a lot tables, but the first one must be a review of the > others. So, at first I think I could simply calculate the > values of the review and then fill the other tables, but > that´s a waste of resources! You have to do same work twice. > > So, I think I could simply make the other tables in a > temporal pdf and then, in a second class, create another pdf > whith the review values (calculated in the first class) and > use the stamper stuff to add the previous temporal pdf to it. > You do teh work only once, but generating a second pdf is > needed, so teh solution is not quite optimal. > > Is there any another way? I mean, like inputing in the review > tables some kind of value like ' variable X ', wich real > value wil be decided at the end? > > Thanks for your time! > > > > > > Albadeguerra > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------- 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 Buy the iText book: http://itext.ugent.be/itext-in-action/
