On Fri, 12 Sep 2008, Axel Rose wrote:
I can get the GUI set styles from an existing document (sample code below).
It doesn't help though because POI (checked with source of version
3.1-FINAL)
will not read the "STYLEEXT: Named Cell Style Extension (892h)" record.

I think the text you need is actually also in the STYLE record, which we do pass already.

I've added some code to link the STYLE record to the HSSFCellStyle. If you take a look at testStyleNames() in
src/testcases/org/apache/poi/hssf/usermodel/TestCellStyle.java
you'll see how to get the names "style1" and "style2" out for your cells.

Nick

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

Reply via email to