PdfWriter.getImportedPage(). See the handout_pdf.java example.
Best Regards,
Paulo Soares
- Original Message -
From: "vadim zabejinsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 13:15
Subject: [iText-questions] Concatenating two pd
I would like to know if there is any way by which i
can insert the existing document at specific location
of my current document. I am writing to my current
document using PdfWriter class of
com.lowagie.text.pdf.PdfWriter package
Thanks
Vadim
___
Amitabh Basu <[EMAIL
PROTECTED]>
cc: "[EMAIL PROTECTED]"
27/02/2004 07:12 PM <[EMAIL PROTECTED]>
Sure thing.
The thing is that you'll always have to create a NEW document to merge.
So let's say your pivot page is 9.
Process page 1 thru 9 of the first document;
Insert the whole 2nd document;
continue from 10 thru the end of the first.
As far as I know there is no other easier way to do it.
lt;[EMAIL PROTECTED]>
Subject: Re: [iText-questions]
Concatenating two pdfs.
for (int i = 1; i <= rea
for (int i = 1; i <= reader.getNumberOfPages(); i++)
writer.addPage(writer.getImportedPage(reader, i));
Jean-Philippe Bélanger
CGI
Amitabh Basu wrote:
Hi,
How can i concatenate two pdfs. provided on of the pdfs already exists
on a
pre-defined location of m/c har
Hi,
How can i concatenate two pdfs. provided on of the pdfs already exists
on a
pre-defined location of m/c hard disk..
Any help in this direction will be highly appreciated
Thanks & Regards
Amitabh
---
SF.Net is sponsored by