[EMAIL PROTECTED] wrote:
Hi all,

I'm trying to use some internal OOo icons in an addon GUI. Thus I should use the
following identifier for the images: "private:image/<number>" where number is
the number of the image.

The problem is: where do we get an exhaustive list of these numbers ? I found
some coincidences between the numbers of the images in the res/ folder of the
images zips and this famous number, but it doesn't work for every icon. For
example: 3216 gives the icon of the macro editor (which corresponds to file
lx03216.png). However it doesn't work for 5504 which should give a printer icon
and gives nothing.

Do you have any idea to help me ?

Hi Cedric,

The "private:image/" URL scheme is an old implementation where you can reference all lx(nnnn)/sx(nnnn) images. The URL scheme is not able to reference images related command URLs/slots" The number 5504, which you want to use, is the deprecated slot number for the command URL ".uno:Print". You can use the command URL to reference the image. Please use ".uno:Print" instead of "private:image/5504" for ImageIdentifier and you should see the printer symbol.

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to