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

--- Comment #24 from Regina Henschel <[email protected]> ---
Created attachment 205391
  --> https://bugs.documentfoundation.org/attachment.cgi?id=205391&action=edit
Proposed solution

Henry Castro has implemented methods GetBackColorArea() and
ExtendBackColorArea() in Nov. 2023, see "sc: extend backcolor area"
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4abe6c83e76f825319e8b2a0c0b8b8e92177da65
This work is connected with the feature that Autofilter can filter and sort
rows by color.

Pranam Lashkari has then moved the call of ExtendBackColorArea() from
gridwin.cxx
into ScDocument::GetFilterEntries() in documen3.cxx in Oct. 2024,
see "sc: make sure autofilter color area is caluculated"
https://cgit.freedesktop.org/libreoffice/core/commit/?id=570261954089695377cd6910b95fd3b6ee864062

And recently Balazs Varga has excluded this extending for a special case,
see "Do not extend DbDataRange automatically for TableStyles"
https://cgit.freedesktop.org/libreoffice/core/commit/?id=ef16ad5be600c3ba5ca1237e8066b254a51b43c6

I suggest to exclude extending in addition for the case the database range is a
named database range, see attached patch
What do you think about this idea?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to