1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir      <topic id="textswriterguideheader_footerxml" indexer="include" status="PUBLISH">
36*cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">About Headers and Footers</title>
37*cdf0e10cSrcweir         <filename>/text/swriter/guide/header_footer.xhp</filename>
38*cdf0e10cSrcweir      </topic>
39*cdf0e10cSrcweir   </meta>
40*cdf0e10cSrcweir   <body>
41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155863"><bookmark_value>headers;about</bookmark_value>
42*cdf0e10cSrcweir      <bookmark_value>footers;about</bookmark_value>
43*cdf0e10cSrcweir      <bookmark_value>HTML documents; headers and footers</bookmark_value>
44*cdf0e10cSrcweir</bookmark>
45*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155863" role="heading" level="1" l10n="U"
46*cdf0e10cSrcweir                 oldref="38"><variable id="header_footer"><link href="text/swriter/guide/header_footer.xhp" name="About Headers and Footers">About Headers and Footers</link>
47*cdf0e10cSrcweir</variable></paragraph>
48*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3154255" role="paragraph" l10n="U" oldref="35">Headers and footers are areas in the top and the bottom page margins, where you can add text or graphics. Headers and footers are added to the current page style. Any page that uses the same style automatically receives the header or footer that you add. You can insert <link href="text/swriter/01/04090000.xhp" name="Fields">Fields</link>, such as page numbers and chapter headings, in headers and footers in a text document.</paragraph>
49*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3150511" role="note" l10n="U" oldref="44">The page style for the current page is displayed in the <emph>Status Bar</emph>.</paragraph>
50*cdf0e10cSrcweir      <list type="unordered">
51*cdf0e10cSrcweir         <listitem>
52*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3155896" role="listitem" l10n="U" oldref="39">To add a header to a page, choose <emph>Insert - Header</emph>, and then select the page style for the current page from the submenu.</paragraph>
53*cdf0e10cSrcweir         </listitem>
54*cdf0e10cSrcweir         <listitem>
55*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3147119" role="listitem" l10n="U" oldref="43">To add a footer to a page, choose <emph>Insert - Footer</emph>, and then select the page style for the current page from the submenu.</paragraph>
56*cdf0e10cSrcweir         </listitem>
57*cdf0e10cSrcweir      </list>
58*cdf0e10cSrcweir      <list type="unordered">
59*cdf0e10cSrcweir         <listitem>
60*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3153726" role="listitem" l10n="U" oldref="40">You can also choose <item type="menuitem">Format - Page</item>, click the <item type="menuitem">Header</item> or <item type="menuitem">Footer</item>
61*cdf0e10cSrcweir               <emph/>tab, and then select <item type="menuitem">Header on</item>
62*cdf0e10cSrcweir               <emph/>or <item type="menuitem">Footer on</item>. Clear the <item type="menuitem">Same content left/right</item> check box if you want to define different headers and footers for even and odd pages.</paragraph>
63*cdf0e10cSrcweir         </listitem>
64*cdf0e10cSrcweir      </list>
65*cdf0e10cSrcweir      <list type="unordered">
66*cdf0e10cSrcweir         <listitem>
67*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3146876" role="listitem" l10n="U" oldref="36">To use different headers or footers in your document, you must add them to different <link href="text/swriter/guide/header_pagestyles.xhp" name="Page Styles">Page Styles</link>, and then apply the styles to the pages where you want the headers or footer to appear.</paragraph>
68*cdf0e10cSrcweir         </listitem>
69*cdf0e10cSrcweir      </list>
70*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3150704" role="heading" level="2" l10n="U"
71*cdf0e10cSrcweir                 oldref="41">Headers and Footers in HTML Documents</paragraph>
72*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id3150717" role="paragraph" l10n="CHG" oldref="34">Some of the header and footer options are also available for HTML documents. Headers and footers are not supported by HTML and instead are exported with special tags, so that they can be viewed in a browser. Headers and footers are only exported in HTML documents if they are enabled in Web Layout mode. When you reopen the document in $[officename], the headers and footers are displayed correctly, including any fields that you inserted. </paragraph>
73*cdf0e10cSrcweir      <section id="relatedtopics">
74*cdf0e10cSrcweir         <embed href="text/swriter/guide/change_header.xhp#change_header"/>
75*cdf0e10cSrcweir         <embed href="text/swriter/guide/header_pagestyles.xhp#header_pagestyles"/>
76*cdf0e10cSrcweir         <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
77*cdf0e10cSrcweir         <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
78*cdf0e10cSrcweir         <paragraph xml-lang="en-US" id="par_id3153174" role="paragraph" l10n="C"><link href="text/swriter/guide/header_pagestyles.xhp" name="Page Styles">Page Styles</link></paragraph>
79*cdf0e10cSrcweir      </section>
80*cdf0e10cSrcweir   </body>
81*cdf0e10cSrcweir</helpdocument>