简体   繁体   English

Jasper Export XLS多行文本字段

[英]Jasper Export XLS Multiline textfields

I have a problem with export report in excel. 我在Excel中的导出报告有问题。 I 'm using an Ireport. 我正在使用Ireport。 I'm trying to print multiline text in textfield 我正在尝试在文本字段中打印多行文本

(TextField parameters : Height=20, Font=Arial, Font Size=10). (TextField参数:Height = 20,Font = Arial,Font Size = 10)。

I set the Positition Type = Float and Stretch type= Relative to Band Height. 我将“位置类型”设置为“浮动”,将“拉伸类型”设置为“相对于带高”。 Аnd I got this result: ?我得到了这个结果: 在此处输入图片说明

The last line is eating. 最后一行在吃饭。 Im 'trying to set the property Stretch With Overflow=true. 我正在尝试设置属性Stretch With Overflow = true。 I got the same result. 我得到了相同的结果。 What I'm doing wrong. 我做错了。

Try adding bottom padding or spacing after on that cell. 尝试在该单元格上添加底部填充或间距。 You can also try disabling collapse row span property on the report, it solves some excel layout problems: 您还可以尝试在报表上禁用折叠行跨度属性,它可以解决一些excel布局问题:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM