summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/header_with_chapter.xhp
blob: 0e38822ba566e46b68e3b77437104622af2c20b7 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * 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.
 *
 ************************************************************************
 -->
 
	
<meta>
      <topic id="textswriterguideheader_with_chapterxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Inserting a Chapter Name and Number in a Header or a Footer</title>
         <filename>/text/swriter/guide/header_with_chapter.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155919"><bookmark_value>running titles in headers</bookmark_value>
      <bookmark_value>floating titles in headers</bookmark_value>
      <bookmark_value>headers; chapter information</bookmark_value>
      <bookmark_value>chapter names in headers</bookmark_value>
      <bookmark_value>names; chapter names in headers</bookmark_value>
</bookmark>
<paragraph xml-lang="en-US" id="hd_id3155919" role="heading" level="1" l10n="U" oldref="3"><variable id="header_with_chapter"><link href="text/swriter/guide/header_with_chapter.xhp" name="Inserting a Chapter Name and Number in a Header or a Footer">Inserting a Chapter Name and Number in a Header or a Footer</link>
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_id3153414" role="paragraph" l10n="U" oldref="22">Before you can insert chapter information into a header or footer, you must first set the outline numbering options for the paragraph style that you want to use for chapter titles.</paragraph>
      <paragraph xml-lang="en-US" id="hd_id3154244" role="heading" level="2" l10n="U"
                 oldref="23">To Create a Paragraph Style for Chapter Titles</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3155874" role="listitem" l10n="U" oldref="24">Choose <emph>Tools - Outline Numbering</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3155898" role="listitem" l10n="U" oldref="25">In the <item type="menuitem">Style</item>
               box, select the paragraph style that you want to use for chapter titles, for example, "Heading 1".</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3147124" role="listitem" l10n="U" oldref="26">Select the numbering style for the chapter titles in the <item type="menuitem">Number</item>
               box, for example, "1,2,3...".</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3150219" role="listitem" l10n="U" oldref="27">Type "Chapter" followed by a space in the <item type="menuitem">Before</item>
               box.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3150245" role="listitem" l10n="U" oldref="28">Enter a space in the <item type="menuitem">After</item>
               box.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3150949" role="listitem" l10n="U" oldref="29">Click <emph>OK</emph>.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="hd_id3150505" role="heading" level="2" l10n="U"
                 oldref="30">To Insert the Chapter Name and Number in a Header or a Footer</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3150527" role="listitem" l10n="U" oldref="5">Apply the paragraph style that you defined for chapter titles to the chapter headings in your document.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3153729" role="listitem" l10n="U" oldref="6">Choose <item type="menuitem">Insert - Header</item>
               or <item type="menuitem">Insert - Footer</item>, and then select the page style for the current page from the submenu.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3153762" role="listitem" l10n="U" oldref="7">Click in the header or footer.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3146863" role="listitem" l10n="U" oldref="9">Choose <item type="menuitem">Insert - Fields - Other</item> and click the
               <item type="menuitem">Document</item> tab.</paragraph>
         </listitem>
      </list>
      <list type="ordered" startwith="5">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3153175" role="listitem" l10n="U" oldref="10">Click "Chapter" in the <item type="menuitem">Type</item>
               list and "Chapter number and name" in the <item type="menuitem">Format</item>
               list.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3147065" role="listitem" l10n="U" oldref="11">Click <emph>Insert</emph> and then click <emph>Close</emph>.</paragraph>
         </listitem>
      </list>
      <paragraph xml-lang="en-US" id="par_id3147095" role="paragraph" l10n="U" oldref="12">The header on every page that uses the current page style automatically displays the chapter name and number.</paragraph>
      <embed href="text/shared/00/00000004.xhp#related"/>
      <embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
      <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_line.xhp#header_with_line"/>
   </body>
</helpdocument>