After a working directory was mountet in the file system,
the UNO Component Wizard can be invoked with
New->OpenOffice.org SDK->UNO Component Package.

At first, you have to enter the name of the Java file and component, which
should be generated by the wizard.

The service setup panel will show you the implementation
name, the package, and the interfaces, which should be implemented by
the UNO Component. The service name must be inserted. In order to add your interface to the list of
interfaces, you have to press the button, which resides at the right
side of the list.

The next dialog shows the interfaces, which will be
implemented by your component. You have to add your interface to the list.

Now, you have to select your Interface Description Language
file from the filesystem. The icons in front of the IDL files are marked
with 'IDL'.

After selecting the IDL file the interface name is added
to the list of interfaces.

Also the service setup panel specifies the new interface.

Now you have to implement your functions for the spreadsheet
program. You have to replace the default return values of your new
functions, which are part of the file <COMPONENT_NAME>.java .

After all the component can be created by executing
the file Build_<COMPONENT_NAME>.xml .

In our example the output of the successful build process
looks like the following.

In your working directory you can find the generated URD files and the <COMPONENT_NAME>.rdb .The URD file contains the type information and has to be merged to an Office registry. Also the component <COMPONENT_NAME>.jar has to be registered at a registry.

|