Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Show Content Footer Only on Last Page - URGENT
Show Content Footer Only on Last Page - URGENT [message #262403] Thu, 29 November 2007 18:28 Go to next message
Eclipse UserFriend
Originally posted by: sergiogomes.uxs.pt

Hi,

i have a report with 3 pages, i want show a image only on the footer of
the last page of report rendered to PDF. But the image appears in the 3
pages of the report!!

How i can resolve this problem? its Urgent

Thanks for your help.
Re: Show Content Footer Only on Last Page - URGENT [message #262422 is a reply to message #262403] Thu, 29 November 2007 22:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johnw.innoventsolutions.com

Sergio,

Now that I get into it, I don't think there is a way to do it. The page
and total page properties aren't available until after run time and
before render time.

IIRC, the AutoText fields are just "placeholders" that get replaced at
render time. The only way I can think of doing this is to write an
emitter that write out the image reference on the last page, and only
use that emitter for that one report.

See if Jason comes back with something, if not, submit this as an
enhancement or bug.

John

sergiogomes wrote:
> Hi,
>
> i have a report with 3 pages, i want show a image only on the footer of
> the last page of report rendered to PDF. But the image appears in the 3
> pages of the report!!
>
> How i can resolve this problem? its Urgent
>
> Thanks for your help.
Re: Show Content Footer Only on Last Page - URGENT [message #262425 is a reply to message #262403] Thu, 29 November 2007 22:56 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
You need to add the image to the table footer instead of adding it to
the master page.

Snjeza

sergiogomes wrote:
> Hi,
>
> i have a report with 3 pages, i want show a image only on the footer of
> the last page of report rendered to PDF. But the image appears in the 3
> pages of the report!!
>
> How i can resolve this problem? its Urgent
>
> Thanks for your help.
Re: Show Content Footer Only on Last Page - URGENT [message #262428 is a reply to message #262403] Thu, 29 November 2007 23:14 Go to previous messageGo to next message
Peter Robinson is currently offline Peter RobinsonFriend
Messages: 31
Registered: July 2009
Member
sergiogomes wrote:
> Hi,
>
> i have a report with 3 pages, i want show a image only on the footer of
> the last page of report rendered to PDF. But the image appears in the 3
> pages of the report!!
>
> How i can resolve this problem? its Urgent
>
> Thanks for your help.

hi Sergio, I'm with Snjeza. To get it done urgently, put the whole
report in a table or a grid, and just include the image in the last row
of the grid, or the footer of the table. That will get you going for now.

--


Peter Robinson
Performance and Capacity Management
IBM Australia
Re: Show Content Footer Only on Last Page - URGENT [message #262490 is a reply to message #262428] Fri, 30 November 2007 20:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: johnw.innoventsolutions.com

This should work, assuming there is only a single table or grid in the
report. If a single grid is put into the report, and then all
tables/grids are put in cells, with the image in a final cell, that
should do it, except it wont appear as a "page footer".

Hah, that was the first thing I tried, and completely ignored it when it
didn't duplicate the issue :)-

John

Peter Robinson wrote:
> sergiogomes wrote:
>> Hi,
>>
>> i have a report with 3 pages, i want show a image only on the footer
>> of the last page of report rendered to PDF. But the image appears in
>> the 3 pages of the report!!
>>
>> How i can resolve this problem? its Urgent
>>
>> Thanks for your help.
>
> hi Sergio, I'm with Snjeza. To get it done urgently, put the whole
> report in a table or a grid, and just include the image in the last row
> of the grid, or the footer of the table. That will get you going for now.
>
Re: Show Content Footer Only on Last Page - URGENT [message #262541 is a reply to message #262403] Mon, 03 December 2007 11:41 Go to previous messageGo to next message
Jaroslav Pan is currently offline Jaroslav PanFriend
Messages: 1
Registered: July 2009
Junior Member
Hi Sergio, I'm trying to solve exactly the same problem. I absolutely need
to have the page footer on the last page different from previous pages. If
you find any useful solution, I would appreciate the information from you.
If there was the possibility to divide BIRT document into logical sections,
similar to MS Word document sections, then it would be easy to define
different footers for different document sections. But I believe, that such
solutions hasn't been implemented yet and I don't know if it it's in
development plan or not.
JP



"sergiogomes" <sergiogomes@uxs.pt> p
Re: Show Content Footer Only on Last Page - URGENT [message #1781850 is a reply to message #262541] Tue, 13 February 2018 22:18 Go to previous message
ANDRE BORGES is currently offline ANDRE BORGESFriend
Messages: 2
Registered: February 2018
Junior Member
My problem is similar, I need not to show the footer on last page. I am using MASTER/FOOTER, the option to show footer on last page=false is not working. Any idea why? Posting here because it looks to relate to this problem.
Previous Topic:How to excute Highlighting script in DynamicText or how can i run myscript for PDF report
Next Topic:MASTER/FOOTER option to show footer on last page = false not working
Goto Forum:
  


Current Time: Sat Sep 22 08:06:53 GMT 2018

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

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

Back to the top