Page 1 of 1

[Solved] Import own Icon in AOO

Posted: Mon Oct 27, 2025 10:01 am
by clag
Hello to all
I have created three macros which handle zoom settings in a special way for Draw
I have the macros already imported in the Symbolbar and they appers there as Text which I could change so far so good .
than I want to set Icons istead of text but the AOO own Icons dot match and read I can import own Icons but they must be 16x16 or 26x26 pixel and stored as png file to im port so I created three own Icons in that format 26x26 as xxx.png each icon a single file
But than if I want import one AOO said wrong file format :(
what is the right way to import Icons ?

Re: import own Icon in AOO

Posted: Mon Oct 27, 2025 10:07 am
by robleyd
Your signature shows you are using OpenOffice 4.1.2 on WINDOWS XP SP3

Both are well outdated - can you please update your signature to tell what you are currently using.

Re: import own Icon in AOO

Posted: Mon Oct 27, 2025 10:08 am
by clag
sorry
just done :)

Re: import own Icon in AOO

Posted: Mon Oct 27, 2025 10:30 am
by clag
to all

oh oh shame on me
now I have shrinkt the 26x26 icon to 16x16 pixels and the Import works I should try that before :roll:
so the 26x26 info seems to be false

anyway thanks to all for reading

Re: [Solved] Import own Icon in AOO

Posted: Mon Oct 27, 2025 12:01 pm
by clag
an additional info
the 24x24, 32x32 ,also 48x48 pixel size of the icon can be imported
the imported 32x32 appears a little bit better than the 16x16 in the button bar for my eyes
finally yeah solved

Re: [Solved] Import own Icon in AOO

Posted: Mon Oct 27, 2025 8:33 pm
by cwolan
clag wrote: Mon Oct 27, 2025 10:01 am (...) so I created three own Icons in that format 26x26 as xxx.png each icon a single file
But than if I want import one AOO said wrong file format :(
clag wrote: Mon Oct 27, 2025 10:30 am now I have shrinkt the 26x26 icon to 16x16 pixels and the Import works I should try that before :roll:
so the 26x26 info seems to be false
I had no problem importing 26x26 .png file, be it for small (16x16) or large (26x26) icon size.
What was the said AOO message? Did you import icons in one go?

Re: [Solved] Import own Icon in AOO

Posted: Tue Oct 28, 2025 8:26 am
by clag
Hello cwolan
it drives me crazy yes now I can also import a 26x26 icon
ther error message at my first try was that " the propperties of the file are not correct " or likely , it was german
that was at the very first try to import an icon.

but now I struggle with something else
after all my tries to generate an icon with a clear appearance , I'm not realy satisfied with the results, I want go back to the text appearence in the button bar but I don't find a way to do so, the choosen icon glue now to the macro. I deleted all imported Icons and also removethe macros from the buttone bar, closed AOO start again, insert the macros ones more into the button bar and the selfmade Icon appears immediatly the option to generate a text is no more given, although this icon is no more shown in the icon collection. A reset of the symbole bar and relocate the origin icon files also doesn't change any the selmade icon appears if I try to to to bring this macro in the button bar. somewhere is still a connection between the icon and the macro
but where ?

Re: [Solved] Import own Icon in AOO

Posted: Tue Oct 28, 2025 11:12 pm
by cwolan
clag wrote: Mon Oct 27, 2025 10:01 am Hello to all
I have created three macros which handle zoom settings in a special way for Draw
clag wrote: Tue Oct 28, 2025 8:26 am somewhere is still a connection between the icon and the macro
but where ?
In your user profile, is there a file (...)\config\soffice.cfg\modules\sdraw\images\sc_imagelist.xml ?

Re: [Solved] Import own Icon in AOO

Posted: Wed Oct 29, 2025 8:43 am
by clag
yes you are right
there was this file and with exat that content where the icons are linked to the macros and also a png file which contains this three icons
knowledge is everything !

thanks for your support