Date: prev next · Thread: first prev next last
May 2020 Archives by date, by thread · List index


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

--- Comment #10 from Mike Kaganski <mikekaganski@hotmail.com> ---
(In reply to Heiko Tietze from comment #9)
... my model of PS > CS > DF

Heh, your model is wrong. In the simplified case of only considering two kinds
of formatting (paragraph vs character), the model is like "PS > paragraph-level
DF > CS > character-level DF".

Paragraph-level settings include all properties specific to paragraph (like
line spacing or indents), but *also* all character properties as some default
for the paragraph content. And if your DF applies to *characters* or to
*paragraph* depends on the selection at the moment of applying the DF. Of
course, when you select a couple of characters in the middle of a paragraph,
and modify left indent, that setting naturally goes to the paragraph level -
just because that setting can't be on character level. But when you define
underlining, *if you selected a couple characters in the middle*, it's a
character-level DF; and *if you selected the whole paragraph*, it's defined on
paragraph level. It's just a decision (I suppose, some UX-based), and it could
be defined differently (like always defining DF for character properties on
character level) - but I don't know what is broken by that.

However, that is irrelevant to this issue. Be the color and character style
defined on paragraph level, or on character level, would not change the
observed result of comment 0. Because what matters is that applying any style
only resets DF fro properties *defined in the style*, and the CS in question
("Example") defines only a single "font name" property, thus any other property
would not be modified (or overridden).

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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.