poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D. Alvarado" <laredotorn...@coolgoose.com>
Subject Too many cell formats
Date Mon, 27 Jan 2003 17:04:46 GMT
Hi,

I have generated a particularly large Excel document and when 
I try to open it, I get the message "Too many cell formats."  
Aside from the first row, I want all subsequent rows to have 
the same cell style.  Currently, I'm making this call to 
every cell:

HSSFCellStyle cellStyle = wb.createCellStyle(); 
cellStyle.setWrapText(true);
cell.setCellStyle(cellStyle);

Is there some way I can set up a default cell style so I 
won't always have to invoke this code and thus, might prevent 
the "Too many cell formats" error?

Thanks in advance, Dave

Mime
View raw message