> Bruno Lowagie wrote: > > We're working at the lowest level here. > We're not using PdfTemplate, Image, Chunk, anymore. > What we're doing is getting the 'form XObject' (we prefer calling > it PdfTemplate to avoid confusion with forms) and replace the > stream. You don't have to manipulate the String as I did, but > you surely have to create the PDF syntax and replace the byte[] > of the stream object. > > br, > Bruno >
If I debugge your code, your Stream contains a not coded page number. Your Stream as String: "BT\n/F1 12 Tf\n1 0 0 1 0 0 Tm\n(10)Tj\nET\n My Stream as String: "BT\n/F1 10 Tf\n1 0 0 rg\n1 0 0 1 0 0 Tm\n(\u0000\u0015)Tj\nET\n How could I change the value (\u0000\u0014)? br, Eric ------------------------------------------------------------------------- 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/
