Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Multiple Master Page based on Page Number
Muthul
how to implement Multiple Master Page based on Page Number.
1st Master Page to be displayed on first page and 2nd Master page for rest of the pages.
Please let me know if anybody know how to do this.
Appreciate your help in this. Thanks.
Find more posts tagged with
Comments
mcremer
<blockquote class='ipsBlockquote' data-author="'Muthul'" data-cid="81465" data-time="1313065484" data-date="11 August 2011 - 05:24 AM"><p>
how to implement Multiple Master Page based on Page Number.<br />
<br />
1st Master Page to be displayed on first page and 2nd Master page for rest of the pages.<br />
<br />
Please let me know if anybody know how to do this.<br />
<br />
Appreciate your help in this. Thanks.<br /></p></blockquote>
<br />
A bit of googling tels us the folowing: <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/project/notable2.1.php#jump_5'>http://www.eclipse.org/birt/phoenix/project/notable2.1.php#jump_5</a><br
/>
<br />
You can set the master page on items.
Muthul
Applying master page property to report elements/ grid sections does cater my requirement.
I have just one table report items and that runs over multiple pages.
I actually wanted 1st Master Page to be displayed on first page and 2nd Master page for rest of the pages.
Please advise.
mcremer
<blockquote class='ipsBlockquote' data-author="'Muthul'" data-cid="81468" data-time="1313067228" data-date="11 August 2011 - 05:53 AM"><p>
Applying master page property to report elements/ grid sections does cater my requirement.<br />
<br />
I have just one table report items and that runs over multiple pages. <br />
<br />
I actually wanted 1st Master Page to be displayed on first page and 2nd Master page for rest of the pages.<br />
<br />
Please advise.<br /></p></blockquote>
<br />
This is what you could do on a page break event.<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>this.getStyle().masterPage = "Simple Master Page 2"</pre>
<br />
But I dont thinkit will work as you want. As a bit of googeling finds you this:<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/index.php/topic/17030-how-to-change-masterpage-on-page-break/page__s__ea6ffccc90492f56d8bdc8d6fd27f4cc'>http://www.birt-exchange.org/org/forum/index.php/topic/17030-how-to-change-masterpage-on-page-break/page__s__ea6ffccc90492f56d8bdc8d6fd27f4cc</a><br
/>
And:<br />
<a class='bbc_url' href='
http://www.eclipse.org/forums/index.php/t/200688/'>http://www.eclipse.org/forums/index.php/t/200688/</a><br
/>
<br />
All pointing to that BIRT never had that in mind.
Muthul
Below attached file implements Multiple Master Page based on Page Number but however when I view in PDF Version I get extra spaces in header.
Appreciate any help in fixing this issue.
Regards,
Muthul.
mcremer
<blockquote class='ipsBlockquote' data-author="'Muthul'" data-cid="81511" data-time="1313150488" data-date="12 August 2011 - 05:01 AM"><p>
Below attached file implements Multiple Master Page based on Page Number but however when I view in PDF Version I get extra spaces in header.<br />
<br />
Appreciate any help in fixing this issue.<br />
<br />
<br />
Regards,<br />
Muthul.<br /></p></blockquote>
<br />
Interesting.<br />
<br />
Im not sure what the display function does. But it looks like similar behavior the visabilety. But does it realy work like it?<br />
<br />
It seems your margins are the couse of it tho. (altough Im not **** with inches we work in mm mostly.)
Muthul
Yeah it does behave like visibility and show up extra spaces.
Please suggest if there are any other approaches.
Regards,
Muthul.
mcremer
<blockquote class='ipsBlockquote' data-author="'Muthul'" data-cid="81646" data-time="1313660365" data-date="18 August 2011 - 02:39 AM"><p>
Yeah it does behave like visibility and show up extra spaces.<br />
<br />
<br />
Please suggest if there are any other approaches.<br />
<br />
Regards,<br />
Muthul.<br /></p></blockquote>
<br />
I think i found it. your only hiding the grid INSIDE a grid so the space is left of the GRID that is empty.