How to place page numbers on top of pages

How do I place page numbers on top of pages?

Is your question related to Writer (textual document), Calc (spreadsheet), Draw (drawing) or Impress (presentation)? The answer is different in each case. @Sidewinder gave Writer’s solution. Please change your tags and remove jakebear.

  1. Click above the top of the text area.

  2. When the Header marker appears, click the +.

  3. Put the cursor on the header.

  4. Page numbers can be inserted from the Menu bar by selecting Insert > Page Number.