Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.