I wonder if it would be much of a hassle if you cached the result of PDDocumentCatalog.getPages() (like you do for getAcroForm).
Thanks in advance, Constantine -- There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them! - Richard P. Feynman
