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
Context
- Order of menu items · Jan Rheinländer
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.