Placement of addon toolbar

Jan Rheinländer jrheinlaender at gmx.de
Sun Sep 17 07:46:46 UTC 2017


Hi,

my Addon defines a toolbar with the following xml. The user can place
this toolbar anywhere on the screen, e.g. on the side.

But after every update of the Addon ("unopkg add"), the toolbar is back
at the top of the screen. Is there a way to prevent that?

<?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="WriterWindowState" oor:package="org.openoffice.Office.UI">
 <node oor:name="UIElements">
  <node oor:name="States">
   <node
oor:name="private:resource/toolbar/addon_de.gmx.rheinlaender.jan.imath"
oor:op="replace">
    <prop oor:name="ContextSensitive" oor:type="xs:boolean">
     <value>false</value>
    </prop>
    <prop oor:name="UIName" oor:type="xs:string">
     <value xml:lang="en-US">iMath</value>
     <value xml:lang="de">iMath</value>
    </prop>
    <prop oor:name="Visible" oor:type="xs:boolean">
     <value>true</value>
    </prop>
    <prop oor:name="Docked" oor:type="xs:boolean">
     <value>true</value>
    </prop>
   </node>
  </node>
 </node>
</oor:component-data>



More information about the LibreOffice mailing list