Hi, in my extension I have an .xcu file (beginning of file see below). How can I assign a keyboard shortcut to a menu item (e.g. node "010:edit:change")? The schema only offers to put an icon in the beginning of the menu line. But many LO menus have a shortcut defined at the end of the menu line, e.g. F1 for help.
Thanks, Jan <?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> <prop oor:name="ImageIdentifier" oor:type="xs:string"> <value/> </prop> <node oor:name="Submenu"> <node oor:name="010:edit" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> <value/> </prop> <prop oor:name="ImageIdentifier" oor:type="xs:string"> <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 oor:name="Submenu"> <node oor:name="010:edit:change" oor:op="replace"> <prop oor:name="URL" oor:type="xs:string"> <value>de.gmx.rheinlaender.jan.imath:edit:edit</value> </prop> <prop oor:name="ImageIdentifier" oor:type="xs:string"> <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> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice