Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] How do you copy the content of existing PDF
 toanother?

Paulo Soares

2006-06-21

Replies:

You first use PdfCopy to concatenate the pages and then use PdfStamper to
add information. It's a two step process.

Paulo

----- Original Message -----
From: "Henry Doan" <geiz777@(protected)>
To: <itext-questions@(protected)>
Sent: Wednesday, June 21, 2006 7:13 PM
Subject: [iText-questions] How do you copy the content of existing PDF
toanother?


> Hi, i created a stamper from an existing pdf file and i want to create a
> 2nd
> page and copy the content from the existing pdf file to the 2nd page.
>
> Here's what i have done so far:
>
> PdfStamper stamper = new PdfStamper(reader, baos);
> stamper.insertPage(2, reader.getPageSize(1));
>
> _________________________________________________________________
> On the road to retirement? Check out MSN Life Events for advice on how to
> get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
>
>
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions@(protected)
> https://lists.sourceforge.net/lists/listinfo/itext-questions


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.