Order of menu items

Jan Rheinländer jrheinlaender at gmx.de
Thu Jun 30 16:41:40 UTC 2016


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"
  <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 oor:name="Context" oor:type="xs:string">
          <node oor:name="Submenu">    
            <node oor:name="010:edit" oor:op="replace">
               <prop oor:name="URL" oor:type="xs:string">
               <prop oor:name="Title" oor:type="xs:string">
                  <value xml:lang="de">Bearbeiten</value>
                  <value xml:lang="en-US">Edit</value>
               <prop oor:name="Target" oor:type="xs:string">
             <node oor:name="020:insert" oor:op="replace">

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

Thanks for any ideas!

More information about the LibreOffice mailing list