Difference between revisions of "Documentation/DevGuide/Extensions/Defining a Module"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m
Line 9: Line 9:
  
 
Here is an example of defining a Module.
 
Here is an example of defining a Module.
 
+
<source lang="xml">
  <nowiki><node oor:name="Modules">
+
  <node oor:name="Modules">
 
     <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
 
     <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
 
oor:op="fuse">
 
oor:op="fuse">
Line 16: Line 16:
 
oor:op="fuse">
 
oor:op="fuse">
 
       </node>
 
       </node>
     </node></nowiki>
+
     </node>
 
+
</source>
 
{{PDL1}}
 
{{PDL1}}
 
[[Category: Extensions]]
 
[[Category: Extensions]]

Revision as of 16:02, 23 March 2008



It is possible to define a Module of one's own. How an extension can provide a real module (not the type Module) is not part of this documentation. However, if this module does not exist, there won´t be an options dialog on behalf of this module and the Nodes assigned to it are not displayed. Only the options dialog from the Extension Manager may show the nodes because it does not depend on a particular module.

Here is an example of defining a Module.

  <node oor:name="Modules">
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
oor:op="fuse">
      <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module2"
oor:op="fuse">
      </node>
    </node>
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools