It can be done. Import the page as an image, rotate it according to the /Rotation key, apply it to a new page and it's done.
Paulo On Fri, Mar 9, 2012 at 9:04 AM, Kim Eeckhout <[email protected]> wrote: > Yes I suppose that is what I want to do. We have a pdf viewer that is > incapable of properly handling the /rotation, so I was looking into > converting pdf's that have a rotation to a pdf with rotation = 0, but > looks exactly the same. > However, the more I looked, the more it looked like it cannot be done, > so I decided to ask here to make sure. > > Thanks for the quick response though! > > Kim. > > On Thu Mar 8 19:16:56 2012, 1T3XT BVBA wrote: >> On 8/03/2012 18:40, Kim Eeckhout wrote: >>> When I receive a pdf, I need to check if it currently rotated. If so, I >>> need to set the rotation to 0 and generate a new pdf . This works, but >>> obviously has the side effect of the generated pdf not being in the >>> intended orientation (e.g. a portrait pdf would become a landscape pdf >>> and vice versa). >> >> Obviously. >> >>> So I'm trying to figure out how to rotate all the content of the pdf >>> that I generate, without using the rotation. >> >> ??? >> Are you saying you want to "reflow" the content? That's impossible. >> Are you asking something else? Please clarify! >> Because I don't understand how you want to rotate a page without using >> rotation. >> >> ------------------------------------------------------------------------------ >> Virtualization& Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions >> >> iText(R) is a registered trademark of 1T3XT BVBA. >> Many questions posted to this list can (and will) be answered with a >> reference to the iText book: http://www.itextpdf.com/book/ >> Please check the keywords list before you ask for examples: >> http://itextpdf.com/themes/keywords.php > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
