This week's book giveaway is in the Other Open Source APIs forum.
We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski 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 Storm Applied this week in the Other Open Source APIs 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: 19972

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.
I agree. Here's the link:
subject: Excel size in Jasper Report