Re: [iText-questions] exception in PdfContentByte.localDestination

2006-10-12 Thread Paulo Soares
- Original Message - From: "Jingrong Chen" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, October 12, 2006 9:26 PM Subject: Re: [iText-questions] exception in PdfContentByte.localDestination > Hi, Paulo: > > I

Re: [iText-questions] exception in PdfContentByte.localDestination

2006-10-12 Thread Jingrong Chen
rsday, October 12, 2006 12:35 PM To: Post all your questions about iText here Subject: Re: [iText-questions] exception in PdfContentByte.localDestination You can't create new named destinations unless you fiddle with SimpleNamedDestination and that's not really trivial. You can however m

Re: [iText-questions] exception in PdfContentByte.localDestination

2006-10-12 Thread Paulo Soares
gt; Jing > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paulo Soares > Sent: Wednesday, October 11, 2006 11:27 AM > To: Post all your questions about iText here > Subject: [EMAIL PROTECTED] - Email has different SMTP TO: and >

Re: [iText-questions] exception in PdfContentByte.localDestination

2006-10-11 Thread Paulo Soares
PdfCopy doesn't allow to add any content, only full pages. Use PdfStamper. Paulo - Original Message - From: "Jingrong Chen" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 11, 2006 7:25 PM Subject: [iText-questions] exception in PdfContentByte.localDestination

[iText-questions] exception in PdfContentByte.localDestination

2006-10-11 Thread Jingrong Chen
Hi,  I am trying to read in a pdf file, add some named destination then save them to a new file. Here’s my code:     int pages = reader.getNumberOfPages();       Document document  = new Document( reader.getPageSizeWithRota