Order of menu items
Jan Rheinländer
jrheinlaender at gmx.de
Thu Jun 30 16:41:40 UTC 2016
Hi,
my extension adds a menu to the Office menu bar with an .xcu file. The
file starts like this:
<?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="OfficeMenuBar">
<node oor:name="de.gmx.rheinlaender.jan.imath" oor:op="replace">
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="de">iMath</value>
<value xml:lang="en-US">iMath</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.text.TextDocument,com.sun.star.text.GlobalDocument</value>
</prop>
<node oor:name="Submenu">
<node oor:name="010:edit" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>de.gmx.rheinlaender.jan.imath:edit</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value xml:lang="de">Bearbeiten</value>
<value xml:lang="en-US">Edit</value>
</prop>
<prop oor:name="Target" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="020:insert" oor:op="replace">
etc.etc.
As you can see I have numbered the nodes like 10:edit, next is
020:insert etc.
In Linux LO respects this order and arranges the menu items in order.
In Windows, it doesn't.
Is there any other way to define in which order the menu items should be
shown?
Thanks for any ideas!
Jan
More information about the LibreOffice
mailing list