Nice work. Would you mind packaging this using the Snippet-Creator and
submitting it to our snippet-collection?

http://codesnippets.services.openoffice.org/
http://www.paolo-mantovani.org/

Tom

Aidan Butler wrote:
> Hi,
> I also read through the "Programmatic control of Toolbar Items: ComboBox
> possible?" thread, and while I found it useful, it missed out some of
> the practical steps for creating the toolbar controller. I have attached
> some code which may be of use below. Compiling this code and registering
> it with unopkg will make it available for use as a toolbarcontroller in
> openoffice. Entries must then be added to the Controller.xcu to register
> the new controller and a toolbar definition must be created.
> 
> The code that will interest you most is the createItemWindow() method
> which creates teh comboBox for insertion into to Toolbar.
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to