Difference between revisions of "Documentation/DevGuide/Extensions/Absolute Position of Leaves"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Extensions)
(FINAL VERSION FOR L10N)
 
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Extensions/Grouping of Nodes
 
|NextPage=Documentation/DevGuide/Extensions/Grouping of Nodes
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Extensions/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:Absolute Position of Leaves}}
 
{{DISPLAYTITLE:Absolute Position of Leaves}}
 
When one defines a Node and Leaf|s for this Node at the same time then one would like to specify the position of those leaves as well. This can be done be defining group of Leafs which has the same name as the Node to which they are assigned. This group is special because its Leafs are the first which appear under the corresponding node in the tree view. Otherwise the use of GroupIndex and GroupId is identical as explained in “Grouping of Leaves”.
 
When one defines a Node and Leaf|s for this Node at the same time then one would like to specify the position of those leaves as well. This can be done be defining group of Leafs which has the same name as the Node to which they are assigned. This group is special because its Leafs are the first which appear under the corresponding node in the tree view. Otherwise the use of GroupIndex and GroupId is identical as explained in “Grouping of Leaves”.

Latest revision as of 10:16, 13 May 2009



When one defines a Node and Leaf|s for this Node at the same time then one would like to specify the position of those leaves as well. This can be done be defining group of Leafs which has the same name as the Node to which they are assigned. This group is special because its Leafs are the first which appear under the corresponding node in the tree view. Otherwise the use of GroupIndex and GroupId is identical as explained in “Grouping of Leaves”.

  <node oor:name="Nodes">
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3"
oor:op="fuse">
      <!-- leaving out some properties for the sake of brevity --> 
      <node oor:name="Leaves">
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3.leaf 3"
oor:op="fuse">
          <prop oor:name="GroupId">
            <value>org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3</value>
          </prop>
          <prop oor:name="GroupIndex">
            <value>2</value>
          </prop>
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3.leaf 1" oor:op="fuse">
          <prop oor:name="GroupId">
            <value>org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3</value>
          </prop>
          <prop oor:name="GroupIndex">
            <value>0</value>
          </prop>
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3.leaf 2"
oor:op="fuse">
          <prop oor:name="GroupId">
            <value>org.openoffice.framework.desktop.test.deployment.options.nodes2.node 3</value>
          </prop>
          <prop oor:name="GroupIndex">
            <value>2</value>
          </prop>
        </node>
      </node>
    </node>
  </node>
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages