Page Header
A starter running header: a title on the left and a reference on the right, placed in a header for the whole document or for one section.
- Two columns. The title on the left in bold
phTitleand the reference on the right inphRef, in two equal halves. - Placed in a header. A
usein a header'scontent, at the document's root or on a section break; the header keeps its ownoffsetand rule. - Two params.
titleandreference; a section's header passes that section's name. - A logo variant.
page-header-logoputs an image namedlogoon the left and a title overdetailandreferenceon the right.
Place it in a header's content, at the document's root or on a section break; the header keeps its own offset and rule:
{ "header": { "content": [ { "use": { "name": "page-header", "params": { "title": "Meridian Capital Partners", "reference": "Holdings" } } } ], "hr": { "borderStyle": "solid", "height": 0.5, "color": "#CBD5E1" } } }
| Param | What it fills |
|---|---|
title | the left side |
reference | the right side |
Restyle it with phTitle and phRef. The Composed Report places it three times: once for the document, and again on two section breaks with each section's name. See Sections and Customizing a component.
Variants
| Component | What differs | Used by |
|---|---|---|
page-header-logo | a logo on the left (an image named logo), and on the right a title over two lines, detail and reference. Restyle with phlTitle and phlDetail. | Hybrid e-invoice |
Features used: columns, data binding
- Output
- Template
- Data
The component on a sheet of its ownTry in Playground →