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]
