This topic contains 2 replies, has 0 voices, and was last updated by jakubwagner 8 years, 6 months ago.

  • Author
    Posts
  • #2032

    GAJ

    We’ve the need to display a Remittance Stub on an invoice only on the last page, and at the very bottom. So creating it within the NS nlfooter class seems most logical.

    But is there an option to only display the footer on the last page, not on each page as is the default?

    Many thanks…
    This is a cached copy. Click here to see the original post.

  • #2033

    michoel

    I’ve tried to do the same thing, unfortunately it seems like BFO does not support this:

    http://bfo.com/faq.jsp

    How do I set headers and footers for specific pages?

    The Report Generator userguide has a section devoted to headers and footers. In version 1.1.x of the Report Generator the options for setting headers are:Setting them for specific pages using the page selector in the style sheet.
    Setting them in the tag and tags, in which case the header and footer will be changed from that point forward.
    Setting them for odd and even pages using the CSS2 right and left selectors for the body tag in the style sheet (see the “examples/dynamic/bigtable.jsp” example in the download package).
    At the moment we do not have a facility for explicitly assigning a footer or header to the last page in a document when the number of pages is unknown.

  • #2034

    jakubwagner

    GAJ,

    There is an option to use BFO pbr tag that forces extra page that you can format as you like

    http://bfo.com/products/report/docs/tags/tags/pbr.html

    So if placed at the end of the template code (before closing body tag) it will generate that extra “last” page

    – downside of this solution is that it will create it everytime so you eill end up with two page document at minimum

You must be logged in to reply to this topic.