问题记录

1,用exporter.setParameter(JRExporterParameter.PAGE_INDEX,new Integer(page)) 进行分页,一直显示正常,当使用
exporter.setParameter(JRHtmlExporterParameter.JASPER_PRINT_LIST,totalJprint);
在HTML显示时会把多页一起显示出来,无法分页显示,为什么?

2,
用ireport3.0打开一个旧的jrxml文件并且运行,
发现ireport把<box>元素的topBorderColor属性改成了<box>子元素<topPen>的lineColor属性。
查看最新的dtd,发现新旧两种方式都支持。
旧的 < 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 >

     但<bottomPen>明显有问题,少一个lineStyle,另外应该为lineWidth="1.0" 

3, 常见报表模型:列表、分组、主从、嵌套、交叉、图形、套打、分栏、填报。
     
       
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值