1
votes

I am trying to generate a dynamic pdf with apache fop containing a multipage fo:table. How is it possible to hide a fo:table-footer or set an alternative table-footer on the last page?

There is a solution for different page footers using fo:static-content and fo:conditional-page-master-reference. But I think, this is not the right direction to search - or is it?

1

1 Answers

1
votes

You can use table-omit-footer-at-break="true" on your fo:table so you don't get the footer until the end of the table. See https://www.w3.org/TR/xsl11/#table-omit-footer-at-break

Otherwise, you could use an fo:marker to get your content in the footer of the last page that the table is on.