If you need an example how to do the rotation you can have a look at:

http://www.mail-archive.com/[email protected]/msg23085.html

In this easy case you should be able to simply rotate every second page 
without looking at the page content. The only solution for the general 
case I know of is implemented in Acrobat.
Best regards,
Carsten

Paulo Soares schrieb:
> There's no easy way to find the rotation unless you examine the content 
> stream. If you know the rotation to be applied it can be done in the page 
> dictionary with /Rotate 180.
> 
> Paulo
> 
> ----- Original Message ----- 
> From: "Webber, David (NIH/OD) [C]" <[EMAIL PROTECTED]>
> To: "Post all your questions about iText here" 
> <[email protected]>
> Sent: Friday, October 13, 2006 9:29 PM
> Subject: [iText-questions] Detecting and correcting page rotation?
> 
> 
>> Here is an example of a PDF document with alternating rotated pages
>> (looks like its setup for double sided printing?).
>>
>> http://rholbert.colug.net/pdf/diff_s4.pdf
>>
>> Question is - how do we using iText find out from the page properties if
>> the content on that page is flipped - and then of course - how do we
>> change that setting so its normal orientation?
>>
>> Thanks, DW
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to