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!?
Greetings, Tobias
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|