word wrap must be turned on.
http://poi.apache.org/hssf/quick-guide.html#NewLinesInCells
Yegor
> hi I use apache 3.0 final I have a problem with newlines in a excel-cell. the
> excel is generates
> with apache POI HSSF.
> I tried this
> baslik.setCellValue("Tarih:03.04.2008 \n Form No: F.LB.05 Rev.No: 1");
> baslik.setCellStyle(stil);
> 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?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]