Re: [iText-questions] ClassCastException when additing bookmarks

2011-10-07 Thread 1T3XT BVBA
On 4/10/2011 18:49, Chris Ulbright wrote: > Hello, > > I have run into an issue when adding bookmarks to an existing PDF. This > particular code has been working for some time so I¹m not sure what is > different in this case. The PDF file is attached. > > The document in this case is a single page.

Re: [iText-questions] ClassCastException when additing bookmarks

2011-10-05 Thread mkl
Chris Ulbright, Chris Ulbright wrote: > I have run into an issue when adding bookmarks to an existing PDF. This > particular code has been working for some time so I¹m not sure what is > different in this case. The PDF file is attached. Your sample PDF is flawed: Its catalog: 2 0 obj << /Type /

[iText-questions] ClassCastException when additing bookmarks

2011-10-04 Thread Chris Ulbright
Hello, I have run into an issue when adding bookmarks to an existing PDF. This particular code has been working for some time so I¹m not sure what is different in this case. The PDF file is attached. The document in this case is a single page. The bookmarks are added as shown below. When close()