> Bruno Lowagie wrote:
> 
> The reason why I am reluctant to help is because what you are
> trying to achieve is generally considered to be of very bad taste.
> However, you'll find an example in attachment where I created
> a page saying "page 1 of 10" with "10" added as a PdfTemplate.
> In this (VERY SIMPLE) example, I assume this template is the
> only template in the page. I get the content stream of the
> template, I alter it (TO THE OTHER SUBSCRIBERS: PLEASE DON'T
> DO THIS UNLESS YOU'RE DESPERATE), and then replace the original
> content stream in the PdfTemplate. The end result is a page
> saying "page 1 of 11".
> This example took some shortcuts, IT IS NOT MEANT TO USE IN
> A PRODUCTION ENVIRONMENT.
> br,
> Bruno
> 
> Attachment (ReplacePdfTemplate.java): text/x-java, 2550 bytes
> 

Thanks a lot for your help and your time that you spent for me! I understand 
that you don't want to use such solutions. Since I have read the Chapter 18 in 
your book I think pdf is not a editable format too. If I mustn't implement 
such a solution I would never try to do such a thing.
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/

Reply via email to