<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textswriterguidefooter_nextpagexml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Inserting Page Numbers of Continuation Pages</title>
    <filename>/text/swriter/guide/footer_nextpage.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3145819">
  <bookmark_value>pages; continuation pages</bookmark_value>
  <bookmark_value>next page number in footers</bookmark_value>
  <bookmark_value>continuation pages</bookmark_value>
  <bookmark_value>page numbers; continuation pages</bookmark_value>
</bookmark>

<h1 id="hd_id3145819"  xml-lang="en-US"><variable id="footer_nextpage"><link href="text/swriter/guide/footer_nextpage.xhp">Inserting Page Numbers of Continuation Pages</link></variable></h1>
<paragraph id="par_id3154242" role="paragraph" xml-lang="en-US">You can easily insert the page number of the next page in a footer by using a field.</paragraph>
<paragraph id="par_id3154256" role="paragraph" xml-lang="en-US">The page number is only displayed if the following page exists.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3155886" role="listitem" xml-lang="en-US">Choose <emph>Insert - Header and Footer - Footer</emph> and select the page style that you want to add the footer to.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147109" role="listitem" xml-lang="en-US">Place the cursor in the footer and choose <emph>Insert - Field - More Fields</emph>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147134" role="listitem" xml-lang="en-US">In the <emph>Fields</emph> dialog, click the <emph>Document</emph> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150955" role="listitem" xml-lang="en-US">Click 'Page' in the <emph>Type</emph> list and 'Next page' in the <emph>Select</emph> list.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150517" role="listitem" xml-lang="en-US">Click a numbering scheme in the <menuitem>Format</menuitem> list.</paragraph>
    <paragraph id="par_id3150537" role="listitem" xml-lang="en-US">If you select 'Text' in the <emph>Format</emph> list, only the text that you enter in the <emph>Value</emph> box is displayed in the field.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150727" role="listitem" xml-lang="en-US">Click <emph>Insert</emph> to insert the field with the page number.</paragraph>
  </listitem>
</list>
<section id="relatedtopics">
<embed href="text/swriter/guide/footer_pagenumber.xhp#footer_pagenumber"/>
</section>
</body>
</helpdocument>