[#12386] - ODS + new line character (\n)

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

hello
input data xml have field with multi-line info
i use this expression String.join("\n", $F{FIELD_NAME}.split("\\s*#\\s*"))
in this works everywhere (doc/x,xls/x,odt) except ODS

AttachmentSize
Binary Data participant_report_list_2.jrxml3.25 KB
v6.10
Z@C's picture
Z@C
16
Joined: Oct 6 2015 - 4:22am
Last seen: 3 months 2 weeks ago

6 Comments:

#1
  • Status:New» Feedback Requested
  • Assigned:nobody» shertage

Hi,

Can you attach here a JRXML and the ODS it produces, or the stack trace of the error you get?

Thanks,
Teodor

#2
AttachmentSize
PDF icon generatereport.pdf34.89 KB
File generatereport.xlsx4.77 KB
File generatereport.ods3.4 KB
#3
  • Status:Feedback Requested» Acknowledged
#4

HI,

I confirm that the <text:line-break/> tag that we use for newline characters works in ODT, but has no effect on ODS.

Thanks,
Teodor

#5

Hi ... do you have some fix?
i found some solve mb
look at this
https://bugs.documentfoundation.org/show_bug.cgi?id=43107#c21

now i used JRLib 6.16.0

#6
  • Priority:Normal» High
Feedback