|
|
Rank: Newbie
Joined: 7/21/2008 Posts: 2
|
Hi there, I've to create a footer but only in the last page of entire report. foterall item apeears over all pages..How can I check if the current page is the last? Thnks, Dimitri
|
|
Rank: Newbie
Joined: 7/21/2008 Posts: 2
|
Hi, Does anyone found a solution?
|
|
Rank: Advanced Member
Joined: 9/14/2007 Posts: 53 Location: Minnesota
|
I have also tried to do something similar like this and haven't had any luck. Though, it would be a great feature! You could always add it to the future requests forum.
One way I have somewhat gotten around it is putting a table in and placing it at the bottom of the document. This will not work though if text was entered to make the table to go on to the next page.
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
I'm afraid this is simply impossible. This is because Footer changes the size of page. This means that theoretically if you would add a Footer on supposedly last page a part of content might have no place and would generate in this case a new page, making the previous page with Footer wrong.
|
|
Rank: Advanced Member
Joined: 3/14/2009 Posts: 45 Location: Germany
|
Hi Vlad, That's true in the strong interpretation. However there are several "weak" aspects: - I'd like to add a footer following all my main data sent to the the layout. - Quite often I know, that my footer will need X lines - Quite often I'd like to have a different footer on the last page ... Regards mb
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
The only way how I can imagine this to work, if footer will appear on an own blank page, which follows all data pages. Otherwise - I just cannot think of how this can be implemented.
|
|
Rank: Newbie
Joined: 7/11/2009 Posts: 1 Location: Sydney, AU
|
Indeed it is possible (hack)! The hack is that you put all your document data inside one table. In Design view select this table (click top right corner), In Styles view - you select table/XSL-FO property "table-omit-footer-at-break" and set it to "true". Now if you switch to Preview PDF you will see your document (table) footer only on the last page! Enjoy, Valeri.
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
There seems to be some misunderstanding. As I understood the original question was how to create a page footer not a table footer, which are two different things.
|
|
Rank: Member
Joined: 8/28/2007 Posts: 20
|
Hello,
this could be done if it was possible to set conditions based on the Page Number. Something like "If (page number) = (page total)", and put all the footer content inside this condition.
This could be a nice feature.
Greetz, Fabio
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
There is no way in XSL-FO to use Page Number for condition. If you know any, please share it with us - we will all love to add this feature!
|
|
Rank: Member
Joined: 8/28/2007 Posts: 20
|
vlad wrote:There is no way in XSL-FO to use Page Number for condition. If you know any, please share it with us - we will all love to add this feature!
You could answer in a more gentle and polite way!
I had no idea if XSL-FO allows or not to use page number in conditions. I have no deep knowledge of XSL-FO. I just use Altova StyleVision. Now i know it's not possible.
Fabio
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Sorry, if you got this wrong way - there was no harm intention! I've really asked (I hoped you might be the one who knows some secret!)
|
|
|
guest |