| View previous topic :: View next topic |
| Author |
Message |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Fri Nov 28, 2008 2:27 am Post subject: Display different page-number on condition |
|
|
Hello!
I have a document for which on printing-reasons I have to do a page-numbering like:
2
1
3
4
5
6
...
The page-number should be displayed in the header.
I would like to use only one page-style in the whole document, because sometimes users have to delete the first page, but the numbering should still be the same and deleting a page and set the page-styles newly would overstrain the users.
I tought perhaps I could use a function like you can do it hitting F2 in Writer, but I couldn't find a way to add the page-number to a formular there. Perhaps it can be done with fields somehow? It's just like: Display the page-number, but if you are no. 1 display 2 and if you are no. 2 display 1.
Is this possible somehow? |
|
| Back to top |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Fri Nov 28, 2008 5:49 am Post subject: |
|
|
I'd simply type page numbers for pages 1 and 2 by hand [in reverse as needed here, and then let the rest be automatic.
David. |
|
| Back to top |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Fri Nov 28, 2008 6:00 am Post subject: |
|
|
| Thanks for your reply. As I said I want to have the page-numbers in the header, so changing the header by typeing something will change all headers on all pages. |
|
| Back to top |
|
 |
bmetcalf General User

Joined: 25 Nov 2008 Posts: 30 Location: Florida
|
Posted: Fri Nov 28, 2008 12:19 pm Post subject: |
|
|
| martho wrote: | | Thanks for your reply. As I said I want to have the page-numbers in the header, so changing the header by typeing something will change all headers on all pages. | One option that will require two page styles:
Compose the first two pages without headers, but put the header information at the top of each page manually.
The balance of the document could then have an otherwise identical style with page numbers in the headers.
Just an idea....
Bruce A Metcalf |
|
| Back to top |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Sat Nov 29, 2008 12:38 am Post subject: |
|
|
| Thnaks for your reply. As I said the users sometimes have to delete some of the first pages, and I don't think I can teach them in a safe way to apply the page-styles again after they did that. |
|
| Back to top |
|
 |
bmetcalf General User

Joined: 25 Nov 2008 Posts: 30 Location: Florida
|
Posted: Sat Nov 29, 2008 2:15 pm Post subject: |
|
|
| martho wrote: | | Thnaks for your reply. As I said the users sometimes have to delete some of the first pages, and I don't think I can teach them in a safe way to apply the page-styles again after they did that. | Okay, second approach:
Use a single page style with headers.
On the first two pages, create a frame positioned to cover the automatic header, and insert the same header text into the box, but with the page numbers changed.
HTH,
Bruce A Metcalf |
|
| Back to top |
|
 |
|