Tobias Krais wrote:
> Hi Carsten,
>
>> Just have a look at the following Basic code
snippet. It adds a button
>> to the Writer standard bar and sets an image for
it. You have to adapt
>> the code to your environment (e.g. the path to the
image).
>
> the code looks very interesting. I would have to
translate it to java.
> Since I already add a menu item, it should not be the
problem to add the
> image, too. But I would prefer to deploy the image
within the uno
> package and to let it add automatically each time the
CommandURL is used
> for an item. Thus - I think - I have to prefer Laurants
solution!?
>
Hi Tobias,
The Addons.xcu way should be preferred, it's easier to use.
I thought
that you don't want to deploy anything. Therefore I provided
you another
solution which can be used without Addons.xcu.
Regards,
Carsten
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|