Stretch overflow not working in excel jasper report

后端 未结 3 2004
滥情空心
滥情空心 2020-12-19 23:53

I am trying to export report to Excel (XLSX format) using jasper report, but get problems with stretching when text field is overflow. I get just e

3条回答
  •  天命终不由人
    2020-12-20 00:12

    It works perfect in HTML, but during export in EXCEL format I get problem. I looked stretch sample from jasper reports demo/samples folder and found out solution. I set horizontal alighment textfield parameter to "justify" and it will work in Excel and look perfect. Seems that without this parameter stretch does not work during export to Excel. Thanks for the help, user1390785 !

提交回复
热议问题