1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguideheader_footerxml" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">About Headers and Footers</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/header_footer.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3155863"><bookmark_value>headers;about</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>footers;about</bookmark_value>
37*b1cdbd2cSJim Jagielski      <bookmark_value>HTML documents; headers and footers</bookmark_value>
38*b1cdbd2cSJim Jagielski</bookmark>
39*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3155863" role="heading" level="1" l10n="U"
40*b1cdbd2cSJim Jagielski                 oldref="38"><variable id="header_footer"><link href="text/swriter/guide/header_footer.xhp" name="About Headers and Footers">About Headers and Footers</link>
41*b1cdbd2cSJim Jagielski</variable></paragraph>
42*b1cdbd2cSJim Jagielski      <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>
43*b1cdbd2cSJim Jagielski      <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>
44*b1cdbd2cSJim Jagielski      <list type="unordered">
45*b1cdbd2cSJim Jagielski         <listitem>
46*b1cdbd2cSJim Jagielski            <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>
47*b1cdbd2cSJim Jagielski         </listitem>
48*b1cdbd2cSJim Jagielski         <listitem>
49*b1cdbd2cSJim Jagielski            <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>
50*b1cdbd2cSJim Jagielski         </listitem>
51*b1cdbd2cSJim Jagielski      </list>
52*b1cdbd2cSJim Jagielski      <list type="unordered">
53*b1cdbd2cSJim Jagielski         <listitem>
54*b1cdbd2cSJim Jagielski            <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>
55*b1cdbd2cSJim Jagielski               <emph/>tab, and then select <item type="menuitem">Header on</item>
56*b1cdbd2cSJim Jagielski               <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>
57*b1cdbd2cSJim Jagielski         </listitem>
58*b1cdbd2cSJim Jagielski      </list>
59*b1cdbd2cSJim Jagielski      <list type="unordered">
60*b1cdbd2cSJim Jagielski         <listitem>
61*b1cdbd2cSJim Jagielski            <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>
62*b1cdbd2cSJim Jagielski         </listitem>
63*b1cdbd2cSJim Jagielski      </list>
64*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="hd_id3150704" role="heading" level="2" l10n="U"
65*b1cdbd2cSJim Jagielski                 oldref="41">Headers and Footers in HTML Documents</paragraph>
66*b1cdbd2cSJim Jagielski      <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>
67*b1cdbd2cSJim Jagielski      <section id="relatedtopics">
68*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/change_header.xhp#change_header"/>
69*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/header_pagestyles.xhp#header_pagestyles"/>
70*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
71*b1cdbd2cSJim Jagielski         <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
72*b1cdbd2cSJim Jagielski         <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>
73*b1cdbd2cSJim Jagielski      </section>
74*b1cdbd2cSJim Jagielski   </body>
75*b1cdbd2cSJim Jagielski</helpdocument>