Bug 148190

Summary: widow/orphan control doesn't work in table cells
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103100    

Description Eyal Rozenberg 2022-03-25 21:25:42 UTC
LO Writer supports paragraph-level widow/orphan control: Not letting a paragraph have just its first k lines or last k lines separate from all the rest (on a different page).

I suggest having a similar feature for table rows, w.r.t. lines within them (or rather, lines within the paragraphs within them): Don't allow a row to break across pages or columns when its first or last part has no more than k lines.

Paragraphs are inconsequential here, in the sense that it doesn't matter if the k lines belong to k paragraphs or less-than-k or even a single paragraph. Naturally, per-paragraph widow-orphan settings would also apply.
Comment 1 Eyal Rozenberg 2022-03-25 21:27:11 UTC
The motivation: Similar to paragraph widow-orphan control, but when you have a table row with many paragraphs, so that intra-paragraph widow-orphan settings don't prevent the table from having just a small part on the first page, e.g. one line of contents and the repeating header lines. That looks kind of iffy.
Comment 2 Dieter 2022-04-07 08:36:34 UTC
I would expect, that paragraph-level widow/orphan control also works in in tables, but obviously it doesn't.

But this is bug 86909

*** This bug has been marked as a duplicate of bug 86909 ***