1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!-- 5*********************************************************************** 6 * 7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * 9 * Copyright 2000, 2010 Oracle and/or its affiliates. 10 * 11 * OpenOffice.org - a multi-platform office productivity suite 12 * 13 * This file is part of OpenOffice.org. 14 * 15 * OpenOffice.org is free software: you can redistribute it and/or modify 16 * it under the terms of the GNU Lesser General Public License version 3 17 * only, as published by the Free Software Foundation. 18 * 19 * OpenOffice.org is distributed in the hope that it will be useful, 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * GNU Lesser General Public License version 3 for more details 23 * (a copy is included in the LICENSE file that accompanied this code). 24 * 25 * You should have received a copy of the GNU Lesser General Public License 26 * version 3 along with OpenOffice.org. If not, see 27 * <http://www.openoffice.org/license.html> 28 * for a copy of the LGPLv3 License. 29 * 30 ************************************************************************ 31 --> 32 33 34<meta> 35 <topic id="textswriterguideheader_pagestylesxml" indexer="include" status="PUBLISH"> 36 <title xml-lang="en-US" id="tit">Defining Different Headers and Footers</title> 37 <filename>/text/swriter/guide/header_pagestyles.xhp</filename> 38 </topic> 39 </meta> 40 <body> 41<bookmark xml-lang="en-US" branch="index" id="bm_id3155920"><bookmark_value>headers;defining for left and right pages</bookmark_value> 42 <bookmark_value>footers;defining for left and right pages</bookmark_value> 43 <bookmark_value>page styles; changing</bookmark_value> 44 <bookmark_value>defining; headers/footers</bookmark_value> 45 <bookmark_value>mirrored page layout</bookmark_value> 46</bookmark> 47<paragraph xml-lang="en-US" id="hd_id3155920" role="heading" level="1" l10n="U" 48 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> 49</variable></paragraph> 50 <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> 51 <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/> 52 <item type="menuitem">Page</item> tab, and in the<emph/> 53 <item type="menuitem">Layout settings</item> area, choose “Mirrored” in the<emph/> 54 <item type="menuitem">Page layout</item> box.</paragraph> 55 <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> 56 <list type="ordered"> 57 <listitem> 58 <paragraph xml-lang="en-US" id="par_id3150929" role="listitem" l10n="U" oldref="29">Open a new text document.</paragraph> 59 </listitem> 60 <listitem> 61 <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> 62 </listitem> 63 <listitem> 64 <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> 65 </listitem> 66 <listitem> 67 <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> 68 <emph/>tab.</paragraph> 69 </listitem> 70 <listitem> 71 <paragraph xml-lang="en-US" id="par_id3153750" role="listitem" l10n="U" oldref="34">Select<emph/> 72 <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph> 73 </listitem> 74 <listitem> 75 <paragraph xml-lang="en-US" id="par_id3146865" role="listitem" l10n="U" oldref="35">In the <item type="menuitem">Next Style</item> 76 <emph/>box, select "Left Page".</paragraph> 77 </listitem> 78 <listitem> 79 <paragraph xml-lang="en-US" id="par_id3146889" role="listitem" l10n="U" oldref="36">Click <emph>OK</emph>.</paragraph> 80 </listitem> 81 <listitem> 82 <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> 83 </listitem> 84 <listitem> 85 <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> 86 <emph/>tab.</paragraph> 87 </listitem> 88 <listitem> 89 <paragraph xml-lang="en-US" id="par_id3153172" role="listitem" l10n="U" oldref="39">Select<emph/> 90 <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph> 91 </listitem> 92 <listitem> 93 <paragraph xml-lang="en-US" id="par_id3147061" role="listitem" l10n="U" oldref="40">In the <item type="menuitem">Next Style</item> 94 <emph/>box, select "Right Page".</paragraph> 95 </listitem> 96 <listitem> 97 <paragraph xml-lang="en-US" id="par_id3147086" role="listitem" l10n="U" oldref="41">Click <emph>OK</emph>.</paragraph> 98 </listitem> 99 <listitem> 100 <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> 101 </listitem> 102 <listitem> 103 <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> 104 </listitem> 105 </list> 106 <embed href="text/shared/00/00000004.xhp#related"/> 107 <embed href="text/swriter/guide/header_footer.xhp#header_footer"/> 108 <embed href="text/swriter/guide/change_header.xhp#change_header"/> 109 <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/> 110 <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/> 111 </body> 112</helpdocument>