[GSoC] Improved Color Selection, Week 10

Krisztian Pinter pin.terminator at gmail.com
Wed Jul 30 15:39:25 PDT 2014


> *sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml*
> I don't see any reason touching that file.

I wanted to add a new color selection button, and this seems like the file
that describes the toolbar buttons and their order, so that's why I thought
I had to. Reading the other things you wrote, I probably won't have to. I
mainly wanted to do it for testing purposes.

> The problem here is with the macro SFX_IMPL_TOOLBOX_CONTROL that can be
> found
> at the top of tbcontrl.cxx. It takes the class name and the type of the
> status
> item. Currently SvxColorToolBoxControl is registered with SvxColorItem as a
> type, which is fine for most of the color commands, but not for the line
> color
> that use XLineColorItem as a type.

Thank you, this will be helpful!

All the best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140731/821ae77b/attachment.html>

More information about the LibreOffice mailing list