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="textswriterguidefooter_pagenumberxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Inserting Page Numbers in Footers</title>
28<filename>/text/swriter/guide/footer_pagenumber.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3155624">
33<bookmark_value>footers; with page numbers</bookmark_value>
34<bookmark_value>pages; numbers and count of</bookmark_value>
35<bookmark_value>page numbers; footers</bookmark_value>
36<bookmark_value>numbering;pages</bookmark_value>
37</bookmark>
38<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>
39</variable></paragraph>
40<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>
41<paragraph xml-lang="en-US" id="hd_id7867366" role="heading" level="2" l10n="NEW">To Insert a Page Number</paragraph>
42<list type="ordered">
43<listitem>
44<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>
45</listitem>
46<listitem>
47<paragraph xml-lang="en-US" id="par_id3150534" role="listitem" l10n="U" oldref="3">Choose <emph>Insert - Fields - Page Number</emph>.</paragraph>
48</listitem>
49</list>
50<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>
51<paragraph xml-lang="en-US" id="hd_id2988677" role="heading" level="2" l10n="NEW">To Additionally Add a Page Count</paragraph>
52<list type="ordered">
53<listitem>
54<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>
55</listitem>
56<listitem>
57<paragraph xml-lang="en-US" id="par_id3155554" role="listitem" l10n="U" oldref="7">Choose <emph>Insert - Fields - Page Count</emph>.</paragraph>
58</listitem>
59</list>
60<embed href="text/shared/00/00000004.xhp#related"/>
61<embed href="text/swriter/guide/header_footer.xhp#header_footer"/>
62<embed href="text/swriter/guide/even_odd_sdw.xhp#even_odd_sdw"/>
63<embed href="text/swriter/guide/change_header.xhp#change_header"/>
64<embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
65<embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
66</body>
67</helpdocument>
68