List Info

Thread: Adding pictures to a Component




Adding pictures to a Component
user name
2006-11-21 15:16:13
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-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )