Bug Hunting Session
Bug 64795 - [FORMATTING] Add new feature of 'keep with previous paragraph' formatting option for Writer
Summary: [FORMATTING] Add new feature of 'keep with previous paragraph' formatting opt...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 114643 (view as bug list)
Depends on:
Blocks: Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2013-05-20 20:13 UTC by Vossman
Modified: 2017-12-22 20:25 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vossman 2013-05-20 20:13:15 UTC
Feature request: Writer paragraph formatting has a 'keep with next paragraph' how about a 'keep with previous paragraph'. When formatting, I usually have an equation style and would like it to always stay with the previous paragraph. Other times when writing a step-by-step manual I would find it useful with a diagram style.

As far as I can tell, Adobe products (e.g., InDesign) do have this feature..

This has come up elsewhere:
* "Any way to "keep with previous" in Writer?"
http://listarchives.libreoffice.org/global/users/msg06531.html
* "Do you ever wish Word had a "keep with previous" setting for paragraphs?"
http://word.tips.net/T000239_Keep_with_Previous.html
* "Where is Keep-With-Previous?"
http://www.oooforum.org/forum/viewtopic.phtml?t=36848
* "SUGGESTION: Keep With Previous - Microsoft Community"
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/suggestion-keep-with-previous/569060cf-168f-40e7-8a22-f93f5192d5ac
Comment 1 Pablo Iranzo Gomez 2013-05-22 11:14:33 UTC
Keeping with next will also not make titles to be alone on a page while next paragraph is on next one.

This also should be default for all 'title' styles.
Comment 2 Joel Madero 2014-05-28 15:37:43 UTC
Thank you for reporting this enhancement request! I can confirm that this is a valid enhancement request on:
Version: 4.3.0.0.alpha0+ Build ID: 84862db95a5e22b9ef89baa2a8a5deeffefbdef6
Date:   Thu Apr 24 21:43:16 2014 +0300
Platform: Ubuntu Linux 14.04 x64
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
As I've been able to confirm the enhancement request I am marking as:

New (confirmed)
Enhancement
Medium - seems pretty useful


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 3 deprez.maarten@gmail.com 2015-06-25 15:25:41 UTC
I need this too! I would like to use it to keep block citations (marked with specific style) together with the paragraphs before and  after them.

Note that the version i am using (4.4.3.2) has a bug / unexpected behavior as to the combination of "keep with next paragraph" and orphan/widow control options, which would be relevant for the "keep with previous paragraph" option too. Currently, setting the "keep with next paragraph" option seems to cause the orphan option to be ignored, causing the *whole* paragraph to be moved to the next page to accompany the next paragraph.

As an example: i have a 12-line paragraph with "keep with next" on and orphan/widow control both set to 3, followed by a five line paragraph with "do not split" option (but might as well have orphan/widow control  turned on). When these two paragraphs happen to be placed on a page boundary, both go to the next page, as if the first paragraph would have "do not split" enabled. I expect the first paragraph to fill as much of the first page as possible, preserving at least three lines for the next page to go with the next paragraph. The same should happen, of course, if the second paragraph had "keep with previous" enabled.
Comment 4 Alan Smithee 2016-03-09 03:13:59 UTC
This would be a great enhancement. Without it, I am forced to create "junk" styles simply to turn off the "keep with next" when I have multiple blocks of text that follow a general pattern.

Allowing the user to keep with the previous paragraph would eliminate a lot of the work and trouble associated with clumsy kludges like the above.
Comment 5 Regina Henschel 2017-12-22 19:07:12 UTC
*** Bug 114643 has been marked as a duplicate of this bug. ***