Adding Several Leaves

From Apache OpenOffice Wiki
Jump to: navigation, search



It may be necessary to add more then one leaf. This is easily done by just writing the next leaf definition after the previous:

  <node oor:name="Nodes">
    <node oor:name="Writer" oor:op="fuse">
      <node oor:name="Leaves">
        <node oor:name="oorg.openoffice.framework.desktop.test.deployment.options.leaves3.Writer.3" 
oor:op="fuse">
          <!-- leaving out the properties for the sake of brevity -->
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.leaves3.Writer.1" 
oor:op="fuse">
          <!-- leaving out the properties for the sake of brevity -->
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.leaves3.Writer.2"
oor:op="fuse">
        </node>
      </node>
    </node>
    <node oor:name="Calc" oor:op="fuse">
      <node oor:name="Leaves">
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.leaves3.Calc.3" 
oor:op="fuse">
          <!-- leaving out the properties for the sake of brevity -->
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.leaves3.Calc.1" 
oor:op="fuse">
          <!-- leaving out the properties for the sake of brevity -->
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.leaves3.Calc.2" 
oor:op="fuse">
          <!-- leaving out the properties for the sake of brevity -->
        </node>
      </node>
    </node>
  </node>

In the example we have also added three other Leafs to the Calc Node.

Documentation caution.png One Leaf can only be assigned to exactly one Node. If there is no suitable existing Node which is displayed in all options dialogs where one needs to display the own Leaf, then one should define a Node oneself and assign the Leaf to it.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages