Hi, > Whats the <Module> for spreadsheets?
you need a "CalcWindowState.xcu" and don't forget to change "oor:name="WriterWindowState" " to >oor:name="CalcWindowState" see http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/AddOns/Toolbars >An extension can define the toolbar title with <Module>WindowState.xcu files. >The title of the toolbar must be set for >each module where the toolbar will appear. One such file is necessary for each module. Continuing the example, the >toolbar title for Writer module will be specified in a WriterWindowState.xcu file: ><?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="WriterWindowState" oor:package="org.openoffice.Office.UI"> > <node oor:name="UIElements"> > <node oor:name="States"> > <node > oor:name="private:resource/toolbar/addon_org.openoffice.Office.addon.example" oor:op="replace"> > <prop oor:name="UIName" oor:type="xs:string"> > <value xml:lang="en-US">My pretty bar</value> > </prop> > </node> > </node> > </node> ></oor:component-data> >The UIName property supports localization. >Each <Module>WindowState.xcu file must be declared as a configuration data >file in the manifest.xml file. regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
signature.asc
Description: OpenPGP digital signature