Hello,

Ariel Constenla-Haile wrote:
I send a NB project to your mail (you may have to correct the library
dependency, as I'm working on a OOo 3.1).


Thanks Ariel. I finally get it to work. My Conclusion: Only with the informations from dev guide it is impossible to implement an extension with an option dialog. I had several problems, here is the short summarize for the list:

- I didn't understand that the main class from the nb addon project must implement the XContainerWindowEventHandler interface. I used a seperate class for this because in the dev guide it seems to be also a standalone class, but this class was never instantiated.

- The dev guide has an advice to use own package names and not "org.openoffice.Office" but obviously some xcu and xcs files must have this package name (e.g. the OptionsDialog.xcu where the path to the .xdl is defined).

- Jürgen said it make sense to use a folder structure like "/registry/data/org/openoffice/Office/" for the data-configuration files. But my experience is that for the OptionsDialog.xcu this doesn't work. The refered .xdl Dialog will only be displayed when the OptionsDialog.xcu is in the root folder of the extension.

regards
Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to