Re: [iText-questions] PDF Rotation and resetting page rotation to zero

2009-08-11 Thread BSmith
Ok, If you use, "reader.getPageN(i).put(PdfName.ROTATE, new PdfNumber(90));" to rotate a PDF, you are setting PdfName.ROTATE to "90". If you read this newly created PDF and perform, "reader.getPageRotation(i)" where "i" equals the page number, the result will be "90". I was asking if there is a

[iText-questions] PDF Rotation and resetting page rotation to zero

2009-08-06 Thread BSmith
I am using the following to rotate certain PDFs 90 degrees: reader.getPageN(i).put(PdfName.ROTATE, new PdfNumber(90)); However, the resulting page now has its pageRotation equalling "90". Since I am "fixing" the doc I would like the new PDF page to be equal to "0". Is there a way to rotate

[iText-questions] Re ading PDF Packages

2009-03-10 Thread BSmith
Hi, I am merging and rotating PDF documents in Java with iText. However, the new PDF Packages are causing me problems. I do not see anything in the book concerning Acrobat 8 PDF Packages. Is there a way with iText to determine if a PDF that I am reading is a new combined PDF package rather than