Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Excel size in Jasper Report

 
Sambuddha Roy
Greenhorn
Posts: 7
Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am exporting one jxml file to xls file. while doing so suppose the file size is 1000kb while it is created, but when i further edit that same file and save it the size decreases to 500kb ie half of the former size.

Now can anyone tell me how to solve this issue?
Is there any way to specify the file size before exporting or is there any parameter which is related to size of the file?

Following is the code snippet i am using


 
Rob Spoor
Sheriff
Posts: 20827
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

What does it matter what size the file has? As long as all the data, formatting and functionality is still present, isn't that all that matters?
 
Sambuddha Roy
Greenhorn
Posts: 7
Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know data, formatting and functionality and other things are coming correectly.
But i want to know why the file size is decreasing. Generally it should not happen.

Some one please help me.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!