poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Cooney <j...@as2.dm.egate.net>
Subject Re: How to read text formatting information of Excel cells?
Date Thu, 23 Jan 2003 14:20:58 GMT
> Say I got a single HSSFCell, the cell is of type CELL_TYPE_STRING and the
> string content has got parts of it in bold.
>
> How can I use HSSF for reading information about the text formatting (bold,
> italics, superscript...)?
>
> HSSFCell.getStringCellValue() only returns the plain text without
> formatting.

HSSFCell.getCellStyle grabs a style object.

Mime
View raw message