<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Default Character Style should be named "No Character Style" and all builtin character styles should inherit from "No Character Style", and "- None -" should be removed from Inherit From dropdown list"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140818#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Default Character Style should be named "No Character Style" and all builtin character styles should inherit from "No Character Style", and "- None -" should be removed from Inherit From dropdown list"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140818">bug 140818</a>
from <span class="vcard"><a class="email" href="mailto:sdc.blanco@youmail.dk" title="sdc.blanco@youmail.dk">sdc.blanco@youmail.dk</a>
</span></b>
<pre>(In reply to Regina Henschel from <a href="show_bug.cgi?id=140818#c6">comment #6</a>)
Thanks again for the detailed example.
<span class="quote">> > When "Inherit From" is "None" then values specified in "Contained" are
> > removed.
>
> No, see style RedBold. It has "None" but still defines values for the font
> color.</span >
Actually I think I am right here. Edit "RedBold" CS, go to Font Effects tab
and press "Standard". Font Color becomes Automatic (and Light Red no longer
appears in Contained). Similarly, on the "Font" tab, press "Standard" and Font
Style changes to "Regular". If you do both actions, then you will see that
Contains becomes empty for "RedBold" -- which is what my proposal says.
I also tried "Standard" on the "Borders" tab for "RedBoldAndBorder". I believe
it should inherit "RedBold" borders value, but I was not surprised that it did
not work because of <a class="bz_bug_link
bz_status_NEW "
title="NEW - Standard button in paragraph styles doesn't function for the highlighting or area tab"
href="show_bug.cgi?id=136339">bug 136339</a> (for Area and Highlighting). (I thought there
was also a bug report for Borders, but I could not find it, if it exists).
Because "Standard" only applies to a tab, maybe I should modify the formulation
to:
When "Inherit From" is "None" then any values on this tab, which are
specified in "Contained" are removed.
fwiw, I studied 16.2 <style:style> carefully before making my proposal, which
was motivated by the logic described in 16.2 <style:style>.
But I am happy that your detailed example is consistent with my auto-didactic
understanding, and also that my tooltip proposal "survived" the first empirical
challenge, presented by "RedBold".
But in this case, when the logic is specified, it seems better to follow that,
rather than work empirically (especially given the bugs).
My reasoning for character styles is that they are not applied to paragraphs
(because they are style definitions), so they will always end up with "none"
for paragraphs. But if paragraph styles do not define a property, then "an
implementation-dependent value is used." Here I admit that I trusted/guessed
that the implemented values for Character would match the implemented values
for Paragraph at the "bottom".
And was wondering if it would be better if LO used a <style:default-style> for
text family, which is permitted, but inspection of an LO .odt file indicates
that LO does not use it.
<span class="quote">> It is indeed a challenge, to describe this behavior in tooltips and to use
> adequate labels.</span >
The goal is only to describe accurately what happens when Standard is pressed
(independently of whether it communicates "why").</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>