// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme(){ Name = "Office Theme", ThemeId = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "thm15" } }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); theme1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006"); theme1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Office" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "6E747A" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "E7E6E6" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "5B9BD5" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "ED7D31" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "A5A5A5" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "FFC000" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "4472C4" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "70AD47" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "085296" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "993366" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Office" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "Arial" }; A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont2 = new A.LatinFont(){ Typeface = "Century" }; A.EastAsianFont eastAsianFont2 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS 明朝" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill1 = new A.SolidFill(); A.SchemeColor schemeColor1 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation(){ Val = 157000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 101000 }; schemeColor2.Append(luminanceModulation1); schemeColor2.Append(saturationModulation1); gradientStop1.Append(schemeColor2); A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 50000 }; A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation(){ Val = 137000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 103000 }; schemeColor3.Append(luminanceModulation2); schemeColor3.Append(saturationModulation2); gradientStop2.Append(schemeColor3); A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation(){ Val = 115000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 109000 }; schemeColor4.Append(luminanceModulation3); schemeColor4.Append(saturationModulation3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 103000 }; A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation(){ Val = 118000 }; schemeColor5.Append(saturationModulation4); schemeColor5.Append(luminanceModulation4); gradientStop4.Append(schemeColor5); A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 50000 }; A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 89000 }; A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation(){ Val = 91000 }; schemeColor6.Append(saturationModulation5); schemeColor6.Append(luminanceModulation5); gradientStop5.Append(schemeColor6); A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation(){ Val = 69000 }; schemeColor7.Append(luminanceModulation6); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline1 = new A.Outline(){ Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill2 = new A.SolidFill(); A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill2.Append(schemeColor8); A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline1.Append(solidFill2); outline1.Append(presetDash1); A.Outline outline2 = new A.Outline(){ Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill3 = new A.SolidFill(); A.SchemeColor schemeColor9 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline2.Append(solidFill3); outline2.Append(presetDash2); A.Outline outline3 = new A.Outline(){ Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill4 = new A.SolidFill(); A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline3.Append(solidFill4); outline3.Append(presetDash3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha1 = new A.Alpha(){ Val = 63000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList3.Append(outerShadow1); effectStyle3.Append(effectList3); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill5 = new A.SolidFill(); A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint1 = new A.Tint(){ Val = 100000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 100000 }; A.Shade shade1 = new A.Shade(){ Val = 0 }; schemeColor12.Append(tint1); schemeColor12.Append(saturationModulation6); schemeColor12.Append(shade1); gradientStop7.Append(schemeColor12); A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 0 }; A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage(){ RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; gradientStop8.Append(rgbColorModelPercentage1); A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade(){ Val = 100000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 100000 }; schemeColor13.Append(shade2); schemeColor13.Append(saturationModulation7); gradientStop9.Append(schemeColor13); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill3.Append(gradientStopList3); gradientFill3.Append(linearGradientFill3); A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint2 = new A.Tint(){ Val = 80000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 300000 }; schemeColor14.Append(tint2); schemeColor14.Append(saturationModulation8); gradientStop10.Append(schemeColor14); A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade(){ Val = 30000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 200000 }; schemeColor15.Append(shade3); schemeColor15.Append(saturationModulation9); gradientStop11.Append(schemeColor15); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill1); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme() { Name = "Tema de Office" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Cambria" }; A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Calibri" }; A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont30); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill1 = new A.SolidFill(); A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint1 = new A.Tint() { Val = 50000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 300000 }; schemeColor2.Append(tint1); schemeColor2.Append(saturationModulation1); gradientStop1.Append(schemeColor2); A.GradientStop gradientStop2 = new A.GradientStop() { Position = 35000 }; A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint2 = new A.Tint() { Val = 37000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 300000 }; schemeColor3.Append(tint2); schemeColor3.Append(saturationModulation2); gradientStop2.Append(schemeColor3); A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint3 = new A.Tint() { Val = 15000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 350000 }; schemeColor4.Append(tint3); schemeColor4.Append(saturationModulation3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade() { Val = 51000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 130000 }; schemeColor5.Append(shade1); schemeColor5.Append(saturationModulation4); gradientStop4.Append(schemeColor5); A.GradientStop gradientStop5 = new A.GradientStop() { Position = 80000 }; A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade() { Val = 93000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 130000 }; schemeColor6.Append(shade2); schemeColor6.Append(saturationModulation5); gradientStop5.Append(schemeColor6); A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade() { Val = 94000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 135000 }; schemeColor7.Append(shade3); schemeColor7.Append(saturationModulation6); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline1 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill2 = new A.SolidFill(); A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade4 = new A.Shade() { Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 105000 }; schemeColor8.Append(shade4); schemeColor8.Append(saturationModulation7); solidFill2.Append(schemeColor8); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline1.Append(solidFill2); outline1.Append(presetDash1); A.Outline outline2 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill3 = new A.SolidFill(); A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline2.Append(solidFill3); outline2.Append(presetDash2); A.Outline outline3 = new A.Outline() { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill4 = new A.SolidFill(); A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline3.Append(solidFill4); outline3.Append(presetDash3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = 38000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); A.OuterShadow outerShadow2 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha2 = new A.Alpha() { Val = 35000 }; rgbColorModelHex12.Append(alpha2); outerShadow2.Append(rgbColorModelHex12); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow3 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha3 = new A.Alpha() { Val = 35000 }; rgbColorModelHex13.Append(alpha3); outerShadow3.Append(rgbColorModelHex13); effectList3.Append(outerShadow3); A.Scene3DType scene3DType1 = new A.Scene3DType(); A.Camera camera1 = new A.Camera() { Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation1 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); A.LightRig lightRig1 = new A.LightRig() { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; A.Rotation rotation2 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); A.Shape3DType shape3DType1 = new A.Shape3DType(); A.BevelTop bevelTop1 = new A.BevelTop() { Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill5 = new A.SolidFill(); A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint4 = new A.Tint() { Val = 40000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 350000 }; schemeColor12.Append(tint4); schemeColor12.Append(saturationModulation8); gradientStop7.Append(schemeColor12); A.GradientStop gradientStop8 = new A.GradientStop() { Position = 40000 }; A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint5 = new A.Tint() { Val = 45000 }; A.Shade shade5 = new A.Shade() { Val = 99000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 350000 }; schemeColor13.Append(tint5); schemeColor13.Append(shade5); schemeColor13.Append(saturationModulation9); gradientStop8.Append(schemeColor13); A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade6 = new A.Shade() { Val = 20000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 255000 }; schemeColor14.Append(shade6); schemeColor14.Append(saturationModulation10); gradientStop9.Append(schemeColor14); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle() { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); A.GradientFill gradientFill4 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop10 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint6 = new A.Tint() { Val = 80000 }; A.SaturationModulation saturationModulation11 = new A.SaturationModulation() { Val = 300000 }; schemeColor15.Append(tint6); schemeColor15.Append(saturationModulation11); gradientStop10.Append(schemeColor15); A.GradientStop gradientStop11 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor16 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade7 = new A.Shade() { Val = 30000 }; A.SaturationModulation saturationModulation12 = new A.SaturationModulation() { Val = 200000 }; schemeColor16.Append(shade7); schemeColor16.Append(saturationModulation12); gradientStop11.Append(schemeColor16); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); A.PathGradientFill pathGradientFill2 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle2 = new A.FillToRectangle() { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ShapeDefault shapeDefault1 = new A.ShapeDefault(); A.ShapeProperties shapeProperties1 = new A.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto }; A.Transform2D transform2D1 = new A.Transform2D(); A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents1 = new A.Extents() { Cx = 1L, Cy = 1L }; transform2D1.Append(offset1); transform2D1.Append(extents1); A.CustomGeometry customGeometry1 = new A.CustomGeometry(); A.AdjustValueList adjustValueList1 = new A.AdjustValueList(); A.ShapeGuideList shapeGuideList1 = new A.ShapeGuideList(); A.AdjustHandleList adjustHandleList1 = new A.AdjustHandleList(); A.ConnectionSiteList connectionSiteList1 = new A.ConnectionSiteList(); A.Rectangle rectangle1 = new A.Rectangle() { Left = "0", Top = "0", Right = "0", Bottom = "0" }; A.PathList pathList1 = new A.PathList(); customGeometry1.Append(adjustValueList1); customGeometry1.Append(shapeGuideList1); customGeometry1.Append(adjustHandleList1); customGeometry1.Append(connectionSiteList1); customGeometry1.Append(rectangle1); customGeometry1.Append(pathList1); A.SolidFill solidFill6 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "FFFFFF" }; solidFill6.Append(rgbColorModelHex14); A.Outline outline4 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill7 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "000000" }; solidFill7.Append(rgbColorModelHex15); A.PresetDash presetDash4 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Round round1 = new A.Round(); A.HeadEnd headEnd1 = new A.HeadEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium }; A.TailEnd tailEnd1 = new A.TailEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium }; outline4.Append(solidFill7); outline4.Append(presetDash4); outline4.Append(round1); outline4.Append(headEnd1); outline4.Append(tailEnd1); A.EffectList effectList4 = new A.EffectList(); shapeProperties1.Append(transform2D1); shapeProperties1.Append(customGeometry1); shapeProperties1.Append(solidFill6); shapeProperties1.Append(outline4); shapeProperties1.Append(effectList4); A.BodyProperties bodyProperties1 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, LeftInset = 18288, TopInset = 0, RightInset = 0, BottomInset = 0, UpRight = true }; A.ListStyle listStyle1 = new A.ListStyle(); shapeDefault1.Append(shapeProperties1); shapeDefault1.Append(bodyProperties1); shapeDefault1.Append(listStyle1); A.LineDefault lineDefault1 = new A.LineDefault(); A.ShapeProperties shapeProperties2 = new A.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto }; A.Transform2D transform2D2 = new A.Transform2D(); A.Offset offset2 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents2 = new A.Extents() { Cx = 1L, Cy = 1L }; transform2D2.Append(offset2); transform2D2.Append(extents2); A.CustomGeometry customGeometry2 = new A.CustomGeometry(); A.AdjustValueList adjustValueList2 = new A.AdjustValueList(); A.ShapeGuideList shapeGuideList2 = new A.ShapeGuideList(); A.AdjustHandleList adjustHandleList2 = new A.AdjustHandleList(); A.ConnectionSiteList connectionSiteList2 = new A.ConnectionSiteList(); A.Rectangle rectangle2 = new A.Rectangle() { Left = "0", Top = "0", Right = "0", Bottom = "0" }; A.PathList pathList2 = new A.PathList(); customGeometry2.Append(adjustValueList2); customGeometry2.Append(shapeGuideList2); customGeometry2.Append(adjustHandleList2); customGeometry2.Append(connectionSiteList2); customGeometry2.Append(rectangle2); customGeometry2.Append(pathList2); A.SolidFill solidFill8 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex() { Val = "FFFFFF" }; solidFill8.Append(rgbColorModelHex16); A.Outline outline5 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill9 = new A.SolidFill(); A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex() { Val = "000000" }; solidFill9.Append(rgbColorModelHex17); A.PresetDash presetDash5 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Round round2 = new A.Round(); A.HeadEnd headEnd2 = new A.HeadEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium }; A.TailEnd tailEnd2 = new A.TailEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium }; outline5.Append(solidFill9); outline5.Append(presetDash5); outline5.Append(round2); outline5.Append(headEnd2); outline5.Append(tailEnd2); A.EffectList effectList5 = new A.EffectList(); shapeProperties2.Append(transform2D2); shapeProperties2.Append(customGeometry2); shapeProperties2.Append(solidFill8); shapeProperties2.Append(outline5); shapeProperties2.Append(effectList5); A.BodyProperties bodyProperties2 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, LeftInset = 18288, TopInset = 0, RightInset = 0, BottomInset = 0, UpRight = true }; A.ListStyle listStyle2 = new A.ListStyle(); lineDefault1.Append(shapeProperties2); lineDefault1.Append(bodyProperties2); lineDefault1.Append(listStyle2); objectDefaults1.Append(shapeDefault1); objectDefaults1.Append(lineDefault1); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme() { Name = "Office Theme" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "44546A" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "E7E6E6" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "5B9BD5" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "ED7D31" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "A5A5A5" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "FFC000" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4472C4" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "70AD47" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0563C1" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "954F72" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Calibri Light", Panose = "020F0302020204030204" }; A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS ゴシック" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Angsana New" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Calibri", Panose = "020F0502020204030204" }; A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS 明朝" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Thai", Typeface = "Cordia New" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill1 = new A.SolidFill(); A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 110000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 105000 }; A.Tint tint1 = new A.Tint() { Val = 67000 }; schemeColor2.Append(luminanceModulation1); schemeColor2.Append(saturationModulation1); schemeColor2.Append(tint1); gradientStop1.Append(schemeColor2); A.GradientStop gradientStop2 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 105000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 103000 }; A.Tint tint2 = new A.Tint() { Val = 73000 }; schemeColor3.Append(luminanceModulation2); schemeColor3.Append(saturationModulation2); schemeColor3.Append(tint2); gradientStop2.Append(schemeColor3); A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 105000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 109000 }; A.Tint tint3 = new A.Tint() { Val = 81000 }; schemeColor4.Append(luminanceModulation3); schemeColor4.Append(saturationModulation3); schemeColor4.Append(tint3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 103000 }; A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 102000 }; A.Tint tint4 = new A.Tint() { Val = 94000 }; schemeColor5.Append(saturationModulation4); schemeColor5.Append(luminanceModulation4); schemeColor5.Append(tint4); gradientStop4.Append(schemeColor5); A.GradientStop gradientStop5 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 110000 }; A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 100000 }; A.Shade shade1 = new A.Shade() { Val = 100000 }; schemeColor6.Append(saturationModulation5); schemeColor6.Append(luminanceModulation5); schemeColor6.Append(shade1); gradientStop5.Append(schemeColor6); A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 99000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 120000 }; A.Shade shade2 = new A.Shade() { Val = 78000 }; schemeColor7.Append(luminanceModulation6); schemeColor7.Append(saturationModulation6); schemeColor7.Append(shade2); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline1 = new A.Outline() { Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill2 = new A.SolidFill(); A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill2.Append(schemeColor8); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter1 = new A.Miter() { Limit = 800000 }; outline1.Append(solidFill2); outline1.Append(presetDash1); outline1.Append(miter1); A.Outline outline2 = new A.Outline() { Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill3 = new A.SolidFill(); A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter2 = new A.Miter() { Limit = 800000 }; outline2.Append(solidFill3); outline2.Append(presetDash2); outline2.Append(miter2); A.Outline outline3 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill4 = new A.SolidFill(); A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter3 = new A.Miter() { Limit = 800000 }; outline3.Append(solidFill4); outline3.Append(presetDash3); outline3.Append(miter3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = 63000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList3.Append(outerShadow1); effectStyle3.Append(effectList3); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill5 = new A.SolidFill(); A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); A.SolidFill solidFill6 = new A.SolidFill(); A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint5 = new A.Tint() { Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 170000 }; schemeColor12.Append(tint5); schemeColor12.Append(saturationModulation7); solidFill6.Append(schemeColor12); A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint6 = new A.Tint() { Val = 93000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 150000 }; A.Shade shade3 = new A.Shade() { Val = 98000 }; A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 102000 }; schemeColor13.Append(tint6); schemeColor13.Append(saturationModulation8); schemeColor13.Append(shade3); schemeColor13.Append(luminanceModulation7); gradientStop7.Append(schemeColor13); A.GradientStop gradientStop8 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint7 = new A.Tint() { Val = 98000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 130000 }; A.Shade shade4 = new A.Shade() { Val = 90000 }; A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation() { Val = 103000 }; schemeColor14.Append(tint7); schemeColor14.Append(saturationModulation9); schemeColor14.Append(shade4); schemeColor14.Append(luminanceModulation8); gradientStop8.Append(schemeColor14); A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade5 = new A.Shade() { Val = 63000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 120000 }; schemeColor15.Append(shade5); schemeColor15.Append(saturationModulation10); gradientStop9.Append(schemeColor15); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill3.Append(gradientStopList3); gradientFill3.Append(linearGradientFill3); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(solidFill6); backgroundFillStyleList1.Append(gradientFill3); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); A.ExtensionList extensionList1 = new A.ExtensionList(); A.Extension extension1 = new A.Extension() { Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" }; OpenXmlUnknownElement openXmlUnknownElement3 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<thm15:themeFamily xmlns:thm15=\"http://schemas.microsoft.com/office/thememl/2012/main\" name=\"Office Theme\" id=\"{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}\" vid=\"{4A3C46E8-61CC-4603-A589-7422A47A8E4A}\" />"); extension1.Append(openXmlUnknownElement3); extensionList1.Append(extension1); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); theme1.Append(extensionList1); themePart1.Theme = theme1; }
// Generates content of themePart2. private void GenerateThemePart2Content(ThemePart themePart2) { A.Theme theme2 = new A.Theme(){ Name = "Office Theme" }; theme2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements2 = new A.ThemeElements(); A.ColorScheme colorScheme2 = new A.ColorScheme(){ Name = "Office" }; A.Dark1Color dark1Color2 = new A.Dark1Color(); A.SystemColor systemColor3 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color2.Append(systemColor3); A.Light1Color light1Color2 = new A.Light1Color(); A.SystemColor systemColor4 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color2.Append(systemColor4); A.Dark2Color dark2Color2 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex(){ Val = "1F497D" }; dark2Color2.Append(rgbColorModelHex18); A.Light2Color light2Color2 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex(){ Val = "EEECE1" }; light2Color2.Append(rgbColorModelHex19); A.Accent1Color accent1Color2 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex20 = new A.RgbColorModelHex(){ Val = "4F81BD" }; accent1Color2.Append(rgbColorModelHex20); A.Accent2Color accent2Color2 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex21 = new A.RgbColorModelHex(){ Val = "C0504D" }; accent2Color2.Append(rgbColorModelHex21); A.Accent3Color accent3Color2 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex22 = new A.RgbColorModelHex(){ Val = "9BBB59" }; accent3Color2.Append(rgbColorModelHex22); A.Accent4Color accent4Color2 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex23 = new A.RgbColorModelHex(){ Val = "8064A2" }; accent4Color2.Append(rgbColorModelHex23); A.Accent5Color accent5Color2 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex24 = new A.RgbColorModelHex(){ Val = "4BACC6" }; accent5Color2.Append(rgbColorModelHex24); A.Accent6Color accent6Color2 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex25 = new A.RgbColorModelHex(){ Val = "F79646" }; accent6Color2.Append(rgbColorModelHex25); A.Hyperlink hyperlink2 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex26 = new A.RgbColorModelHex(){ Val = "0000FF" }; hyperlink2.Append(rgbColorModelHex26); A.FollowedHyperlinkColor followedHyperlinkColor2 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex27 = new A.RgbColorModelHex(){ Val = "800080" }; followedHyperlinkColor2.Append(rgbColorModelHex27); colorScheme2.Append(dark1Color2); colorScheme2.Append(light1Color2); colorScheme2.Append(dark2Color2); colorScheme2.Append(light2Color2); colorScheme2.Append(accent1Color2); colorScheme2.Append(accent2Color2); colorScheme2.Append(accent3Color2); colorScheme2.Append(accent4Color2); colorScheme2.Append(accent5Color2); colorScheme2.Append(accent6Color2); colorScheme2.Append(hyperlink2); colorScheme2.Append(followedHyperlinkColor2); A.FontScheme fontScheme2 = new A.FontScheme(){ Name = "Office" }; A.MajorFont majorFont2 = new A.MajorFont(); A.LatinFont latinFont40 = new A.LatinFont(){ Typeface = "Calibri" }; A.EastAsianFont eastAsianFont40 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont40 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont65 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" }; A.SupplementalFont supplementalFont66 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont67 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont68 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont69 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont70 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont71 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont72 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont73 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont74 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont75 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont76 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont77 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont78 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont79 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont80 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont81 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont82 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont83 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont84 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont85 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont86 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont87 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; majorFont2.Append(latinFont40); majorFont2.Append(eastAsianFont40); majorFont2.Append(complexScriptFont40); majorFont2.Append(supplementalFont59); majorFont2.Append(supplementalFont60); majorFont2.Append(supplementalFont61); majorFont2.Append(supplementalFont62); majorFont2.Append(supplementalFont63); majorFont2.Append(supplementalFont64); majorFont2.Append(supplementalFont65); majorFont2.Append(supplementalFont66); majorFont2.Append(supplementalFont67); majorFont2.Append(supplementalFont68); majorFont2.Append(supplementalFont69); majorFont2.Append(supplementalFont70); majorFont2.Append(supplementalFont71); majorFont2.Append(supplementalFont72); majorFont2.Append(supplementalFont73); majorFont2.Append(supplementalFont74); majorFont2.Append(supplementalFont75); majorFont2.Append(supplementalFont76); majorFont2.Append(supplementalFont77); majorFont2.Append(supplementalFont78); majorFont2.Append(supplementalFont79); majorFont2.Append(supplementalFont80); majorFont2.Append(supplementalFont81); majorFont2.Append(supplementalFont82); majorFont2.Append(supplementalFont83); majorFont2.Append(supplementalFont84); majorFont2.Append(supplementalFont85); majorFont2.Append(supplementalFont86); majorFont2.Append(supplementalFont87); A.MinorFont minorFont2 = new A.MinorFont(); A.LatinFont latinFont41 = new A.LatinFont(){ Typeface = "Calibri" }; A.EastAsianFont eastAsianFont41 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont41 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont88 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont89 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont90 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont91 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont92 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont93 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont94 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" }; A.SupplementalFont supplementalFont95 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont96 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont97 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont98 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont99 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont100 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont101 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont102 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont103 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont104 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont105 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont106 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont107 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont108 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont109 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont110 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont111 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont112 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont113 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont114 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont115 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont116 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; minorFont2.Append(latinFont41); minorFont2.Append(eastAsianFont41); minorFont2.Append(complexScriptFont41); minorFont2.Append(supplementalFont88); minorFont2.Append(supplementalFont89); minorFont2.Append(supplementalFont90); minorFont2.Append(supplementalFont91); minorFont2.Append(supplementalFont92); minorFont2.Append(supplementalFont93); minorFont2.Append(supplementalFont94); minorFont2.Append(supplementalFont95); minorFont2.Append(supplementalFont96); minorFont2.Append(supplementalFont97); minorFont2.Append(supplementalFont98); minorFont2.Append(supplementalFont99); minorFont2.Append(supplementalFont100); minorFont2.Append(supplementalFont101); minorFont2.Append(supplementalFont102); minorFont2.Append(supplementalFont103); minorFont2.Append(supplementalFont104); minorFont2.Append(supplementalFont105); minorFont2.Append(supplementalFont106); minorFont2.Append(supplementalFont107); minorFont2.Append(supplementalFont108); minorFont2.Append(supplementalFont109); minorFont2.Append(supplementalFont110); minorFont2.Append(supplementalFont111); minorFont2.Append(supplementalFont112); minorFont2.Append(supplementalFont113); minorFont2.Append(supplementalFont114); minorFont2.Append(supplementalFont115); minorFont2.Append(supplementalFont116); fontScheme2.Append(majorFont2); fontScheme2.Append(minorFont2); A.FormatScheme formatScheme2 = new A.FormatScheme(){ Name = "Office" }; A.FillStyleList fillStyleList2 = new A.FillStyleList(); A.SolidFill solidFill65 = new A.SolidFill(); A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill65.Append(schemeColor77); A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList5 = new A.GradientStopList(); A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint28 = new A.Tint(){ Val = 50000 }; A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 300000 }; schemeColor78.Append(tint28); schemeColor78.Append(saturationModulation13); gradientStop12.Append(schemeColor78); A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 35000 }; A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint29 = new A.Tint(){ Val = 37000 }; A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 300000 }; schemeColor79.Append(tint29); schemeColor79.Append(saturationModulation14); gradientStop13.Append(schemeColor79); A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor80 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint30 = new A.Tint(){ Val = 15000 }; A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 350000 }; schemeColor80.Append(tint30); schemeColor80.Append(saturationModulation15); gradientStop14.Append(schemeColor80); gradientStopList5.Append(gradientStop12); gradientStopList5.Append(gradientStop13); gradientStopList5.Append(gradientStop14); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true }; gradientFill5.Append(gradientStopList5); gradientFill5.Append(linearGradientFill3); A.GradientFill gradientFill6 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList6 = new A.GradientStopList(); A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor81 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade8 = new A.Shade(){ Val = 51000 }; A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 130000 }; schemeColor81.Append(shade8); schemeColor81.Append(saturationModulation16); gradientStop15.Append(schemeColor81); A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 80000 }; A.SchemeColor schemeColor82 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade9 = new A.Shade(){ Val = 93000 }; A.SaturationModulation saturationModulation17 = new A.SaturationModulation(){ Val = 130000 }; schemeColor82.Append(shade9); schemeColor82.Append(saturationModulation17); gradientStop16.Append(schemeColor82); A.GradientStop gradientStop17 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor83 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade10 = new A.Shade(){ Val = 94000 }; A.SaturationModulation saturationModulation18 = new A.SaturationModulation(){ Val = 135000 }; schemeColor83.Append(shade10); schemeColor83.Append(saturationModulation18); gradientStop17.Append(schemeColor83); gradientStopList6.Append(gradientStop15); gradientStopList6.Append(gradientStop16); gradientStopList6.Append(gradientStop17); A.LinearGradientFill linearGradientFill4 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false }; gradientFill6.Append(gradientStopList6); gradientFill6.Append(linearGradientFill4); fillStyleList2.Append(solidFill65); fillStyleList2.Append(gradientFill5); fillStyleList2.Append(gradientFill6); A.LineStyleList lineStyleList2 = new A.LineStyleList(); A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill66 = new A.SolidFill(); A.SchemeColor schemeColor84 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade11 = new A.Shade(){ Val = 95000 }; A.SaturationModulation saturationModulation19 = new A.SaturationModulation(){ Val = 105000 }; schemeColor84.Append(shade11); schemeColor84.Append(saturationModulation19); solidFill66.Append(schemeColor84); A.PresetDash presetDash4 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline5.Append(solidFill66); outline5.Append(presetDash4); A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill67 = new A.SolidFill(); A.SchemeColor schemeColor85 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill67.Append(schemeColor85); A.PresetDash presetDash5 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline6.Append(solidFill67); outline6.Append(presetDash5); A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill68 = new A.SolidFill(); A.SchemeColor schemeColor86 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill68.Append(schemeColor86); A.PresetDash presetDash6 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline7.Append(solidFill68); outline7.Append(presetDash6); lineStyleList2.Append(outline5); lineStyleList2.Append(outline6); lineStyleList2.Append(outline7); A.EffectStyleList effectStyleList2 = new A.EffectStyleList(); A.EffectStyle effectStyle4 = new A.EffectStyle(); A.EffectList effectList4 = new A.EffectList(); A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex28 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha4 = new A.Alpha(){ Val = 38000 }; rgbColorModelHex28.Append(alpha4); outerShadow4.Append(rgbColorModelHex28); effectList4.Append(outerShadow4); effectStyle4.Append(effectList4); A.EffectStyle effectStyle5 = new A.EffectStyle(); A.EffectList effectList5 = new A.EffectList(); A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex29 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha5 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex29.Append(alpha5); outerShadow5.Append(rgbColorModelHex29); effectList5.Append(outerShadow5); effectStyle5.Append(effectList5); A.EffectStyle effectStyle6 = new A.EffectStyle(); A.EffectList effectList6 = new A.EffectList(); A.OuterShadow outerShadow6 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex30 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha6 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex30.Append(alpha6); outerShadow6.Append(rgbColorModelHex30); effectList6.Append(outerShadow6); A.Scene3DType scene3DType2 = new A.Scene3DType(); A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation3 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera2.Append(rotation3); A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig2.Append(rotation4); scene3DType2.Append(camera2); scene3DType2.Append(lightRig2); A.Shape3DType shape3DType2 = new A.Shape3DType(); A.BevelTop bevelTop2 = new A.BevelTop(){ Width = 63500L, Height = 25400L }; shape3DType2.Append(bevelTop2); effectStyle6.Append(effectList6); effectStyle6.Append(scene3DType2); effectStyle6.Append(shape3DType2); effectStyleList2.Append(effectStyle4); effectStyleList2.Append(effectStyle5); effectStyleList2.Append(effectStyle6); A.BackgroundFillStyleList backgroundFillStyleList2 = new A.BackgroundFillStyleList(); A.SolidFill solidFill69 = new A.SolidFill(); A.SchemeColor schemeColor87 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill69.Append(schemeColor87); A.GradientFill gradientFill7 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList7 = new A.GradientStopList(); A.GradientStop gradientStop18 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor88 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint31 = new A.Tint(){ Val = 40000 }; A.SaturationModulation saturationModulation20 = new A.SaturationModulation(){ Val = 350000 }; schemeColor88.Append(tint31); schemeColor88.Append(saturationModulation20); gradientStop18.Append(schemeColor88); A.GradientStop gradientStop19 = new A.GradientStop(){ Position = 40000 }; A.SchemeColor schemeColor89 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint32 = new A.Tint(){ Val = 45000 }; A.Shade shade12 = new A.Shade(){ Val = 99000 }; A.SaturationModulation saturationModulation21 = new A.SaturationModulation(){ Val = 350000 }; schemeColor89.Append(tint32); schemeColor89.Append(shade12); schemeColor89.Append(saturationModulation21); gradientStop19.Append(schemeColor89); A.GradientStop gradientStop20 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor90 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade13 = new A.Shade(){ Val = 20000 }; A.SaturationModulation saturationModulation22 = new A.SaturationModulation(){ Val = 255000 }; schemeColor90.Append(shade13); schemeColor90.Append(saturationModulation22); gradientStop20.Append(schemeColor90); gradientStopList7.Append(gradientStop18); gradientStopList7.Append(gradientStop19); gradientStopList7.Append(gradientStop20); A.PathGradientFill pathGradientFill3 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle3 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill3.Append(fillToRectangle3); gradientFill7.Append(gradientStopList7); gradientFill7.Append(pathGradientFill3); A.GradientFill gradientFill8 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList8 = new A.GradientStopList(); A.GradientStop gradientStop21 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor91 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint33 = new A.Tint(){ Val = 80000 }; A.SaturationModulation saturationModulation23 = new A.SaturationModulation(){ Val = 300000 }; schemeColor91.Append(tint33); schemeColor91.Append(saturationModulation23); gradientStop21.Append(schemeColor91); A.GradientStop gradientStop22 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor92 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade14 = new A.Shade(){ Val = 30000 }; A.SaturationModulation saturationModulation24 = new A.SaturationModulation(){ Val = 200000 }; schemeColor92.Append(shade14); schemeColor92.Append(saturationModulation24); gradientStop22.Append(schemeColor92); gradientStopList8.Append(gradientStop21); gradientStopList8.Append(gradientStop22); A.PathGradientFill pathGradientFill4 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle4 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill4.Append(fillToRectangle4); gradientFill8.Append(gradientStopList8); gradientFill8.Append(pathGradientFill4); backgroundFillStyleList2.Append(solidFill69); backgroundFillStyleList2.Append(gradientFill7); backgroundFillStyleList2.Append(gradientFill8); formatScheme2.Append(fillStyleList2); formatScheme2.Append(lineStyleList2); formatScheme2.Append(effectStyleList2); formatScheme2.Append(backgroundFillStyleList2); themeElements2.Append(colorScheme2); themeElements2.Append(fontScheme2); themeElements2.Append(formatScheme2); A.ObjectDefaults objectDefaults2 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList2 = new A.ExtraColorSchemeList(); theme2.Append(themeElements2); theme2.Append(objectDefaults2); theme2.Append(extraColorSchemeList2); themePart2.Theme = theme2; }
// Generates content of themePart1. private static void GenerateThemePart1Content(ThemePart themePart1) { var theme1 = new A.Theme { Name = "Larissa" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); var themeElements1 = new A.ThemeElements(); var colorScheme1 = new A.ColorScheme { Name = "Larissa" }; var dark1Color1 = new A.Dark1Color(); var systemColor1 = new A.SystemColor { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); var light1Color1 = new A.Light1Color(); var systemColor2 = new A.SystemColor { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); var dark2Color1 = new A.Dark2Color(); var rgbColorModelHex1 = new A.RgbColorModelHex { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex1); var light2Color1 = new A.Light2Color(); var rgbColorModelHex2 = new A.RgbColorModelHex { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex2); var accent1Color1 = new A.Accent1Color(); var rgbColorModelHex3 = new A.RgbColorModelHex { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex3); var accent2Color1 = new A.Accent2Color(); var rgbColorModelHex4 = new A.RgbColorModelHex { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex4); var accent3Color1 = new A.Accent3Color(); var rgbColorModelHex5 = new A.RgbColorModelHex { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex5); var accent4Color1 = new A.Accent4Color(); var rgbColorModelHex6 = new A.RgbColorModelHex { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex6); var accent5Color1 = new A.Accent5Color(); var rgbColorModelHex7 = new A.RgbColorModelHex { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex7); var accent6Color1 = new A.Accent6Color(); var rgbColorModelHex8 = new A.RgbColorModelHex { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex8); var hyperlink1 = new A.Hyperlink(); var rgbColorModelHex9 = new A.RgbColorModelHex { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex9); var followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); var rgbColorModelHex10 = new A.RgbColorModelHex { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); var fontScheme2 = new A.FontScheme { Name = "Larissa" }; var majorFont1 = new A.MajorFont(); var latinFont1 = new A.LatinFont { Typeface = "Cambria" }; var eastAsianFont1 = new A.EastAsianFont { Typeface = "" }; var complexScriptFont1 = new A.ComplexScriptFont { Typeface = "" }; var supplementalFont1 = new A.SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont2 = new A.SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont3 = new A.SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont4 = new A.SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont5 = new A.SupplementalFont { Script = "Arab", Typeface = "Times New Roman" }; var supplementalFont6 = new A.SupplementalFont { Script = "Hebr", Typeface = "Times New Roman" }; var supplementalFont7 = new A.SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont8 = new A.SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont9 = new A.SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont10 = new A.SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont11 = new A.SupplementalFont { Script = "Khmr", Typeface = "MoolBoran" }; var supplementalFont12 = new A.SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont13 = new A.SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont14 = new A.SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont15 = new A.SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont16 = new A.SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont17 = new A.SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont18 = new A.SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont19 = new A.SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont20 = new A.SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont21 = new A.SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont22 = new A.SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont23 = new A.SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont24 = new A.SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont25 = new A.SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont26 = new A.SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont27 = new A.SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont28 = new A.SupplementalFont { Script = "Viet", Typeface = "Times New Roman" }; var supplementalFont29 = new A.SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont30 = new A.SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); var minorFont1 = new A.MinorFont(); var latinFont2 = new A.LatinFont { Typeface = "Calibri" }; var eastAsianFont2 = new A.EastAsianFont { Typeface = "" }; var complexScriptFont2 = new A.ComplexScriptFont { Typeface = "" }; var supplementalFont31 = new A.SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont32 = new A.SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont33 = new A.SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont34 = new A.SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont35 = new A.SupplementalFont { Script = "Arab", Typeface = "Arial" }; var supplementalFont36 = new A.SupplementalFont { Script = "Hebr", Typeface = "Arial" }; var supplementalFont37 = new A.SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont38 = new A.SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont39 = new A.SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont40 = new A.SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont41 = new A.SupplementalFont { Script = "Khmr", Typeface = "DaunPenh" }; var supplementalFont42 = new A.SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont43 = new A.SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont44 = new A.SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont45 = new A.SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont46 = new A.SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont47 = new A.SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont48 = new A.SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont49 = new A.SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont50 = new A.SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont51 = new A.SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont52 = new A.SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont53 = new A.SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont54 = new A.SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont55 = new A.SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont56 = new A.SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont57 = new A.SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont58 = new A.SupplementalFont { Script = "Viet", Typeface = "Arial" }; var supplementalFont59 = new A.SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont60 = new A.SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme2.Append(majorFont1); fontScheme2.Append(minorFont1); var formatScheme1 = new A.FormatScheme { Name = "Larissa" }; var fillStyleList1 = new A.FillStyleList(); var solidFill1 = new A.SolidFill(); var schemeColor1 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); var gradientFill1 = new A.GradientFill { RotateWithShape = true }; var gradientStopList1 = new A.GradientStopList(); var gradientStop1 = new A.GradientStop { Position = 0 }; var schemeColor2 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint1 = new A.Tint { Val = 50000 }; var saturationModulation1 = new A.SaturationModulation { Val = 300000 }; schemeColor2.Append(tint1); schemeColor2.Append(saturationModulation1); gradientStop1.Append(schemeColor2); var gradientStop2 = new A.GradientStop { Position = 35000 }; var schemeColor3 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint2 = new A.Tint { Val = 37000 }; var saturationModulation2 = new A.SaturationModulation { Val = 300000 }; schemeColor3.Append(tint2); schemeColor3.Append(saturationModulation2); gradientStop2.Append(schemeColor3); var gradientStop3 = new A.GradientStop { Position = 100000 }; var schemeColor4 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint3 = new A.Tint { Val = 15000 }; var saturationModulation3 = new A.SaturationModulation { Val = 350000 }; schemeColor4.Append(tint3); schemeColor4.Append(saturationModulation3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); var linearGradientFill1 = new A.LinearGradientFill { Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); var gradientFill2 = new A.GradientFill { RotateWithShape = true }; var gradientStopList2 = new A.GradientStopList(); var gradientStop4 = new A.GradientStop { Position = 0 }; var schemeColor5 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade1 = new A.Shade { Val = 51000 }; var saturationModulation4 = new A.SaturationModulation { Val = 130000 }; schemeColor5.Append(shade1); schemeColor5.Append(saturationModulation4); gradientStop4.Append(schemeColor5); var gradientStop5 = new A.GradientStop { Position = 80000 }; var schemeColor6 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade2 = new A.Shade { Val = 93000 }; var saturationModulation5 = new A.SaturationModulation { Val = 130000 }; schemeColor6.Append(shade2); schemeColor6.Append(saturationModulation5); gradientStop5.Append(schemeColor6); var gradientStop6 = new A.GradientStop { Position = 100000 }; var schemeColor7 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade3 = new A.Shade { Val = 94000 }; var saturationModulation6 = new A.SaturationModulation { Val = 135000 }; schemeColor7.Append(shade3); schemeColor7.Append(saturationModulation6); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); var linearGradientFill2 = new A.LinearGradientFill { Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); var lineStyleList1 = new A.LineStyleList(); var outline1 = new A.Outline { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill2 = new A.SolidFill(); var schemeColor8 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade4 = new A.Shade { Val = 95000 }; var saturationModulation7 = new A.SaturationModulation { Val = 105000 }; schemeColor8.Append(shade4); schemeColor8.Append(saturationModulation7); solidFill2.Append(schemeColor8); var presetDash1 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline1.Append(solidFill2); outline1.Append(presetDash1); var outline2 = new A.Outline { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill3 = new A.SolidFill(); var schemeColor9 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); var presetDash2 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline2.Append(solidFill3); outline2.Append(presetDash2); var outline3 = new A.Outline { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill4 = new A.SolidFill(); var schemeColor10 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); var presetDash3 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline3.Append(solidFill4); outline3.Append(presetDash3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); var effectStyleList1 = new A.EffectStyleList(); var effectStyle1 = new A.EffectStyle(); var effectList1 = new A.EffectList(); var outerShadow1 = new A.OuterShadow { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex11 = new A.RgbColorModelHex { Val = "000000" }; var alpha1 = new A.Alpha { Val = 38000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); var effectStyle2 = new A.EffectStyle(); var effectList2 = new A.EffectList(); var outerShadow2 = new A.OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex12 = new A.RgbColorModelHex { Val = "000000" }; var alpha2 = new A.Alpha { Val = 35000 }; rgbColorModelHex12.Append(alpha2); outerShadow2.Append(rgbColorModelHex12); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); var effectStyle3 = new A.EffectStyle(); var effectList3 = new A.EffectList(); var outerShadow3 = new A.OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex13 = new A.RgbColorModelHex { Val = "000000" }; var alpha3 = new A.Alpha { Val = 35000 }; rgbColorModelHex13.Append(alpha3); outerShadow3.Append(rgbColorModelHex13); effectList3.Append(outerShadow3); var scene3DType1 = new A.Scene3DType(); var camera1 = new A.Camera { Preset = A.PresetCameraValues.OrthographicFront }; var rotation1 = new A.Rotation { Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); var lightRig1 = new A.LightRig { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; var rotation2 = new A.Rotation { Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); var shape3DType1 = new A.Shape3DType(); var bevelTop1 = new A.BevelTop { Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); var backgroundFillStyleList1 = new A.BackgroundFillStyleList(); var solidFill5 = new A.SolidFill(); var schemeColor11 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); var gradientFill3 = new A.GradientFill { RotateWithShape = true }; var gradientStopList3 = new A.GradientStopList(); var gradientStop7 = new A.GradientStop { Position = 0 }; var schemeColor12 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint4 = new A.Tint { Val = 40000 }; var saturationModulation8 = new A.SaturationModulation { Val = 350000 }; schemeColor12.Append(tint4); schemeColor12.Append(saturationModulation8); gradientStop7.Append(schemeColor12); var gradientStop8 = new A.GradientStop { Position = 40000 }; var schemeColor13 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint5 = new A.Tint { Val = 45000 }; var shade5 = new A.Shade { Val = 99000 }; var saturationModulation9 = new A.SaturationModulation { Val = 350000 }; schemeColor13.Append(tint5); schemeColor13.Append(shade5); schemeColor13.Append(saturationModulation9); gradientStop8.Append(schemeColor13); var gradientStop9 = new A.GradientStop { Position = 100000 }; var schemeColor14 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade6 = new A.Shade { Val = 20000 }; var saturationModulation10 = new A.SaturationModulation { Val = 255000 }; schemeColor14.Append(shade6); schemeColor14.Append(saturationModulation10); gradientStop9.Append(schemeColor14); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); var pathGradientFill1 = new A.PathGradientFill { Path = A.PathShadeValues.Circle }; var fillToRectangle1 = new A.FillToRectangle { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); var gradientFill4 = new A.GradientFill { RotateWithShape = true }; var gradientStopList4 = new A.GradientStopList(); var gradientStop10 = new A.GradientStop { Position = 0 }; var schemeColor15 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint6 = new A.Tint { Val = 80000 }; var saturationModulation11 = new A.SaturationModulation { Val = 300000 }; schemeColor15.Append(tint6); schemeColor15.Append(saturationModulation11); gradientStop10.Append(schemeColor15); var gradientStop11 = new A.GradientStop { Position = 100000 }; var schemeColor16 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade7 = new A.Shade { Val = 30000 }; var saturationModulation12 = new A.SaturationModulation { Val = 200000 }; schemeColor16.Append(shade7); schemeColor16.Append(saturationModulation12); gradientStop11.Append(schemeColor16); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); var pathGradientFill2 = new A.PathGradientFill { Path = A.PathShadeValues.Circle }; var fillToRectangle2 = new A.FillToRectangle { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme2); themeElements1.Append(formatScheme1); var objectDefaults1 = new A.ObjectDefaults(); var extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme(){ Name = "Office Theme" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Oriel" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "575F6D" }; dark2Color1.Append(rgbColorModelHex5); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "FFF39D" }; light2Color1.Append(rgbColorModelHex6); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "FE8637" }; accent1Color1.Append(rgbColorModelHex7); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "7598D9" }; accent2Color1.Append(rgbColorModelHex8); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "B32C16" }; accent3Color1.Append(rgbColorModelHex9); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "F5CD2D" }; accent4Color1.Append(rgbColorModelHex10); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "AEBAD5" }; accent5Color1.Append(rgbColorModelHex11); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "777C84" }; accent6Color1.Append(rgbColorModelHex12); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "D2611C" }; hyperlink1.Append(rgbColorModelHex13); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex(){ Val = "3B435B" }; followedHyperlinkColor1.Append(rgbColorModelHex14); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Verve" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "Century Gothic" }; A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HGゴシックM" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "HY중고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "幼圆" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Gisha" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "DilleniaUPC" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; majorFont1.Append(latinFont19); majorFont1.Append(eastAsianFont19); majorFont1.Append(complexScriptFont19); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "Century Gothic" }; A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Hang", Typeface = "HY중고딕" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Hans", Typeface = "幼圆" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Gisha" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Thai", Typeface = "DilleniaUPC" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Verdana" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; minorFont1.Append(latinFont20); minorFont1.Append(eastAsianFont20); minorFont1.Append(complexScriptFont20); minorFont1.Append(supplementalFont30); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill20 = new A.SolidFill(); A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill20.Append(schemeColor20); A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint1 = new A.Tint(){ Val = 50000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 300000 }; schemeColor21.Append(tint1); schemeColor21.Append(saturationModulation1); gradientStop1.Append(schemeColor21); A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 35000 }; A.SchemeColor schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint2 = new A.Tint(){ Val = 37000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 300000 }; schemeColor22.Append(tint2); schemeColor22.Append(saturationModulation2); gradientStop2.Append(schemeColor22); A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint3 = new A.Tint(){ Val = 15000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 350000 }; schemeColor23.Append(tint3); schemeColor23.Append(saturationModulation3); gradientStop3.Append(schemeColor23); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade(){ Val = 51000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 130000 }; schemeColor24.Append(shade1); schemeColor24.Append(saturationModulation4); gradientStop4.Append(schemeColor24); A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 80000 }; A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade(){ Val = 93000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 130000 }; schemeColor25.Append(shade2); schemeColor25.Append(saturationModulation5); gradientStop5.Append(schemeColor25); A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade(){ Val = 94000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 135000 }; schemeColor26.Append(shade3); schemeColor26.Append(saturationModulation6); gradientStop6.Append(schemeColor26); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill20); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline2 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill21 = new A.SolidFill(); A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade4 = new A.Shade(){ Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 105000 }; schemeColor27.Append(shade4); schemeColor27.Append(saturationModulation7); solidFill21.Append(schemeColor27); A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline2.Append(solidFill21); outline2.Append(presetDash1); A.Outline outline3 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill22 = new A.SolidFill(); A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill22.Append(schemeColor28); A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline3.Append(solidFill22); outline3.Append(presetDash2); A.Outline outline4 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill23 = new A.SolidFill(); A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill23.Append(schemeColor29); A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline4.Append(solidFill23); outline4.Append(presetDash3); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); lineStyleList1.Append(outline4); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha1 = new A.Alpha(){ Val = 38000 }; rgbColorModelHex15.Append(alpha1); outerShadow1.Append(rgbColorModelHex15); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha2 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex16.Append(alpha2); outerShadow2.Append(rgbColorModelHex16); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha3 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex17.Append(alpha3); outerShadow3.Append(rgbColorModelHex17); effectList3.Append(outerShadow3); A.Scene3DType scene3DType1 = new A.Scene3DType(); A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); A.Shape3DType shape3DType1 = new A.Shape3DType(); A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill24 = new A.SolidFill(); A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill24.Append(schemeColor30); A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint4 = new A.Tint(){ Val = 40000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 350000 }; schemeColor31.Append(tint4); schemeColor31.Append(saturationModulation8); gradientStop7.Append(schemeColor31); A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 40000 }; A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint5 = new A.Tint(){ Val = 45000 }; A.Shade shade5 = new A.Shade(){ Val = 99000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 350000 }; schemeColor32.Append(tint5); schemeColor32.Append(shade5); schemeColor32.Append(saturationModulation9); gradientStop8.Append(schemeColor32); A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade6 = new A.Shade(){ Val = 20000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 255000 }; schemeColor33.Append(shade6); schemeColor33.Append(saturationModulation10); gradientStop9.Append(schemeColor33); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint6 = new A.Tint(){ Val = 80000 }; A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 300000 }; schemeColor34.Append(tint6); schemeColor34.Append(saturationModulation11); gradientStop10.Append(schemeColor34); A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade7 = new A.Shade(){ Val = 30000 }; A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 200000 }; schemeColor35.Append(shade7); schemeColor35.Append(saturationModulation12); gradientStop11.Append(schemeColor35); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill24); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }
private void generateThemePartContent(ThemePart themePart) { var theme1 = new Theme { Name = "Тема Office" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); var themeElements1 = new ThemeElements(); var colorScheme1 = new ColorScheme { Name = "Стандартная" }; var dark1Color1 = new Dark1Color(); var systemColor1 = new SystemColor { Val = SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); var light1Color1 = new Light1Color(); var systemColor2 = new SystemColor { Val = SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); var dark2Color1 = new Dark2Color(); var rgbColorModelHex1 = new RgbColorModelHex { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex1); var light2Color1 = new Light2Color(); var rgbColorModelHex2 = new RgbColorModelHex { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex2); var accent1Color1 = new Accent1Color(); var rgbColorModelHex3 = new RgbColorModelHex { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex3); var accent2Color1 = new Accent2Color(); var rgbColorModelHex4 = new RgbColorModelHex { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex4); var accent3Color1 = new Accent3Color(); var rgbColorModelHex5 = new RgbColorModelHex { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex5); var accent4Color1 = new Accent4Color(); var rgbColorModelHex6 = new RgbColorModelHex { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex6); var accent5Color1 = new Accent5Color(); var rgbColorModelHex7 = new RgbColorModelHex { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex7); var accent6Color1 = new Accent6Color(); var rgbColorModelHex8 = new RgbColorModelHex { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex8); var hyperlink1 = new DocumentFormat.OpenXml.Drawing.Hyperlink(); var rgbColorModelHex9 = new RgbColorModelHex { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex9); var followedHyperlinkColor1 = new FollowedHyperlinkColor(); var rgbColorModelHex10 = new RgbColorModelHex { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); var fontScheme2 = new DocumentFormat.OpenXml.Drawing.FontScheme { Name = "Стандартная" }; var majorFont1 = new MajorFont(); var latinFont1 = new LatinFont { Typeface = "Cambria" }; var eastAsianFont1 = new EastAsianFont { Typeface = "" }; var complexScriptFont1 = new ComplexScriptFont { Typeface = "" }; var supplementalFont1 = new SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont2 = new SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont3 = new SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont4 = new SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont5 = new SupplementalFont { Script = "Arab", Typeface = "Times New Roman" }; var supplementalFont6 = new SupplementalFont { Script = "Hebr", Typeface = "Times New Roman" }; var supplementalFont7 = new SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont8 = new SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont9 = new SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont10 = new SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont11 = new SupplementalFont { Script = "Khmr", Typeface = "MoolBoran" }; var supplementalFont12 = new SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont13 = new SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont14 = new SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont15 = new SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont16 = new SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont17 = new SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont18 = new SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont19 = new SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont20 = new SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont21 = new SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont22 = new SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont23 = new SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont24 = new SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont25 = new SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont26 = new SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont27 = new SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont28 = new SupplementalFont { Script = "Viet", Typeface = "Times New Roman" }; var supplementalFont29 = new SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont30 = new SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); var minorFont1 = new MinorFont(); var latinFont2 = new LatinFont { Typeface = "Calibri" }; var eastAsianFont2 = new EastAsianFont { Typeface = "" }; var complexScriptFont2 = new ComplexScriptFont { Typeface = "" }; var supplementalFont31 = new SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont32 = new SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont33 = new SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont34 = new SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont35 = new SupplementalFont { Script = "Arab", Typeface = "Arial" }; var supplementalFont36 = new SupplementalFont { Script = "Hebr", Typeface = "Arial" }; var supplementalFont37 = new SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont38 = new SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont39 = new SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont40 = new SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont41 = new SupplementalFont { Script = "Khmr", Typeface = "DaunPenh" }; var supplementalFont42 = new SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont43 = new SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont44 = new SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont45 = new SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont46 = new SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont47 = new SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont48 = new SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont49 = new SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont50 = new SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont51 = new SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont52 = new SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont53 = new SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont54 = new SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont55 = new SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont56 = new SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont57 = new SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont58 = new SupplementalFont { Script = "Viet", Typeface = "Arial" }; var supplementalFont59 = new SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont60 = new SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme2.Append(majorFont1); fontScheme2.Append(minorFont1); var formatScheme1 = new FormatScheme { Name = "Стандартная" }; var fillStyleList1 = new FillStyleList(); var solidFill1 = new SolidFill(); var schemeColor1 = new SchemeColor { Val = SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); var gradientFill1 = new DocumentFormat.OpenXml.Drawing.GradientFill { RotateWithShape = true }; var gradientStopList1 = new GradientStopList(); var gradientStop1 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 0 }; var schemeColor2 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint1 = new Tint { Val = 50000 }; var saturationModulation1 = new SaturationModulation { Val = 300000 }; schemeColor2.Append(tint1); schemeColor2.Append(saturationModulation1); gradientStop1.Append(schemeColor2); var gradientStop2 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 35000 }; var schemeColor3 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint2 = new Tint { Val = 37000 }; var saturationModulation2 = new SaturationModulation { Val = 300000 }; schemeColor3.Append(tint2); schemeColor3.Append(saturationModulation2); gradientStop2.Append(schemeColor3); var gradientStop3 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 100000 }; var schemeColor4 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint3 = new Tint { Val = 15000 }; var saturationModulation3 = new SaturationModulation { Val = 350000 }; schemeColor4.Append(tint3); schemeColor4.Append(saturationModulation3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); var linearGradientFill1 = new LinearGradientFill { Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); var gradientFill2 = new DocumentFormat.OpenXml.Drawing.GradientFill { RotateWithShape = true }; var gradientStopList2 = new GradientStopList(); var gradientStop4 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 0 }; var schemeColor5 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade1 = new Shade { Val = 51000 }; var saturationModulation4 = new SaturationModulation { Val = 130000 }; schemeColor5.Append(shade1); schemeColor5.Append(saturationModulation4); gradientStop4.Append(schemeColor5); var gradientStop5 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 80000 }; var schemeColor6 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade2 = new Shade { Val = 93000 }; var saturationModulation5 = new SaturationModulation { Val = 130000 }; schemeColor6.Append(shade2); schemeColor6.Append(saturationModulation5); gradientStop5.Append(schemeColor6); var gradientStop6 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 100000 }; var schemeColor7 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade3 = new Shade { Val = 94000 }; var saturationModulation6 = new SaturationModulation { Val = 135000 }; schemeColor7.Append(shade3); schemeColor7.Append(saturationModulation6); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); var linearGradientFill2 = new LinearGradientFill { Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); var lineStyleList1 = new LineStyleList(); var outline1 = new DocumentFormat.OpenXml.Drawing.Outline { Width = 9525, CapType = LineCapValues.Flat, CompoundLineType = CompoundLineValues.Single, Alignment = PenAlignmentValues.Center }; var solidFill2 = new SolidFill(); var schemeColor8 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade4 = new Shade { Val = 95000 }; var saturationModulation7 = new SaturationModulation { Val = 105000 }; schemeColor8.Append(shade4); schemeColor8.Append(saturationModulation7); solidFill2.Append(schemeColor8); var presetDash1 = new PresetDash { Val = PresetLineDashValues.Solid }; outline1.Append(solidFill2); outline1.Append(presetDash1); var outline2 = new DocumentFormat.OpenXml.Drawing.Outline { Width = 25400, CapType = LineCapValues.Flat, CompoundLineType = CompoundLineValues.Single, Alignment = PenAlignmentValues.Center }; var solidFill3 = new SolidFill(); var schemeColor9 = new SchemeColor { Val = SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); var presetDash2 = new PresetDash { Val = PresetLineDashValues.Solid }; outline2.Append(solidFill3); outline2.Append(presetDash2); var outline3 = new DocumentFormat.OpenXml.Drawing.Outline { Width = 38100, CapType = LineCapValues.Flat, CompoundLineType = CompoundLineValues.Single, Alignment = PenAlignmentValues.Center }; var solidFill4 = new SolidFill(); var schemeColor10 = new SchemeColor { Val = SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); var presetDash3 = new PresetDash { Val = PresetLineDashValues.Solid }; outline3.Append(solidFill4); outline3.Append(presetDash3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); var effectStyleList1 = new EffectStyleList(); var effectStyle1 = new EffectStyle(); var effectList1 = new EffectList(); var outerShadow1 = new OuterShadow { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex11 = new RgbColorModelHex { Val = "000000" }; var alpha1 = new Alpha { Val = 38000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); var effectStyle2 = new EffectStyle(); var effectList2 = new EffectList(); var outerShadow2 = new OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex12 = new RgbColorModelHex { Val = "000000" }; var alpha2 = new Alpha { Val = 35000 }; rgbColorModelHex12.Append(alpha2); outerShadow2.Append(rgbColorModelHex12); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); var effectStyle3 = new EffectStyle(); var effectList3 = new EffectList(); var outerShadow3 = new OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex13 = new RgbColorModelHex { Val = "000000" }; var alpha3 = new Alpha { Val = 35000 }; rgbColorModelHex13.Append(alpha3); outerShadow3.Append(rgbColorModelHex13); effectList3.Append(outerShadow3); var scene3DType1 = new Scene3DType(); var camera1 = new Camera { Preset = PresetCameraValues.OrthographicFront }; var rotation1 = new Rotation { Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); var lightRig1 = new LightRig { Rig = LightRigValues.ThreePoints, Direction = LightRigDirectionValues.Top }; var rotation2 = new Rotation { Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); var shape3DType1 = new Shape3DType(); var bevelTop1 = new BevelTop { Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); var backgroundFillStyleList1 = new BackgroundFillStyleList(); var solidFill5 = new SolidFill(); var schemeColor11 = new SchemeColor { Val = SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); var gradientFill3 = new DocumentFormat.OpenXml.Drawing.GradientFill { RotateWithShape = true }; var gradientStopList3 = new GradientStopList(); var gradientStop7 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 0 }; var schemeColor12 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint4 = new Tint { Val = 40000 }; var saturationModulation8 = new SaturationModulation { Val = 350000 }; schemeColor12.Append(tint4); schemeColor12.Append(saturationModulation8); gradientStop7.Append(schemeColor12); var gradientStop8 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 40000 }; var schemeColor13 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint5 = new Tint { Val = 45000 }; var shade5 = new Shade { Val = 99000 }; var saturationModulation9 = new SaturationModulation { Val = 350000 }; schemeColor13.Append(tint5); schemeColor13.Append(shade5); schemeColor13.Append(saturationModulation9); gradientStop8.Append(schemeColor13); var gradientStop9 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 100000 }; var schemeColor14 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade6 = new Shade { Val = 20000 }; var saturationModulation10 = new SaturationModulation { Val = 255000 }; schemeColor14.Append(shade6); schemeColor14.Append(saturationModulation10); gradientStop9.Append(schemeColor14); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); var pathGradientFill1 = new PathGradientFill { Path = PathShadeValues.Circle }; var fillToRectangle1 = new FillToRectangle { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); var gradientFill4 = new DocumentFormat.OpenXml.Drawing.GradientFill { RotateWithShape = true }; var gradientStopList4 = new GradientStopList(); var gradientStop10 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 0 }; var schemeColor15 = new SchemeColor { Val = SchemeColorValues.PhColor }; var tint6 = new Tint { Val = 80000 }; var saturationModulation11 = new SaturationModulation { Val = 300000 }; schemeColor15.Append(tint6); schemeColor15.Append(saturationModulation11); gradientStop10.Append(schemeColor15); var gradientStop11 = new DocumentFormat.OpenXml.Drawing.GradientStop { Position = 100000 }; var schemeColor16 = new SchemeColor { Val = SchemeColorValues.PhColor }; var shade7 = new Shade { Val = 30000 }; var saturationModulation12 = new SaturationModulation { Val = 200000 }; schemeColor16.Append(shade7); schemeColor16.Append(saturationModulation12); gradientStop11.Append(schemeColor16); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); var pathGradientFill2 = new PathGradientFill { Path = PathShadeValues.Circle }; var fillToRectangle2 = new FillToRectangle { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme2); themeElements1.Append(formatScheme1); var objectDefaults1 = new ObjectDefaults(); var extraColorSchemeList1 = new ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart.Theme = theme1; }
private static void GeneratePartContent(ThemePart themePart1) { A.Theme theme1 = new A.Theme() { Name = "Office テーマ" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office テーマ" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "44546A" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "E7E6E6" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "4472C4" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "ED7D31" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "A5A5A5" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "FFC000" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "5B9BD5" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "70AD47" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0563C1" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "954F72" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office テーマ" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont20 = new A.LatinFont() { Typeface = "Calibri Light", Panose = "020F0302020204030204" }; A.EastAsianFont eastAsianFont20 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "游ゴシック Light" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "等线 Light" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Angsana New" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont20); majorFont1.Append(eastAsianFont20); majorFont1.Append(complexScriptFont20); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont21 = new A.LatinFont() { Typeface = "Calibri", Panose = "020F0502020204030204" }; A.EastAsianFont eastAsianFont21 = new A.EastAsianFont() { Typeface = "" }; A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont() { Typeface = "" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Jpan", Typeface = "游ゴシック" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hans", Typeface = "等线" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Thai", Typeface = "Cordia New" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont21); minorFont1.Append(eastAsianFont21); minorFont1.Append(complexScriptFont21); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office テーマ" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill32 = new A.SolidFill(); A.SchemeColor schemeColor33 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill32.Append(schemeColor33); A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor34 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 110000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 105000 }; A.Tint tint12 = new A.Tint() { Val = 67000 }; schemeColor34.Append(luminanceModulation1); schemeColor34.Append(saturationModulation1); schemeColor34.Append(tint12); gradientStop1.Append(schemeColor34); A.GradientStop gradientStop2 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor35 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 105000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 103000 }; A.Tint tint13 = new A.Tint() { Val = 73000 }; schemeColor35.Append(luminanceModulation2); schemeColor35.Append(saturationModulation2); schemeColor35.Append(tint13); gradientStop2.Append(schemeColor35); A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor36 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 105000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 109000 }; A.Tint tint14 = new A.Tint() { Val = 81000 }; schemeColor36.Append(luminanceModulation3); schemeColor36.Append(saturationModulation3); schemeColor36.Append(tint14); gradientStop3.Append(schemeColor36); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor37 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 103000 }; A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 102000 }; A.Tint tint15 = new A.Tint() { Val = 94000 }; schemeColor37.Append(saturationModulation4); schemeColor37.Append(luminanceModulation4); schemeColor37.Append(tint15); gradientStop4.Append(schemeColor37); A.GradientStop gradientStop5 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor38 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 110000 }; A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 100000 }; A.Shade shade1 = new A.Shade() { Val = 100000 }; schemeColor38.Append(saturationModulation5); schemeColor38.Append(luminanceModulation5); schemeColor38.Append(shade1); gradientStop5.Append(schemeColor38); A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor39 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 99000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 120000 }; A.Shade shade2 = new A.Shade() { Val = 78000 }; schemeColor39.Append(luminanceModulation6); schemeColor39.Append(saturationModulation6); schemeColor39.Append(shade2); gradientStop6.Append(schemeColor39); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill32); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline1 = new A.Outline() { Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill33 = new A.SolidFill(); A.SchemeColor schemeColor40 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill33.Append(schemeColor40); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter1 = new A.Miter() { Limit = 800000 }; outline1.Append(solidFill33); outline1.Append(presetDash1); outline1.Append(miter1); A.Outline outline2 = new A.Outline() { Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill34 = new A.SolidFill(); A.SchemeColor schemeColor41 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill34.Append(schemeColor41); A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter2 = new A.Miter() { Limit = 800000 }; outline2.Append(solidFill34); outline2.Append(presetDash2); outline2.Append(miter2); A.Outline outline3 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill35 = new A.SolidFill(); A.SchemeColor schemeColor42 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill35.Append(schemeColor42); A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; A.Miter miter3 = new A.Miter() { Limit = 800000 }; outline3.Append(solidFill35); outline3.Append(presetDash3); outline3.Append(miter3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList1 = new A.EffectList(); effectStyle1.Append(effectList1); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList2 = new A.EffectList(); effectStyle2.Append(effectList2); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList3 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = 63000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList3.Append(outerShadow1); effectStyle3.Append(effectList3); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill36 = new A.SolidFill(); A.SchemeColor schemeColor43 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill36.Append(schemeColor43); A.SolidFill solidFill37 = new A.SolidFill(); A.SchemeColor schemeColor44 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint16 = new A.Tint() { Val = 95000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 170000 }; schemeColor44.Append(tint16); schemeColor44.Append(saturationModulation7); solidFill37.Append(schemeColor44); A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 }; A.SchemeColor schemeColor45 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint17 = new A.Tint() { Val = 93000 }; A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 150000 }; A.Shade shade3 = new A.Shade() { Val = 98000 }; A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 102000 }; schemeColor45.Append(tint17); schemeColor45.Append(saturationModulation8); schemeColor45.Append(shade3); schemeColor45.Append(luminanceModulation7); gradientStop7.Append(schemeColor45); A.GradientStop gradientStop8 = new A.GradientStop() { Position = 50000 }; A.SchemeColor schemeColor46 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Tint tint18 = new A.Tint() { Val = 98000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 130000 }; A.Shade shade4 = new A.Shade() { Val = 90000 }; A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation() { Val = 103000 }; schemeColor46.Append(tint18); schemeColor46.Append(saturationModulation9); schemeColor46.Append(shade4); schemeColor46.Append(luminanceModulation8); gradientStop8.Append(schemeColor46); A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 }; A.SchemeColor schemeColor47 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; A.Shade shade5 = new A.Shade() { Val = 63000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 120000 }; schemeColor47.Append(shade5); schemeColor47.Append(saturationModulation10); gradientStop9.Append(schemeColor47); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false }; gradientFill3.Append(gradientStopList3); gradientFill3.Append(linearGradientFill3); backgroundFillStyleList1.Append(solidFill36); backgroundFillStyleList1.Append(solidFill37); backgroundFillStyleList1.Append(gradientFill3); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList(); A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension() { Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" }; Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily() { Name = "Office Theme", Id = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", Vid = "{4A3C46E8-61CC-4603-A589-7422A47A8E4A}" }; themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main"); officeStyleSheetExtension1.Append(themeFamily1); officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); theme1.Append(officeStyleSheetExtensionList1); themePart1.Theme = theme1; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme(){ Name = "Slice" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Slice HD-RCA" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "537D0B" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "A9E257" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "38540A" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "31A274" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "236073" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "6C4D90" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "983C27" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "CD811F" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "293F06" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "68883A" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Slice HD-RCA" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" }; A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "" }; majorFont1.Append(latinFont32); majorFont1.Append(eastAsianFont29); majorFont1.Append(complexScriptFont29); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" }; A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" }; minorFont1.Append(latinFont33); minorFont1.Append(eastAsianFont30); minorFont1.Append(complexScriptFont30); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Slice HD-RCA" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill73 = new A.SolidFill(); A.SchemeColor schemeColor139 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill73.Append(schemeColor139); A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor140 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint17 = new A.Tint(){ Val = 62000 }; A.HueModulation hueModulation1 = new A.HueModulation(){ Val = 94000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 140000 }; A.LuminanceModulation luminanceModulation11 = new A.LuminanceModulation(){ Val = 110000 }; schemeColor140.Append(tint17); schemeColor140.Append(hueModulation1); schemeColor140.Append(saturationModulation1); schemeColor140.Append(luminanceModulation11); gradientStop1.Append(schemeColor140); A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor141 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint18 = new A.Tint(){ Val = 84000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 160000 }; schemeColor141.Append(tint18); schemeColor141.Append(saturationModulation2); gradientStop2.Append(schemeColor141); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor142 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint19 = new A.Tint(){ Val = 98000 }; A.HueModulation hueModulation2 = new A.HueModulation(){ Val = 94000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 130000 }; A.LuminanceModulation luminanceModulation12 = new A.LuminanceModulation(){ Val = 128000 }; schemeColor142.Append(tint19); schemeColor142.Append(hueModulation2); schemeColor142.Append(saturationModulation3); schemeColor142.Append(luminanceModulation12); gradientStop3.Append(schemeColor142); A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor143 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade(){ Val = 94000 }; A.LuminanceModulation luminanceModulation13 = new A.LuminanceModulation(){ Val = 88000 }; schemeColor143.Append(shade1); schemeColor143.Append(luminanceModulation13); gradientStop4.Append(schemeColor143); gradientStopList2.Append(gradientStop3); gradientStopList2.Append(gradientStop4); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill73); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline17 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill74 = new A.SolidFill(); A.SchemeColor schemeColor144 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint20 = new A.Tint(){ Val = 76000 }; A.Alpha alpha1 = new A.Alpha(){ Val = 60000 }; A.HueModulation hueModulation3 = new A.HueModulation(){ Val = 94000 }; schemeColor144.Append(tint20); schemeColor144.Append(alpha1); schemeColor144.Append(hueModulation3); solidFill74.Append(schemeColor144); A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline17.Append(solidFill74); outline17.Append(presetDash1); A.Outline outline18 = new A.Outline(){ Width = 15875, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill75 = new A.SolidFill(); A.SchemeColor schemeColor145 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.HueModulation hueModulation4 = new A.HueModulation(){ Val = 94000 }; schemeColor145.Append(hueModulation4); solidFill75.Append(schemeColor145); A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline18.Append(solidFill75); outline18.Append(presetDash2); A.Outline outline19 = new A.Outline(){ Width = 28575, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill76 = new A.SolidFill(); A.SchemeColor schemeColor146 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill76.Append(schemeColor146); A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline19.Append(solidFill76); outline19.Append(presetDash3); lineStyleList1.Append(outline17); lineStyleList1.Append(outline18); lineStyleList1.Append(outline19); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList12 = new A.EffectList(); effectStyle1.Append(effectList12); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList13 = new A.EffectList(); A.InnerShadow innerShadow1 = new A.InnerShadow(){ BlurRadius = 25400L, Distance = 12700L, Direction = 13500000 }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha2 = new A.Alpha(){ Val = 45000 }; rgbColorModelHex11.Append(alpha2); innerShadow1.Append(rgbColorModelHex11); effectList13.Append(innerShadow1); effectStyle2.Append(effectList13); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList14 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 50800L, Distance = 38100L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha3 = new A.Alpha(){ Val = 46000 }; rgbColorModelHex12.Append(alpha3); outerShadow1.Append(rgbColorModelHex12); effectList14.Append(outerShadow1); A.Scene3DType scene3DType1 = new A.Scene3DType(); A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); A.Shape3DType shape3DType1 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Plastic }; A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 25400L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList14); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill77 = new A.SolidFill(); A.SchemeColor schemeColor147 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill77.Append(schemeColor147); A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 10000 }; A.SchemeColor schemeColor148 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint21 = new A.Tint(){ Val = 97000 }; A.HueModulation hueModulation5 = new A.HueModulation(){ Val = 92000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 169000 }; A.LuminanceModulation luminanceModulation14 = new A.LuminanceModulation(){ Val = 164000 }; schemeColor148.Append(tint21); schemeColor148.Append(hueModulation5); schemeColor148.Append(saturationModulation4); schemeColor148.Append(luminanceModulation14); gradientStop5.Append(schemeColor148); A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor149 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade(){ Val = 96000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 120000 }; A.LuminanceModulation luminanceModulation15 = new A.LuminanceModulation(){ Val = 90000 }; schemeColor149.Append(shade2); schemeColor149.Append(saturationModulation5); schemeColor149.Append(luminanceModulation15); gradientStop6.Append(schemeColor149); gradientStopList3.Append(gradientStop5); gradientStopList3.Append(gradientStop6); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 6120000, Scaled = true }; gradientFill3.Append(gradientStopList3); gradientFill3.Append(linearGradientFill3); A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor150 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint22 = new A.Tint(){ Val = 97000 }; A.HueModulation hueModulation6 = new A.HueModulation(){ Val = 92000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 169000 }; A.LuminanceModulation luminanceModulation16 = new A.LuminanceModulation(){ Val = 164000 }; schemeColor150.Append(tint22); schemeColor150.Append(hueModulation6); schemeColor150.Append(saturationModulation6); schemeColor150.Append(luminanceModulation16); gradientStop7.Append(schemeColor150); A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor151 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade(){ Val = 96000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 120000 }; A.LuminanceModulation luminanceModulation17 = new A.LuminanceModulation(){ Val = 90000 }; schemeColor151.Append(shade3); schemeColor151.Append(saturationModulation7); schemeColor151.Append(luminanceModulation17); gradientStop8.Append(schemeColor151); gradientStopList4.Append(gradientStop7); gradientStopList4.Append(gradientStop8); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Bottom = 100000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill1); backgroundFillStyleList1.Append(solidFill77); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList(); A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension(){ Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" }; Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily(){ Name = "Slice", Id = "{0507925B-6AC9-4358-8E18-C330545D08F8}", Vid = "{24C90B2D-6D41-4755-90A4-ED86E7EA9F03}" }; themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main"); officeStyleSheetExtension1.Append(themeFamily1); officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); theme1.Append(officeStyleSheetExtensionList1); themePart1.Theme = theme1; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme(){ Name = "Apex" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Apex" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "69676D" }; dark2Color1.Append(rgbColorModelHex4); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "C9C2D1" }; light2Color1.Append(rgbColorModelHex5); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "CEB966" }; accent1Color1.Append(rgbColorModelHex6); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "9CB084" }; accent2Color1.Append(rgbColorModelHex7); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "6BB1C9" }; accent3Color1.Append(rgbColorModelHex8); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "6585CF" }; accent4Color1.Append(rgbColorModelHex9); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "7E6BC9" }; accent5Color1.Append(rgbColorModelHex10); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "A379BB" }; accent6Color1.Append(rgbColorModelHex11); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "410082" }; hyperlink1.Append(rgbColorModelHex12); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "932968" }; followedHyperlinkColor1.Append(rgbColorModelHex13); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Apex" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont30 = new A.LatinFont(){ Typeface = "Lucida Sans" }; A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Arial" }; A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Arial" }; A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG丸ゴシックM-PRO" }; A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hang", Typeface = "휴먼옛체" }; A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Hans", Typeface = "黑体" }; A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" }; A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Levenim MT" }; A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Thai", Typeface = "FreesiaUPC" }; A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Tahoma" }; A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont30); majorFont1.Append(eastAsianFont30); majorFont1.Append(complexScriptFont30); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); majorFont1.Append(supplementalFont31); majorFont1.Append(supplementalFont32); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont31 = new A.LatinFont(){ Typeface = "Book Antiqua" }; A.EastAsianFont eastAsianFont31 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont31 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG明朝B" }; A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Hang", Typeface = "돋움" }; A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "David" }; A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Thai", Typeface = "EucrosiaUPC" }; A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont31); minorFont1.Append(eastAsianFont31); minorFont1.Append(complexScriptFont31); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); minorFont1.Append(supplementalFont61); minorFont1.Append(supplementalFont62); minorFont1.Append(supplementalFont63); minorFont1.Append(supplementalFont64); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Apex" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill39 = new A.SolidFill(); A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill39.Append(schemeColor57); A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 20000 }; A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint13 = new A.Tint(){ Val = 9000 }; schemeColor58.Append(tint13); gradientStop7.Append(schemeColor58); A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint14 = new A.Tint(){ Val = 70000 }; A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 100000 }; schemeColor59.Append(tint14); schemeColor59.Append(saturationModulation9); gradientStop8.Append(schemeColor59); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = -15000, Top = -15000, Right = 115000, Bottom = 115000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade6 = new A.Shade(){ Val = 60000 }; schemeColor60.Append(shade6); gradientStop9.Append(schemeColor60); A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 33000 }; A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint15 = new A.Tint(){ Val = 86500 }; schemeColor61.Append(tint15); gradientStop10.Append(schemeColor61); A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 46750 }; A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint16 = new A.Tint(){ Val = 71000 }; A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 112000 }; schemeColor62.Append(tint16); schemeColor62.Append(saturationModulation10); gradientStop11.Append(schemeColor62); A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 53000 }; A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint17 = new A.Tint(){ Val = 71000 }; A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 112000 }; schemeColor63.Append(tint17); schemeColor63.Append(saturationModulation11); gradientStop12.Append(schemeColor63); A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 68000 }; A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint18 = new A.Tint(){ Val = 86000 }; schemeColor64.Append(tint18); gradientStop13.Append(schemeColor64); A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade7 = new A.Shade(){ Val = 60000 }; schemeColor65.Append(shade7); gradientStop14.Append(schemeColor65); gradientStopList4.Append(gradientStop9); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); gradientStopList4.Append(gradientStop12); gradientStopList4.Append(gradientStop13); gradientStopList4.Append(gradientStop14); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 8350000, Scaled = true }; gradientFill4.Append(gradientStopList4); gradientFill4.Append(linearGradientFill3); fillStyleList1.Append(solidFill39); fillStyleList1.Append(gradientFill3); fillStyleList1.Append(gradientFill4); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill40 = new A.SolidFill(); A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade8 = new A.Shade(){ Val = 48000 }; A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 110000 }; schemeColor66.Append(shade8); schemeColor66.Append(saturationModulation12); solidFill40.Append(schemeColor66); A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline5.Append(solidFill40); outline5.Append(presetDash1); A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill41 = new A.SolidFill(); A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill41.Append(schemeColor67); A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline6.Append(solidFill41); outline6.Append(presetDash2); A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill42 = new A.SolidFill(); A.SchemeColor schemeColor68 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill42.Append(schemeColor68); A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline7.Append(solidFill42); outline7.Append(presetDash3); lineStyleList1.Append(outline5); lineStyleList1.Append(outline6); lineStyleList1.Append(outline7); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList4 = new A.EffectList(); A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 130000L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha4 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex14.Append(alpha4); outerShadow4.Append(rgbColorModelHex14); effectList4.Append(outerShadow4); effectStyle1.Append(effectList4); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList5 = new A.EffectList(); A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha5 = new A.Alpha(){ Val = 25500 }; rgbColorModelHex15.Append(alpha5); outerShadow5.Append(rgbColorModelHex15); effectList5.Append(outerShadow5); effectStyle2.Append(effectList5); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList6 = new A.EffectList(); A.OuterShadow outerShadow6 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha6 = new A.Alpha(){ Val = 25500 }; rgbColorModelHex16.Append(alpha6); outerShadow6.Append(rgbColorModelHex16); effectList6.Append(outerShadow6); A.Scene3DType scene3DType4 = new A.Scene3DType(); A.Camera camera4 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront, FieldOfView = 0 }; A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera4.Append(rotation4); A.LightRig lightRig4 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.TopLeft }; A.Rotation rotation5 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 20100000 }; lightRig4.Append(rotation5); scene3DType4.Append(camera4); scene3DType4.Append(lightRig4); A.Shape3DType shape3DType5 = new A.Shape3DType(); A.BevelTop bevelTop4 = new A.BevelTop(){ Width = 50800L, Height = 50800L }; shape3DType5.Append(bevelTop4); effectStyle3.Append(effectList6); effectStyle3.Append(scene3DType4); effectStyle3.Append(shape3DType5); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill43 = new A.SolidFill(); A.SchemeColor schemeColor69 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill43.Append(schemeColor69); A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList5 = new A.GradientStopList(); A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor70 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint19 = new A.Tint(){ Val = 50000 }; A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 180000 }; schemeColor70.Append(tint19); schemeColor70.Append(saturationModulation13); gradientStop15.Append(schemeColor70); A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor71 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade9 = new A.Shade(){ Val = 45000 }; A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 120000 }; schemeColor71.Append(shade9); schemeColor71.Append(saturationModulation14); gradientStop16.Append(schemeColor71); gradientStopList5.Append(gradientStop15); gradientStopList5.Append(gradientStop16); A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Right = 100000, Bottom = 100000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill5.Append(gradientStopList5); gradientFill5.Append(pathGradientFill2); A.BlipFill blipFill1 = new A.BlipFill(); A.Blip blip1 = new A.Blip(){ Embed = "rId1" }; blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); A.Duotone duotone1 = new A.Duotone(); A.SchemeColor schemeColor72 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade10 = new A.Shade(){ Val = 3000 }; A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 110000 }; schemeColor72.Append(shade10); schemeColor72.Append(saturationModulation15); A.SchemeColor schemeColor73 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint20 = new A.Tint(){ Val = 60000 }; A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 425000 }; schemeColor73.Append(tint20); schemeColor73.Append(saturationModulation16); duotone1.Append(schemeColor72); duotone1.Append(schemeColor73); blip1.Append(duotone1); A.Stretch stretch1 = new A.Stretch(); A.FillRectangle fillRectangle1 = new A.FillRectangle(); stretch1.Append(fillRectangle1); blipFill1.Append(blip1); blipFill1.Append(stretch1); backgroundFillStyleList1.Append(solidFill43); backgroundFillStyleList1.Append(gradientFill5); backgroundFillStyleList1.Append(blipFill1); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }