IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Footer in the last page Options · View
dimitri.vergine
Posted: Monday, July 21, 2008 9:18:54 AM
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
dimitri.vergine
Posted: Tuesday, June 16, 2009 10:46:57 AM
Rank: Newbie

Joined: 7/21/2008
Posts: 2
Hi,
Does anyone found a solution?
kaliki123
Posted: Wednesday, July 1, 2009 12:27:32 PM
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.
vlad
Posted: Wednesday, July 1, 2009 5:47:17 PM
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.
MyStyle
Posted: Thursday, July 2, 2009 5:33:24 AM
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
vlad
Posted: Thursday, July 2, 2009 11:37:32 AM
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.
shibaevv
Posted: Saturday, July 11, 2009 2:00:37 AM
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.
vlad
Posted: Monday, July 13, 2009 8:51:16 AM
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.
fabiodap
Posted: Thursday, August 27, 2009 8:17:34 AM
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
vlad
Posted: Thursday, August 27, 2009 11:04:56 AM
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!
fabiodap
Posted: Thursday, August 27, 2009 11:31:28 AM
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
vlad
Posted: Thursday, August 27, 2009 11:50:21 AM
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!)
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.