https://bugs.documentfoundation.org/show_bug.cgi?id=167278

--- Comment #2 from Justin L <[email protected]> ---
The implementation ought to be identical to what MS Word would do. (When I
saved this example document as a DOCX, Word 2010 displayed it identically to
what LO is doing).

>From the LO help, I get:
"Keep with next paragraph: Keeps the current paragraph and the following
paragraph together when a [page] break or column break is inserted."

Perhaps instead of saying "is inserted" it would say "is encountered" because
it also applies to natural got-to-the-end-of-the-page-or-column breaks, not
just user-inserted ones.

Basically, it means that the ENTIRE paragraph will attempt to be on the same
page as the start of the following paragraph.

(In reply to ajlittoz from comment #0)
> The Writer Guides have stated for ages that Keep with next paragraph "ensures
> that it is not the last paragraph on a page." But the Guide is silent on the
> interaction with _Allow to split paragraph_ and widow/orphan parameters.
Allow-to-split-paragraph and Widow are completely irrelevant in this case.
Since the entire paragraph tries to fit with the next paragraph, by definition
it will not split (unless of course it is larger than an entire page).

Orphan would operate as normal in case the paragraph is larger than the entire
page.

> From experiment, it looks like the test looks at the last line in the page...
Nope. I'm not super familiar with the layout logic, but it certainly wouldn't
be implemented using that logic.

> how is it possible to achieve author's goal?
I don't think it is possible. The author needs to change his goal definition.
So for example you could add a "bottom border" so there is a line at the
end-of-scene instead of a "large space". You simply cannot depend on spacing to
convey extra meaning.

AFAICS there is no bug here. I would only acknowledge a bug if a DOCX example
is provided that does what the author wants.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to