Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

OpenOffice Writer User Guide
Previous Page Home Next Page

More complex variations

There are a lot of interesting variations that you can apply without further knowledge of page styles. Here are some suggestions:

  • Right-align the header to make the page number appear on the top-right:

    • Place the cursor in the header.

    • Click the Align Right icon (or right-click anywhere in the header and select Alignment > Right).

  • Add (type) the word page so the header reads page 1, page 2, and so on. This also requires using the Page Number field, discussed earlier (page 157).

  • Add the document title so the header reads, for example: Joe's favourite poems, left justified, and page x with right justification, where x is the value of the Page Number field. Consider using a tab to separate the title from the page number.

  • OOo also has a Page Count field (Insert > Fields > Page Count). Using it, you could, for example, have a header that reads page 2 of 12.

These variations are all illustrated in Figure 183.

Frame105

Many more variations are possible. For example, you can use a footer instead of a header to make the page number appear at the bottom of the page.

Example: Restart page numbering: a preface

Some times you want to reset the page number back to 1. A typical example is the preface for a book. A standard preface has the following properties:

  • Page numbers are displayed in Roman numerals (i, ii, iii, iv, …).

  • After the preface, the document starts on a Default page.

  • The page number resets to 1, and the number format becomes Arabic (1, 2, 3, 4, …).

Resetting the page number requires page breaks.

First, let’s get the preliminary work done for the Preface style:

  1. Create a new page style and name it Preface.

  2. Set its Next Style to Preface because a preface could span multiple pages.

  3. Add a header to Preface and insert the Page Number field. Make the page numbers display as Roman numerals (i, ii, iii, iv, …):

    1. Open the page style window for Preface (if not already open) and click the Header tab. Check Header on under Header.

    2. Click the Page tab. Under Layout settings, in the Format drop-down list, set the format to i, ii, iii, …. (See Figure 184.) Click OK to close the dialog box.

Frame391

After the preface is written, we are ready to restart the page numbering in the main body of the document to Arabic numerals. Follow these steps:

  1. Make an empty paragraph at the very end of the preface.

  2. Put the cursor on the blank line.

  3. Choose Insert > Manual Break.

  4. Select Page break and choose the Default style.

  5. Select the Change page number check box and set the new value to 1. Click OK to close the dialog box.

These settings are shown in Figure 185.

Frame401

Note

You cannot assign an odd page number to a left page or an even page number to a right page. OOo strongly adheres to the convention that odd page numbers go on right-hand pages and even page numbers on left-hand pages.

This change is also reflected on the status bar. The Page section of the status bar now includes both the total page count and the entry of the page number field (Figure 186).

Frame48

Example: Different headers on right and left pages

When you insert a header on a page style set up for mirrored pages or right-and-left pages, you can have the contents of the header be the same on all pages or be different on the right and left pages.

To allow different content in headers, clear the Same content left/right check box in the Header area on the Header page of the Page Style dialog box (Figure 187).

Frame292

Now, you can put the page number on the left-hand edge of the left pages and on the right-hand edge of the right pages, put the document title on the right-hand page only, or make other changes. Figure 188 shows an example.

Frame302

OpenOffice Writer User Guide
Previous Page Home Next Page

 
 
  Published under the terms of the Open Publication License Design by Interspire