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

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/Help Content
 
|NextPage=Documentation/DevGuide/Extensions/Help Content
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Extensions/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:Absolute Position of Nodes}}
 
{{DISPLAYTITLE:Absolute Position of Nodes}}
 
If one defines an own Module, then it is possible to define an order for the Nodes which one assigns to it. These Nodes will be the first which are displayed in the options dialog followed by the Nodes which have been assigned by others.
 
If one defines an own Module, then it is possible to define an order for the Nodes which one assigns to it. These Nodes will be the first which are displayed in the options dialog followed by the Nodes which have been assigned by others.

Revision as of 10:17, 13 May 2009



If one defines an own Module, then it is possible to define an order for the Nodes which one assigns to it. These Nodes will be the first which are displayed in the options dialog followed by the Nodes which have been assigned by others.

For example:

 <node oor:name="Modules">
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
oor:op="fuse">
      <node oor:name="Nodes"> 
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 1"
oor:op="fuse">
          <prop oor:name="Index">
            <value>0</value>
          </prop>
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 2"
oor:op="fuse">
          <prop oor:name="Index">
            <value>1</value>
          </prop>
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 3"
oor:op="fuse">
          <prop oor:name="Index">
            <value>2</value>
          </prop>
        </node>
      </node>
    </node>
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module2"
oor:op="fuse">
      <node oor:name="Nodes"> 
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 1"
oor:op="fuse">
          <prop oor:name="Index">
            <value>0</value>
          </prop>
        </node>
        <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 3"
oor:op="fuse">
          <prop oor:name="Index">
            <value>1</value>
          </prop>
        </node>
      </node>
    </node>
  </node>
 
  <node oor:name="Nodes">
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 3"
oor:op="fuse">
      <!-- leaving out some properties for the sake of brevity -->
    </node>
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 1"
oor:op="fuse">
      <!-- leaving out some properties for the sake of brevity -->
    </node>
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.node 2"
oor:op="fuse">
      <!-- leaving out some properties for the sake of brevity -->
    </node>
  </node>

As you can see, every Node which is assigned to a Module can be paired with an index (property Index).

Template:Documentation/Note

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages