Dean Krueger wrote: > The CastException is being caused earlier, at the PdfDictionary labels > = (PdfDictionary)dict.get(PdfName.PAGELABELS); statement.
It's sufficient to change this accordingly: (PdfDictionary)PdfReader.getPdfObject(dict.get(PdfName.PAGELABELS)); > I was just hoping I could get > an array back from iText with the page numbers in it. That would be relatively easy to implement. If I find the time, I'll add it to iText 2. br, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/