Jean Hollis Weber wrote:
[EMAIL PROTECTED] wrote:

I have a document which has 5 pages and I want it to be as below:

First page (no header and footer)
Page 1 (in footer, I want to display "Page 1 of 4")
Page 2 (in footer, I want to display "Page 2 of 4")
Page 3 (in footer, I want to display "Page 3 of 4")
Page 4 (in footer, I want to display "Page 4 of 4")

I checked in Help and what I did was:

- Insert a page break at the end of the first page and format the first page without header and footer as well as reset the page number - At the end of the first page, Insert -> Fields -> Others -> Set page variables: On with Offset = -1

And the result I have is:

First page (no header and footer)
Page 1 (in footer, I want to display "Page 1 of 6")
Page 2 (in footer, I want to display "Page 2 of 6")
Page 3 (in footer, I want to display "Page 3 of 6")
Page 4 (in footer, I want to display "Page 4 of 6")

I don't know what wrong I have done and how I can do this.


There are 2 things going on here. The first one you cannot do anything about, but there is a workaround for the second one.

OOo considers the first page as a "page 1". If you renumber the second page to start again at page 1, OOo says "this is an odd-numbered page following an odd-numbered page, therefore it needs an even-numbered page in between. There is nothing you can do about this; OOo always counts the missing page 2 as if it were there, even though it isn't. Look in the status bar and you'll see what I mean. The first page will show Page 1/3 in the status bar. The second page will show Page 1 3/3 in the status bar. OOo thinks there are 3 pages.

Actually, Jean, there *is* a workaround for this first problem. You basically have to trick OOo and beat it into submission. This is how I handle it:

1. You need three page styles. I usually just use the built-in Default and First Page styles and add another one called Title Page. The order of your page styles will be Title, then First, and then the rest use Default.

2. Make your Title Page look the way you like it, then insert a manual page break, specifying the following page style to be First Page with numbering restarting at 1. Your numbering will be screwed up, but we will fix that.

3. Now right click on First Page style and choose modify. On the Page tab, change the setting for Page Layout from "Right and Left" to "Only left". Click OK. Your extra page will now disappear.

Note that you *cannot* set up your First Page style ahead of time. You have to do this in this order. If you try to modify your First Page style before you do your manual page break, OOo will not allow you to set the page numbering to 1.

I've been meaning to put this in an FAQ for some time now. My bad for not doing so yet. Fortunately, this should be resolved with release 2.02 sometime in February(?). They're planning to add an option to suppress output of blank pages. See the last couple of comments for issue 3910.

Have a good one!

--

Rod


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to