From The Document Foundation Wiki
Jump to navigation Jump to search
  1. click at the end of the part;
  2. select Insert ▸ Bookmark...;
  3. give it a name, for example EndDoc;
  4. click where you want to insert the count of pages (header, footer, etc.);
  5. select Insert ▸ Field ▸ More Fields... ▸ Cross-references [tab] (Ctrl+F2);
  6. in the Type choose Bookmarks ;
  7. select the bookmark you have previously created and the Page format;
  8. click Insert then Close.