1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
28b0727e7Smseidel
30e4b25e7SAndrew Rist<!--***********************************************************
48b0727e7Smseidel *
50e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
60e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
70e4b25e7SAndrew Rist * distributed with this work for additional information
80e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
90e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
100e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
110e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
128b0727e7Smseidel *
130e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
148b0727e7Smseidel *
150e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
160e4b25e7SAndrew Rist * software distributed under the License is distributed on an
170e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
180e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
190e4b25e7SAndrew Rist * specific language governing permissions and limitations
200e4b25e7SAndrew Rist * under the License.
218b0727e7Smseidel *
220e4b25e7SAndrew Rist ***********************************************************-->
230e4b25e7SAndrew Rist
248b0727e7Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
268b0727e7Smseidel<topic id="textswriterguideheader_pagestylesxml" indexer="include" status="PUBLISH">
278b0727e7Smseidel<title xml-lang="en-US" id="tit">Defining Different Headers and Footers</title>
288b0727e7Smseidel<filename>/text/swriter/guide/header_pagestyles.xhp</filename>
298b0727e7Smseidel</topic>
308b0727e7Smseidel</meta>
318b0727e7Smseidel<body>
328b0727e7Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3155920">
338b0727e7Smseidel<bookmark_value>headers;defining for left and right pages</bookmark_value>
348b0727e7Smseidel<bookmark_value>footers;defining for left and right pages</bookmark_value>
358b0727e7Smseidel<bookmark_value>page styles; changing</bookmark_value>
368b0727e7Smseidel<bookmark_value>defining; headers/footers</bookmark_value>
378b0727e7Smseidel<bookmark_value>mirrored page layout</bookmark_value>
38cdf0e10cSrcweir</bookmark>
39cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155920" role="heading" level="1" l10n="U"
408b0727e7Smseideloldref="25"><variable id="header_pagestyles"><link href="text/swriter/guide/header_pagestyles.xhp" name="Defining Different Headers and Footers">Defining Different Headers and Footers</link>
41cdf0e10cSrcweir</variable></paragraph>
428b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3154263" role="paragraph" l10n="U" oldref="26">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 <emph>First page</emph>, <emph>Left page</emph> and <emph>Right page</emph>, or you can create a custom page style.</paragraph>
438b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3147105" role="paragraph" l10n="U" oldref="27">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 <item type="menuitem">Format - Page</item>, click the <item type="menuitem">Page</item> tab, and in the <item type="menuitem">Layout settings</item> area, choose “Mirrored” in the <item type="menuitem">Page layout</item> box.</paragraph>
448b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150224" role="paragraph" l10n="U" oldref="28">For example, you can use page styles to define different headers for even and odd pages in a document.</paragraph>
458b0727e7Smseidel<list type="ordered">
468b0727e7Smseidel<listitem>
478b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150929" role="listitem" l10n="U" oldref="29">Open a new text document.</paragraph>
488b0727e7Smseidel</listitem>
498b0727e7Smseidel<listitem>
508b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150946" role="listitem" l10n="U" oldref="31">Choose <emph>Format - Styles and Formatting</emph> and click the <emph>Page Styles</emph> icon in the Styles and Formatting window.</paragraph>
518b0727e7Smseidel</listitem>
528b0727e7Smseidel<listitem>
538b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150510" role="listitem" l10n="U" oldref="30">Right-click "Right Page" in the list of page styles and choose <emph>Modify</emph>.</paragraph>
548b0727e7Smseidel</listitem>
558b0727e7Smseidel<listitem>
568b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150536" role="listitem" l10n="U" oldref="33">In the <item type="menuitem">Page Styles</item> dialog, click the <item type="menuitem">Header</item> tab.</paragraph>
578b0727e7Smseidel</listitem>
588b0727e7Smseidel<listitem>
598b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3153750" role="listitem" l10n="U" oldref="34">Select <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph>
608b0727e7Smseidel</listitem>
618b0727e7Smseidel<listitem>
628b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3146865" role="listitem" l10n="U" oldref="35">In the <item type="menuitem">Next Style</item> box, select "Left Page".</paragraph>
638b0727e7Smseidel</listitem>
648b0727e7Smseidel<listitem>
658b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3146889" role="listitem" l10n="U" oldref="36">Click <emph>OK</emph>.</paragraph>
668b0727e7Smseidel</listitem>
678b0727e7Smseidel<listitem>
688b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150714" role="listitem" l10n="U" oldref="37">In the <emph>Styles and Formatting</emph> window, right-click "Left Page" in the list of page styles and choose <emph>Modify</emph>.</paragraph>
698b0727e7Smseidel</listitem>
708b0727e7Smseidel<listitem>
718b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3150748" role="listitem" l10n="U" oldref="38">In the <item type="menuitem">Page Styles</item> dialog, click the <item type="menuitem">Header</item> tab.</paragraph>
728b0727e7Smseidel</listitem>
738b0727e7Smseidel<listitem>
748b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3153172" role="listitem" l10n="U" oldref="39">Select <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph>
758b0727e7Smseidel</listitem>
768b0727e7Smseidel<listitem>
778b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3147061" role="listitem" l10n="U" oldref="40">In the <item type="menuitem">Next Style</item> box, select "Right Page".</paragraph>
788b0727e7Smseidel</listitem>
798b0727e7Smseidel<listitem>
808b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3147086" role="listitem" l10n="U" oldref="41">Click <emph>OK</emph>.</paragraph>
818b0727e7Smseidel</listitem>
828b0727e7Smseidel<listitem>
838b0727e7Smseidel<paragraph xml-lang="en-US" id="par_id3145263" role="listitem" l10n="U" oldref="42">Double-click "Right Page" in the list of page styles to apply the style to the current page.</paragraph>
848b0727e7Smseidel</listitem>
858b0727e7Smseidel<listitem>
86*b184ee58Smseidel<paragraph xml-lang="en-US" id="par_id3145284" role="listitem" l10n="U" oldref="43">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.</paragraph>
878b0727e7Smseidel</listitem>
888b0727e7Smseidel</list>
898b0727e7Smseidel<embed href="text/shared/00/00000004.xhp#related"/>
908b0727e7Smseidel<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
918b0727e7Smseidel<embed href="text/swriter/guide/change_header.xhp#change_header"/>
928b0727e7Smseidel<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
938b0727e7Smseidel<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
948b0727e7Smseidel</body>
958b0727e7Smseidel</helpdocument>
96