TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.04k stars 401 forks source link

Two additional newlines when exporting to text file #60

Closed metalpalo closed 4 years ago

metalpalo commented 5 years ago

Hi all, I've created very simple Jasper report in studio, version 6.8.0. My template contains only detail band, all another arreas are removed. I also set Ingore pagination to true to gen fluent file without some break. My problem is that I got extra two end lines in the end of exported file. I summary, file finished with 3 end lines as describen in following threads: https://stackoverflow.com/questions/43282485/jasperreports-text-file-contains-2-newline-characters-at-the-end-of-every-page https://community.jaspersoft.com/jasperreports-server/issues/6446

What I found out in second link, only added to jrxml works, studio have problem to define empty value

Can somebody help me where is problem? When exporting to csv, file normally is ended with one end line. thanks brpalo

teodord commented 4 years ago

The page separator will be inhibited after the last page. The fix will be part of the next release.