Hi Andy,
I like your concise statement of my problem ("We're defaulting to overriding
it by setting cell style on each cell. You're then trying to "un-override"
it."). If you guys can fix it, that solves my problem!
But I'm still curious. As I understand it, the cell style records are
extended format records in the workbook stream, with their index as a value
within the record, not something determined by their position within the
stream. If I were to gain access to the ColumnInfo records and save the
XFIndex values for each column, then immediately open the same sheet for
modification, wouldn't the XFIndex values still be valid? I could then
create HSSFCellStyle objects by using the getCellStyleAt(xfindex) method and
apply it to the new cell. --This is just for my understanding; I much
prefer your fix! It'll make my code a lot cleaner.
Peter Dow
Dow Software Services, Inc.
www.dowsoftware.com
909 793-9050 voice
909 793-4480 fax
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date: 7/19/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/