Hi, my addon (see http://www.danielnaber.de/languagetool/ for the base package, no OOo integration online yet) needs to know where it has been installed to load some external files that are part of its ZIP. I actually got this working in a different context (see http://api.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=566206) but now it's different, as I don't re-implement an existing service as before (the thesaurus). In the old solution, __getServiceFactory was called and I received an XMultiServiceFactory which could then be used to get the path I need by several complicated steps. In my new code, __getServiceFactory isn't called anymore and thus I have no instance of XMultiServiceFactory. So what I'm look for is the path like this: /home/dnaber/.openoffice2/user/uno_packages/cache/uno_packages/TXxcd8_/JLanguageTool.uno.zip/ Or a way to get XMultiServiceFactory so I can look up that path like it worked with my old code. You can see my current code here: http://cvs.sourceforge.net/viewcvs.py/languagetool/JLanguageTool/src/java/de/danielnaber/languagetool/openoffice/Main.java?rev=1.8&view=markup
Thanks Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
