1,用exporter.setParameter(JRExporterParameter.PAGE_INDEX,new Integer(page)) 進(jìn)行分頁,一直顯示正常,當(dāng)使用
exporter.setParameter(JRHtmlExporterParameter.JASPER_PRINT_LIST,totalJprint);
在HTML顯示時會把多頁一起顯示出來,無法分頁顯示,為什么?
2,
用ireport3.0打開一個舊的jrxml文件并且運(yùn)行,
發(fā)現(xiàn)ireport把<box>元素的topBorderColor屬性改成了<box>子元素<topPen>的lineColor屬性。
查看最新的dtd,發(fā)現(xiàn)新舊兩種方式都支持。
?????但<bottomPen>明顯有問題,少一個lineStyle,另外應(yīng)該為lineWidth="1.0"?
3, 常見報表模型:列表、分組、主從、嵌套、交叉、圖形、套打、分欄、填報。
4, sf的DynamicJasper使JasperReports具有動態(tài)報表的能力。
http://blog.csdn.net/chszs/archive/2007/09/23/1796815.aspx
?????
???????
exporter.setParameter(JRHtmlExporterParameter.JASPER_PRINT_LIST,totalJprint);
在HTML顯示時會把多頁一起顯示出來,無法分頁顯示,為什么?
2,
用ireport3.0打開一個舊的jrxml文件并且運(yùn)行,
發(fā)現(xiàn)ireport把<box>元素的topBorderColor屬性改成了<box>子元素<topPen>的lineColor屬性。
查看最新的dtd,發(fā)現(xiàn)新舊兩種方式都支持。
舊的<box?topBorder="None"
????????topBorderColor="#000000"?leftBorder="1Point"
????????leftBorderColor="#000000"?rightBorder="1Point"
????????rightBorderColor="#000000"?bottomBorder="1Point"
????????bottomBorderColor="#000000"?/>
????????
????新的????<box>
????????<topPen?lineWidth="0.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
????????<leftPen?lineWidth="1.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
????????<bottomPen?lineWidth="0.0"
?????????lineColor="#000000"?/>
????????<rightPen?lineWidth="1.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
???????</box>
????????topBorderColor="#000000"?leftBorder="1Point"
????????leftBorderColor="#000000"?rightBorder="1Point"
????????rightBorderColor="#000000"?bottomBorder="1Point"
????????bottomBorderColor="#000000"?/>
????????
????新的????<box>
????????<topPen?lineWidth="0.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
????????<leftPen?lineWidth="1.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
????????<bottomPen?lineWidth="0.0"
?????????lineColor="#000000"?/>
????????<rightPen?lineWidth="1.0"
?????????lineStyle="Solid"?lineColor="#000000"?/>
???????</box>
?????但<bottomPen>明顯有問題,少一個lineStyle,另外應(yīng)該為lineWidth="1.0"?
3, 常見報表模型:列表、分組、主從、嵌套、交叉、圖形、套打、分欄、填報。
4, sf的DynamicJasper使JasperReports具有動態(tài)報表的能力。
http://blog.csdn.net/chszs/archive/2007/09/23/1796815.aspx
?????
???????