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