IMHO, all this UI rubbish is not worth the pain. However, you can try to manipulate the menu manually via Tools>Customize... Just add some dummy pointing to anything. Then have a look which configuration file changed in which ways.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
I have not time to look in depth at this, but I know that the MRI extension uses an addons.xcu to place its entries onto /Tools /Addons menu. If you open the MRI-1.3.4.oxt with an archive manager you should be able to extract addons.xcu and examine its structure.
Tools>AddOns is what you get when you define entries below <node oor:name="AddonMenu"> (kind of "default menu").
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Sub Main
Dim oCfg as Object, oList as Object, oElem as Object
Dim aNode(0) As new com.sun.star.beans.PropertyValue
Dim sProvider$, sAccess$, sNode$, sName$
sName = "Dandy"
sProvider = "com.sun.star.configuration.ConfigurationProvider"
sAccess = "com.sun.star.configuration.ConfigurationUpdateAccess"
sNode = "/org.openoffice.Office.Common/Menus/Wizard/" 'org.openoffice.Office.Common"
oCfg = createUnoService(sProvider)
aNode(0).name= "nodepath"
aNode(0).Value = sNode
oList = oCfg.createInstanceWithArguments(sAccess, aNode())
oItem = oList.getElementNames()
For i = 0 to UBound(oItem)
If oItem(i) = sName then exit sub
Next i
oElem = oList.createInstance()
End sub
But this is far too complicated. And why can't this be inserted with an entry in the XML configuration?
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice