https://bz.apache.org/bugzilla/show_bug.cgi?id=62444

--- Comment #2 from David Gauntt <[email protected]> ---
Created attachment 36573
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36573&action=edit
Testcase for bug 62444

This JUnit test class illustrates the problem.  It writes 4 files to
build/custom-reports-test (JUnit reports 4 successes).  All contain a 4 column,
3 row table, and differ only in the data in the first column.  I am also
attaching all 4 file, as well as testLfInHeader.repaired.xlsx, which is a copy
of testLfInHeader.xlsx after it has been repaired by Excel 2010.

testNoLfInHeader.xlsx contains no newline characters in any headers.  Excel
opens this file silently.

testLfInHeaderCell.xlsx contains a newline character in the first header cell,
but no newline character in the XSSFTable column name.  Excel 2010 opens this
file silently, but the first header cell shows no sign of a newline.

testLfInHeaderCell.xlsx contains no newline character in the first header cell,
but has a newline character in the XSSFTable column name.  Excel 2010 opens
this file silently, but the first header cell shows no sign of a newline.

testLfInHeaderCell.xlsx contains a newline character in the first header cell,
andhas a newline character in the XSSFTable column name.  Excel 2010 opens this
file after warning that the table needs repair, and the first header cell is 2
lines high.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to