Bug 170439 - print a footer only at the bottom of the last page
Summary: print a footer only at the bottom of the last page
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Target Milestone: Future   Edit
Assignee: Wei Yan CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-01-15 04:35 EST by Deb Luc CLA
Modified: 2011-05-17 03:33 EDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deb Luc CLA 2007-01-15 04:35:16 EST
Bug report while looking for a solution to print a footer only at the bottom of the last page.
Comment 1 Wei Yan CLA 2007-05-20 22:50:52 EDT
defer to future release
Comment 2 Greivin Britton CLA 2007-09-11 02:18:43 EDT
is there a news about this?
Comment 3 Steve Nell CLA 2007-11-02 14:23:27 EDT
this is a critical issue for our development team - is there any known workaround?
  
http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.birt/msg23936.html 
Comment 4 Wenfeng Li CLA 2007-11-02 14:37:12 EDT
IS it possible to set the master page's page footer to empty and add a regular report item (grid etc.) at the end of the report content to simulate a page footer?
Comment 5 Wenfeng Li CLA 2007-11-02 14:43:06 EDT
schedule this to 2.3 given several requests in the news group:

1. model/designer ui change: add  two setting in the master page
    page-footer-option = [all-pages, last-page-only, starts-from-2nd-page ]
    page-header-option = [all-pages, first-page-only, starts-from-2nd-page ]

2. engine will check this flag before rendering the master page content on a page.


assign to model for step 1.
Comment 6 Steve Nell CLA 2007-11-02 15:00:56 EDT
(In reply to comment #4)
> IS it possible to set the master page's page footer to empty and add a regular
> report item (grid etc.) at the end of the report content to simulate a page
> footer?
> 

We would prefer this method, but we cannot make the footer align to the bottom of the page.
Comment 7 Wei Yan CLA 2007-11-05 03:09:10 EST
Actually, BIRT has defined two properties to control the page-header/page-footer. The semantic defined in the ROM are:

show-footer-on-last
TRUE:  display the footer on all pages.
FALSE: don't display the footer on the last page.

show-header-on-first
TRUE: display the header on all pages
FALSE: don't display the header on the first page.

It doesn't cover all the user cases (include this one).

I think we should define the property as a full set which can cover all the user cases. The value set should be:

values                first-page  2nd-(n-1)-pages last-page
all                    true        true            true
except-last            true        true            false
first-and-last         true        false           true
first-only             true        false           false
except-first           false       true            true
except-first-and-last  false       true            false
last-only              false       false           true
none                   false       false           false

Instead of this, we should deprecate the two old properties(show-footer-on-last/show-header-on-first) as they have been covered by the new properties.

Comment 8 Wenfeng Li CLA 2008-06-09 19:47:59 EDT
(In reply to comment #7)
> Actually, BIRT has defined two properties to control the
> page-header/page-footer. The semantic defined in the ROM are:
> show-footer-on-last
> TRUE:  display the footer on all pages.
> FALSE: don't display the footer on the last page.
> show-header-on-first
> TRUE: display the header on all pages
> FALSE: don't display the header on the first page.
> It doesn't cover all the user cases (include this one).
> I think we should define the property as a full set which can cover all the
> user cases. The value set should be:
> values                first-page  2nd-(n-1)-pages last-page
> all                    true        true            true
> except-last            true        true            false
> first-and-last         true        false           true
> first-only             true        false           false
> except-first           false       true            true
> except-first-and-last  false       true            false
> last-only              false       false           true
> none                   false       false           false
> Instead of this, we should deprecate the two old
> properties(show-footer-on-last/show-header-on-first) as they have been covered
> by the new properties.

What are the propsed property names  and their potential values?   I wasn't able to tell from the above table.  Thanks.
Comment 9 Greivin Britton CLA 2008-06-09 21:12:56 EDT
(In reply to comment #7)
> Actually, BIRT has defined two properties to control the
> page-header/page-footer. The semantic defined in the ROM are:
> 
> show-footer-on-last
> TRUE:  display the footer on all pages.
> FALSE: don't display the footer on the last page.
> 
> show-header-on-first
> TRUE: display the header on all pages
> FALSE: don't display the header on the first page.
> 
> It doesn't cover all the user cases (include this one).
> 
> I think we should define the property as a full set which can cover all the
> user cases. The value set should be:
> 
> values                first-page  2nd-(n-1)-pages last-page
> all                    true        true            true
> except-last            true        true            false
> first-and-last         true        false           true
> first-only             true        false           false
> except-first           false       true            true
> except-first-and-last  false       true            false
> last-only              false       false           true
> none                   false       false           false
> 
> Instead of this, we should deprecate the two old
> properties(show-footer-on-last/show-header-on-first) as they have been covered
> by the new properties.
> 

that's fine... but with all, first-only, last-only and none will be fine.
Comment 10 Wei Yan CLA 2009-06-04 03:42:06 EDT
the add two new property to control how the page header/footer is displayed:

"showHeader" and "showFooter"

It has following values:

values                first-page  2nd-(n-1)-pages last-page
all                    true        true            true
except-last            true        true            false
first-and-last         true        false           true
first-only             true        false           false
except-first           false       true            true
except-first-and-last  false       true            false
last-only              false       false           true
none                   false       false           false

The default value is ALL.

defer to 2.5.2
Comment 11 Wei Yan CLA 2010-01-14 02:05:41 EST
defer to 2.6.0