You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "KHZ (SAW)" <ka...@sawag.com> on 2004/06/24 12:24:32 UTC

createCellStyle()

Hi world.
 
Using it every time when a value  is set causes Excel to have "too many
data formats" problems.
 
Now we just assign that styles when opening a high level workbook (of
our application) for writing. I see the HSSFWorkbook method
getCellStyleAt(). What are the indexes? Are they equal to the indexes
mentioned in getBuiltinFormat()?
 
Now we create the style whether it's exisiting or not. Better would be
just creating it when it doesn't already exist. getCellStyleAt() seems
to be the only method helping here.
 
Regards,           Karl-Heinz.