You must go through all those steps. If you know in advance the total
number of pages you can skip step 3 and do the "page i of pages" in 1.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, June 22, 2006 12:57 PM
> To: [email protected]
> Subject: [iText-questions] avoid to write to much PDF-files
> whilemanipulating
>
>
> Hello,
>
> I write a java class that creates a PDF using another PDF as
> template and
> manipulate content.
>
> read template (one page) --> fill Fields (with PdfStamper)
> and flatten -->
> write it to a tempfile -->
> read tempfile --> copy Pages (PdfCopy) --> write it to tempfile2( i
> pages)-->
> read tempfile --> insert text "page i of pages" for every
> page (PdfStamper)
> --> write it to the destination file.
>
> I have two tempfiles with three read/write steps.
>
> Is it possible to do several steps like filling fields, copy
> content and
> analyse the result (for example count all pages)
> in one Read/Write step? (with one source and one destination file?)
>
>
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions