Faq/Writer/055/es

El documento empieza con una página de portada y una de inicio. ¿Cómo hago para que el número total de páginas abarque solo las páginas con contenido escrito?
When a document has many pages, there may be title pages or home pages that you don’t want to be numbered. The FAQ n°002 explains how to begin the numbering only on the 2nd or 3rd page and FAQ n°104 explains how to begin the numbering on the first page with a value greater than 1. But, in these cases the count of pages displayed by remains the total page count for the document, including the title page and the home page.

To display the count for written pages only
Proceed as follows:


 * 1) select  ;
 * 2) for the field Type, chose Insert Formula;
 * 3) in the Formula area enter: ,  or   as required; and
 * 4) click Insert then Close.

This method allows you to display the count of written pages for a simple document.

To display page counts for each part of document
These parts could be for example: results, discussion, annexes, etc. The method is to create a bookmark at the end of each part of the document. With the help of bookmarks, you can retrieve:


 * the page or the chapter where they are,
 * the text where they have been entered, or
 * their relative location in the document (before or after the current location).

Of course, the relevant information here is the page where they are.


 * 1) click at the end of the part;
 * 2) select ;
 * 3) give it a name, for example  ;
 * 4) click where you want to insert the count of pages (header, footer, etc.);
 * 5) select  ;
 * 6) in the Type choose   ;
 * 7) select the bookmark you have previously created and the Page format;
 * 8) click Insert then Close.

Repeat this process for each part.

Going further
The Bookmarks are "fragile" insofar:


 * they are not displayed (neither as marks nor as non-printing characters); and
 * they can be deleted or moved with the last paragraph.

It is possible to protect against this problem by inserting the bookmark in a protected and hidden section:


 * 1) place the cursor at the end of a part, on the bookmark:
 * 2) * open the Navigator by double-clicking on its name;
 * 3) * right-click in the status bar on the area where page numbering is displayed, a dropdown list will display the bookmark names and you can reach one by clicking on its name in that list;
 * 4) select ;
 * 5) name it if you wish (useful for the Navigator for example);
 * 6) check ☑ Protect under Write Protection (you can even add a password);
 * 7) check ☑ Hide under Hide;
 * 8) click Insert.

Repeat this process for each bookmark.

An alternative to the use of sections is to put bookmarks in text frames which can also be protected (but do not support passwords).