public static bool ConfigureFromRegistry() { string path = LOEnvironment.GetLibreOfficeUnoPathFromRegistry(); if (!string.IsNullOrEmpty(path)) { LOEnvironment.RegisterInEnvironmentVariables(path); return(true); } else { return(false); } }
public static void ConfigureByUnoPath(string libreOfficeUnoPath) { LOEnvironment.RegisterInEnvironmentVariables(libreOfficeUnoPath); }