Skip to main content



      Home
Home » Archived » BIRT » Master page changes without page breaks?
Master page changes without page breaks? [message #1763787] Fri, 19 May 2017 12:23 Go to next message
Eclipse UserFriend
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 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Did you ever figure this out? I'm running into the exact same need.

Thanks!

[Updated on: Wed, 06 February 2019 12:25] by Moderator

Re: Master page changes without page breaks? [message #1802354 is a reply to message #1802336] Thu, 07 February 2019 04:36 Go to previous message
Eclipse UserFriend
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: Sun Aug 17 13:31:45 EDT 2025

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

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

Back to the top