Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Supressing PageHeader & Footer (Masterpage) in XLS Output
Supressing PageHeader & Footer (Masterpage) in XLS Output [message #660098] Wed, 16 March 2011 15:43 Go to next message
Eclipse User
Originally posted by: Holger.Buchner.Googlemail.com

Dear All,
I've designed some reports with a masterpage (with a Banner image in the
header and pagination in footer) that looks fine in PDF output.
But when i'm using the XLS emitter, the header and footer create
additional excel rows and columns, that are not really usefull.
Is there any easy way to suppress the Master Page Layout for the Excel
output ?
Thanks in advance
Re: Supressing PageHeader & Footer (Masterpage) in XLS Output [message #660266 is a reply to message #660098] Thu, 17 March 2011 11:35 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

On the logo in the master page put a onRender script like:
if( reportContext.getOutputFormat() == "xls"){
this.getStyle().display="none";
}

Jason


On 3/16/2011 3:43 PM, Holger.Buchner wrote:
> Dear All,
> I've designed some reports with a masterpage (with a Banner image in the
> header and pagination in footer) that looks fine in PDF output.
> But when i'm using the XLS emitter, the header and footer create
> additional excel rows and columns, that are not really usefull.
> Is there any easy way to suppress the Master Page Layout for the Excel
> output ?
> Thanks in advance


Jason Weathersby

BIRT Exchange
Previous Topic:deploying birt with a jar file
Next Topic:Dropping JDBC Classes
Goto Forum:
  


Current Time: Wed Apr 16 12:03:24 EDT 2014

Powered by FUDForum. Page generated in 0.01710 seconds