On Mon, 14 Oct 2002 12:34:48 +0800, Ma Yaohua wrote: > when I create more than an excelsheet with poi, > executing right. > but when opening the file with mxexcel,an error that maximum font number is exceeded >and the worksheet cannot take other new font appears. > > how to solve it ? thanks
You are probably creating a new instance of HSSFCellStyle for every cell. The correct thing to do is to create only as many styles as you need and set multiple instances of HSSFCell to the same Style (and font) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
