Issue 26750

Summary: extra page between first page and default page
Product: Writer Reporter: emmajane <emmajane>
Component: uiAssignee: h.ilter
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description emmajane 2004-03-19 20:12:59 UTC
1. Write a document with all pages as the "Default" page template.
2. When the document is ready to be sent to the client I add a title page with
the "first page" template.

a. Go to the first character on the first page and
"Insert" > "Manual Break" > "Page break".
Change the style to "Default" change the page number to 1. There are now THREE
pages in my page count, not TWO! But only two are visible.

b. Click onto the new first page. Along the bottom status bar right click on
"Default" and change it to "First Page". Now I have a first page that is "First
Page" and a second page that is "Default" and a page in the middle that I can't
get rid of.

3. Modify the page styles.
a. F11 to get the style list. Choose the page styles tab. Modify "First Page"
and make sure that the "Next Style" is "Default" (which it already is).

4. Turn on non-printing characters and see if I can delete anything that
shouldn't be there. "View" > "Non-Printing Characters" There are *no* extraneous
characters AND no extra pages visible.

5. "File" > "Page Preview". There are three pages:
        - First page
        - "blank page" (it actually says, "blank page" in gray letters)
        - Default page

It's important to me that all documents use a standardized template. I don't
want to have to manually edit the properties of a title page each time. I want
to have a single template for "title pages" that I can apply uniformly.
Comment 1 lohmaier 2004-03-19 21:50:00 UTC
duplicate.
for more details please see issue 3910

*** This issue has been marked as a duplicate of 3910 ***
Comment 2 lohmaier 2004-03-19 21:50:28 UTC
closing duplicate.
Comment 3 rblackeagle 2004-03-19 23:26:10 UTC
It is now clear what the problem is (see issue 19415 for a similar issue).  Your
first page is, by definition, a first page (odd number internally or "right" in
OOo's dialogs).  YOu set the "Default" page to an odd number, so it has to skip
a number to keep odd numbers from coliding with one another.  Unfortunately,
this screws up documents which, by design, are intended to have odd numbers on
left pages.  Issue 19415 deals with this (please add a comment to that issue).

A solution is to add a page number using the Insert > Fields > Other and enter
an offset of "-1" so that the actual second page (first default page style) has
page number "1" on it.  Another solution is to define the "First Page" as "Right
only" page style under the second tab.  This will give you a blank page before
the first one and you STILL have to enter a page offset, but then you print
pages "2-" (two and following) instead of just the document.

This is a VERY clumsy feature in OOo for unusual writing situations.

However, I might ask you how you want your document to appear.  For example, do
you intend to have a first (right) page as a title and the first numbered page
printed on the back of the title page?  Would it matter if the second page were
numbered "2" for your usage?

A possible solution (try this and report back, please) is to define "Default" as
"Mirrored".  This works only if both left and right margins are exactly the
same.  If they are not, you can define two different styles: "Left Page" and
"Right Page".  On the "Organizer tab of the style, have each follow the other
("Next style" is "Left Page" for the "Right page" style and "Right page" for the
"Left page" style -- these two styles are default styles in your document.

THEN, redo the First Page style so that the next page is "Right Page" and it
should sort itself out automatically. What it will NOT do is have the pagination
with page "1" on the second page.  For that, you have to enter a page offset of
"-1" as before.

Note that if you use a page offset, that offset will NOT be reflected in any
Table of Contents or Index, so they will always be wrong.  Also, a page offset
ASSUMES that the page referred to actually exists.  Thus, a page offset of "+2"
will be blank for the last two pages of the document.

See if any of these suggestions helps.  Even if it does, you have a valid
problem and a clumsy and time-consuming workaround.
Comment 4 emmajane 2004-03-20 05:10:44 UTC
The closest to correct I can get is with the following settings:
- first page: only left (which is backwards from what I would have thought, but
that's what it is--in the page preview I now have a page on the RIGHT but not on
the left)
- default: right and left OR mirrored
If I set default to "right only" or "left only" I get a blank page every other page.

A few other notes: I have no problems with the pagination. As such my problem is
not the same as 19415. My problem is that I have blank page (which is not
numbered and contains no content) between the First Page and the first Default
page. The page numbering starts (correctly) on the Default page because when I
added a page break I told it where to start counting.

There is no "back" to the documents I'm preparing. They are for single-sided
printing and viewing documents on-line. This is part of the problem I'm having.
OOo seems to have only models for double sided printing. I went through all the
printer settings that I could find and nowhere could I see an option to change
from the (default) double sided recto/verso printing to single-sided printing.

The title page (First Page) is (sort of) like the cover of the book: it is not
numbered. The first page of content (Default) is the actual first page of the
document. Depending on the length of the document it may contain a table of
contents, an executive summary, or just leap right into the text of the
document. This first page of content should always be numbered as "1."

The off-set work-arounds do not work at all. I can't even figure out what the
pattern is for how they break. Sometimes no page numbers are printed, sometimes
they're printed on every other page. I didn't understand how it didn't work
though, so I can't provide much more information other than, "not a viable
solution."
Comment 5 lohmaier 2004-03-20 13:37:06 UTC
>I have no problems with the pagination. As such my problem is
>not the same as 19415. My problem is that I have blank page (which is not
>numbered and contains no content) between the First Page and the first Default
>page.

That's why I marked this one as duplicate of issue 3910...

You may vote for issue 3910 (use the link above the "additional comments" box)
Comment 6 emmajane 2004-03-20 17:56:27 UTC
Further testing on my part reveals that I only get the blank page if I use an
odd-numbered page between First Page and Default.

From my instructions above at 2.a.--when I insert a Manual Break and change the
page number, I only get a blank page if I specify the new page start at 1, 3, 5
(or any odd number), but not 2, 4 (or any even number).

I think it means this is a duplication of 3910 and 19415. I would recommend
adding this feature/bug to the FAQ. I have personally "wasted" hours trying to
figure it out, and I know that there are others on the Debian list who have also
wasted a lot of time trying to prepare digital documents that are not
traditional book formats with double-sided pages.