Yes, you can put rich text in cells.
Usage:
HSSFRichTextString str = new HSSFRichTextString("Hello, World!");
str.applyFont(0,7, font1);
str.applyFont(8,13, font2);
cell.setCellValue(str);
Yegor
> Hello
> I'd like to know if it's possible to put more than one style in a cell
> with this POI ?
> For exemple to put one red string after an other black string in a same
> cell (or to apply a bold style to any word in sentence).
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]