1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir<helpdocument version="1.0"> 3cdf0e10cSrcweir 4*0e4b25e7SAndrew Rist<!--*********************************************************** 5cdf0e10cSrcweir * 6*0e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 7*0e4b25e7SAndrew Rist * or more contributor license agreements. See the NOTICE file 8*0e4b25e7SAndrew Rist * distributed with this work for additional information 9*0e4b25e7SAndrew Rist * regarding copyright ownership. The ASF licenses this file 10*0e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the 11*0e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance 12*0e4b25e7SAndrew Rist * with the License. You may obtain a copy of the License at 13*0e4b25e7SAndrew Rist * 14*0e4b25e7SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 15*0e4b25e7SAndrew Rist * 16*0e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing, 17*0e4b25e7SAndrew Rist * software distributed under the License is distributed on an 18*0e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*0e4b25e7SAndrew Rist * KIND, either express or implied. See the License for the 20*0e4b25e7SAndrew Rist * specific language governing permissions and limitations 21*0e4b25e7SAndrew Rist * under the License. 22*0e4b25e7SAndrew Rist * 23*0e4b25e7SAndrew Rist ***********************************************************--> 24*0e4b25e7SAndrew Rist 25*0e4b25e7SAndrew Rist 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir<meta> 29cdf0e10cSrcweir <topic id="textswriterguideheader_pagestylesxml" indexer="include" status="PUBLISH"> 30cdf0e10cSrcweir <title xml-lang="en-US" id="tit">Defining Different Headers and Footers</title> 31cdf0e10cSrcweir <filename>/text/swriter/guide/header_pagestyles.xhp</filename> 32cdf0e10cSrcweir </topic> 33cdf0e10cSrcweir </meta> 34cdf0e10cSrcweir <body> 35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155920"><bookmark_value>headers;defining for left and right pages</bookmark_value> 36cdf0e10cSrcweir <bookmark_value>footers;defining for left and right pages</bookmark_value> 37cdf0e10cSrcweir <bookmark_value>page styles; changing</bookmark_value> 38cdf0e10cSrcweir <bookmark_value>defining; headers/footers</bookmark_value> 39cdf0e10cSrcweir <bookmark_value>mirrored page layout</bookmark_value> 40cdf0e10cSrcweir</bookmark> 41cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155920" role="heading" level="1" l10n="U" 42cdf0e10cSrcweir oldref="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> 43cdf0e10cSrcweir</variable></paragraph> 44cdf0e10cSrcweir <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> 45cdf0e10cSrcweir <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<emph/> 46cdf0e10cSrcweir <item type="menuitem">Page</item> tab, and in the<emph/> 47cdf0e10cSrcweir <item type="menuitem">Layout settings</item> area, choose “Mirrored” in the<emph/> 48cdf0e10cSrcweir <item type="menuitem">Page layout</item> box.</paragraph> 49cdf0e10cSrcweir <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> 50cdf0e10cSrcweir <list type="ordered"> 51cdf0e10cSrcweir <listitem> 52cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3150929" role="listitem" l10n="U" oldref="29">Open a new text document.</paragraph> 53cdf0e10cSrcweir </listitem> 54cdf0e10cSrcweir <listitem> 55cdf0e10cSrcweir <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> 56cdf0e10cSrcweir </listitem> 57cdf0e10cSrcweir <listitem> 58cdf0e10cSrcweir <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> 59cdf0e10cSrcweir </listitem> 60cdf0e10cSrcweir <listitem> 61cdf0e10cSrcweir <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> 62cdf0e10cSrcweir <emph/>tab.</paragraph> 63cdf0e10cSrcweir </listitem> 64cdf0e10cSrcweir <listitem> 65cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153750" role="listitem" l10n="U" oldref="34">Select<emph/> 66cdf0e10cSrcweir <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph> 67cdf0e10cSrcweir </listitem> 68cdf0e10cSrcweir <listitem> 69cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3146865" role="listitem" l10n="U" oldref="35">In the <item type="menuitem">Next Style</item> 70cdf0e10cSrcweir <emph/>box, select "Left Page".</paragraph> 71cdf0e10cSrcweir </listitem> 72cdf0e10cSrcweir <listitem> 73cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3146889" role="listitem" l10n="U" oldref="36">Click <emph>OK</emph>.</paragraph> 74cdf0e10cSrcweir </listitem> 75cdf0e10cSrcweir <listitem> 76cdf0e10cSrcweir <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> 77cdf0e10cSrcweir </listitem> 78cdf0e10cSrcweir <listitem> 79cdf0e10cSrcweir <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> 80cdf0e10cSrcweir <emph/>tab.</paragraph> 81cdf0e10cSrcweir </listitem> 82cdf0e10cSrcweir <listitem> 83cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153172" role="listitem" l10n="U" oldref="39">Select<emph/> 84cdf0e10cSrcweir <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph> 85cdf0e10cSrcweir </listitem> 86cdf0e10cSrcweir <listitem> 87cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147061" role="listitem" l10n="U" oldref="40">In the <item type="menuitem">Next Style</item> 88cdf0e10cSrcweir <emph/>box, select "Right Page".</paragraph> 89cdf0e10cSrcweir </listitem> 90cdf0e10cSrcweir <listitem> 91cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147086" role="listitem" l10n="U" oldref="41">Click <emph>OK</emph>.</paragraph> 92cdf0e10cSrcweir </listitem> 93cdf0e10cSrcweir <listitem> 94cdf0e10cSrcweir <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> 95cdf0e10cSrcweir </listitem> 96cdf0e10cSrcweir <listitem> 97cdf0e10cSrcweir <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> 98cdf0e10cSrcweir </listitem> 99cdf0e10cSrcweir </list> 100cdf0e10cSrcweir <embed href="text/shared/00/00000004.xhp#related"/> 101cdf0e10cSrcweir <embed href="text/swriter/guide/header_footer.xhp#header_footer"/> 102cdf0e10cSrcweir <embed href="text/swriter/guide/change_header.xhp#change_header"/> 103cdf0e10cSrcweir <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/> 104cdf0e10cSrcweir <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/> 105cdf0e10cSrcweir </body> 106cdf0e10cSrcweir</helpdocument>