Header and footer

Add content to the page header and footer. Layout in the DocStudio designer user guide.

The header repeats at the top of every page, the footer at the bottom. They are part of the page, not of the body.

Add content

  1. In the Layers panel click the Header or Footer label. It is highlighted.
  2. Click a tool in the toolbox, for example Text. The element is created in that region, and the region is created if it did not exist.
  3. Edit the element as usual.

You can also drag a tool onto the Header or Footer label, or drag an existing layer onto it.

Set the height

With nothing selected, open Page regions in the inspector and set header height or footer height in millimetres. The default is 20 mm. The body area shrinks by that height.

Page numbers

Add a Pg number (page number) to the footer with a format such as Page {n} of {total}.

How it appears

View Header and footer
Screen Drawn inside the page, above and below the body
Print Repeated on every page, in the margins
PDF Printed by Chromium in the page margins

In Print and PDF the canvas shows a notice instead of the content. The real output has them. See Screen, Print and PDF views.

Limits

  • Header and footer content is flow content. Fixed regions work, but keep the height in mind.
  • Only text-like and simple elements are practical here. Tables and repeaters do not paginate inside a header.