[Libreoffice-bugs] [Bug 140818] Shouldn't all predefined (builtin) Character Styles inherit from Default Character Style?
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 5 12:44:48 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=140818
Regina Henschel <rb.henschel at t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb.henschel at t-online.de
--- Comment #1 from Regina Henschel <rb.henschel at t-online.de> ---
"Default Character Style" is not a style, but is the action to remove a
reference to a character style from a text range. That text range will then use
the character related settings in the paragraph style. So it is nothing, from
which you can inherit a style.
The current UI is bad in that it does not have a separator between "Default
Character Style" and the true styles, and in that the term "Default Character
Style" does not reflect, what this item does.
A style belongs to a "family", see
https://docs.oasis-open.org/office/OpenDocument/v1.3/cs02/part3-schema/OpenDocument-v1.3-cs02-part3-schema.html#__RefHeading__1417906_253892949
For character styles it would be family "text".
LibreOffice writes a style "Standard" for family "paragraph" which is used as
root for all predefined paragraph styles. A similar style does not exist for
family "text".
But I would not even try to define a "Character-Standard" style as root.
Because in that case, the attributes, which are missing in a character style
would not get their values from the paragraph where the text range resides, but
from one common root style.
For example: If you based the character style "Emphasis" on a common root
style, then it would get font, font size and language from there. But you want,
that "Emphasis" applied to a text range in a heading still uses font and font
size of the heading, or applied to a German quote in an English text will still
use German as language.
In other words, you want that a character style will use the settings of that
paragraph where the text range resides, to which the style is applied, for all
attributes, which are not explicitly set in the character style.
To achieve this, a common root style would need to be designed _not_ to set any
attribute values. But then such style would be empty.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210305/0f3426b1/attachment.htm>
More information about the Libreoffice-bugs
mailing list