List Info

Thread: Adding pictures to a Component




Adding pictures to a Component
user name
2006-11-21 14:43:53
Hi Laurant,

> you have to add some more information in your xcu file
> have a look at Developeprs Guide
> http://api.openoffice.or
g/docs/DevelopersGuide/Components/Components.xhtml#1_7_3_Add
-Ons

OK. I have to add a Addons.xcu to my package. But my one
seems to be
wrong, because it cannot be activated. Here it is:
-----%<-----
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data xmlns:oor="http://open
office.org/2001/registry"
		xmlnss=&qu
ot;http://www.w3.
org/2001/XMLSchema"
		oor:name="Addons"
oor:package="org.openoffice.Office">
	<node oor:name="AddonUI">
	  <node oor:name="Images">
	    <node
or:name="de.twc.oocom.components.JudasSaveToComponent&q
uot; 	
oor:op="replace">
                <prop oor:name="URL"
oor:type="xs:string">
                    <value>.JudasSaveTo:</value>
                </prop>
                <node
oor:name=”UserDefinedImages”>
                    <prop
oor:name=”ImageSmallHCURL”>
                       
<value>%origin%/JudasSaveto_16.bmp</value>
                    </prop>
                    <prop
oor:name=”ImageBigHCURL”>
                       
<value>%origin%/JudasSaveto_26.bmp</value>
                    </prop>
                </node>
            </node>
        </node>
    </node>
</oor:component-data>
-----%<----

My CommandURL is ".JudasSaveTo:" and my Component
Servicename is
"de.twc.oocom.components.JudasSaveToComponent" and
the package the java
file resides in is:
de.twc.oocom.components.saveto.JudasSaveToComponent

For me it seems to be a very small error. Can you help me to
find it?

Greetings, Tobias

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )