[Libreoffice-bugs] [Bug 107381] Default cell style colors shouldnt be included as document colors

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 10 04:57:20 UTC 2021


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

--- Comment #9 from Ming Hua <ming.v.hua at qq.com> ---
(In reply to Mike Kaganski from comment #8)
> IMO NOTABUG.
> 
> How do you define "used"? Suppose you assign a color to a style used in a
> conditional format (Calc), or make it a conditional style (writer), and the
> condition is not satisfied - is it used, or not? Suppose it's used in
> another style - like in a header of a page style: is it used or not? And
> e.g., the page style using the colored style might not be assigned manually,
> but be part of a page style sequence defined by "Next style" machinery - and
> then its appearance depends on current page count, which may depend on a
> huge number of variables - e.g., on the length of dynamic fields, or content
> of linked frames, etc.
> 
> In general, I'd suggest to keep it simple: it is used in style defined in
> the document = it is used in the document.
There are two counter-argument to this:

1. Calc differentiates "all styles" and "applied styles" in the Style sidebar. 
I think it would be much closer to the user's expectation that applied styles
count as "document colors", while the others don't.  AFAIK it's not possible to
define a conditional format without applying it to some cell range, so
conditional formats can all be considered applied.

2. Currently Writer's default paragraph styles don't seem to use any colors,
but the character styles do, e.g. the "Internet Link" style.  The color used by
these character styles don't show up as document colors unless said character
style is applied to some text.

-- 
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/20210710/0f59d8ff/attachment.htm>


More information about the Libreoffice-bugs mailing list