Bruno Lowagie (iText <bruno <at> lowagie.com> writes: > > Paulo Soares wrote: > > onGenericTag only works with non rotated objects placed in the main page. > > I think the real problem is that the original poster > tries to do something simple in the most complex way possible. > Usually it's the other way round: people generally try to > achieve what they was as simple as possible > > So Eric, please forget about code samples, and try to > explain in simple words what you are trying to achieve. > Assume that we don't know the first thing about your > requirements (actually we don't), then we can see if > we're able to help you. > > br, > Bruno
OK! I will try to explain you my problem in simple words. In my programm I create a Chunk in which I want to save the toal page number. For this problem I saw in your examples that I must use the PdfPTemplate. The problem that I've got is, that this Chunk later will be added to a Pharagraph with different other Chunks. The simple case is that I directly write this Pharagraph into the Document. The other and the difficult case is, that this Pharagraph can be added to a PdfPCell and in this cell the rotation can change. Have you any idea how I can ensure that the total page number will be correctly shown in the cell? ------------------------------------------------------------------------- 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/
