JasperReport - wrap text to show long text in textfield

前端 未结 2 1893
不知归路
不知归路 2020-12-01 03:57

I am using jasper report as reporting tool in my application. And I am wondering how can i wrap the long text by expanding the reportElement dynamically into ve

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 04:21

    Also you can make the truncation elegant by using the following properties set to the textfield. Check this sample

    net.sf.jasperreports.text.truncate.at.char 
    net.sf.jasperreports.text.truncate.suffix 
    net.sf.jasperreports.print.keep.full.text 
    

提交回复
热议问题