Someone know one mode for combine the Landscape and Portrait orientation in same report, on IReport? Remembering that I want a PDF document as a result.
Thanks,
Cleber Alberto.
I think that it is impossible with just iReport and JasperReports API.
The orientation
property is determined for the whole report, not for a part of it.
Even JR API allows to set orientation
property only for report:
JasperDesign.setOrientation(OrientationEnum orientationValue)
May be DynamicJasper can help you to solve this problem. The quote from DJ site :
Automatic report layout: Just define a minimum set of options and DJ will take care of the layout. It's not an issue to generate the same report for different page sizes and orientation many more!
You can try to use this method from DJ API:
public DynamicReportBuilder DynamicReportBuilder.setPageSizeAndOrientation(Page page)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.