bruno <bruno <at> lowagie.com> writes:

> 
> Abhay Shah wrote:
> 
> >Paulo Soares <psoares <at> consiste.pt> writes:
> >
> >  
> >
> >>It may work in append mode.
> >>
> >>    
> >>
> >
> >This may be a rookie question, but how do I set append mode.
> >
> It's not a rookie question 
> PdfReader reads the existing document.
> PdfStamper writes the new document,
> so you should set the append mode in PdfStamper:
>
>http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfStamper.html#PdfStamper(com.lowagie.text.pdf.PdfReader,%20java.io.OutputStream,%20char,%20boolean)

Thanks for all your help. With this constructor I get the exception

Append mode requires a document without encryption.

I guess I'm going to have to tell the client to give us the password and we'll
have to add it on after merging the pdf. There's no other way to achieve this.

Thanks again all, 

Abhay.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to