Thank you Alexis! That`s the solution. I oversight that.
Alexis Pigeon wrote: > > Hi georg, > > On 03/12/2008, geke <[EMAIL PROTECTED]> wrote: >> >> >> I have a footer where on the left side a text like "Project a, Date: and >> so >> on" and on the right side "Page x of y" should be. The problem is, that >> the >> y, the total amount of pages, also prints on the text on the left side of >> the footer. I only need it in the page information on the right side. >> Maybe someone can help me. The source is >> http://www.nabble.com/file/p20810009/TimeRecordPdfViewEvent.java >> TimeRecordPdfViewEvent.java >> > > Just a quick guess after a quick look at your source code... > In the method onEndPage, you have these two lines : > > cb.addTemplate(pdfTemplate, document.left() + textSize, textBase); > ... > cb.addTemplate(pdfTemplate, document.right() + textSize, textBase); > > That's obviously why you see the total number of pages appear twice. > > HTH, > alexis > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > -- View this message in context: http://www.nabble.com/Footer-with-Page-Count-and-additional-Information-tp20810009p20812149.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
