In Writer, a page number is a field that you can insert into your text.
Inserting page numbers
Choose \<emph\>Insert - Fields - Page Number\</emph\> to insert a page number at the current cursor position.
If you see the text "Page number" instead of the number, choose \<emph\>View - Field names\</emph\>.
However, these fields will change position when you add or remove text. So it is best to insert the page number field into a header or footer that has the same position and that is repeated on every page.
Chooseor to add a header or footer to all pages with the current page style.
Starting with a defined page number
Now you want some more control on page numbers. You are writing a text document that should start with page number 12.
Click into the first paragraph of your document.
Choose \<emph\>Format - Paragraph - Text flow\</emph\>.
In the Breaks area, enable \<emph\>Insert\</emph\>. Enable \<emph\>With Page Style\</emph\> just to be able to set the new \<emph\>Page number\</emph\>. Click \<emph\>OK\</emph\>.
The new page number is an attribute of the first paragraph of the page.
Formatting the page number style
You want roman page numbers running i, ii, iii, iv, and so on.
Double-click directly before the page number field. You see the \<emph\>Edit Fields\</emph\> dialog.
Select a number format and click \<emph\>OK\</emph\>.
Using different page number styles
You need some pages with the roman numbering style, followed by the remaining pages in another style.
In Writer, you will need different Page Styles. The first Page Style has a footer with a page number field formatted for roman numbers. The following Page Style has a footer with a page number field formatted in another look.
Both Page Styles must be separated by a page break. In Writer, you can have automatic page breaks and manually inserted page breaks.
An \<emph\>automatic page break\</emph\> appears at the end of a page when the Page Style has a different "next style".
For example, the "First Page" page style has "Default" as the next style. To see this, you may press Command+TF11 to open the window, click the icon, right-click the First Page entry. Choose from the context menu. On the tab, you can see the "next style".
A \<emph\>manually inserted page break\</emph\> can be applied without or with a change of page styles.
If you just press \<item type=\"keycode\"\>Ctrl+Enter\</item\>, you apply a page break without a change of styles.
If you choose \<emph\>Insert - Manual break\</emph\>, you can insert a page break without or with a change of style or with a change of page number.
It depends on your document what is best: to use a manually inserted page break between Page Styles, or to use an automatic change. If you just need one title page with a different style than the other pages, you can use the automatic method:
To apply a different page style to the first page
Click into the first page of your document.
Choose View - Styles.
In the Styles window, click the Page Styles icon.
Double-click the "First Page" style.
Now your title page has the style "First Page", and the next pages automatically have the "Default" style.
You can now for example insert a footer for the "Default" page style only, or insert footers in both page styles, but with differently formatted page number fields.
To apply a manually inserted Page Style change
Click at the start of the first paragraph on the page where a different Page Style will be applied.
Choose \<emph\>Insert - Manual Break\</emph\>. You see the \<emph\>Insert Break\</emph\> dialog.
In the Style list box, select a Page Style. You may set a new page number, too. Click \<emph\>OK\</emph\>.
The selected page style will be used from the current paragraph to the next page break with style. You may need to create the new Page Style first, see .