public static void Save(Stream stream) { if (globalStyleLibrary != null) { globalStyleLibrary.Save(stream); } }