用的是 Ireport2.0版本 更高版本可能没有这个问题
导入Class的时候,不能使用package。
1.导出Excel遇到有空格问题
JRXlsExporter exporter = new JRXlsExporter();
exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE);
2.导出Html表格变粗的解决办法
.Html页面<td>border 重合,造成线条变粗.
在JSP页面上加入
<style type="text/css">
table{border-collapse: collapse}
</style>
或者在
<link href="/mms/style/tdstyle.css" rel="stylesheet" type="text/css">
这个文件加入
3.表格拉升变形
在properties熟悉 common tab中选择Stretch type 为Relative to band height