Home
Analytics
background-image only on first page
jha
<p>Hi</p><p> </p><p>I have a BIRT Report which contains a background image.</p><p>the background-image is as large as one page (PDF - Exports only).</p><p> </p><p>now im trying to remove the background-image for all pages but for the first.</p><p> </p><p>is this even possible and if it's possible how do i do it</p><p> </p><p> </p><p>thanks in advance</p><p> </p><p>jha</p>
Find more posts tagged with
Comments
mwilliams
<p>You'll have to create two separate master pages and attach the master page with the image to the element that will be on the first page, then attach the second master page to the first element that will be on the second page. If you only have one table that spills from the first to the remaining pages, you'd need to separate it into two tables. There have been feature requests for this in the past and you might log an enhancement request for it again at eclipse.org/birt, to be able to have a single element use multiple master pages.</p><p> </p><p>Hope this helps.</p>
jha
<p>hi mwilliams,</p><p> </p><p>thanks for your reply</p><p> </p><p>i have 2 grids.. i assigned masterpage1 to the first grid and masterpage2 to the second grid.</p><p>now my first page has masterpage1 and all other pages has masterpage2.</p><p>but the second grid starts at the seconds page so there is too much space at the first page..</p><p> </p><p>is it possible to let the second grid start at page 1?</p>
mwilliams
<p>You would have to split the second grid into two separate grids to get it to split over the two master pages.</p>
willy27
<p>Hi Michael,</p><p> </p><p>I take the opportunity of this subject to expose my problem :</p><p> </p><p>I need to output a PDF report displaying a background image only on the first page.</p><p>The report consists of a big table with a variable number of items inside, structured in grids and tables...</p><p>So I can't set manual page breaks, and I let Birt do it by itself.</p><p> </p><p>I was thinking, while starting the design, that I could say simply to Birt to show bg image only on the first page, and use pageBreaks events for hiring this image in the next pages, but it seems that "natural" page breaks events fire too late, after the phases during which I could have " set backgroundImage="" "...</p><p>I tried with masterpage background, as well as with table background image, but I still don"t see how I can do that...</p><p>Do you think it's possible, or should I ask for this kind of custom option to Birt developpers ? </p><p> </p><p>Thanks in advance ,</p><p>W</p>
mwilliams
<p>What version of BIRT are you using?</p>