Help required
Rushi Shukla
rushboy52 at gmail.com
Tue Jan 22 08:10:42 PST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130122/5672cf52/attachment.html>
More information about the LibreOffice
mailing list