hello,
i have the below addon.xcu file where i specify an icon image to use with my addon toolbar. however the toolbar button doesn't show the image and text. it only shows a dummy image. my image is 16x16 in size and stored in images folder.
can you please tell how to show a toolbar with icon and below it the text using the addon.xcu settings?
i remember in the past the addon generator of netbeans OO plugin was encoding the image icon as a binary hexadecimal code. but when it switched to use urls it no more works. does any one knows why is this? what url for image i should put? and if only accepts hexadecimal code how to convert my icon image to hexadecimal binary?
this issue is very strange..i'm not sure if someone else experience same issue as me.
OOo 3.4 and LibreOffice 3.4 on openSuse 11.4 + windows 7
ok is it possible i do it programmatically, try get my toolbar button then customize it by adding image icon and text, does anyone knows how to do that using java?
OOo 3.4 and LibreOffice 3.4 on openSuse 11.4 + windows 7
First, please try to ImageIdentifier node from your entry, it is different things from images defined in Images node.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
hanya wrote:First, please try to ImageIdentifier node from your entry, it is different things from images defined in Images node.
i did that i removed the ImageIdentifier and tried without it but same thing. it doesn't work. would you please try give a correct addon.xcu to use? am i doing mistakes in Addo.xcu? if yes can you point what mistake i'm doing?
OOo 3.4 and LibreOffice 3.4 on openSuse 11.4 + windows 7
- delete entirely the old code in comments, it will be more clear.
- of course verify that you really have an image named printer_network.png in subfolder /images/ of your extension.
- uninstall the old version of your extension; preferably restart OpenOffice; re-install the new version.
i did what you say. it doesn't work! . images folder contains printer_network.png image (16x16). updated the addon.xcu..results no icon is shown!
it only works if i hard code the binary hexadecimal under ImageSmall . if i specify a url image it doesn't work. maybe the
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
my extension oxt structure generated by netbeans IDE is attached. it seems it is not same structure. and the images folder is at top dir but the addon.xcu is below another folder structure under top folder 'registry'
othmanelmoulat wrote:my extension oxt structure generated by netbeans IDE is attached. it seems it is not same structure. and the images folder is at top dir but the addon.xcu is below another folder structure under top folder 'registry'
For that structure, you have to write the URL something like:
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
othmanelmoulat wrote:my extension oxt structure generated by netbeans IDE is attached. it seems it is not same structure. and the images folder is at top dir but the addon.xcu is below another folder structure under top folder 'registry'
For that structure, you have to write the URL something like:
thank you the icon is now displayed. but the text is not displayed under the icon image. is there a way to get both image icon and text displayed in button?
OOo 3.4 and LibreOffice 3.4 on openSuse 11.4 + windows 7
othmanelmoulat wrote:thank you the icon is now displayed. but the text is not displayed under the icon image. is there a way to get both image icon and text displayed in button?
You need to add additional configuration have to be added to your extension package written below. You have to follow B Marcelly's suggestion described above to enable the configuration.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
othmanelmoulat wrote:thank you the icon is now displayed. but the text is not displayed under the icon image. is there a way to get both image icon and text displayed in button?
You need to add additional configuration have to be added to your extension package written below. You have to follow B Marcelly's suggestion described above to enable the configuration.
in fact if i debug the extension from Netbeans IDE i can see both icon image and text. however if i install oxt from LO the text doesn't show beside the icon..this is strange issue .do you have an idea why is this happening?
OOo 3.4 and LibreOffice 3.4 on openSuse 11.4 + windows 7