<div dir="ltr">Hi!<div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
> *sd/uiconfig/sdraw/toolbar/drawingobjectbar.xml*<br>
I don't see any reason touching that file.<br></blockquote><div><br></div><div>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.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The problem here is with the macro SFX_IMPL_TOOLBOX_CONTROL that can be found<br>
at the top of tbcontrl.cxx. It takes the class name and the type of the status<br>
item. Currently SvxColorToolBoxControl is registered with SvxColorItem as a<br>
type, which is fine for most of the color commands, but not for the line color<br>
that use XLineColorItem as a type.<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Thank you, this will be helpful!</div><div><br></div><div>All the best,</div><div>Krisztian</div></div>
</div></div>