[Bug 164199] Control of inter-paragraph spacing for same-style paragraphs - beyond suppression

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 8 00:50:02 UTC 2024


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #12 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Eyal Rozenberg from comment #0)
> Paragraph styles indicate how much space to add before and after each
> paragraph; and there is also a binary toggle: "Do not add space between
> paragraphs of the same style".

> 
> So, there is a recognition that inter-paragraph spacing might be different
> when switching between (a sequence of) paragraphs of different styles, and
> when continuing from one paragraph to another when both are of the same
> style; but - why should this intra-sequence-of-paragraphs behavior have only
> two possibilities:
> 
> * No space at all
> * Same as when switching paragraph styles
> 
> ? 

That toggle exists for interoperability with MS Word.

> 
> I believe we need another option - the choice of setting some amount of
> space between consecutive paragraphs of the same style.

The space between paragraphs is given by the paragraph style.

> 
> Specific use cases:
> 
> * Lists of items, each of constituting a paragraph. You wan't to have some
> spacing between list items - but _more_ spacing between the list and the
> text surrounding it.

For that purpose there are the paragraph styles "List N Start", "List N Cont"
and "List N End". They are intended that the user can set the desired
distances.

> * Code listing: If your line of code somehow overflows and needs to wrap,
> you want there to be very little space (so line spacing is at most single
> and maybe even less, e.g. proportional 0.9 or so); and distinguished from
> this, you set some space between paragraphs, which correspond to actual
> non-wrapped lines in your code. And, again, you want a larger amount of
> space between the code listing as a block and the surrounding text.

Then use different styles for the code and for the text.

> 
> What we have to do now, as a workaround, is define a triplet of styles, for
> the first, second and middle paragraphs, which is just annoying.

When determine the distance between paragraphs of same style by a special
setting, you would still have to think about the distance above the first
paragraph and the distance below the end paragraph of such text portion. But
you are right in regard of the number of needed styles. The questions is,
whether that is worth the developer effort.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list