> > Bruno Lowagie wrote: > > The problem with 'solutions' like this, is that it can > go wrong on so many places, and I don't want to be the > one 'responsible' to fix those problems > br, > Bruno >
I understand that! ;-) I have one question to the code that you send me. I tried this code, but the Stream that I get from the PdfReader contains the content number in Unicode. (example:(\u0000\u0014)) How could I change this value? If I replace this with the new number not encoded nothing will happen in my Document. Only the value of the template was empty. The differnce of your solution to mine is that I first create a PdfTemplate, wrap this into an Image and create a new Chunk with this Image. In the onCloseDocument() method I write the pagenumber into the Template. ------------------------------------------------------------------------- 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/
