Hi,
I have a problem with newlines in a excel-cell. the excel is generates
with apache POI HSSF.
I tried several things:
1. cell.setCellValue("First Line\nSecondLine");
2. cell.setCellValue("First Line\rSecondLine");
3. cell.setCellValue("First Line\r\nSecondLine");
If I take variant 1, after opening the genearted xls with excel, the
newlines are shown as squares. After double-clicking onto the cell, the
newlines are okay.
How can I make correct newlines with poi, that are shown correct by
opening the file with excel?
Thanks!
--
Oliver Hirschi
http://www.FamilyHirschi.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/