Thanks for the quick reply Julien! Your solution worked like a charm! :) Joe
On Thu, Aug 26, 2010 at 1:25 PM, Julien Plée <[email protected]> wrote: > Hello Joe, > > There is actually a rotating function. It applies on pages (you can get all > of them through PDDocument.getDocumentCatalog().getAllPages() and iterate > over them). > It is PDPage.setRotation(int). (I remember to have read that it accepted > multiples of 90 but no negative values). > You may decide to rotate or not with the media box coordinates > (PDPage.getMediaBox()). > > Julien PLÉE > > Le 26 août 10 à 21:11, Joe Hansen a écrit : > >> Hey all, >> >> Faxes sent to our company are received by our fax machine, which then >> converts the received fax into a PDF file. Sometimes a few pages in >> the fax are up-side down. We need a way to rotate such page(s). Is >> there a way to accomplish this using the PDFBox? >> >> Your help is greatly appreciated! >> >> Thanks! >> Joe >> >> PS: I've been able to split and merge PDF files using PDFBox. But I >> did not see any API to rotate a page. > >

