Am 02.03.2015 um 22:49 schrieb Eric Douglas:
Hi, I hope this is to the right place, my first time using this list. I'm working with a 2.0 maven trunk I found and I have a couple issues. I can't seem to find this class which is in some online javadocs referencing pdfbox 1.8:- org.apache.pdfbox.pdfviewer.PDFPagePanel
org.apache.pdfbox.tools.gui.PDFPagePanel
Now, I'm trying to use pdfbox on a server to get pdf pages, then serialize one page at a time to render on a client. What's the best way to do this?
none at all. You can't cut a PDF like a salami. There is the PDFSplit application, but the size of all pages will be larger than the size of the original PDF, because of common objects.
Tilman
I'm trying to avoid serializing the entire document since the load time is much faster doing single pages, but PDPage is not serializable. org.apache.pdfbox.rendering.PDFRenderer accepts the document on the constructor but doesn't seem to need it to render a single page, other than to get the page from it in renderPageToGraphics which could easily add an overload to just accept the PDPage object.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

