summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/swriter/guide/header_pagestyles.xhp
blob: 385887ef9ed93c21909576af687f8b8691bb5da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textswriterguideheader_pagestylesxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Defining Different Headers and Footers</title>
    <filename>/text/swriter/guide/header_pagestyles.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3155920">
  <bookmark_value>headers;defining for left and right pages</bookmark_value>
  <bookmark_value>footers;defining for left and right pages</bookmark_value>
  <bookmark_value>page styles; changing</bookmark_value>
  <bookmark_value>defining; headers/footers</bookmark_value>
  <bookmark_value>mirrored page layout</bookmark_value>
</bookmark>


<paragraph id="hd_id3155920" role="heading" level="1" xml-lang="en-US"><variable id="header_pagestyles"><link href="text/swriter/guide/header_pagestyles.xhp" name="Defining Different Headers and Footers">Defining Different Headers and Footers</link></variable></paragraph>
<paragraph id="par_id3154263" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3147105" role="paragraph" xml-lang="en-US">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>
<paragraph id="par_id3150224" role="paragraph" xml-lang="en-US">For example, you can use page styles to define different headers for even and odd pages in a document.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3150929" role="listitem" xml-lang="en-US">Open a new text document.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150946" role="listitem" xml-lang="en-US">Choose <emph>View - Styles</emph> and click the <emph>Page Styles</emph> icon in the Styles sidebar deck.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150510" role="listitem" xml-lang="en-US">Right-click "Right Page" in the list of page styles and choose <emph>Modify</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150536" role="listitem" xml-lang="en-US">In the <item type="menuitem">Page Styles</item> dialog, click the <item type="menuitem">Header</item> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153750" role="listitem" xml-lang="en-US">Select <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3146865" role="listitem" xml-lang="en-US">In the <item type="menuitem">Next Style</item> box, select "Left Page".</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3146889" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150714" role="listitem" xml-lang="en-US">In the <emph>Styles</emph> window, right-click "Left Page" in the list of page styles and choose <emph>Modify</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150748" role="listitem" xml-lang="en-US">In the <item type="menuitem">Page Styles</item> dialog, click the <item type="menuitem">Header</item> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3153172" role="listitem" xml-lang="en-US">Select <item type="menuitem">Header on</item> and click the <item type="menuitem">Organizer</item> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147061" role="listitem" xml-lang="en-US">In the <item type="menuitem">Next Style</item> box, select "Right Page".</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147086" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3145263" role="listitem" xml-lang="en-US">Double-click "Right Page" in the list of page styles to apply the style to the current page.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3145284" role="listitem" xml-lang="en-US">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>
  </listitem>
</list>
<embed href="text/shared/00/00000004.xhp#related"/>
<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
<embed href="text/swriter/guide/change_header.xhp#change_header"/>
<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
</body>

</helpdocument>