One step closer to creating my first OOo extension

So yesterday I finally figure out the XML that is needed to go into the definition for the Addon.xcu file in order to be displayed on the Help Menu. Rather than the default Tools Menu, this single node definitions allow my process to be allocated on a more logical area. Since my addon is to bring the OpenOffice.org website support a step closer to the user.After editing this line:<node oor:name="OfficeHelp"><node oor:name="org.openoffice.comp.pyuno.linuxmagazine.Stock.OfficeHelp.m1" oor:op="replace"> from the XCU file that I show here:<?xml version="1.0" encoding="UTF-8"?><oor:node 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="OfficeHelp">
<node oor:name="org.openoffice.comp.pyuno.linuxmagazine.Stock.OfficeHelp.m1" oor:op="replace">

<prop oor:name="Context" oor:type="xs:string">

<value></value>

</prop>

<prop oor:name="URL" oor:type="xs:string">

<value>service:org.openoffice.comp.pyuno.MailingListsSubscriber?insert</value>

</prop>

<prop oor:name="Title" oor:type="xs:string">

<value/>

<value xml:lang="en-US">Stock Market</value>

<value xml:lang="es">CotizaciÃÂ&sup3;n en Bolsa</value>

</prop>

<prop oor:name="Target" oor:type="xs:string">

<value>_self</value>

</prop>

<prop oor:name="ImageIdentifier" oor:type="xs:string">

<value>private:image/3216</value>

</prop>

</node>
</node> </node></oor:node>
I was able to zip it up next to the script and install it on the Extension Manager to generate something like this:

Media_httpwikiservice_msoue
Advertisements