summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/header_footer.xhp
blob: 1c2cae78e2d41d87139e4d49cf59b812a5545348 (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
<?xml version="1.0" encoding="UTF-8"?>


<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: header_footer.xhp,v $
 * $Revision: 1.7 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->
	
<helpdocument version="1.0">
<meta>
<topic id="textswriterguideheader_footerxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">About Headers and Footers</title>
<filename>/text/swriter/guide/header_footer.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-02-07T15:27:24">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155863"><bookmark_value>headers;about</bookmark_value>
<bookmark_value>footers;about</bookmark_value>
<bookmark_value>HTML documents; headers and footers</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3155863" xml-lang="en-US" level="1" l10n="U" oldref="38"><variable id="header_footer"><link href="text/swriter/guide/header_footer.xhp" name="About Headers and Footers">About Headers and Footers</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3154255" xml-lang="en-US" 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>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3155896" xml-lang="en-US" 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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3147119" xml-lang="en-US" 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>
</listitem>
</list>
<paragraph role="note" id="par_id3150511" xml-lang="en-US" l10n="U" oldref="44">The page style for the current page is displayed in the <emph>Status Bar</emph>.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="40">You can also choose <emph>Format - Page</emph>, click the <emph>Header</emph> or <emph>Footer </emph>tab, and then select <emph>Header on </emph>or <emph>Footer on</emph>. Clear the <emph>Same content left/right</emph> check box if you want to define different headers and footers for even and odd pages.</paragraph>
</listitem>
</list>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3146876" xml-lang="en-US" 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>
</listitem>
</list>
<paragraph role="heading" id="hd_id3150704" xml-lang="en-US" level="2" l10n="U" oldref="41">Headers and Footers in HTML Documents</paragraph>
<paragraph role="paragraph" id="par_id3150717" xml-lang="en-US" 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>
<section id="relatedtopics">
<embed href="text/swriter/guide/change_header.xhp#change_header"/>
<embed href="text/swriter/guide/header_pagestyles.xhp#header_pagestyles"/>
<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
<paragraph role="paragraph" id="par_id3153174" xml-lang="en-US" l10n="C"><link href="text/swriter/guide/header_pagestyles.xhp" name="Page Styles">Page Styles</link></paragraph>
</section>
</body>
</helpdocument>