[#3703] - WordWrap is not working in exporting the output to xlsx with jasper v5.0

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Hi Teodord,

I am exporting the output of a jasper report from ireport to .xlsx file. I have kept every field in designer with fixed width 100 and height as 13. My problem is few fields in my report have more text. I Want the text to be Wrapped in the same cell by horizontally increasing the row size dynamically. If that happens i can view the whole text without doing anything and i can have a readable print copy. I have been using net.sf.jasperreports.print.keep.full.text as TRUE. Please get back to me if my question was not clear. i have applied white page background property while exporting. I have attached current output and expected output. Please reply ASAP.

AttachmentSize
File expectedoutput.xlsx12.77 KB
File currentoutput.xlsx12.13 KB
v5.0
rakesh_paleti2001's picture
Joined: May 14 2013 - 3:44am
Last seen: 7 years 7 months ago

4 Comments:

#1
#2
#3
  • Priority:Urgent» High

Set below property at report level and export to xls and xlsx.

net.sf.jasperreports.export.xls.auto.fit.column

Amit Kukadiya

#4

Hi Amit, I tried your option but no luck. I am attaching the sample jrxml. Please try once from your end.

AttachmentSize
Binary Data sample.jrxml6.01 KB
Feedback