this solved my problem tahks so much

Yegor Kozlov wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/poi-newline-tp17060955p17061220.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to