laurencija Posted April 23, 2013 Share Posted April 23, 2013 Can anyone help me? I have a problem when exporting to excel. The problem is that all cells are smaller in width and height then they should be. That's why text does not fit into cells.When exporting to pdf and docx formats everything looks fine.I use JasperReports 5.0.0Also,JRXlsExporter xlsExporter = new JRXlsExporter();xlsExporter.setParameter(JRExporterParameter.IGNORE_PAGE_MARGINS, Boolean.TRUE);Attaching pdf, docx and xsl files. Also adding jrxml file.How can I solve this problem and make excel cell width and height be the same as in pdf or docx? Link to comment Share on other sites More sharing options...
laurencija Posted April 25, 2013 Author Share Posted April 25, 2013 Property net.sf.jasperreports.export.xls.column.width.ratio with value 1.7 helped a bit and column width looks acceptable. But how can I fix row height? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now