예제 #1
0
        public static bool ConfigureFromRegistry()
        {
            string path = LOEnvironment.GetLibreOfficeUnoPathFromRegistry();

            if (!string.IsNullOrEmpty(path))
            {
                LOEnvironment.RegisterInEnvironmentVariables(path);
                return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #2
0
 public static void ConfigureByUnoPath(string libreOfficeUnoPath)
 {
     LOEnvironment.RegisterInEnvironmentVariables(libreOfficeUnoPath);
 }