poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59707] Create new line in cell doesn't work with BufferedReader
Date Thu, 18 Aug 2016 15:43:35 GMT

--- Comment #5 from Mark B <markbrdsly@tiscali.co.uk> ---
The \n sequence is an escape sequence that is interpreted to mean a new line
when it - the escape sequence - a[pears in a Java string. The example in the
Quick Guide uses Java to create the sheet/row/cell and populate it. I suspect
this is not what you are doing, rather you are reading from an existing file
and attempting to modify it.

Am I correct in assuming that you have a test file that you have created using
Excel? Further, that this file contains a cell into which you have written the
string? If that is correct, then you never will see a new line. To create a new
line in a cell using Excel itself then you need to press and hold down the Alt
key and then press the enter key.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message