Re: [iText-questions] FW: Adding a new pdf page

2006-03-31 Thread Bruno Lowagie
Dilan wrote: Hello, ** All I'm trying to do is open a PDF template file, InputStream input = new BufferedInputStream(new FileInputStream("/template-buyer.pdf")); PdfReader reader = null; reader = new PdfReader(input); ** create an output stream ByteArrayOutputStream bout = new ByteArrayOutp

RE: [iText-questions] FW: Adding a new pdf page

2006-03-30 Thread Dilan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bruno Sent: Thursday, 30 March 2006 6:16 PM To: Dilan Cc: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] FW: Adding a new pdf page Dilan wrote: >I have try the PdfCopy, I'm not sure

Re: [iText-questions] FW: Adding a new pdf page

2006-03-29 Thread bruno
Dilan wrote: I have try the PdfCopy, I'm not sure where did I went wrong, But its gives an corrupted pdf, If only I could see what you are trying to achieve I could send you an example, but I don't understand your code sample. It's as if you assume that two PDF files can be glued together lik

[iText-questions] FW: Adding a new pdf page

2006-03-29 Thread Dilan
Hello, I got this following method; InputStream input = null; try { input = new BufferedInputStream(new FileInputStream("/template- authority.pdf")); } catch (IOException e) { logger.error("Error opening file region",