# Defining Different Headers and Footers

/text/swriter/guide/header_pagestyles.xhp
headers;defining for left and right pages
footers;defining for left and right pages
page styles; changing
defining; headers/footers
mirrored page layout
Defining Different Headers and Footers
You can use different headers and footers on different pages in your document, so long as the pages use different page styles. $[officename] provides several predefined page styles, such as First page, Left page and Right page, or you can create a custom page style.
You can also use the mirrored page layout if you want to add a header to a page style that has different inner and outer page margins. To apply this option to a page style, choose Format - Page, click the Page tab, and in the Layout settings area, choose “Mirrored” in the Page layout box.
For example, you can use page styles to define different headers for even and odd pages in a document.
- Open a new text document.
- Choose Format - Styles and Formatting and click the Page Styles icon in the Styles and Formatting window.
- Right-click "Right Page" in the list of page styles and choose Modify.
- In the Page Styles dialog, click the Header tab.
- Select Header on and click the Organizer tab.
- In the Next Style box, select "Left Page".
- Click OK.
- In the Styles and Formatting window, right-click "Left Page" in the list of page styles and choose Modify.
- In the Page Styles dialog, click the Header tab.
- Select Header on and click the Organizer tab.
- In the Next Style box, select "Right Page".
- Click OK.
- Double-click "Right Page" in the list of page styles to apply the style to the current page.
- Enter text or graphics in the header for the Left Page style. After the next page is added to your document, enter text or graphics in the header for the Right Page style.