When you create a master page, the header and footer elements
are created automatically in the Master Page tab of the template editor.
You can use the palette to drag the various elements to plan the layout
and style of your header and footer contained within the master page.
Then, the master pages be reused across templates.
Procedure
- In the template editor, select the Master Page tab.
- Add elements to the header and footer by using one of these
options:
- Select the required elements from the Palette and
drag them into the editor.
- In the editor area, right-click the Header or Footer and click Insert.
- In the Outline view, right-click the Header or Footer and select Insert.
- Save the changes.
Example
To create a well-structured footer, you can use a Table
element with one row and three cells. The first cell will be designed
to contain some text, the second cell will contain the page number
and the total pages number and the last cell will contain an image
representing a logo and some text.
- Create a master page.
- Add the master page to an element in the template editor.
- In the Master Page tab of the editor, add the Table element
to the footer.
- Enter one row and three columns for the table element and click OK.
- In the first Cell, insert a Text element
- In the second Cell, insert a Text element, Page
Number element, a second Text element,
and a Total Page Number element.
- In the first Text element, enter Page:.
- In the second Text element, enter /.
- In the third Cell, insert an Image element
and a Paragraph element.
- Right-click the Image element and click Load.
Click Browse, select an image, and click OK.
- In the Paragraph element, insert a Text element
and enter Tutorials and Advanced Topics.
- Select the Table element to add formatting:
- Click . Click the ellipses,
select autofit to window, and click OK.
- Click resize to fit contents and deselect
the check box to change the option to false.
- Select the first Cell to add formatting:
- Click . Click the ellipses,
select center left, and click OK.
- Click cell width. Click the ellipses, enter 175,
and click OK.
- Select the second Cell to add formatting:
- Click . Click the ellipses,
select center, and click OK.
- Click cell width. Click the ellipses, enter 150,
and click OK.
- Select the first Text element and click .
Select the check box to the option to true.
- Select the third Cell to add formatting:
- Click . Click the ellipses,
select center right, and click OK.
- Click cell width. Click the ellipses, enter 175,
and click OK.
- Save the changes.
After these elements are created, the footer element in the
template looks like this:
Generate
the output and look for the footer at the bottom of the section: