On Wed, 29 Mar 2006 16:09:53 +0200 Svante Schubert <[EMAIL PROTECTED]> wrote:
> Hi Simon, > > some weeks ago I stumbled over the same problem as I wanted to > provide an UNO package with the new LaTex filter for testing [see 1]. > I ended up providing a UNO package with an additional JAR to be > copied into <OFFICE_PATH>/program/classes. > > The issue you mentioned will be fixed for the next major. > > Regards, > Svante > > [1] - http://www.openoffice.org/issues/show_bug.cgi?id=24813 > Thanks, so there is only the a chance to change the path self during the installation process of the uno-package. To query the filter settings from the configuration is not that problem, but it is possible to get a XComponentContext during the installation process. The context is need to get the MarcoExpander like: context.getValueByName("/singletons/com.sun.star.util.theMacroExpander"); and expand a path value and replace the values by hand in the filter configuration. But I would like to do this only during the setup process and then leave the settings untouched. Is there a chance to get the context inside registration-class with public static XSingleServiceFactory __getServiceFactory(String implName, XMultiServiceFactory multiFactory, XRegistryKey regKey) and public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) ? Best Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
