Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Master page changes without page breaks?
Master page changes without page breaks? [message #1763787] Fri, 19 May 2017 16:23 Go to next message
Sascha Becher is currently offline Sascha BecherFriend
Messages: 17
Registered: December 2009
Junior Member
I have MasterPage A and MasterPage B.

My document has a number of elements which length is dynamic.
Is there any way with BIRT to have MasterPage A on page 1 and MasterPage B on the rest of the pages?

I cannot set the master page on any of the elements (on the Page Break tab) because then I get ugly page breaks depending on the elements length.

I cannot trick with one master page and different content that gets switched on/off with the visible setting since the page header height differs between master page A and B.

I tried in onCreate of the element's rows:
if (pageNumber>1) { 
   this.getStyle().masterPage = "MasterPage B";
}

but the pageNumber becomes wrong around that page break, as if it is not intended to be done that way.

Anyone, any ideas?
Re: Master page changes without page breaks? [message #1802336 is a reply to message #1763787] Wed, 06 February 2019 17:24 Go to previous messageGo to next message
Aaron Wideen is currently offline Aaron WideenFriend
Messages: 2
Registered: February 2019
Junior Member
Did you ever figure this out? I'm running into the exact same need.

Thanks!

[Updated on: Wed, 06 February 2019 17:25]

Report message to a moderator

Re: Master page changes without page breaks? [message #1802354 is a reply to message #1802336] Thu, 07 February 2019 09:36 Go to previous message
Sascha Becher is currently offline Sascha BecherFriend
Messages: 17
Registered: December 2009
Junior Member
Not with BIRT. Master page settings and page breaks are synonymous.
I solved this by setting just place holders in the footer and header area and
inserted the elements with iText after the Birt PDF emitter did its work.
Previous Topic:more than 70000 rows reports not working
Next Topic:The following items have errors: Table (id = 709):
Goto Forum:
  


Current Time: Fri Mar 29 01:59:49 GMT 2024

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

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

Back to the top