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

--- Comment #19 from Winfried Donkers <o...@dci-electronics.nl> 2012-01-19 
03:11:23 PST ---
Looks like I have solved the problem for the backgroundcolor. I wanted to use
the color as stored in the SvxFontColorExtToolBoxControl, but could not get to
the control from ScFormatShell::ExecuteAttr() (in formatsh.cxx). Now I have
used the same method as with writer: store the last used color in
ScTabViewShell. I am not proud of the solution (I'd still rather use the color
alreday stored in the control), but it works. I want to do some extra testing
and polishing of the code changes before I submit the patch.

The font color is handled differently; I don't see how I can put the needed
functionality in ScFormatShell::ExecuteAttr() (in formatsh.cxx) for this
control, so I'll leave that control as it is, unless someone has a suggestion
that helps me to do it.

-- 
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