Difference between revisions of "Documentation/DevGuide/Extensions/Adding Several Leaves"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Extensions/Grouping of Leaves
 
|NextPage=Documentation/DevGuide/Extensions/Grouping of Leaves
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Extensions/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:Adding Several Leaves}}
 
{{DISPLAYTITLE:Adding Several Leaves}}
 
It may be necessary to add more then one leaf. This is easily done by just writing the next leaf definition after the previous:  
 
It may be necessary to add more then one leaf. This is easily done by just writing the next leaf definition after the previous:  
Line 44: Line 45:
 
In the example we have also added three other Leafs to the Calc Node.
 
In the example we have also added three other Leafs to the Calc Node.
  
{{Documentation/Caution|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.}}
+
{{Warn|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.}}
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Extensions]]
+
 
 +
[[Category:Documentation/Developer's Guide/Extensions]]

Latest revision as of 07:33, 12 July 2018



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