private void SetTheme(SLThemeTypeValues ThemeType) { switch (ThemeType) { case SLThemeTypeValues.Office: this.ThemeName = SLConstants.OfficeThemeName; this.MajorLatinFont = SLConstants.OfficeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OfficeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OfficeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OfficeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OfficeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OfficeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OfficeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OfficeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OfficeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OfficeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OfficeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OfficeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OfficeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OfficeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Office2013: this.ThemeName = SLConstants.Office2013ThemeName; this.MajorLatinFont = SLConstants.Office2013ThemeMajorLatinFont; this.MinorLatinFont = SLConstants.Office2013ThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.Office2013ThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.Office2013ThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.Office2013ThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.Office2013ThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.Office2013ThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.Office2013ThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.Office2013ThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Adjacency: this.ThemeName = SLConstants.AdjacencyThemeName; this.MajorLatinFont = SLConstants.AdjacencyThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AdjacencyThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AdjacencyThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AdjacencyThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AdjacencyThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AdjacencyThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AdjacencyThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AdjacencyThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Angles: this.ThemeName = SLConstants.AnglesThemeName; this.MajorLatinFont = SLConstants.AnglesThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AnglesThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AnglesThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AnglesThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AnglesThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AnglesThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AnglesThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AnglesThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AnglesThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AnglesThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AnglesThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AnglesThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AnglesThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AnglesThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Apex: this.ThemeName = SLConstants.ApexThemeName; this.MajorLatinFont = SLConstants.ApexThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ApexThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ApexThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ApexThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ApexThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ApexThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ApexThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ApexThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ApexThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ApexThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ApexThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ApexThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ApexThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ApexThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Apothecary: this.ThemeName = SLConstants.ApothecaryThemeName; this.MajorLatinFont = SLConstants.ApothecaryThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ApothecaryThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ApothecaryThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ApothecaryThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ApothecaryThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ApothecaryThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ApothecaryThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ApothecaryThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Aspect: this.ThemeName = SLConstants.AspectThemeName; this.MajorLatinFont = SLConstants.AspectThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AspectThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AspectThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AspectThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AspectThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AspectThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AspectThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AspectThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AspectThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AspectThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AspectThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AspectThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AspectThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AspectThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Austin: this.ThemeName = SLConstants.AustinThemeName; this.MajorLatinFont = SLConstants.AustinThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AustinThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AustinThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AustinThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AustinThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AustinThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AustinThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AustinThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AustinThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AustinThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AustinThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AustinThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AustinThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AustinThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.BlackTie: this.ThemeName = SLConstants.BlackTieThemeName; this.MajorLatinFont = SLConstants.BlackTieThemeMajorLatinFont; this.MinorLatinFont = SLConstants.BlackTieThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.BlackTieThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.BlackTieThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.BlackTieThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.BlackTieThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.BlackTieThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.BlackTieThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Civic: this.ThemeName = SLConstants.CivicThemeName; this.MajorLatinFont = SLConstants.CivicThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CivicThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CivicThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CivicThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CivicThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CivicThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CivicThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CivicThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CivicThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CivicThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CivicThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CivicThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CivicThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CivicThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Clarity: this.ThemeName = SLConstants.ClarityThemeName; this.MajorLatinFont = SLConstants.ClarityThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ClarityThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ClarityThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ClarityThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ClarityThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ClarityThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ClarityThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ClarityThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ClarityThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ClarityThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ClarityThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ClarityThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ClarityThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ClarityThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Composite: this.ThemeName = SLConstants.CompositeThemeName; this.MajorLatinFont = SLConstants.CompositeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CompositeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CompositeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CompositeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CompositeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CompositeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CompositeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CompositeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CompositeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CompositeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CompositeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CompositeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CompositeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CompositeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Concourse: this.ThemeName = SLConstants.ConcourseThemeName; this.MajorLatinFont = SLConstants.ConcourseThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ConcourseThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ConcourseThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ConcourseThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ConcourseThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ConcourseThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ConcourseThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ConcourseThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Couture: this.ThemeName = SLConstants.CoutureThemeName; this.MajorLatinFont = SLConstants.CoutureThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CoutureThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CoutureThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CoutureThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CoutureThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CoutureThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CoutureThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CoutureThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CoutureThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CoutureThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CoutureThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CoutureThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CoutureThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CoutureThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Elemental: this.ThemeName = SLConstants.ElementalThemeName; this.MajorLatinFont = SLConstants.ElementalThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ElementalThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ElementalThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ElementalThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ElementalThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ElementalThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ElementalThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ElementalThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ElementalThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ElementalThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ElementalThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ElementalThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ElementalThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ElementalThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Equity: this.ThemeName = SLConstants.EquityThemeName; this.MajorLatinFont = SLConstants.EquityThemeMajorLatinFont; this.MinorLatinFont = SLConstants.EquityThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.EquityThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.EquityThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.EquityThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.EquityThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.EquityThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.EquityThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.EquityThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.EquityThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.EquityThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.EquityThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.EquityThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.EquityThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Essential: this.ThemeName = SLConstants.EssentialThemeName; this.MajorLatinFont = SLConstants.EssentialThemeMajorLatinFont; this.MinorLatinFont = SLConstants.EssentialThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.EssentialThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.EssentialThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.EssentialThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.EssentialThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.EssentialThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.EssentialThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.EssentialThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.EssentialThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.EssentialThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.EssentialThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.EssentialThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.EssentialThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Executive: this.ThemeName = SLConstants.ExecutiveThemeName; this.MajorLatinFont = SLConstants.ExecutiveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ExecutiveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ExecutiveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ExecutiveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ExecutiveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ExecutiveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ExecutiveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ExecutiveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Facet: this.ThemeName = SLConstants.FacetThemeName; this.MajorLatinFont = SLConstants.FacetThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FacetThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FacetThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FacetThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FacetThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FacetThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FacetThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FacetThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FacetThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FacetThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FacetThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FacetThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FacetThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FacetThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Flow: this.ThemeName = SLConstants.FlowThemeName; this.MajorLatinFont = SLConstants.FlowThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FlowThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FlowThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FlowThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FlowThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FlowThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FlowThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FlowThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FlowThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FlowThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FlowThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FlowThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FlowThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FlowThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Foundry: this.ThemeName = SLConstants.FoundryThemeName; this.MajorLatinFont = SLConstants.FoundryThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FoundryThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FoundryThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FoundryThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FoundryThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FoundryThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FoundryThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FoundryThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FoundryThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FoundryThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FoundryThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FoundryThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FoundryThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FoundryThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Grid: this.ThemeName = SLConstants.GridThemeName; this.MajorLatinFont = SLConstants.GridThemeMajorLatinFont; this.MinorLatinFont = SLConstants.GridThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.GridThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.GridThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.GridThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.GridThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.GridThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.GridThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.GridThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.GridThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.GridThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.GridThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.GridThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.GridThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Hardcover: this.ThemeName = SLConstants.HardcoverThemeName; this.MajorLatinFont = SLConstants.HardcoverThemeMajorLatinFont; this.MinorLatinFont = SLConstants.HardcoverThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.HardcoverThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.HardcoverThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.HardcoverThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.HardcoverThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.HardcoverThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.HardcoverThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Horizon: this.ThemeName = SLConstants.HorizonThemeName; this.MajorLatinFont = SLConstants.HorizonThemeMajorLatinFont; this.MinorLatinFont = SLConstants.HorizonThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.HorizonThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.HorizonThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.HorizonThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.HorizonThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.HorizonThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.HorizonThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.HorizonThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.HorizonThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.HorizonThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.HorizonThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.HorizonThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.HorizonThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Integral: this.ThemeName = SLConstants.IntegralThemeName; this.MajorLatinFont = SLConstants.IntegralThemeMajorLatinFont; this.MinorLatinFont = SLConstants.IntegralThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.IntegralThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.IntegralThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.IntegralThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.IntegralThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.IntegralThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.IntegralThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.IntegralThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.IntegralThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.IntegralThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.IntegralThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.IntegralThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.IntegralThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Ion: this.ThemeName = SLConstants.IonThemeName; this.MajorLatinFont = SLConstants.IonThemeMajorLatinFont; this.MinorLatinFont = SLConstants.IonThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.IonThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.IonThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.IonThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.IonThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.IonThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.IonThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.IonThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.IonThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.IonThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.IonThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.IonThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.IonThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.IonBoardroom: this.ThemeName = SLConstants.IonBoardroomThemeName; this.MajorLatinFont = SLConstants.IonBoardroomThemeMajorLatinFont; this.MinorLatinFont = SLConstants.IonBoardroomThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.IonBoardroomThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.IonBoardroomThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.IonBoardroomThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.IonBoardroomThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.IonBoardroomThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.IonBoardroomThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.IonBoardroomThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Median: this.ThemeName = SLConstants.MedianThemeName; this.MajorLatinFont = SLConstants.MedianThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MedianThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MedianThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MedianThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MedianThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MedianThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MedianThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MedianThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MedianThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MedianThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MedianThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MedianThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MedianThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MedianThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Metro: this.ThemeName = SLConstants.MetroThemeName; this.MajorLatinFont = SLConstants.MetroThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MetroThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MetroThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MetroThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MetroThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MetroThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MetroThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MetroThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MetroThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MetroThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MetroThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MetroThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MetroThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MetroThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Module: this.ThemeName = SLConstants.ModuleThemeName; this.MajorLatinFont = SLConstants.ModuleThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ModuleThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ModuleThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ModuleThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ModuleThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ModuleThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ModuleThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ModuleThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ModuleThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ModuleThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ModuleThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ModuleThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ModuleThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ModuleThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Newsprint: this.ThemeName = SLConstants.NewsprintThemeName; this.MajorLatinFont = SLConstants.NewsprintThemeMajorLatinFont; this.MinorLatinFont = SLConstants.NewsprintThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.NewsprintThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.NewsprintThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.NewsprintThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.NewsprintThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.NewsprintThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.NewsprintThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Opulent: this.ThemeName = SLConstants.OpulentThemeName; this.MajorLatinFont = SLConstants.OpulentThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OpulentThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OpulentThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OpulentThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OpulentThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OpulentThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OpulentThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OpulentThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OpulentThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OpulentThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OpulentThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OpulentThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OpulentThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OpulentThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Organic: this.ThemeName = SLConstants.OrganicThemeName; this.MajorLatinFont = SLConstants.OrganicThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OrganicThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OrganicThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OrganicThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OrganicThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OrganicThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OrganicThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OrganicThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OrganicThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OrganicThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OrganicThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OrganicThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OrganicThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OrganicThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Oriel: this.ThemeName = SLConstants.OrielThemeName; this.MajorLatinFont = SLConstants.OrielThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OrielThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OrielThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OrielThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OrielThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OrielThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OrielThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OrielThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OrielThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OrielThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OrielThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OrielThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OrielThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OrielThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Origin: this.ThemeName = SLConstants.OriginThemeName; this.MajorLatinFont = SLConstants.OriginThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OriginThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OriginThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OriginThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OriginThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OriginThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OriginThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OriginThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OriginThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OriginThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OriginThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OriginThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OriginThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OriginThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Paper: this.ThemeName = SLConstants.PaperThemeName; this.MajorLatinFont = SLConstants.PaperThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PaperThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PaperThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PaperThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PaperThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PaperThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PaperThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PaperThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PaperThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PaperThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PaperThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PaperThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PaperThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PaperThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Perspective: this.ThemeName = SLConstants.PerspectiveThemeName; this.MajorLatinFont = SLConstants.PerspectiveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PerspectiveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PerspectiveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PerspectiveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PerspectiveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PerspectiveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PerspectiveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PerspectiveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Pushpin: this.ThemeName = SLConstants.PushpinThemeName; this.MajorLatinFont = SLConstants.PushpinThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PushpinThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PushpinThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PushpinThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PushpinThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PushpinThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PushpinThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PushpinThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PushpinThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PushpinThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PushpinThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PushpinThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PushpinThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PushpinThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Retrospect: this.ThemeName = SLConstants.RetrospectThemeName; this.MajorLatinFont = SLConstants.RetrospectThemeMajorLatinFont; this.MinorLatinFont = SLConstants.RetrospectThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.RetrospectThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.RetrospectThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.RetrospectThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.RetrospectThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.RetrospectThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.RetrospectThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.RetrospectThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Slice: this.ThemeName = SLConstants.SliceThemeName; this.MajorLatinFont = SLConstants.SliceThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SliceThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SliceThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SliceThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SliceThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SliceThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SliceThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SliceThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SliceThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SliceThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SliceThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SliceThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SliceThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SliceThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Slipstream: this.ThemeName = SLConstants.SlipstreamThemeName; this.MajorLatinFont = SLConstants.SlipstreamThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SlipstreamThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SlipstreamThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SlipstreamThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SlipstreamThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SlipstreamThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SlipstreamThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SlipstreamThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Solstice: this.ThemeName = SLConstants.SolsticeThemeName; this.MajorLatinFont = SLConstants.SolsticeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SolsticeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SolsticeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SolsticeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SolsticeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SolsticeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SolsticeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SolsticeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Technic: this.ThemeName = SLConstants.TechnicThemeName; this.MajorLatinFont = SLConstants.TechnicThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TechnicThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TechnicThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TechnicThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TechnicThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TechnicThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TechnicThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TechnicThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TechnicThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TechnicThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TechnicThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TechnicThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TechnicThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TechnicThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Thatch: this.ThemeName = SLConstants.ThatchThemeName; this.MajorLatinFont = SLConstants.ThatchThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ThatchThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ThatchThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ThatchThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ThatchThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ThatchThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ThatchThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ThatchThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ThatchThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ThatchThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ThatchThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ThatchThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ThatchThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ThatchThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Trek: this.ThemeName = SLConstants.TrekThemeName; this.MajorLatinFont = SLConstants.TrekThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TrekThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TrekThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TrekThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TrekThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TrekThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TrekThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TrekThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TrekThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TrekThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TrekThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TrekThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TrekThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TrekThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Urban: this.ThemeName = SLConstants.UrbanThemeName; this.MajorLatinFont = SLConstants.UrbanThemeMajorLatinFont; this.MinorLatinFont = SLConstants.UrbanThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.UrbanThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.UrbanThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.UrbanThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.UrbanThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.UrbanThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.UrbanThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.UrbanThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.UrbanThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.UrbanThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.UrbanThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.UrbanThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.UrbanThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Verve: this.ThemeName = SLConstants.VerveThemeName; this.MajorLatinFont = SLConstants.VerveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.VerveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.VerveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.VerveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.VerveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.VerveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.VerveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.VerveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.VerveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.VerveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.VerveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.VerveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.VerveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.VerveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Waveform: this.ThemeName = SLConstants.WaveformThemeName; this.MajorLatinFont = SLConstants.WaveformThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WaveformThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WaveformThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WaveformThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WaveformThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WaveformThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WaveformThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WaveformThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WaveformThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WaveformThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WaveformThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WaveformThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WaveformThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WaveformThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Wisp: this.ThemeName = SLConstants.WispThemeName; this.MajorLatinFont = SLConstants.WispThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WispThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WispThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WispThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WispThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WispThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WispThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WispThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WispThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WispThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WispThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WispThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WispThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WispThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Autumn: this.ThemeName = SLConstants.AutumnThemeName; this.MajorLatinFont = SLConstants.AutumnThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AutumnThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AutumnThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AutumnThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AutumnThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AutumnThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AutumnThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AutumnThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AutumnThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AutumnThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AutumnThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AutumnThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AutumnThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AutumnThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Banded: this.ThemeName = SLConstants.BandedThemeName; this.MajorLatinFont = SLConstants.BandedThemeMajorLatinFont; this.MinorLatinFont = SLConstants.BandedThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.BandedThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.BandedThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.BandedThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.BandedThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.BandedThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.BandedThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.BandedThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.BandedThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.BandedThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.BandedThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.BandedThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.BandedThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Basis: this.ThemeName = SLConstants.BasisThemeName; this.MajorLatinFont = SLConstants.BasisThemeMajorLatinFont; this.MinorLatinFont = SLConstants.BasisThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.BasisThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.BasisThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.BasisThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.BasisThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.BasisThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.BasisThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.BasisThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.BasisThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.BasisThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.BasisThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.BasisThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.BasisThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Berlin: this.ThemeName = SLConstants.BerlinThemeName; this.MajorLatinFont = SLConstants.BerlinThemeMajorLatinFont; this.MinorLatinFont = SLConstants.BerlinThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.BerlinThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.BerlinThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.BerlinThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.BerlinThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.BerlinThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.BerlinThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.BerlinThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.BerlinThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.BerlinThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.BerlinThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.BerlinThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.BerlinThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Celestial: this.ThemeName = SLConstants.CelestialThemeName; this.MajorLatinFont = SLConstants.CelestialThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CelestialThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CelestialThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CelestialThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CelestialThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CelestialThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CelestialThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CelestialThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CelestialThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CelestialThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CelestialThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CelestialThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CelestialThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CelestialThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Circuit: this.ThemeName = SLConstants.CircuitThemeName; this.MajorLatinFont = SLConstants.CircuitThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CircuitThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CircuitThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CircuitThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CircuitThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CircuitThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CircuitThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CircuitThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CircuitThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CircuitThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CircuitThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CircuitThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CircuitThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CircuitThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Damask: this.ThemeName = SLConstants.DamaskThemeName; this.MajorLatinFont = SLConstants.DamaskThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DamaskThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DamaskThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DamaskThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DamaskThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DamaskThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DamaskThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DamaskThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DamaskThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DamaskThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DamaskThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DamaskThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DamaskThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DamaskThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Decatur: this.ThemeName = SLConstants.DecaturThemeName; this.MajorLatinFont = SLConstants.DecaturThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DecaturThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DecaturThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DecaturThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DecaturThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DecaturThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DecaturThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DecaturThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DecaturThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DecaturThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DecaturThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DecaturThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DecaturThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DecaturThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Depth: this.ThemeName = SLConstants.DepthThemeName; this.MajorLatinFont = SLConstants.DepthThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DepthThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DepthThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DepthThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DepthThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DepthThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DepthThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DepthThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DepthThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DepthThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DepthThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DepthThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DepthThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DepthThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Dividend: this.ThemeName = SLConstants.DividendThemeName; this.MajorLatinFont = SLConstants.DividendThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DividendThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DividendThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DividendThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DividendThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DividendThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DividendThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DividendThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DividendThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DividendThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DividendThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DividendThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DividendThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DividendThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Droplet: this.ThemeName = SLConstants.DropletThemeName; this.MajorLatinFont = SLConstants.DropletThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DropletThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DropletThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DropletThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DropletThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DropletThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DropletThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DropletThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DropletThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DropletThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DropletThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DropletThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DropletThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DropletThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Frame: this.ThemeName = SLConstants.FrameThemeName; this.MajorLatinFont = SLConstants.FrameThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FrameThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FrameThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FrameThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FrameThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FrameThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FrameThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FrameThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FrameThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FrameThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FrameThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FrameThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FrameThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FrameThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Kilter: this.ThemeName = SLConstants.KilterThemeName; this.MajorLatinFont = SLConstants.KilterThemeMajorLatinFont; this.MinorLatinFont = SLConstants.KilterThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.KilterThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.KilterThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.KilterThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.KilterThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.KilterThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.KilterThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.KilterThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.KilterThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.KilterThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.KilterThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.KilterThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.KilterThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Macro: this.ThemeName = SLConstants.MacroThemeName; this.MajorLatinFont = SLConstants.MacroThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MacroThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MacroThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MacroThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MacroThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MacroThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MacroThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MacroThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MacroThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MacroThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MacroThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MacroThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MacroThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MacroThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.MainEvent: this.ThemeName = SLConstants.MainEventThemeName; this.MajorLatinFont = SLConstants.MainEventThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MainEventThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MainEventThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MainEventThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MainEventThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MainEventThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MainEventThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MainEventThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MainEventThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MainEventThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MainEventThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MainEventThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MainEventThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MainEventThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Mesh: this.ThemeName = SLConstants.MeshThemeName; this.MajorLatinFont = SLConstants.MeshThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MeshThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MeshThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MeshThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MeshThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MeshThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MeshThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MeshThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MeshThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MeshThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MeshThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MeshThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MeshThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MeshThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Metropolitan: this.ThemeName = SLConstants.MetropolitanThemeName; this.MajorLatinFont = SLConstants.MetropolitanThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MetropolitanThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MetropolitanThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MetropolitanThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MetropolitanThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MetropolitanThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MetropolitanThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MetropolitanThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MetropolitanThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Mylar: this.ThemeName = SLConstants.MylarThemeName; this.MajorLatinFont = SLConstants.MylarThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MylarThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MylarThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MylarThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MylarThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MylarThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MylarThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MylarThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MylarThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MylarThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MylarThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MylarThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MylarThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MylarThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Parallax: this.ThemeName = SLConstants.ParallaxThemeName; this.MajorLatinFont = SLConstants.ParallaxThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ParallaxThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ParallaxThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ParallaxThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ParallaxThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ParallaxThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ParallaxThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ParallaxThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ParallaxThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Quotable: this.ThemeName = SLConstants.QuotableThemeName; this.MajorLatinFont = SLConstants.QuotableThemeMajorLatinFont; this.MinorLatinFont = SLConstants.QuotableThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.QuotableThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.QuotableThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.QuotableThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.QuotableThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.QuotableThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.QuotableThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.QuotableThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.QuotableThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.QuotableThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.QuotableThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.QuotableThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.QuotableThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Savon: this.ThemeName = SLConstants.SavonThemeName; this.MajorLatinFont = SLConstants.SavonThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SavonThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SavonThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SavonThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SavonThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SavonThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SavonThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SavonThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SavonThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SavonThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SavonThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SavonThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SavonThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SavonThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Sketchbook: this.ThemeName = SLConstants.SketchbookThemeName; this.MajorLatinFont = SLConstants.SketchbookThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SketchbookThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SketchbookThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SketchbookThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SketchbookThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SketchbookThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SketchbookThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SketchbookThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Slate: this.ThemeName = SLConstants.SlateThemeName; this.MajorLatinFont = SLConstants.SlateThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SlateThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SlateThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SlateThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SlateThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SlateThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SlateThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SlateThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SlateThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SlateThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SlateThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SlateThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SlateThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SlateThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Soho: this.ThemeName = SLConstants.SohoThemeName; this.MajorLatinFont = SLConstants.SohoThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SohoThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SohoThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SohoThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SohoThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SohoThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SohoThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SohoThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SohoThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SohoThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SohoThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SohoThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SohoThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SohoThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Spring: this.ThemeName = SLConstants.SpringThemeName; this.MajorLatinFont = SLConstants.SpringThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SpringThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SpringThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SpringThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SpringThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SpringThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SpringThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SpringThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SpringThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SpringThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SpringThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SpringThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SpringThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SpringThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Summer: this.ThemeName = SLConstants.SummerThemeName; this.MajorLatinFont = SLConstants.SummerThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SummerThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SummerThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SummerThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SummerThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SummerThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SummerThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SummerThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SummerThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SummerThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SummerThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SummerThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SummerThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SummerThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Thermal: this.ThemeName = SLConstants.ThermalThemeName; this.MajorLatinFont = SLConstants.ThermalThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ThermalThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ThermalThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ThermalThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ThermalThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ThermalThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ThermalThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ThermalThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ThermalThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ThermalThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ThermalThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ThermalThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ThermalThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ThermalThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Tradeshow: this.ThemeName = SLConstants.TradeshowThemeName; this.MajorLatinFont = SLConstants.TradeshowThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TradeshowThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TradeshowThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TradeshowThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TradeshowThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TradeshowThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TradeshowThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TradeshowThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.UrbanPop: this.ThemeName = SLConstants.UrbanPopThemeName; this.MajorLatinFont = SLConstants.UrbanPopThemeMajorLatinFont; this.MinorLatinFont = SLConstants.UrbanPopThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.UrbanPopThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.UrbanPopThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.UrbanPopThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.UrbanPopThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.UrbanPopThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.UrbanPopThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.VaporTrail: this.ThemeName = SLConstants.VaporTrailThemeName; this.MajorLatinFont = SLConstants.VaporTrailThemeMajorLatinFont; this.MinorLatinFont = SLConstants.VaporTrailThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.VaporTrailThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.VaporTrailThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.VaporTrailThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.VaporTrailThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.VaporTrailThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.VaporTrailThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.VaporTrailThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.View: this.ThemeName = SLConstants.ViewThemeName; this.MajorLatinFont = SLConstants.ViewThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ViewThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ViewThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ViewThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ViewThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ViewThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ViewThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ViewThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ViewThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ViewThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ViewThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ViewThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ViewThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ViewThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Winter: this.ThemeName = SLConstants.WinterThemeName; this.MajorLatinFont = SLConstants.WinterThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WinterThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WinterThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WinterThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WinterThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WinterThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WinterThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WinterThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WinterThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WinterThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WinterThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WinterThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WinterThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WinterThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.WoodType: this.ThemeName = SLConstants.WoodTypeThemeName; this.MajorLatinFont = SLConstants.WoodTypeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WoodTypeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WoodTypeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WoodTypeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WoodTypeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WoodTypeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WoodTypeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WoodTypeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WoodTypeThemeFollowedHyperlinkColor); break; } }
/// <summary> /// Initialize an instance of SLThemeSettings with a given theme. /// </summary> /// <param name="ThemeType">A built-in theme.</param> public SLThemeSettings(SLThemeTypeValues ThemeType) { this.SetTheme(ThemeType); }
private void SetTheme(SLThemeTypeValues ThemeType) { switch (ThemeType) { case SLThemeTypeValues.Office: this.ThemeName = SLConstants.OfficeThemeName; this.MajorLatinFont = SLConstants.OfficeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OfficeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OfficeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OfficeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OfficeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OfficeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OfficeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OfficeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OfficeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OfficeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OfficeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OfficeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OfficeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OfficeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Adjacency: this.ThemeName = SLConstants.AdjacencyThemeName; this.MajorLatinFont = SLConstants.AdjacencyThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AdjacencyThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AdjacencyThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AdjacencyThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AdjacencyThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AdjacencyThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AdjacencyThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AdjacencyThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AdjacencyThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Angles: this.ThemeName = SLConstants.AnglesThemeName; this.MajorLatinFont = SLConstants.AnglesThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AnglesThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AnglesThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AnglesThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AnglesThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AnglesThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AnglesThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AnglesThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AnglesThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AnglesThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AnglesThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AnglesThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AnglesThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AnglesThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Apex: this.ThemeName = SLConstants.ApexThemeName; this.MajorLatinFont = SLConstants.ApexThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ApexThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ApexThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ApexThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ApexThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ApexThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ApexThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ApexThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ApexThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ApexThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ApexThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ApexThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ApexThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ApexThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Apothecary: this.ThemeName = SLConstants.ApothecaryThemeName; this.MajorLatinFont = SLConstants.ApothecaryThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ApothecaryThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ApothecaryThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ApothecaryThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ApothecaryThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ApothecaryThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ApothecaryThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ApothecaryThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ApothecaryThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Aspect: this.ThemeName = SLConstants.AspectThemeName; this.MajorLatinFont = SLConstants.AspectThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AspectThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AspectThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AspectThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AspectThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AspectThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AspectThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AspectThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AspectThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AspectThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AspectThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AspectThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AspectThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AspectThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Austin: this.ThemeName = SLConstants.AustinThemeName; this.MajorLatinFont = SLConstants.AustinThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AustinThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AustinThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AustinThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AustinThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AustinThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AustinThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AustinThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AustinThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AustinThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AustinThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AustinThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AustinThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AustinThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.BlackTie: this.ThemeName = SLConstants.BlackTieThemeName; this.MajorLatinFont = SLConstants.BlackTieThemeMajorLatinFont; this.MinorLatinFont = SLConstants.BlackTieThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.BlackTieThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.BlackTieThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.BlackTieThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.BlackTieThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.BlackTieThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.BlackTieThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.BlackTieThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Civic: this.ThemeName = SLConstants.CivicThemeName; this.MajorLatinFont = SLConstants.CivicThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CivicThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CivicThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CivicThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CivicThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CivicThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CivicThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CivicThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CivicThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CivicThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CivicThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CivicThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CivicThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CivicThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Clarity: this.ThemeName = SLConstants.ClarityThemeName; this.MajorLatinFont = SLConstants.ClarityThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ClarityThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ClarityThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ClarityThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ClarityThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ClarityThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ClarityThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ClarityThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ClarityThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ClarityThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ClarityThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ClarityThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ClarityThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ClarityThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Composite: this.ThemeName = SLConstants.CompositeThemeName; this.MajorLatinFont = SLConstants.CompositeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CompositeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CompositeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CompositeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CompositeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CompositeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CompositeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CompositeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CompositeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CompositeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CompositeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CompositeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CompositeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CompositeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Concourse: this.ThemeName = SLConstants.ConcourseThemeName; this.MajorLatinFont = SLConstants.ConcourseThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ConcourseThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ConcourseThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ConcourseThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ConcourseThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ConcourseThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ConcourseThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ConcourseThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ConcourseThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Couture: this.ThemeName = SLConstants.CoutureThemeName; this.MajorLatinFont = SLConstants.CoutureThemeMajorLatinFont; this.MinorLatinFont = SLConstants.CoutureThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.CoutureThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.CoutureThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.CoutureThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.CoutureThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.CoutureThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.CoutureThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.CoutureThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.CoutureThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.CoutureThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.CoutureThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.CoutureThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.CoutureThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Elemental: this.ThemeName = SLConstants.ElementalThemeName; this.MajorLatinFont = SLConstants.ElementalThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ElementalThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ElementalThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ElementalThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ElementalThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ElementalThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ElementalThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ElementalThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ElementalThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ElementalThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ElementalThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ElementalThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ElementalThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ElementalThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Equity: this.ThemeName = SLConstants.EquityThemeName; this.MajorLatinFont = SLConstants.EquityThemeMajorLatinFont; this.MinorLatinFont = SLConstants.EquityThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.EquityThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.EquityThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.EquityThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.EquityThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.EquityThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.EquityThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.EquityThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.EquityThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.EquityThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.EquityThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.EquityThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.EquityThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Essential: this.ThemeName = SLConstants.EssentialThemeName; this.MajorLatinFont = SLConstants.EssentialThemeMajorLatinFont; this.MinorLatinFont = SLConstants.EssentialThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.EssentialThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.EssentialThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.EssentialThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.EssentialThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.EssentialThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.EssentialThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.EssentialThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.EssentialThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.EssentialThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.EssentialThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.EssentialThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.EssentialThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Executive: this.ThemeName = SLConstants.ExecutiveThemeName; this.MajorLatinFont = SLConstants.ExecutiveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ExecutiveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ExecutiveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ExecutiveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ExecutiveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ExecutiveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ExecutiveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ExecutiveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ExecutiveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Flow: this.ThemeName = SLConstants.FlowThemeName; this.MajorLatinFont = SLConstants.FlowThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FlowThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FlowThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FlowThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FlowThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FlowThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FlowThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FlowThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FlowThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FlowThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FlowThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FlowThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FlowThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FlowThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Foundry: this.ThemeName = SLConstants.FoundryThemeName; this.MajorLatinFont = SLConstants.FoundryThemeMajorLatinFont; this.MinorLatinFont = SLConstants.FoundryThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.FoundryThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.FoundryThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.FoundryThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.FoundryThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.FoundryThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.FoundryThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.FoundryThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.FoundryThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.FoundryThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.FoundryThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.FoundryThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.FoundryThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Grid: this.ThemeName = SLConstants.GridThemeName; this.MajorLatinFont = SLConstants.GridThemeMajorLatinFont; this.MinorLatinFont = SLConstants.GridThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.GridThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.GridThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.GridThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.GridThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.GridThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.GridThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.GridThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.GridThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.GridThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.GridThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.GridThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.GridThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Hardcover: this.ThemeName = SLConstants.HardcoverThemeName; this.MajorLatinFont = SLConstants.HardcoverThemeMajorLatinFont; this.MinorLatinFont = SLConstants.HardcoverThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.HardcoverThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.HardcoverThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.HardcoverThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.HardcoverThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.HardcoverThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.HardcoverThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.HardcoverThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Horizon: this.ThemeName = SLConstants.HorizonThemeName; this.MajorLatinFont = SLConstants.HorizonThemeMajorLatinFont; this.MinorLatinFont = SLConstants.HorizonThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.HorizonThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.HorizonThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.HorizonThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.HorizonThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.HorizonThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.HorizonThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.HorizonThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.HorizonThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.HorizonThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.HorizonThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.HorizonThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.HorizonThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Median: this.ThemeName = SLConstants.MedianThemeName; this.MajorLatinFont = SLConstants.MedianThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MedianThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MedianThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MedianThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MedianThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MedianThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MedianThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MedianThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MedianThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MedianThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MedianThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MedianThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MedianThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MedianThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Metro: this.ThemeName = SLConstants.MetroThemeName; this.MajorLatinFont = SLConstants.MetroThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MetroThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MetroThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MetroThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MetroThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MetroThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MetroThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MetroThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MetroThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MetroThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MetroThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MetroThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MetroThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MetroThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Module: this.ThemeName = SLConstants.ModuleThemeName; this.MajorLatinFont = SLConstants.ModuleThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ModuleThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ModuleThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ModuleThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ModuleThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ModuleThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ModuleThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ModuleThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ModuleThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ModuleThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ModuleThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ModuleThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ModuleThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ModuleThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Newsprint: this.ThemeName = SLConstants.NewsprintThemeName; this.MajorLatinFont = SLConstants.NewsprintThemeMajorLatinFont; this.MinorLatinFont = SLConstants.NewsprintThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.NewsprintThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.NewsprintThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.NewsprintThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.NewsprintThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.NewsprintThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.NewsprintThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.NewsprintThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Opulent: this.ThemeName = SLConstants.OpulentThemeName; this.MajorLatinFont = SLConstants.OpulentThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OpulentThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OpulentThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OpulentThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OpulentThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OpulentThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OpulentThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OpulentThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OpulentThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OpulentThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OpulentThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OpulentThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OpulentThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OpulentThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Oriel: this.ThemeName = SLConstants.OrielThemeName; this.MajorLatinFont = SLConstants.OrielThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OrielThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OrielThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OrielThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OrielThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OrielThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OrielThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OrielThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OrielThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OrielThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OrielThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OrielThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OrielThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OrielThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Origin: this.ThemeName = SLConstants.OriginThemeName; this.MajorLatinFont = SLConstants.OriginThemeMajorLatinFont; this.MinorLatinFont = SLConstants.OriginThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.OriginThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.OriginThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.OriginThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.OriginThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.OriginThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.OriginThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.OriginThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.OriginThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.OriginThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.OriginThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.OriginThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.OriginThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Paper: this.ThemeName = SLConstants.PaperThemeName; this.MajorLatinFont = SLConstants.PaperThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PaperThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PaperThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PaperThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PaperThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PaperThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PaperThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PaperThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PaperThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PaperThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PaperThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PaperThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PaperThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PaperThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Perspective: this.ThemeName = SLConstants.PerspectiveThemeName; this.MajorLatinFont = SLConstants.PerspectiveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PerspectiveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PerspectiveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PerspectiveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PerspectiveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PerspectiveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PerspectiveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PerspectiveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PerspectiveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Pushpin: this.ThemeName = SLConstants.PushpinThemeName; this.MajorLatinFont = SLConstants.PushpinThemeMajorLatinFont; this.MinorLatinFont = SLConstants.PushpinThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.PushpinThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.PushpinThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.PushpinThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.PushpinThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.PushpinThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.PushpinThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.PushpinThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.PushpinThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.PushpinThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.PushpinThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.PushpinThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.PushpinThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Slipstream: this.ThemeName = SLConstants.SlipstreamThemeName; this.MajorLatinFont = SLConstants.SlipstreamThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SlipstreamThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SlipstreamThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SlipstreamThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SlipstreamThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SlipstreamThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SlipstreamThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SlipstreamThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SlipstreamThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Solstice: this.ThemeName = SLConstants.SolsticeThemeName; this.MajorLatinFont = SLConstants.SolsticeThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SolsticeThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SolsticeThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SolsticeThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SolsticeThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SolsticeThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SolsticeThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SolsticeThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SolsticeThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Technic: this.ThemeName = SLConstants.TechnicThemeName; this.MajorLatinFont = SLConstants.TechnicThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TechnicThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TechnicThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TechnicThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TechnicThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TechnicThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TechnicThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TechnicThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TechnicThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TechnicThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TechnicThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TechnicThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TechnicThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TechnicThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Thatch: this.ThemeName = SLConstants.ThatchThemeName; this.MajorLatinFont = SLConstants.ThatchThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ThatchThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ThatchThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ThatchThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ThatchThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ThatchThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ThatchThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ThatchThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ThatchThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ThatchThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ThatchThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ThatchThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ThatchThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ThatchThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Trek: this.ThemeName = SLConstants.TrekThemeName; this.MajorLatinFont = SLConstants.TrekThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TrekThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TrekThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TrekThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TrekThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TrekThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TrekThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TrekThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TrekThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TrekThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TrekThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TrekThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TrekThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TrekThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Urban: this.ThemeName = SLConstants.UrbanThemeName; this.MajorLatinFont = SLConstants.UrbanThemeMajorLatinFont; this.MinorLatinFont = SLConstants.UrbanThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.UrbanThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.UrbanThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.UrbanThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.UrbanThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.UrbanThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.UrbanThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.UrbanThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.UrbanThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.UrbanThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.UrbanThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.UrbanThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.UrbanThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Verve: this.ThemeName = SLConstants.VerveThemeName; this.MajorLatinFont = SLConstants.VerveThemeMajorLatinFont; this.MinorLatinFont = SLConstants.VerveThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.VerveThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.VerveThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.VerveThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.VerveThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.VerveThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.VerveThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.VerveThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.VerveThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.VerveThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.VerveThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.VerveThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.VerveThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Waveform: this.ThemeName = SLConstants.WaveformThemeName; this.MajorLatinFont = SLConstants.WaveformThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WaveformThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WaveformThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WaveformThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WaveformThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WaveformThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WaveformThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WaveformThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WaveformThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WaveformThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WaveformThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WaveformThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WaveformThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WaveformThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Autumn: this.ThemeName = SLConstants.AutumnThemeName; this.MajorLatinFont = SLConstants.AutumnThemeMajorLatinFont; this.MinorLatinFont = SLConstants.AutumnThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.AutumnThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.AutumnThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.AutumnThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.AutumnThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.AutumnThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.AutumnThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.AutumnThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.AutumnThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.AutumnThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.AutumnThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.AutumnThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.AutumnThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Decatur: this.ThemeName = SLConstants.DecaturThemeName; this.MajorLatinFont = SLConstants.DecaturThemeMajorLatinFont; this.MinorLatinFont = SLConstants.DecaturThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.DecaturThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.DecaturThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.DecaturThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.DecaturThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.DecaturThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.DecaturThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.DecaturThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.DecaturThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.DecaturThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.DecaturThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.DecaturThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.DecaturThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Kilter: this.ThemeName = SLConstants.KilterThemeName; this.MajorLatinFont = SLConstants.KilterThemeMajorLatinFont; this.MinorLatinFont = SLConstants.KilterThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.KilterThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.KilterThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.KilterThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.KilterThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.KilterThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.KilterThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.KilterThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.KilterThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.KilterThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.KilterThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.KilterThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.KilterThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Macro: this.ThemeName = SLConstants.MacroThemeName; this.MajorLatinFont = SLConstants.MacroThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MacroThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MacroThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MacroThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MacroThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MacroThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MacroThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MacroThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MacroThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MacroThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MacroThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MacroThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MacroThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MacroThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Mylar: this.ThemeName = SLConstants.MylarThemeName; this.MajorLatinFont = SLConstants.MylarThemeMajorLatinFont; this.MinorLatinFont = SLConstants.MylarThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.MylarThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.MylarThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.MylarThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.MylarThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.MylarThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.MylarThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.MylarThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.MylarThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.MylarThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.MylarThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.MylarThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.MylarThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Sketchbook: this.ThemeName = SLConstants.SketchbookThemeName; this.MajorLatinFont = SLConstants.SketchbookThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SketchbookThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SketchbookThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SketchbookThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SketchbookThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SketchbookThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SketchbookThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SketchbookThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SketchbookThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Soho: this.ThemeName = SLConstants.SohoThemeName; this.MajorLatinFont = SLConstants.SohoThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SohoThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SohoThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SohoThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SohoThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SohoThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SohoThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SohoThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SohoThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SohoThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SohoThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SohoThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SohoThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SohoThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Spring: this.ThemeName = SLConstants.SpringThemeName; this.MajorLatinFont = SLConstants.SpringThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SpringThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SpringThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SpringThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SpringThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SpringThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SpringThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SpringThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SpringThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SpringThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SpringThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SpringThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SpringThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SpringThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Summer: this.ThemeName = SLConstants.SummerThemeName; this.MajorLatinFont = SLConstants.SummerThemeMajorLatinFont; this.MinorLatinFont = SLConstants.SummerThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.SummerThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.SummerThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.SummerThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.SummerThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.SummerThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.SummerThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.SummerThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.SummerThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.SummerThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.SummerThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.SummerThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.SummerThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Thermal: this.ThemeName = SLConstants.ThermalThemeName; this.MajorLatinFont = SLConstants.ThermalThemeMajorLatinFont; this.MinorLatinFont = SLConstants.ThermalThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.ThermalThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.ThermalThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.ThermalThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.ThermalThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.ThermalThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.ThermalThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.ThermalThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.ThermalThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.ThermalThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.ThermalThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.ThermalThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.ThermalThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Tradeshow: this.ThemeName = SLConstants.TradeshowThemeName; this.MajorLatinFont = SLConstants.TradeshowThemeMajorLatinFont; this.MinorLatinFont = SLConstants.TradeshowThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.TradeshowThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.TradeshowThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.TradeshowThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.TradeshowThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.TradeshowThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.TradeshowThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.TradeshowThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.UrbanPop: this.ThemeName = SLConstants.UrbanPopThemeName; this.MajorLatinFont = SLConstants.UrbanPopThemeMajorLatinFont; this.MinorLatinFont = SLConstants.UrbanPopThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.UrbanPopThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.UrbanPopThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.UrbanPopThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.UrbanPopThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.UrbanPopThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.UrbanPopThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.UrbanPopThemeFollowedHyperlinkColor); break; case SLThemeTypeValues.Winter: this.ThemeName = SLConstants.WinterThemeName; this.MajorLatinFont = SLConstants.WinterThemeMajorLatinFont; this.MinorLatinFont = SLConstants.WinterThemeMinorLatinFont; this.Dark1Color = SLTool.ToColor(SLConstants.WinterThemeDark1Color); this.Light1Color = SLTool.ToColor(SLConstants.WinterThemeLight1Color); this.Dark2Color = SLTool.ToColor(SLConstants.WinterThemeDark2Color); this.Light2Color = SLTool.ToColor(SLConstants.WinterThemeLight2Color); this.Accent1Color = SLTool.ToColor(SLConstants.WinterThemeAccent1Color); this.Accent2Color = SLTool.ToColor(SLConstants.WinterThemeAccent2Color); this.Accent3Color = SLTool.ToColor(SLConstants.WinterThemeAccent3Color); this.Accent4Color = SLTool.ToColor(SLConstants.WinterThemeAccent4Color); this.Accent5Color = SLTool.ToColor(SLConstants.WinterThemeAccent5Color); this.Accent6Color = SLTool.ToColor(SLConstants.WinterThemeAccent6Color); this.Hyperlink = SLTool.ToColor(SLConstants.WinterThemeHyperlink); this.FollowedHyperlinkColor = SLTool.ToColor(SLConstants.WinterThemeFollowedHyperlinkColor); break; } }
internal SLSimpleTheme(WorkbookPart wbp, SLThemeSettings Settings) { LoadIndexedColors(wbp); InitialiseThemeColors(); InternalThemeType = SLThemeTypeValues.Office; bool bHasTheme = (wbp.ThemePart != null) ? true : false; if (bHasTheme) { // load in default values in case the theme file has missing values LoadBuiltinTheme(SLThemeTypeValues.Office); LoadTheme(wbp); } else { LoadBuiltinTheme(SLThemeTypeValues.Office); this.sThemeName = Settings.ThemeName; this.sMajorLatinFont = Settings.MajorLatinFont; this.sMinorLatinFont = Settings.MinorLatinFont; listThemeColors[(int)SLThemeColorIndexValues.Dark1Color] = Settings.Dark1Color; listThemeColors[(int)SLThemeColorIndexValues.Light1Color] = Settings.Light1Color; listThemeColors[(int)SLThemeColorIndexValues.Dark2Color] = Settings.Dark2Color; listThemeColors[(int)SLThemeColorIndexValues.Light2Color] = Settings.Light2Color; listThemeColors[(int)SLThemeColorIndexValues.Accent1Color] = Settings.Accent1Color; listThemeColors[(int)SLThemeColorIndexValues.Accent2Color] = Settings.Accent2Color; listThemeColors[(int)SLThemeColorIndexValues.Accent3Color] = Settings.Accent3Color; listThemeColors[(int)SLThemeColorIndexValues.Accent4Color] = Settings.Accent4Color; listThemeColors[(int)SLThemeColorIndexValues.Accent5Color] = Settings.Accent5Color; listThemeColors[(int)SLThemeColorIndexValues.Accent6Color] = Settings.Accent6Color; listThemeColors[(int)SLThemeColorIndexValues.Hyperlink] = Settings.Hyperlink; listThemeColors[(int)SLThemeColorIndexValues.FollowedHyperlinkColor] = Settings.FollowedHyperlinkColor; for (int i = 0; i < listThemeColors.Count; ++i) { listThemeColorsHex[i] = string.Format("{0}{1}{2}", listThemeColors[i].R.ToString("x2"), listThemeColors[i].G.ToString("x2"), listThemeColors[i].B.ToString("x2")); } } CalculateRowColumnInfo(); }
internal SLSimpleTheme(WorkbookPart wbp, SLThemeTypeValues themetype) { LoadIndexedColors(wbp); InitialiseThemeColors(); InternalThemeType = themetype; bool bHasTheme = (wbp.ThemePart != null) ? true : false; if (bHasTheme) { // load in default values in case the theme file has missing values LoadBuiltinTheme(SLThemeTypeValues.Office); LoadTheme(wbp); } else { LoadBuiltinTheme(themetype); } CalculateRowColumnInfo(); }
private void InitialiseStylesheetWhatNots(SLThemeTypeValues ThemeType) { SimpleTheme = new SLSimpleTheme(wbp, ThemeType); this.LoadStylesheet(); }
/// <summary> /// Create a new spreadsheet with a selected theme of fonts and colors. /// </summary> /// <param name="ThemeType">The selected theme.</param> public SLDocument(SLThemeTypeValues ThemeType) { memstream = new MemoryStream(); xl = SpreadsheetDocument.Create(memstream, SpreadsheetDocumentType.Workbook); wbp = xl.AddWorkbookPart(); IsNewSpreadsheet = true; slwb = new SLWorkbook(); this.DocumentProperties = new SLDocumentProperties(); this.DocumentProperties.Created = DateTime.UtcNow.ToString(SLConstants.W3CDTF); InitialiseAutoFitCache(); LoadBuiltInNumberingFormats(); InitialiseStylesheetWhatNots(ThemeType); LoadSharedStringTable(); InitialiseNewSpreadsheet(); }