On Thu, 2008-02-21 at 17:30 +0100, Carsten Driesner wrote:

> > 1) How do I associate a default icon for a command?
> There are two location where you have to change/add files to associate 
> an image to a command. One file is the corresponding Commands.xcu file 
> (officecfg/registry/data/org/openoffice/Office/UI/*Commands.xcu), where 
> you added the label for your command. The node defining the command must 
> have a property called "Properties" with the value 1. That means the 
> command has an associated image (see Commands.xcs for more information). 
> The other location contains the real icon image. It must be copied to 
> "default_images/res/commandimagelist". The image must have the name of 
> the command (without the schema), e.g. ".uno:Open" => "sc_open.png". The 
> prefix is used to determine which icon set is used (sc=small color, 
> lc=large color, sch=small color hicontrast, lch=large color hicontrast).
> 
> > 
> > 2) In case I want to use an existing icon until a new one is ready for
> > use, how do I "borrow" an existing icon for a new command?  Is that
> > possible?
> Yes, you can copy an existing image file. You have to use the naming 
> convention I described above.

Thank you Carsten.  It worked beautifully. :-)

Best regards,
Kohei


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

Reply via email to