Skip to main content

Page Footer

A starter running footer: a line of text on the left and the page number on the right, in the document's own words.

  • Two columns. The text on the left in pfText and the page number on the right in pfPage, in a three-to-one split.
  • Placed in a footer. A use in a footer's content; the footer around it keeps its own hr.
  • The number in the document's words. pageLabel and ofLabel surround $global.PAGE and $global.NUMPAGES: "Page 2 of 5" by default, "Page 2 sur 5" with ofLabel set to sur.
  • Two variants. page-footer-centered stacks the text over the number in the middle, and page-footer-three-part adds a center line between left and the number.

Place it in a footer's content:

{ "footer": { "content": [ { "use": { "name": "page-footer", "params": { "text": "Meridian Capital Partners", "pageLabel": "Page", "ofLabel": "sur" } } } ] } }
ParamWhat it fillsDefault
textthe left sideCompany name
pageLabel, ofLabelthe words around the numbers: "Page 2 of 5"Page, of

Restyle it with pfText and pfPage. The Composed Report places it once, in the document's footer, passing only text and keeping the default labels. See Customizing a component.

Variants​

ComponentWhat differsUsed by
page-footer-centeredthe line of text and the page number centred, one over the other. Restyle with pfcText.Expense report
page-footer-three-parta second line of text in the middle (center), between left and the page number. Restyle with pftLeft, pftCenter and pftPage.Settlement agreement

Features used: columns, data binding

The component on a sheet of its ownTry in Playground →