Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Can we use two master pages in one birt report?
Can we use two master pages in one birt report? [message #244548] Mon, 25 June 2007 08:01 Go to next message
Eclipse UserFriend
Originally posted by: HJiang.StateStreet.com

Hi, all
I want to change some contents of the masterpage during runtime. It seems
that after a made any change to the masterpage, the report would use the
latest masterpage setting. I'm wondering that if I can create two master
pages in the report and use each of them for different pages of the
report. Is that possible?
Re: Can we use two master pages in one birt report? [message #244556 is a reply to message #244548] Mon, 25 June 2007 09:46 Go to previous messageGo to next message
Virgil Dodson is currently offline Virgil DodsonFriend
Messages: 40
Registered: July 2009
Member
Alan, if you look at the Outline view, you can right-click on the
masterpages and Insert Element. This allows you to have more than one
master page... then on the table, grid or any element, you can set the
masterpage on the pagebreak property. It can also be set in script.

--Virgil

Alan JIANG wrote:
> Hi, all
> I want to change some contents of the masterpage during runtime. It
> seems that after a made any change to the masterpage, the report would
> use the latest masterpage setting. I'm wondering that if I can create
> two master pages in the report and use each of them for different pages
> of the report. Is that possible?
Re: Can we use two master pages in one birt report? [message #244559 is a reply to message #244548] Mon, 25 June 2007 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: divya.bedi.saterisystems.com

Hi Alan,

This is possible to have multiple master pages in a report. To use multiple
master pages in a report :--

? Create the master pages. You can create as many master pages as you wish
through the Outline view. Right-click MasterPages and choose Insert to add a
new master page to the report design.
? Specify a page break for each report section that uses a different master
page.
? Assign a master page to each report section.

Suppose there is a report which uses two master pages. The first page is the
Portrait master page & the second page is the Landscape master page. The
Portrait master page is applied to the first page of the report, and the
Landscape master page to the rest of the report, using the following
procedure :--

1.) Select the report section that you want to appear on the title page, and
set its Master Page property to Portrait. Then set the Page Break After
property to Always.
2.) Select the first element that appears on the next page, and set its
master page
to Landscape. The Landscape master page is used for the rest of the pages.

Hope this works !!

Divya Bedi

"Alan JIANG" <HJiang@StateStreet.com> wrote in message
news:a84875a6a0aa943ddefabddb3eaec129$1@www.eclipse.org...
> Hi, all
> I want to change some contents of the masterpage during runtime. It seems
> that after a made any change to the masterpage, the report would use the
> latest masterpage setting. I'm wondering that if I can create two master
> pages in the report and use each of them for different pages of the
> report. Is that possible?
Re: Can we use two master pages in one birt report? [message #1729175 is a reply to message #244556] Mon, 11 April 2016 19:07 Go to previous message
swati sharma is currently offline swati sharmaFriend
Messages: 5
Registered: April 2016
Junior Member
What can i drag in the master page, i always get confused about the perameter and the dataset elements, from which should i drag elements parameters or the dataset?
Previous Topic:highlight in report
Next Topic:I am new to BIRT report ETL Process
Goto Forum:
  


Current Time: Fri Apr 19 19:35:53 GMT 2024

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

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

Back to the top