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


Hi Günter
On 30/04/11 12:56, Günter Heinendirk wrote:

And here my "real" problems started:
I want to have a dropdown element in the toolbar, which allows to choose between the available custom slide shows. Since I didn't know, which custom slide shows are existing, I need to fill the dropdown element "dynamically" during loading of the presentation.
It's possible to add a menubutton to a toolbar ( I think it might need to be a custom toolbar ) using an api enhancement I did some time ago, its been integrated in openoffice for quite some time so it also should work in libreoffice, you can find more details and an example/sample in this bug http://openoffice.org/bugzilla/show_bug.cgi?id=105626 Alternatively you could use the so-called 'complex' toolbar controls, a c++ example lives here 'http://opengrok.libreoffice.org/xref/sdk/odk/examples/cpp/complextoolbarcontrols/' be-warned though, it is truly awesome in it's awfulness combining obscure incomprehensible configuration and a mumbo-jumbo command based interface for manipulating the controls[1] some unhelpful documentation can be found here [2]

Noel

[1] http://wiki.services.openoffice.org/wiki/Framework/Article/Generic_UNO_Interfaces_for_complex_toolbar_controls [2] http://wiki.services.openoffice.org/wiki/UNO_component_packaging#Addons.xcu

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.