Hi Jörg, > What is the problem with the following addon.xcu? This functions in AOO 3.4.1 > (for example) but not in AOO 4.0.
aoo 4 requires a new element "ToolBarItems", see below. Regards Oliver > <?xml version='1.0' encoding='UTF-8'?> > <oor:component-data > xmlns:oor="http://openoffice.org/2001/registry" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > oor:name="Addons" > oor:package="org.openoffice.Office"> > <node oor:name="AddonUI"> > <node oor:name="OfficeToolBar"> > <node oor:name="Color2Rows.OfficeToolBar" > oor:op="replace"> <prop oor:name="Title"> <value>Toolbar-Title</value> </prop> <node oor:name="ToolBarItems"> > <node oor:name="m1" oor:op="replace"> > <prop oor:name="Context" > oor:type="xs:string"> > > <value>com.sun.star.sheet.SpreadsheetDocument</value> > </prop> > <prop oor:name="URL" > oor:type="xs:string"> > > <value>vnd.sun.star.script:Color2Rows.Mod_C2R.StartUp_C2R?language=Basic&location=application</value> > </prop> > <prop oor:name="ImageIdentifier" > oor:type="xs:string"> > > <value>%origin%/icons/image1</value> > </prop> > <prop oor:name="Title" > oor:type="xs:string"> > <value>Color2Rows</value> > </prop> > <prop oor:name="Target" > oor:type="xs:string"> > <value>_self</value> > </prop> </node> > </node> > </node> > </node> > </node> > </oor:component-data> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org