Need to reduce the size of a pdf to A4 from landscape
We are creating jasper reports in our project. After creating the report, we have to append some attachments(pdfs) to the report. Sometimes the attachments are in landscape format. They need to be changed to portriat without changing the alignment of the text in it. I mean the content of that attachment should not rotate. We are using iText Api to read and merge the files, but not getting any idea about how to shrink the pdf.
Any ideas would defeinitely help us..
Thanks in advance.