[英]IReport combine Landscape and Portrait orientation
有人知道在IReport上將橫向和縱向合並在同一報表中的一種模式嗎? 記住我想要一個PDF文檔。
謝謝,
Cleber Alberto。
我認為僅使用iReport和JasperReports API是不可能的。
orientation
屬性是為整個報表而不是部分報表確定的。
甚至JR API也只允許為報告設置orientation
屬性:
JasperDesign.setOrientation(OrientationEnum orientationValue)
- 設置報告方向
可能DynamicJasper可以幫助您解決此問題。 DJ網站的報價:
自動報告布局:只需定義最少的選項集,DJ將負責布局。 為不同的頁面大小和方向生成相同的報告不是問題!
您可以嘗試通過DJ API使用此方法:
public DynamicReportBuilder DynamicReportBuilder.setPageSizeAndOrientation(Page page)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.