xcu file in extension - creating a new entry in menu Tools / Options

asked 2015-07-24 15:12:55 +0200

gmixaz gravatar image

updated 2015-07-24 15:13:52 +0200

I develop an extension and it adds a new entry in Tools / Options, in Calc menu. xcu file is following:

<oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office"
  xmlns:oor="http://openoffice.org/2001/registry"
  xmlns:xs="http://www.w2.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <node oor:name="Nodes">
      <node oor:name="Calc" oor:op="fuse">
        <node oor:name="Leaves">
        <node oor:name="org.openoffice.fish.FishOptionsPage" oor:op="fuse">
            <prop oor:name="Id">
              <value>org.openoffice.fish.FishOptionsPage</value>
            </prop>
            <prop oor:name="Label">
              <value xml:lang="en-US">Fish Options</value>
            </prop>
            <prop oor:name="OptionsPage">
              <value>%origin%/dialogs/FishSettings.xdl</value>
            </prop>
            <prop oor:name="EventHandlerService">
              <value>DialogEventHandler$_DialogEventHandler</value>
            </prop>
        </node>
      </node>
      </node>
    </node>
</oor:component-data>

But I would like to put it in separate root node, not into Calc one. Can it be done?

Also, what oor:op="fuse" means?

Pointers to relevant docs are appreciated.

TIA, Mike

edit retag flag offensive close merge delete