Hi all,

I'm using iText to merge different PDF documents. The documents have
different page orientation: portrait or landscape.
I did my implementation based on this example :
http://java-x.blogspot.com/2006/11/merge-pdf-files-with-itext.html.
The pages in landscape orientation are turned to the portrait orientation
(the text too). I wanted to keep this landscape orientation. All the
document pass was with landscape orientation. I guess iText assign the A4
size by default during the merging ?

I added this :
*document.setPageSize(pdfReader.getPageSizeWithRotation(pageOfCurrentReaderPDF));
*

Then, the pages turned to landscape but not the text.
I don't understand that... Why  the text is not turning ?

Is it not possible to turn everything ?

For now, I used the PdfCopyFields but I cannot use pagination.

Is anyone has a solution about this problem ?

Thank you very much.

-- 
Pierre-Nicolas Lemoine
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to