Jump to content
Changes to the Jaspersoft community edition download ×

Excel and Page Margins


rw-network

Recommended Posts

Before I enter a bug Issue for this, I want to make sure I am not missing something.

JasperReports v3.7.6 & v4.0.1

It seems that the page margins that are set in the Jasper report are not getting passed onto the Excel spreadsheet that is produced.  Attached is a very simple example that shows this. I have Ignore Pagination set to off. I have the Page Margins set to 2 inches via iReport. When the Excel is produced, the Margins are 'marked' as Custom and are set differently for each Excel Exporter.

Sizes in the resulting spreadsheet are in this order:  Top, Left, Right, Bottom, Header, Footer

Excel: 1, .75, .75 , 1, .5, .5

JExcelApi: 0, 0, 0, 0, 0, 0 (Scale is oddly set at 10%)

Excel 2007: .75, .7, .7, .75, .3, .3

 

Are others seeing this issue too? Am I missing a setting somewhere?  We need to be able to create excel reports that can be easily printed with little end user tweaking.

Thanks, Scott

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...