This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Excel size in Jasper Report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Excel size in Jasper Report" Watch "Excel size in Jasper Report" New topic

Excel size in Jasper Report

Sambuddha Roy

Joined: Nov 26, 2010
Posts: 7


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

Joined: Oct 27, 2005
Posts: 19654

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?

How To Ask Questions How To Answer Questions
Sambuddha Roy

Joined: Nov 26, 2010
Posts: 7

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Excel size in Jasper Report
Similar Threads
Same Jasper Report keeps opening
Problem in exporting jasper report to Exel
Jasper Reports getting resubmitted to a servlet
Issue with jasper reports export
Jasper Reports Excel Output