https://bugs.documentfoundation.org/show_bug.cgi?id=89714
--- Comment #7 from [email protected] --- > Not sure which gets priority when both are checked active, but they don't > seem to conflict. I'd agree with change that both Orphan and Widow text flow > should be checked on by default. Fine that we agree on this aspect. I do not believe that both settings interact in a non-predictable way. In the past 10 or more years, I never noticed any problems having both checked so I presume that the code is already working properly. It is probably best to view both features as algorithms to alter the position of the page break within a paragraph. And they both work in the same way: move an additional line (in the case of n = 2) to the next page when the respective constraint is violated. There is only one case where they both perform changes: a paragraph covering 3 lines and the need to put a page break within the paragraph (orphan-lines + widow-lines - 1 as a general formula) This causes either 2 lines on the first, and 1 line on the second page or vice versa. However, both cases resolve cleanly: 2 + 1 case: a) widow rule applies moving one line to the new page b) then, orphan rule kicks in moving the first line to the new page as well 1 + 2 case: orphan rule applies moving the first line to the next page. Result is the same: the entire 3-line paragraph is completely moved to the next page instead of leaving either an orphan or a widow. Cheers, RĂ¼diger -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
