1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29      <topic id="textswriterguidefooter_pagenumberxml" indexer="include" status="PUBLISH">
30         <title xml-lang="en-US" id="tit">Inserting Page Numbers in Footers</title>
31         <filename>/text/swriter/guide/footer_pagenumber.xhp</filename>
32      </topic>
33   </meta>
34   <body>
35<bookmark xml-lang="en-US" branch="index" id="bm_id3155624"><bookmark_value>footers; with page numbers</bookmark_value>
36      <bookmark_value>pages; numbers and count of</bookmark_value>
37      <bookmark_value>page numbers; footers</bookmark_value>
38      <bookmark_value>numbering;pages</bookmark_value>
39</bookmark>
40<paragraph xml-lang="en-US" id="hd_id3155624" role="heading" level="1" l10n="U" oldref="1"><variable id="footer_pagenumber"><link href="text/swriter/guide/footer_pagenumber.xhp" name="Inserting Page Numbers in Footers">Inserting Page Numbers in Footers</link>
41</variable></paragraph>
42      <paragraph xml-lang="en-US" id="par_id8230842" role="paragraph" l10n="NEW">You can easily insert a page number field in the footer of your document. You can also add a page count to the footer, for example, in the form "Page 9 of 12"</paragraph>
43      <paragraph xml-lang="en-US" id="hd_id7867366" role="heading" level="2" l10n="NEW">To Insert a Page Number</paragraph>
44      <list type="ordered">
45         <listitem>
46            <paragraph xml-lang="en-US" id="par_id3150508" role="listitem" l10n="U" oldref="2">Choose <emph>Insert - Footer</emph> and select the page style that you want to add the footer to.</paragraph>
47         </listitem>
48         <listitem>
49            <paragraph xml-lang="en-US" id="par_id3150534" role="listitem" l10n="U" oldref="3">Choose <emph>Insert - Fields - Page Number</emph>.</paragraph>
50         </listitem>
51      </list>
52      <paragraph xml-lang="en-US" id="par_id3153155" role="paragraph" l10n="U" oldref="4">If you want, you can align the page number field as you would text.</paragraph>
53      <paragraph xml-lang="en-US" id="hd_id2988677" role="heading" level="2" l10n="NEW">To Additionally Add a Page Count</paragraph>
54      <list type="ordered">
55         <listitem>
56            <paragraph xml-lang="en-US" id="par_id3155532" role="listitem" l10n="U" oldref="6">Click in front of the page number field, type <item type="literal">Page</item> and enter a space; click after the field, enter a space and then type <item type="literal">of</item> and enter another space.</paragraph>
57         </listitem>
58         <listitem>
59            <paragraph xml-lang="en-US" id="par_id3155554" role="listitem" l10n="U" oldref="7">Choose <emph>Insert - Fields - Page Count</emph>.</paragraph>
60         </listitem>
61      </list>
62      <embed href="text/shared/00/00000004.xhp#related"/>
63      <embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
64      <embed href="text/swriter/guide/even_odd_sdw.xhp#even_odd_sdw"/>
65      <embed href="text/swriter/guide/change_header.xhp#change_header"/>
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   </body>
69</helpdocument>