https://bugs.freedesktop.org/show_bug.cgi?id=34425

--- Comment #10 from Winfried Donkers <o...@dci-electronics.nl> 2011-12-13 
04:20:27 PST ---
> Just dont hesitate to ask, if you need further hints. 

I'm stuck. The toolbar in scalc now uses SvxFontColorExtToolBoxControl (for
background and font color) which has 'double action'(apply color as shown on
button bitmap / choose from color palettte), but:
When you select a cell, the color shown on button bitmap is updated to the
color used in the cell. I need the color shown on button bitmap to change only
when a color has been choosen from the color palette, but I can't find a way.
Neither do I know where this 'change button bitmap color' is called when you
select a cell.
SvxFontColorExtToolBoxControl::StateChanged() is called, but I can't
differentiate between a caal originating from the button itself (color chosen
from palette)and from selecting a cell.

In swriter it works (the button bitmap color is not changed when you select
text with a different color or place your cursor somewhere and the last used
color is applied to a selection when you press the (left side) button.

help and or further hints would be much appreciated!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to