Java library for opening PDF with text, images, & formatting?
I'm developing a software 开发者_JAVA技巧(mac & pc) for opening & annotating PDFs for presentations. I need help finding a Java library that can assist with opening an external PDF, that will not just open the text, but the images & formatting as well. Anyone have experience with this?
There's a library called iText that does most things you will need for PDF. I only know it because it was part of an application I modified, so I don't have anything to compare it against.
I did find some of its behavior non-intuitive, so you may want to look around still.
AFAIK iText is to generate and manipulate PDF files. If you want to open and view PDFs use http://pdfbox.apache.org/
Most Java libraries will let you access the low level objects. Your exact requirement is quite vague what exactly are you trying to do?
精彩评论