Thanks for the quick reply! The truth is i'd never dealt with POI before, i was forced to dive in some sort of Excel Exporter Java class in order to fix this problem which appeared a couple of days ago. When is saw the multiple creation of fonts i was suspicious but not enough to fix it without checking with somebody with a little more experience heh.
I'm gonna try what you suggested and see how it goes (will report) Thanks! Rafael 2010/11/24 Gabriel Molina <[email protected]> > Hello Rafael! > > Why are you creating a font for every cell? > It's easier if you define a style (with the fonts that you will be > using) and then just apply the style to the cells that you nedd. > > Regards. > > > On Wed, Nov 24, 2010 at 9:40 AM, Rafael Barrera Oro <[email protected]> > wrote: > > Hello! > > > > I get the aforementioned exception sooner or later when i invoke the > > createFont() method on a HSSFSheet object. I've been looking around for > > solutions but so far the only similar case that i have found is when > Excel > > itself warns you of possible modifications that took place in the > document > > due to the presence of too many fonts, nevertheless, my problem is that i > > can't finish creating the document because of the exception that raises > in > > the middle of the process. > > > > My only lead so far is that the createFont() is being invoked for every > > single cell, i suspect that is the reason of the overflow, anyway, i > would > > not know how to do it right if it had to be corrected... > > > > does this ring a bell for anyone? > > > > Thanks in advance! > > > > Rafael > > > > > > -- > ちりも積もれば山となる > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
