I see.. I mean, that's not a problem when you are dealing with small files, but if you are manipulating huge xls, like my real one that has 5.5MB, that can be a problem...
my 5.5MB file becomes a 9.7MB file.. almost double it's size.. aint there a way to make the saving more optimized? some day i'll get the code and try to do those things.. now just don't have the time.. :) thanks Nick Nick Burch wrote: > > On Thu, 3 Jan 2008, Chitão wrote: >> ¿¿Why does the files generated gets bigger?? >> >> the original file was, 871 windows kb and the outfilename.xls was 966!! > > hssf doesn't guarantee that it'll write the file back out exactly the > same. What happens is that it reads the data into various structures, > using defaults for values that have been omitted from the source file. > When writing back out, it normally writes out the full form of every > record, even when excel might've cut some corners and assumed some default > values. > > That's almost certainly what you're seeing here. > > Nick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/File-Size-Problem%21-tp14604200p14663146.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
