Justify elements of a header or footer

Use leaders to justify headers or footers all the way across the page.

So far, header and footer information has been all together, like this:

06/01/2017Copyright ©20173-7

But what if you want to spread it across the entire width of the header or footer area, like this?

../_images/justified_footer.png

You’re going to need to insert a leader between the elements of the header or footer as well as change the alignment of the header or footer.

  1. Find the insertBodyOddFooter template in your copy of static-content.xsl.
  2. Make changes to the template as shown:
    <fo:static-content flow-name="odd-body-footer"> <fo:block xsl:use-attribute-sets="__body__odd__footer"> ...