Hello ,

I am trying to solve the bug :
https://bugs.freedesktop.org/show_bug.cgi?id=55846 and I have already gone
through the files :
http://opengrok.libreoffice.org/search?q=&project=core&defs=FontSizeBox ,
http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunocontroller.cxx
and
other files related to the toolbox as well :
http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox.cxx ,
http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox2.cxx .
I am adopting the following approach :

1) If the toolbar is docked vertically , i.e. if(!bHorz) or the values are
such : meAlign = WINDOWALIGN_LEFT || meAlign = WINDOWALIGN_RIGHT , then the
FontSizeBox's representation as a MetricBox is converted to an image , can
you please tell me how do I get the ItemId of the image .

2) After getting the ItemId of the image in the vertical Toolbar , I want
to attach a handler to the image which creates a drop-down box as it does
for the FontSizeBox :
http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunocontroller.cxx
 .

I would like to ask about how and where do I attach the drop-down handler
to the fontsizebox image in the vertical toolbar ?
Any sort of help is appreciated :-)

Regards ,
Rushi
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to