Adding icons to the template manager

Jan Holesovsky kendy at suse.cz
Fri Nov 16 02:17:32 PST 2012


Hi Alex,

Alexander Wilms píše v Čt 15. 11. 2012 v 23:27 +0100:

> I pushed the icons already and now tried to compile it with your
> changes.
> The earlier issues are gone, but now the compiler is complaining about
> missing icon files:
> 
> [build RES] sfxen-US
> f268: Error: The image(s) <actionview026 actionview010 actionview025
> actionview028 actionaction012 actionaction013 actiontemplates015
> actiontemplates016 actiontemplates019 actiontemplates017
> actiontemplates020 actiontemplates018> could not be found.
> Terminating compiler
> make[2]: ***
> [/home/alexander/libo/workdir/unxlngx6.pro/ResTarget/sfxen-US.res]
> Fehler 1
> 
> What's a bit strange are the high indexes like 026 etc. Do you know
> whether there's some documentation on how one is supposed to name the
> files? I tried to find something via Google, but to no avail :/

That's expected - the indexes are not count according to their position
in the imagelist, but instead according to the IdList.  Check

sfx2/source/doc/templatedlg.hrc

for the values, eg.

#define TBI_TEMPLATE_REPOSITORY     26

ie. TBI_TEMPLATE_REPOSITORY will be actionview026, etc.

Sorry - I forgot about this detail in the previous mail.

All the best,
Kendy



More information about the LibreOffice mailing list