Ross Johnson wrote:
mike scott wrote:
On 11 Sep 2006 at 0:31, Ross Johnson wrote:
...
with a ToC. Into my test document: I insert a manual page break,
specifying 'default' style, and a weird page number. Then I
immediately insert a table of contents. If I right-click inside
the ToC, I can try "edit para style" -- but the "Breaks" check box
is clear, even though there's a break. Also the main menu Format
list has most options greyed out (including paragraph).
Yes, I see this now too, but I've found the explanation. The default
setting for inserted indexes is "Protected against manual changes".
If you right-click in the TOC and go to Edit Index/Table
(Index/Table tab), you can uncheck this attribute. Then, when you go
to Format Paragraph (Text Flow tab) for the first paragraph on the
page (say, the TOC "Table of Contents" heading paragraph), you
should be able to uncheck the Break - Insert box to remove the
manual break, etc.
Hmmm. I'm still not clear what's happening here.
I've cleared the 'protected' setting, and so can make any old changes
to the ToC. However, the 'Insert' checkbox under 'breaks' is /clear/
anyway - even though the ToC immediately follows the break. That
said, having cleared the 'protected' setting, I can now move the
cursor to the start of the table and simply hit bckspc - which seems
to clear the break. That's OK, but if I then /set/ the protect bit
again to prevent accidents, the title "Table of Contents" now appears
twice, once protected, once not. I guess I can live with that, but
it looks like a minor bug.
I don't think you've told us which OOo version you're using. I don't
get this, but maybe there's something else in your document that is
affecting things.
...
You can always see the current page number in the status bar.
Which isn't right, btw. My present test document - two pages of
landscape A5 with a manual break to 'play with' has a 'page number'
field in each page within the half-dozen or so lines. Those fields
show, correctly, 1 and 5. The status bar shows either '1/3' or
'Page 5 3/3', depending on which of the two pages I'm in. If I
delete the
...
Hmm. I'll have to try this to see what it's about.
I've left a copy at
http://www.scottsonline.org.uk/private/junk-numbering.odt
There does appear to be a bug here. But mostly, what you see is
correct according to what is in the document. The bug IMO is at the
end of the following explanation.
In the document from your web page:
The last para on the first page has a Break Insert After setting,
while the first para on the second page has a Break Insert Before
setting. The two breaks are conspiring to add a blank page between the
two that you see in edit mode. You can see the blank page in the print
preview.
Writer's Status bar shows Page numbering as:-
"Page n p/q"
or just
"Page p/q"
if n = p, where n is the document page number and p/q is the physical
page p of q physical pages.
So what you see is correct. The first page is page number 1 and is
physical page 1 of 3, so you see "Page 1/3". The next page is page
number 7, but is physical page 3 of 3, so you see "Page 7 3/3". Writer
doesn't display the empty blank page in edit mode, probably because it
has no content at all.
(When you see what appears to be a blank page in a document, it
actually contains an empty paragraph. Your blank page - page 2 -
doesn't contain an empty paragraph because of the break after para on
page 1 and the break before para on page 3.)
When you place the cursor at the start of the first para on your
second page and Backspace, you remove the Break Before of that
paragraph, and effectively join that para to the last para on your
first page. It's Break After setting now kicks in at the end of that
extended para, so that, what was the second para on your second page
is now the first para on your second page.
This is all making sense, Backspace does the right thing, but (here's
the bug I think) ...
Actually I'm wrong there - Backspace to remove the Break Before doesn't
do the right thing IMO. With the Break After followed by the Break
Before, it shouldn't join the two paragraphs, and should only remove the
hidden blank page and adjust the page numbers (the second page should
still become page 2/2 because the Backspace should remove the Break
Before and also the associated page number change to "7".)
If you undo all of that to start over but now place the cursor at the
end of the last para on your first page, and press Delete - then once
again the first para of your second page is joined to the cursor para.
I.e. this action appears to remove the Break Before setting of the
following para. This would be ok if there was no Break After in the
cursor para. However, the page number of your second page should then
be "Page 2/2". That is one bug, but there is another bug too IMO.
In the above (Delete) operation, the Break After setting should be
removed from the cursor para rather than the Break Before of the
following para. This should leave the Break Before para intact at the
top of your second page, but it should remove the blank page (that you
only see in print preview) and show your second page number as "Page 7
2/2".
That piece of analysis still seems correct to me though.
Ross
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]