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