Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Supressing PageHeader & Footer (Masterpage) in XLS Output
Supressing PageHeader & Footer (Masterpage) in XLS Output [message #660098] Wed, 16 March 2011 19:43 Go to next message
Eclipse UserFriend
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 15:35 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
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
Previous Topic:deploying birt with a jar file
Next Topic:Dropping JDBC Classes
Goto Forum:
  


Current Time: Tue Apr 16 05:49:08 GMT 2024

Powered by FUDForum. Page generated in 0.49877 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top