Jump to content
Changes to the Jaspersoft community edition download ×

Reduced cell size when exporting to excel.


laurencija

Recommended Posts

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.0

Also,

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...