I am in the process of taking some CPS formatted data from the database, placing the information in arrays, and then simply displaying it in a pdf document. This is not a problem, there are page breaks and so forth the issue is the following when generating the PDF document.
Orientation is done as you probably know by the following which applies to the ENTIRE document with the orientation attribute:
<cfdocument name="pdfFile" format="pdf" orientation="portrait" saveasname="DATA_PDF" pagetype="legal" fontembed="no" >
The issue is we have the information out in an array and some of the tables have many columns, some do not. We are able to produce these on different pages, but they are not fitting cause some are just too large in width (or they just end up not looking good with the auto formatting).
My question is, is there a way to have certain pages in your pdf document with different orientations? Sort of like you can in Word where you apply the orientation just to one page or a section. Everything I am seeing is that the cfdocument orientation attribute applies to the entire PDF, but is there another way around this?
I've seen this question asked around in other places on the web, but nobody has an answer. Any information would be appreciated.
Thanks