1

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?

Community
  • 1
  • 1
Meiko Rachimow
  • 4,664
  • 2
  • 25
  • 43

1 Answers1

1

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.

Tony Graham
  • 7,306
  • 13
  • 20
  • fo:marker did it, a detailed solution can be found here: http://stackoverflow.com/questions/30974903/xslfo-retrieve-marker-not-valid-child/31012095#31012095 – Meiko Rachimow Apr 07 '16 at 20:46