Exemplo n.º 1
0
        private Theme GenerateTheme()
        {
            Theme theme = new Theme()
            {
                Name = "Office Theme"
            };

            theme.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            ThemeElements themeElements = new ThemeElements();

            themeElements.Append(GenerateColorScheme());

            theme.Append(themeElements);
            return(theme);
        }