Ejemplo n.º 1
0
        // 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;
        }
Ejemplo n.º 3
0
        // 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 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;
        }
        private void GenerateThemePartContent(ThemePart themePart)
        {
            var theme1 = new Theme {Name = "Office Theme"};
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            var themeElements1 = new ThemeElements();

            var colorScheme1 = new ColorScheme {Name = "Office"};

            var dark1Color1 = new Dark1Color();
            var systemColor1 = new SystemColor
            {
                Val = SystemColorValues.WindowText,
                LastColor = Theme.Text1.Color.ToHex().Substring(2)
            };

            dark1Color1.AppendChild(systemColor1);

            var light1Color1 = new Light1Color();
            var systemColor2 = new SystemColor
            {
                Val = SystemColorValues.Window,
                LastColor = Theme.Background1.Color.ToHex().Substring(2)
            };

            light1Color1.AppendChild(systemColor2);

            var dark2Color1 = new Dark2Color();
            var rgbColorModelHex1 = new RgbColorModelHex {Val = Theme.Text2.Color.ToHex().Substring(2)};

            dark2Color1.AppendChild(rgbColorModelHex1);

            var light2Color1 = new Light2Color();
            var rgbColorModelHex2 = new RgbColorModelHex {Val = Theme.Background2.Color.ToHex().Substring(2)};

            light2Color1.AppendChild(rgbColorModelHex2);

            var accent1Color1 = new Accent1Color();
            var rgbColorModelHex3 = new RgbColorModelHex {Val = Theme.Accent1.Color.ToHex().Substring(2)};

            accent1Color1.AppendChild(rgbColorModelHex3);

            var accent2Color1 = new Accent2Color();
            var rgbColorModelHex4 = new RgbColorModelHex {Val = Theme.Accent2.Color.ToHex().Substring(2)};

            accent2Color1.AppendChild(rgbColorModelHex4);

            var accent3Color1 = new Accent3Color();
            var rgbColorModelHex5 = new RgbColorModelHex {Val = Theme.Accent3.Color.ToHex().Substring(2)};

            accent3Color1.AppendChild(rgbColorModelHex5);

            var accent4Color1 = new Accent4Color();
            var rgbColorModelHex6 = new RgbColorModelHex {Val = Theme.Accent4.Color.ToHex().Substring(2)};

            accent4Color1.AppendChild(rgbColorModelHex6);

            var accent5Color1 = new Accent5Color();
            var rgbColorModelHex7 = new RgbColorModelHex {Val = Theme.Accent5.Color.ToHex().Substring(2)};

            accent5Color1.AppendChild(rgbColorModelHex7);

            var accent6Color1 = new Accent6Color();
            var rgbColorModelHex8 = new RgbColorModelHex {Val = Theme.Accent6.Color.ToHex().Substring(2)};

            accent6Color1.AppendChild(rgbColorModelHex8);

            var hyperlink1 = new DocumentFormat.OpenXml.Drawing.Hyperlink();
            var rgbColorModelHex9 = new RgbColorModelHex {Val = Theme.Hyperlink.Color.ToHex().Substring(2)};

            hyperlink1.AppendChild(rgbColorModelHex9);

            var followedHyperlinkColor1 = new FollowedHyperlinkColor();
            var rgbColorModelHex10 = new RgbColorModelHex {Val = Theme.FollowedHyperlink.Color.ToHex().Substring(2)};

            followedHyperlinkColor1.AppendChild(rgbColorModelHex10);

            colorScheme1.AppendChild(dark1Color1);
            colorScheme1.AppendChild(light1Color1);
            colorScheme1.AppendChild(dark2Color1);
            colorScheme1.AppendChild(light2Color1);
            colorScheme1.AppendChild(accent1Color1);
            colorScheme1.AppendChild(accent2Color1);
            colorScheme1.AppendChild(accent3Color1);
            colorScheme1.AppendChild(accent4Color1);
            colorScheme1.AppendChild(accent5Color1);
            colorScheme1.AppendChild(accent6Color1);
            colorScheme1.AppendChild(hyperlink1);
            colorScheme1.AppendChild(followedHyperlinkColor1);

            var fontScheme2 = new FontScheme {Name = "Office"};

            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"};

            majorFont1.AppendChild(latinFont1);
            majorFont1.AppendChild(eastAsianFont1);
            majorFont1.AppendChild(complexScriptFont1);
            majorFont1.AppendChild(supplementalFont1);
            majorFont1.AppendChild(supplementalFont2);
            majorFont1.AppendChild(supplementalFont3);
            majorFont1.AppendChild(supplementalFont4);
            majorFont1.AppendChild(supplementalFont5);
            majorFont1.AppendChild(supplementalFont6);
            majorFont1.AppendChild(supplementalFont7);
            majorFont1.AppendChild(supplementalFont8);
            majorFont1.AppendChild(supplementalFont9);
            majorFont1.AppendChild(supplementalFont10);
            majorFont1.AppendChild(supplementalFont11);
            majorFont1.AppendChild(supplementalFont12);
            majorFont1.AppendChild(supplementalFont13);
            majorFont1.AppendChild(supplementalFont14);
            majorFont1.AppendChild(supplementalFont15);
            majorFont1.AppendChild(supplementalFont16);
            majorFont1.AppendChild(supplementalFont17);
            majorFont1.AppendChild(supplementalFont18);
            majorFont1.AppendChild(supplementalFont19);
            majorFont1.AppendChild(supplementalFont20);
            majorFont1.AppendChild(supplementalFont21);
            majorFont1.AppendChild(supplementalFont22);
            majorFont1.AppendChild(supplementalFont23);
            majorFont1.AppendChild(supplementalFont24);
            majorFont1.AppendChild(supplementalFont25);
            majorFont1.AppendChild(supplementalFont26);
            majorFont1.AppendChild(supplementalFont27);
            majorFont1.AppendChild(supplementalFont28);
            majorFont1.AppendChild(supplementalFont29);

            var minorFont1 = new MinorFont();
            var latinFont2 = new LatinFont {Typeface = "Calibri"};
            var eastAsianFont2 = new EastAsianFont {Typeface = ""};
            var complexScriptFont2 = new ComplexScriptFont {Typeface = ""};
            var supplementalFont30 = new SupplementalFont {Script = "Jpan", Typeface = "MS Pゴシック"};
            var supplementalFont31 = new SupplementalFont {Script = "Hang", Typeface = "맑은 고딕"};
            var supplementalFont32 = new SupplementalFont {Script = "Hans", Typeface = "宋体"};
            var supplementalFont33 = new SupplementalFont {Script = "Hant", Typeface = "新細明體"};
            var supplementalFont34 = new SupplementalFont {Script = "Arab", Typeface = "Arial"};
            var supplementalFont35 = new SupplementalFont {Script = "Hebr", Typeface = "Arial"};
            var supplementalFont36 = new SupplementalFont {Script = "Thai", Typeface = "Tahoma"};
            var supplementalFont37 = new SupplementalFont {Script = "Ethi", Typeface = "Nyala"};
            var supplementalFont38 = new SupplementalFont {Script = "Beng", Typeface = "Vrinda"};
            var supplementalFont39 = new SupplementalFont {Script = "Gujr", Typeface = "Shruti"};
            var supplementalFont40 = new SupplementalFont {Script = "Khmr", Typeface = "DaunPenh"};
            var supplementalFont41 = new SupplementalFont {Script = "Knda", Typeface = "Tunga"};
            var supplementalFont42 = new SupplementalFont {Script = "Guru", Typeface = "Raavi"};
            var supplementalFont43 = new SupplementalFont {Script = "Cans", Typeface = "Euphemia"};
            var supplementalFont44 = new SupplementalFont {Script = "Cher", Typeface = "Plantagenet Cherokee"};
            var supplementalFont45 = new SupplementalFont {Script = "Yiii", Typeface = "Microsoft Yi Baiti"};
            var supplementalFont46 = new SupplementalFont {Script = "Tibt", Typeface = "Microsoft Himalaya"};
            var supplementalFont47 = new SupplementalFont {Script = "Thaa", Typeface = "MV Boli"};
            var supplementalFont48 = new SupplementalFont {Script = "Deva", Typeface = "Mangal"};
            var supplementalFont49 = new SupplementalFont {Script = "Telu", Typeface = "Gautami"};
            var supplementalFont50 = new SupplementalFont {Script = "Taml", Typeface = "Latha"};
            var supplementalFont51 = new SupplementalFont {Script = "Syrc", Typeface = "Estrangelo Edessa"};
            var supplementalFont52 = new SupplementalFont {Script = "Orya", Typeface = "Kalinga"};
            var supplementalFont53 = new SupplementalFont {Script = "Mlym", Typeface = "Kartika"};
            var supplementalFont54 = new SupplementalFont {Script = "Laoo", Typeface = "DokChampa"};
            var supplementalFont55 = new SupplementalFont {Script = "Sinh", Typeface = "Iskoola Pota"};
            var supplementalFont56 = new SupplementalFont {Script = "Mong", Typeface = "Mongolian Baiti"};
            var supplementalFont57 = new SupplementalFont {Script = "Viet", Typeface = "Arial"};
            var supplementalFont58 = new SupplementalFont {Script = "Uigh", Typeface = "Microsoft Uighur"};

            minorFont1.AppendChild(latinFont2);
            minorFont1.AppendChild(eastAsianFont2);
            minorFont1.AppendChild(complexScriptFont2);
            minorFont1.AppendChild(supplementalFont30);
            minorFont1.AppendChild(supplementalFont31);
            minorFont1.AppendChild(supplementalFont32);
            minorFont1.AppendChild(supplementalFont33);
            minorFont1.AppendChild(supplementalFont34);
            minorFont1.AppendChild(supplementalFont35);
            minorFont1.AppendChild(supplementalFont36);
            minorFont1.AppendChild(supplementalFont37);
            minorFont1.AppendChild(supplementalFont38);
            minorFont1.AppendChild(supplementalFont39);
            minorFont1.AppendChild(supplementalFont40);
            minorFont1.AppendChild(supplementalFont41);
            minorFont1.AppendChild(supplementalFont42);
            minorFont1.AppendChild(supplementalFont43);
            minorFont1.AppendChild(supplementalFont44);
            minorFont1.AppendChild(supplementalFont45);
            minorFont1.AppendChild(supplementalFont46);
            minorFont1.AppendChild(supplementalFont47);
            minorFont1.AppendChild(supplementalFont48);
            minorFont1.AppendChild(supplementalFont49);
            minorFont1.AppendChild(supplementalFont50);
            minorFont1.AppendChild(supplementalFont51);
            minorFont1.AppendChild(supplementalFont52);
            minorFont1.AppendChild(supplementalFont53);
            minorFont1.AppendChild(supplementalFont54);
            minorFont1.AppendChild(supplementalFont55);
            minorFont1.AppendChild(supplementalFont56);
            minorFont1.AppendChild(supplementalFont57);
            minorFont1.AppendChild(supplementalFont58);

            fontScheme2.AppendChild(majorFont1);
            fontScheme2.AppendChild(minorFont1);

            var formatScheme1 = new FormatScheme {Name = "Office"};

            var fillStyleList1 = new FillStyleList();

            var solidFill1 = new SolidFill();
            var schemeColor1 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill1.AppendChild(schemeColor1);

            var gradientFill1 = new GradientFill {RotateWithShape = true};

            var gradientStopList1 = new GradientStopList();

            var gradientStop1 = new GradientStop {Position = 0};

            var schemeColor2 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint1 = new Tint {Val = 50000};
            var saturationModulation1 = new SaturationModulation {Val = 300000};

            schemeColor2.AppendChild(tint1);
            schemeColor2.AppendChild(saturationModulation1);

            gradientStop1.AppendChild(schemeColor2);

            var gradientStop2 = new GradientStop {Position = 35000};

            var schemeColor3 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint2 = new Tint {Val = 37000};
            var saturationModulation2 = new SaturationModulation {Val = 300000};

            schemeColor3.AppendChild(tint2);
            schemeColor3.AppendChild(saturationModulation2);

            gradientStop2.AppendChild(schemeColor3);

            var gradientStop3 = new GradientStop {Position = 100000};

            var schemeColor4 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint3 = new Tint {Val = 15000};
            var saturationModulation3 = new SaturationModulation {Val = 350000};

            schemeColor4.AppendChild(tint3);
            schemeColor4.AppendChild(saturationModulation3);

            gradientStop3.AppendChild(schemeColor4);

            gradientStopList1.AppendChild(gradientStop1);
            gradientStopList1.AppendChild(gradientStop2);
            gradientStopList1.AppendChild(gradientStop3);
            var linearGradientFill1 = new LinearGradientFill {Angle = 16200000, Scaled = true};

            gradientFill1.AppendChild(gradientStopList1);
            gradientFill1.AppendChild(linearGradientFill1);

            var gradientFill2 = new GradientFill {RotateWithShape = true};

            var gradientStopList2 = new GradientStopList();

            var gradientStop4 = new GradientStop {Position = 0};

            var schemeColor5 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade1 = new Shade {Val = 51000};
            var saturationModulation4 = new SaturationModulation {Val = 130000};

            schemeColor5.AppendChild(shade1);
            schemeColor5.AppendChild(saturationModulation4);

            gradientStop4.AppendChild(schemeColor5);

            var gradientStop5 = new GradientStop {Position = 80000};

            var schemeColor6 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade2 = new Shade {Val = 93000};
            var saturationModulation5 = new SaturationModulation {Val = 130000};

            schemeColor6.AppendChild(shade2);
            schemeColor6.AppendChild(saturationModulation5);

            gradientStop5.AppendChild(schemeColor6);

            var gradientStop6 = new GradientStop {Position = 100000};

            var schemeColor7 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade3 = new Shade {Val = 94000};
            var saturationModulation6 = new SaturationModulation {Val = 135000};

            schemeColor7.AppendChild(shade3);
            schemeColor7.AppendChild(saturationModulation6);

            gradientStop6.AppendChild(schemeColor7);

            gradientStopList2.AppendChild(gradientStop4);
            gradientStopList2.AppendChild(gradientStop5);
            gradientStopList2.AppendChild(gradientStop6);
            var linearGradientFill2 = new LinearGradientFill {Angle = 16200000, Scaled = false};

            gradientFill2.AppendChild(gradientStopList2);
            gradientFill2.AppendChild(linearGradientFill2);

            fillStyleList1.AppendChild(solidFill1);
            fillStyleList1.AppendChild(gradientFill1);
            fillStyleList1.AppendChild(gradientFill2);

            var lineStyleList1 = new LineStyleList();

            var outline1 = new 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.AppendChild(shade4);
            schemeColor8.AppendChild(saturationModulation7);

            solidFill2.AppendChild(schemeColor8);
            var presetDash1 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline1.AppendChild(solidFill2);
            outline1.AppendChild(presetDash1);

            var outline2 = new Outline
            {
                Width = 25400,
                CapType = LineCapValues.Flat,
                CompoundLineType = CompoundLineValues.Single,
                Alignment = PenAlignmentValues.Center
            };

            var solidFill3 = new SolidFill();
            var schemeColor9 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill3.AppendChild(schemeColor9);
            var presetDash2 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline2.AppendChild(solidFill3);
            outline2.AppendChild(presetDash2);

            var outline3 = new Outline
            {
                Width = 38100,
                CapType = LineCapValues.Flat,
                CompoundLineType = CompoundLineValues.Single,
                Alignment = PenAlignmentValues.Center
            };

            var solidFill4 = new SolidFill();
            var schemeColor10 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill4.AppendChild(schemeColor10);
            var presetDash3 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline3.AppendChild(solidFill4);
            outline3.AppendChild(presetDash3);

            lineStyleList1.AppendChild(outline1);
            lineStyleList1.AppendChild(outline2);
            lineStyleList1.AppendChild(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.AppendChild(alpha1);

            outerShadow1.AppendChild(rgbColorModelHex11);

            effectList1.AppendChild(outerShadow1);

            effectStyle1.AppendChild(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.AppendChild(alpha2);

            outerShadow2.AppendChild(rgbColorModelHex12);

            effectList2.AppendChild(outerShadow2);

            effectStyle2.AppendChild(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.AppendChild(alpha3);

            outerShadow3.AppendChild(rgbColorModelHex13);

            effectList3.AppendChild(outerShadow3);

            var scene3DType1 = new Scene3DType();

            var camera1 = new Camera {Preset = PresetCameraValues.OrthographicFront};
            var rotation1 = new Rotation {Latitude = 0, Longitude = 0, Revolution = 0};

            camera1.AppendChild(rotation1);

            var lightRig1 = new LightRig {Rig = LightRigValues.ThreePoints, Direction = LightRigDirectionValues.Top};
            var rotation2 = new Rotation {Latitude = 0, Longitude = 0, Revolution = 1200000};

            lightRig1.AppendChild(rotation2);

            scene3DType1.AppendChild(camera1);
            scene3DType1.AppendChild(lightRig1);

            var shape3DType1 = new Shape3DType();
            var bevelTop1 = new BevelTop {Width = 63500L, Height = 25400L};

            shape3DType1.AppendChild(bevelTop1);

            effectStyle3.AppendChild(effectList3);
            effectStyle3.AppendChild(scene3DType1);
            effectStyle3.AppendChild(shape3DType1);

            effectStyleList1.AppendChild(effectStyle1);
            effectStyleList1.AppendChild(effectStyle2);
            effectStyleList1.AppendChild(effectStyle3);

            var backgroundFillStyleList1 = new BackgroundFillStyleList();

            var solidFill5 = new SolidFill();
            var schemeColor11 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill5.AppendChild(schemeColor11);

            var gradientFill3 = new GradientFill {RotateWithShape = true};

            var gradientStopList3 = new GradientStopList();

            var gradientStop7 = new GradientStop {Position = 0};

            var schemeColor12 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint4 = new Tint {Val = 40000};
            var saturationModulation8 = new SaturationModulation {Val = 350000};

            schemeColor12.AppendChild(tint4);
            schemeColor12.AppendChild(saturationModulation8);

            gradientStop7.AppendChild(schemeColor12);

            var gradientStop8 = new 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.AppendChild(tint5);
            schemeColor13.AppendChild(shade5);
            schemeColor13.AppendChild(saturationModulation9);

            gradientStop8.AppendChild(schemeColor13);

            var gradientStop9 = new GradientStop {Position = 100000};

            var schemeColor14 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade6 = new Shade {Val = 20000};
            var saturationModulation10 = new SaturationModulation {Val = 255000};

            schemeColor14.AppendChild(shade6);
            schemeColor14.AppendChild(saturationModulation10);

            gradientStop9.AppendChild(schemeColor14);

            gradientStopList3.AppendChild(gradientStop7);
            gradientStopList3.AppendChild(gradientStop8);
            gradientStopList3.AppendChild(gradientStop9);

            var pathGradientFill1 = new PathGradientFill {Path = PathShadeValues.Circle};
            var fillToRectangle1 = new FillToRectangle {Left = 50000, Top = -80000, Right = 50000, Bottom = 180000};

            pathGradientFill1.AppendChild(fillToRectangle1);

            gradientFill3.AppendChild(gradientStopList3);
            gradientFill3.AppendChild(pathGradientFill1);

            var gradientFill4 = new GradientFill {RotateWithShape = true};

            var gradientStopList4 = new GradientStopList();

            var gradientStop10 = new GradientStop {Position = 0};

            var schemeColor15 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint6 = new Tint {Val = 80000};
            var saturationModulation11 = new SaturationModulation {Val = 300000};

            schemeColor15.AppendChild(tint6);
            schemeColor15.AppendChild(saturationModulation11);

            gradientStop10.AppendChild(schemeColor15);

            var gradientStop11 = new GradientStop {Position = 100000};

            var schemeColor16 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade7 = new Shade {Val = 30000};
            var saturationModulation12 = new SaturationModulation {Val = 200000};

            schemeColor16.AppendChild(shade7);
            schemeColor16.AppendChild(saturationModulation12);

            gradientStop11.AppendChild(schemeColor16);

            gradientStopList4.AppendChild(gradientStop10);
            gradientStopList4.AppendChild(gradientStop11);

            var pathGradientFill2 = new PathGradientFill {Path = PathShadeValues.Circle};
            var fillToRectangle2 = new FillToRectangle {Left = 50000, Top = 50000, Right = 50000, Bottom = 50000};

            pathGradientFill2.AppendChild(fillToRectangle2);

            gradientFill4.AppendChild(gradientStopList4);
            gradientFill4.AppendChild(pathGradientFill2);

            backgroundFillStyleList1.AppendChild(solidFill5);
            backgroundFillStyleList1.AppendChild(gradientFill3);
            backgroundFillStyleList1.AppendChild(gradientFill4);

            formatScheme1.AppendChild(fillStyleList1);
            formatScheme1.AppendChild(lineStyleList1);
            formatScheme1.AppendChild(effectStyleList1);
            formatScheme1.AppendChild(backgroundFillStyleList1);

            themeElements1.AppendChild(colorScheme1);
            themeElements1.AppendChild(fontScheme2);
            themeElements1.AppendChild(formatScheme1);
            var objectDefaults1 = new ObjectDefaults();
            var extraColorSchemeList1 = new ExtraColorSchemeList();

            theme1.AppendChild(themeElements1);
            theme1.AppendChild(objectDefaults1);
            theme1.AppendChild(extraColorSchemeList1);

            themePart.Theme = theme1;
        }
Ejemplo n.º 6
0
        // 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;
        }
Ejemplo n.º 7
0
        // 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;
        }
Ejemplo n.º 8
0
        // 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;
        }
Ejemplo n.º 9
0
        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 drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "11";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "47625";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "12";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "157162";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "18";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "352425";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "27";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "42862";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.GraphicFrame graphicFrame1 = new Xdr.GraphicFrame() { Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties1 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Diagram 1" };
            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Xdr.NonVisualGraphicFrameDrawingProperties();

            nonVisualGraphicFrameProperties1.Append(nonVisualDrawingProperties1);
            nonVisualGraphicFrameProperties1.Append(nonVisualGraphicFrameDrawingProperties1);

            Xdr.Transform transform1 = new Xdr.Transform();
            A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents() { Cx = 0L, Cy = 0L };

            transform1.Append(offset1);
            transform1.Append(extents1);

            A.Graphic graphic1 = new A.Graphic();

            A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/diagram" };

            Dgm.RelationshipIds relationshipIds1 = new Dgm.RelationshipIds() { DataPart = "rId1", LayoutPart = "rId2", StylePart = "rId3", ColorPart = "rId4" };
            relationshipIds1.AddNamespaceDeclaration("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram");
            relationshipIds1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData1.Append(relationshipIds1);

            graphic1.Append(graphicData1);

            graphicFrame1.Append(nonVisualGraphicFrameProperties1);
            graphicFrame1.Append(transform1);
            graphicFrame1.Append(graphic1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(graphicFrame1);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId columnId3 = new Xdr.ColumnId();
            columnId3.Text = "3";
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "523875";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "5";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "171450";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = "6";
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = "57150";
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "11";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "142875";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            Xdr.Shape shape1 = new Xdr.Shape() { Macro = "", TextLink = "" };

            Xdr.NonVisualShapeProperties nonVisualShapeProperties1 = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3U, Name = "Rectangle 2" };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties();

            nonVisualShapeProperties1.Append(nonVisualDrawingProperties2);
            nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset2 = new A.Offset() { X = 2352675L, Y = 1123950L };
            A.Extents extents2 = new A.Extents() { Cx = 1362075L, Cy = 1114425L };

            transform2D1.Append(offset2);
            transform2D1.Append(extents2);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            Xdr.ShapeStyle shapeStyle1 = new Xdr.ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference() { Index = (UInt32Value)2U };

            A.SchemeColor schemeColor17 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade8 = new A.Shade() { Val = 50000 };

            schemeColor17.Append(shade8);

            lineReference1.Append(schemeColor17);

            A.FillReference fillReference1 = new A.FillReference() { Index = (UInt32Value)1U };
            A.SchemeColor schemeColor18 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillReference1.Append(schemeColor18);

            A.EffectReference effectReference1 = new A.EffectReference() { Index = (UInt32Value)0U };
            A.SchemeColor schemeColor19 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            effectReference1.Append(schemeColor19);

            A.FontReference fontReference1 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor20 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fontReference1.Append(schemeColor20);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

            Xdr.TextBody textBody1 = new Xdr.TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };
            A.ListStyle listStyle1 = new A.ListStyle();

            A.Paragraph paragraph1 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Left };
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties() { Language = "en-US", FontSize = 1100 };

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(endParagraphRunProperties1);

            textBody1.Append(bodyProperties1);
            textBody1.Append(listStyle1);
            textBody1.Append(paragraph1);

            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties1);
            shape1.Append(shapeStyle1);
            shape1.Append(textBody1);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(shape1);
            twoCellAnchor2.Append(clientData2);

            Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker3 = new Xdr.FromMarker();
            Xdr.ColumnId columnId5 = new Xdr.ColumnId();
            columnId5.Text = "7";
            Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset();
            columnOffset5.Text = "285750";
            Xdr.RowId rowId5 = new Xdr.RowId();
            rowId5.Text = "2";
            Xdr.RowOffset rowOffset5 = new Xdr.RowOffset();
            rowOffset5.Text = "9525";

            fromMarker3.Append(columnId5);
            fromMarker3.Append(columnOffset5);
            fromMarker3.Append(rowId5);
            fromMarker3.Append(rowOffset5);

            Xdr.ToMarker toMarker3 = new Xdr.ToMarker();
            Xdr.ColumnId columnId6 = new Xdr.ColumnId();
            columnId6.Text = "12";
            Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset();
            columnOffset6.Text = "161925";
            Xdr.RowId rowId6 = new Xdr.RowId();
            rowId6.Text = "10";
            Xdr.RowOffset rowOffset6 = new Xdr.RowOffset();
            rowOffset6.Text = "152400";

            toMarker3.Append(columnId6);
            toMarker3.Append(columnOffset6);
            toMarker3.Append(rowId6);
            toMarker3.Append(rowOffset6);

            Xdr.Shape shape2 = new Xdr.Shape() { Macro = "", TextLink = "" };

            Xdr.NonVisualShapeProperties nonVisualShapeProperties2 = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)4U, Name = "TextBox 3" };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties2 = new Xdr.NonVisualShapeDrawingProperties() { TextBox = true };

            nonVisualShapeProperties2.Append(nonVisualDrawingProperties3);
            nonVisualShapeProperties2.Append(nonVisualShapeDrawingProperties2);

            Xdr.ShapeProperties shapeProperties2 = new Xdr.ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset3 = new A.Offset() { X = 4552950L, Y = 390525L };
            A.Extents extents3 = new A.Extents() { Cx = 2924175L, Cy = 1666875L };

            transform2D2.Append(offset3);
            transform2D2.Append(extents3);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            A.SolidFill solidFill6 = new A.SolidFill();
            A.SchemeColor schemeColor21 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            solidFill6.Append(schemeColor21);

            A.Outline outline4 = new A.Outline() { Width = 9525, CompoundLineType = A.CompoundLineValues.Single };

            A.SolidFill solidFill7 = new A.SolidFill();

            A.SchemeColor schemeColor22 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Shade shade9 = new A.Shade() { Val = 50000 };

            schemeColor22.Append(shade9);

            solidFill7.Append(schemeColor22);

            outline4.Append(solidFill7);

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(presetGeometry2);
            shapeProperties2.Append(solidFill6);
            shapeProperties2.Append(outline4);

            Xdr.ShapeStyle shapeStyle2 = new Xdr.ShapeStyle();

            A.LineReference lineReference2 = new A.LineReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            lineReference2.Append(rgbColorModelPercentage1);

            A.FillReference fillReference2 = new A.FillReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage2 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            fillReference2.Append(rgbColorModelPercentage2);

            A.EffectReference effectReference2 = new A.EffectReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage3 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            effectReference2.Append(rgbColorModelPercentage3);

            A.FontReference fontReference2 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor23 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            fontReference2.Append(schemeColor23);

            shapeStyle2.Append(lineReference2);
            shapeStyle2.Append(fillReference2);
            shapeStyle2.Append(effectReference2);
            shapeStyle2.Append(fontReference2);

            Xdr.TextBody textBody2 = new Xdr.TextBody();
            A.BodyProperties bodyProperties2 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };
            A.ListStyle listStyle2 = new A.ListStyle();

            A.Paragraph paragraph2 = new A.Paragraph();

            A.Run run1 = new A.Run();
            A.RunProperties runProperties1 = new A.RunProperties() { Language = "en-US", FontSize = 1100 };
            A.Text text1 = new A.Text();
            text1.Text = "Text box";

            run1.Append(runProperties1);
            run1.Append(text1);

            paragraph2.Append(run1);

            textBody2.Append(bodyProperties2);
            textBody2.Append(listStyle2);
            textBody2.Append(paragraph2);

            shape2.Append(nonVisualShapeProperties2);
            shape2.Append(shapeProperties2);
            shape2.Append(shapeStyle2);
            shape2.Append(textBody2);
            Xdr.ClientData clientData3 = new Xdr.ClientData();

            twoCellAnchor3.Append(fromMarker3);
            twoCellAnchor3.Append(toMarker3);
            twoCellAnchor3.Append(shape2);
            twoCellAnchor3.Append(clientData3);

            Xdr.TwoCellAnchor twoCellAnchor4 = new Xdr.TwoCellAnchor() { EditAs = Xdr.EditAsValues.OneCell };

            Xdr.FromMarker fromMarker4 = new Xdr.FromMarker();
            Xdr.ColumnId columnId7 = new Xdr.ColumnId();
            columnId7.Text = "19";
            Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset();
            columnOffset7.Text = "561975";
            Xdr.RowId rowId7 = new Xdr.RowId();
            rowId7.Text = "3";
            Xdr.RowOffset rowOffset7 = new Xdr.RowOffset();
            rowOffset7.Text = "95250";

            fromMarker4.Append(columnId7);
            fromMarker4.Append(columnOffset7);
            fromMarker4.Append(rowId7);
            fromMarker4.Append(rowOffset7);

            Xdr.ToMarker toMarker4 = new Xdr.ToMarker();
            Xdr.ColumnId columnId8 = new Xdr.ColumnId();
            columnId8.Text = "24";
            Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset();
            columnOffset8.Text = "19400";
            Xdr.RowId rowId8 = new Xdr.RowId();
            rowId8.Text = "30";
            Xdr.RowOffset rowOffset8 = new Xdr.RowOffset();
            rowOffset8.Text = "86442";

            toMarker4.Append(columnId8);
            toMarker4.Append(columnOffset8);
            toMarker4.Append(rowId8);
            toMarker4.Append(rowOffset8);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)7U, Name = "Picture 6", Description = "Screen Clipping" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties4);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = "rId6" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Duotone duotone1 = new A.Duotone();
            A.PresetColor presetColor1 = new A.PresetColor() { Val = A.PresetColorValues.Black };

            A.SchemeColor schemeColor24 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };
            A.Tint tint7 = new A.Tint() { Val = 45000 };
            A.SaturationModulation saturationModulation13 = new A.SaturationModulation() { Val = 400000 };

            schemeColor24.Append(tint7);
            schemeColor24.Append(saturationModulation13);

            duotone1.Append(presetColor1);
            duotone1.Append(schemeColor24);

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension() { Uri = "{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}" };

            A14.ImageProperties imageProperties1 = new A14.ImageProperties();
            imageProperties1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A14.ImageLayer imageLayer1 = new A14.ImageLayer() { Embed = "rId7" };

            A14.ImageEffect imageEffect1 = new A14.ImageEffect();
            A14.BackgroundRemoval backgroundRemoval1 = new A14.BackgroundRemoval() { MarqueeTop = 10000, MarqueeBottom = 90000, MarqueeLeft = 10000, MarqueeRight = 90000 };

            imageEffect1.Append(backgroundRemoval1);

            A14.ImageEffect imageEffect2 = new A14.ImageEffect();
            A14.ArtisticFilmGrain artisticFilmGrain1 = new A14.ArtisticFilmGrain();

            imageEffect2.Append(artisticFilmGrain1);

            imageLayer1.Append(imageEffect1);
            imageLayer1.Append(imageEffect2);

            imageProperties1.Append(imageLayer1);

            blipExtension1.Append(imageProperties1);

            A.BlipExtension blipExtension2 = new A.BlipExtension() { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi() { Val = false };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension2.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);
            blipExtensionList1.Append(blipExtension2);

            blip1.Append(duotone1);
            blip1.Append(blipExtensionList1);

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties3 = new Xdr.ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset4 = new A.Offset() { X = 12144375L, Y = 666750L };
            A.Extents extents4 = new A.Extents() { Cx = 2505425L, Cy = 5134692L };

            transform2D3.Append(offset4);
            transform2D3.Append(extents4);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);

            shapeProperties3.Append(transform2D3);
            shapeProperties3.Append(presetGeometry3);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties3);
            Xdr.ClientData clientData4 = new Xdr.ClientData();

            twoCellAnchor4.Append(fromMarker4);
            twoCellAnchor4.Append(toMarker4);
            twoCellAnchor4.Append(picture1);
            twoCellAnchor4.Append(clientData4);

            worksheetDrawing1.Append(twoCellAnchor1);
            worksheetDrawing1.Append(twoCellAnchor2);
            worksheetDrawing1.Append(twoCellAnchor3);
            worksheetDrawing1.Append(twoCellAnchor4);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Ejemplo n.º 11
0
        private void insertLink(Slide slide, PageUrl pageUrl, int objId)
        {
            slide.SlidePart.AddHyperlinkRelationship(new System.Uri(pageUrl.url, System.UriKind.Absolute), true, "rId" + objId);

            P.Shape shape = new P.Shape();
            P.NonVisualShapeProperties nonVisualShapeProperties1 = new P.NonVisualShapeProperties()
            {
                NonVisualDrawingProperties = new P.NonVisualDrawingProperties()
                {
                    Id = (UInt32Value)2U, Name = "矩形 1", HyperlinkOnClick = new A.HyperlinkOnClick()
                    {
                        Id = "rId" + objId
                    }
                },
                NonVisualShapeDrawingProperties       = new P.NonVisualShapeDrawingProperties(),
                ApplicationNonVisualDrawingProperties = new P.ApplicationNonVisualDrawingProperties()
            };

            P.ShapeProperties shapeProperties = new P.ShapeProperties()
            {
                Transform2D = new A.Transform2D()
                {
                    Offset = new A.Offset()
                    {
                        X = pageUrl.origin.Width * ImageInfoUtils.RATE, Y = pageUrl.origin.Height * ImageInfoUtils.RATE
                    },
                    Extents = new A.Extents()
                    {
                        Cx = pageUrl.size.Width * ImageInfoUtils.RATE, Cy = pageUrl.size.Height * ImageInfoUtils.RATE
                    }
                }
            };

            A.PresetGeometry presetGeometry = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle, AdjustValueList = new A.AdjustValueList()
            };
            A.NoFill  noFill  = new A.NoFill();
            A.Outline outline = new A.Outline();
            A.NoFill  noFill2 = new A.NoFill();
            outline.Append(noFill2);

            shapeProperties.Append(presetGeometry);
            shapeProperties.Append(noFill);
            shapeProperties.Append(outline);

            P.ShapeStyle shapeStyle1 = new P.ShapeStyle();

            A.LineReference lineReference = new A.LineReference()
            {
                Index = (UInt32Value)2U
            };
            A.SchemeColor schemeColor = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Accent1
            };
            A.Shade shade1 = new A.Shade()
            {
                Val = 50000
            };
            schemeColor.Append(shade1);
            lineReference.Append(schemeColor);

            A.FillReference fillReference = new A.FillReference()
            {
                Index = (UInt32Value)1U
            };
            A.SchemeColor schemeColor2 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Accent1
            };
            fillReference.Append(schemeColor2);

            A.EffectReference effectReference = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Accent1
            };
            effectReference.Append(schemeColor3);

            A.FontReference fontReference = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };
            A.SchemeColor schemeColor4 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Light1
            };
            fontReference.Append(schemeColor4);

            shapeStyle1.Append(lineReference);
            shapeStyle1.Append(fillReference);
            shapeStyle1.Append(effectReference);
            shapeStyle1.Append(fontReference);

            P.TextBody       textBody       = new P.TextBody();
            A.BodyProperties bodyProperties = new A.BodyProperties()
            {
                RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center
            };
            A.ListStyle listStyle = new A.ListStyle();

            A.Paragraph           paragraph           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties = new A.ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };
            A.EndParagraphRunProperties endParagraphRunProperties = new A.EndParagraphRunProperties()
            {
                Language = "zh-CN", AlternativeLanguage = "en-US"
            };

            paragraph.Append(paragraphProperties);
            paragraph.Append(endParagraphRunProperties);

            textBody.Append(bodyProperties);
            textBody.Append(listStyle);
            textBody.Append(paragraph);

            shape.Append(nonVisualShapeProperties1);
            shape.Append(shapeProperties);
            shape.Append(shapeStyle1);
            shape.Append(textBody);

            slide.CommonSlideData.ShapeTree.AppendChild(shape);
        }
        // Generates content of diagramColorsPart1.
        private void GenerateDiagramColorsPart1Content(DiagramColorsPart diagramColorsPart1)
        {
            Dgm.ColorsDefinition colorsDefinition1 = new Dgm.ColorsDefinition() { UniqueId = "urn:microsoft.com/office/officeart/2005/8/colors/accent1_2" };
            colorsDefinition1.AddNamespaceDeclaration("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram");
            colorsDefinition1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            Dgm.ColorDefinitionTitle colorDefinitionTitle1 = new Dgm.ColorDefinitionTitle() { Val = "" };
            Dgm.ColorTransformDescription colorTransformDescription1 = new Dgm.ColorTransformDescription() { Val = "" };

            Dgm.ColorTransformCategories colorTransformCategories1 = new Dgm.ColorTransformCategories();
            Dgm.ColorTransformCategory colorTransformCategory1 = new Dgm.ColorTransformCategory() { Type = "accent1", Priority = (UInt32Value)11200U };

            colorTransformCategories1.Append(colorTransformCategory1);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel1 = new Dgm.ColorTransformStyleLabel() { Name = "node0" };

            Dgm.FillColorList fillColorList1 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor60 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList1.Append(schemeColor60);

            Dgm.LineColorList lineColorList1 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor61 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList1.Append(schemeColor61);
            Dgm.EffectColorList effectColorList1 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList1 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList1 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList1 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel1.Append(fillColorList1);
            colorTransformStyleLabel1.Append(lineColorList1);
            colorTransformStyleLabel1.Append(effectColorList1);
            colorTransformStyleLabel1.Append(textLineColorList1);
            colorTransformStyleLabel1.Append(textFillColorList1);
            colorTransformStyleLabel1.Append(textEffectColorList1);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel2 = new Dgm.ColorTransformStyleLabel() { Name = "alignNode1" };

            Dgm.FillColorList fillColorList2 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor62 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList2.Append(schemeColor62);

            Dgm.LineColorList lineColorList2 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor63 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList2.Append(schemeColor63);
            Dgm.EffectColorList effectColorList2 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList2 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList2 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList2 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel2.Append(fillColorList2);
            colorTransformStyleLabel2.Append(lineColorList2);
            colorTransformStyleLabel2.Append(effectColorList2);
            colorTransformStyleLabel2.Append(textLineColorList2);
            colorTransformStyleLabel2.Append(textFillColorList2);
            colorTransformStyleLabel2.Append(textEffectColorList2);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel3 = new Dgm.ColorTransformStyleLabel() { Name = "node1" };

            Dgm.FillColorList fillColorList3 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor64 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList3.Append(schemeColor64);

            Dgm.LineColorList lineColorList3 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor65 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList3.Append(schemeColor65);
            Dgm.EffectColorList effectColorList3 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList3 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList3 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList3 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel3.Append(fillColorList3);
            colorTransformStyleLabel3.Append(lineColorList3);
            colorTransformStyleLabel3.Append(effectColorList3);
            colorTransformStyleLabel3.Append(textLineColorList3);
            colorTransformStyleLabel3.Append(textFillColorList3);
            colorTransformStyleLabel3.Append(textEffectColorList3);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel4 = new Dgm.ColorTransformStyleLabel() { Name = "lnNode1" };

            Dgm.FillColorList fillColorList4 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor66 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList4.Append(schemeColor66);

            Dgm.LineColorList lineColorList4 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor67 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList4.Append(schemeColor67);
            Dgm.EffectColorList effectColorList4 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList4 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList4 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList4 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel4.Append(fillColorList4);
            colorTransformStyleLabel4.Append(lineColorList4);
            colorTransformStyleLabel4.Append(effectColorList4);
            colorTransformStyleLabel4.Append(textLineColorList4);
            colorTransformStyleLabel4.Append(textFillColorList4);
            colorTransformStyleLabel4.Append(textEffectColorList4);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel5 = new Dgm.ColorTransformStyleLabel() { Name = "vennNode1" };

            Dgm.FillColorList fillColorList5 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor68 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha4 = new A.Alpha() { Val = 50000 };

            schemeColor68.Append(alpha4);

            fillColorList5.Append(schemeColor68);

            Dgm.LineColorList lineColorList5 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor69 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList5.Append(schemeColor69);
            Dgm.EffectColorList effectColorList5 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList5 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList5 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList5 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel5.Append(fillColorList5);
            colorTransformStyleLabel5.Append(lineColorList5);
            colorTransformStyleLabel5.Append(effectColorList5);
            colorTransformStyleLabel5.Append(textLineColorList5);
            colorTransformStyleLabel5.Append(textFillColorList5);
            colorTransformStyleLabel5.Append(textEffectColorList5);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel6 = new Dgm.ColorTransformStyleLabel() { Name = "node2" };

            Dgm.FillColorList fillColorList6 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor70 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList6.Append(schemeColor70);

            Dgm.LineColorList lineColorList6 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor71 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList6.Append(schemeColor71);
            Dgm.EffectColorList effectColorList6 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList6 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList6 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList6 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel6.Append(fillColorList6);
            colorTransformStyleLabel6.Append(lineColorList6);
            colorTransformStyleLabel6.Append(effectColorList6);
            colorTransformStyleLabel6.Append(textLineColorList6);
            colorTransformStyleLabel6.Append(textFillColorList6);
            colorTransformStyleLabel6.Append(textEffectColorList6);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel7 = new Dgm.ColorTransformStyleLabel() { Name = "node3" };

            Dgm.FillColorList fillColorList7 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor72 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList7.Append(schemeColor72);

            Dgm.LineColorList lineColorList7 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor73 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList7.Append(schemeColor73);
            Dgm.EffectColorList effectColorList7 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList7 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList7 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList7 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel7.Append(fillColorList7);
            colorTransformStyleLabel7.Append(lineColorList7);
            colorTransformStyleLabel7.Append(effectColorList7);
            colorTransformStyleLabel7.Append(textLineColorList7);
            colorTransformStyleLabel7.Append(textFillColorList7);
            colorTransformStyleLabel7.Append(textEffectColorList7);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel8 = new Dgm.ColorTransformStyleLabel() { Name = "node4" };

            Dgm.FillColorList fillColorList8 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor74 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList8.Append(schemeColor74);

            Dgm.LineColorList lineColorList8 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor75 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList8.Append(schemeColor75);
            Dgm.EffectColorList effectColorList8 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList8 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList8 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList8 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel8.Append(fillColorList8);
            colorTransformStyleLabel8.Append(lineColorList8);
            colorTransformStyleLabel8.Append(effectColorList8);
            colorTransformStyleLabel8.Append(textLineColorList8);
            colorTransformStyleLabel8.Append(textFillColorList8);
            colorTransformStyleLabel8.Append(textEffectColorList8);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel9 = new Dgm.ColorTransformStyleLabel() { Name = "fgImgPlace1" };

            Dgm.FillColorList fillColorList9 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor76 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint8 = new A.Tint() { Val = 50000 };

            schemeColor76.Append(tint8);

            fillColorList9.Append(schemeColor76);

            Dgm.LineColorList lineColorList9 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor77 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList9.Append(schemeColor77);
            Dgm.EffectColorList effectColorList9 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList9 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList9 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor78 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList9.Append(schemeColor78);
            Dgm.TextEffectColorList textEffectColorList9 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel9.Append(fillColorList9);
            colorTransformStyleLabel9.Append(lineColorList9);
            colorTransformStyleLabel9.Append(effectColorList9);
            colorTransformStyleLabel9.Append(textLineColorList9);
            colorTransformStyleLabel9.Append(textFillColorList9);
            colorTransformStyleLabel9.Append(textEffectColorList9);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel10 = new Dgm.ColorTransformStyleLabel() { Name = "alignImgPlace1" };

            Dgm.FillColorList fillColorList10 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor79 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint9 = new A.Tint() { Val = 50000 };

            schemeColor79.Append(tint9);

            fillColorList10.Append(schemeColor79);

            Dgm.LineColorList lineColorList10 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor80 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList10.Append(schemeColor80);
            Dgm.EffectColorList effectColorList10 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList10 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList10 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor81 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList10.Append(schemeColor81);
            Dgm.TextEffectColorList textEffectColorList10 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel10.Append(fillColorList10);
            colorTransformStyleLabel10.Append(lineColorList10);
            colorTransformStyleLabel10.Append(effectColorList10);
            colorTransformStyleLabel10.Append(textLineColorList10);
            colorTransformStyleLabel10.Append(textFillColorList10);
            colorTransformStyleLabel10.Append(textEffectColorList10);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel11 = new Dgm.ColorTransformStyleLabel() { Name = "bgImgPlace1" };

            Dgm.FillColorList fillColorList11 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor82 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint10 = new A.Tint() { Val = 50000 };

            schemeColor82.Append(tint10);

            fillColorList11.Append(schemeColor82);

            Dgm.LineColorList lineColorList11 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor83 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList11.Append(schemeColor83);
            Dgm.EffectColorList effectColorList11 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList11 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList11 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor84 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList11.Append(schemeColor84);
            Dgm.TextEffectColorList textEffectColorList11 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel11.Append(fillColorList11);
            colorTransformStyleLabel11.Append(lineColorList11);
            colorTransformStyleLabel11.Append(effectColorList11);
            colorTransformStyleLabel11.Append(textLineColorList11);
            colorTransformStyleLabel11.Append(textFillColorList11);
            colorTransformStyleLabel11.Append(textEffectColorList11);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel12 = new Dgm.ColorTransformStyleLabel() { Name = "sibTrans2D1" };

            Dgm.FillColorList fillColorList12 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor85 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint11 = new A.Tint() { Val = 60000 };

            schemeColor85.Append(tint11);

            fillColorList12.Append(schemeColor85);

            Dgm.LineColorList lineColorList12 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor86 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint12 = new A.Tint() { Val = 60000 };

            schemeColor86.Append(tint12);

            lineColorList12.Append(schemeColor86);
            Dgm.EffectColorList effectColorList12 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList12 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList12 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList12 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel12.Append(fillColorList12);
            colorTransformStyleLabel12.Append(lineColorList12);
            colorTransformStyleLabel12.Append(effectColorList12);
            colorTransformStyleLabel12.Append(textLineColorList12);
            colorTransformStyleLabel12.Append(textFillColorList12);
            colorTransformStyleLabel12.Append(textEffectColorList12);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel13 = new Dgm.ColorTransformStyleLabel() { Name = "fgSibTrans2D1" };

            Dgm.FillColorList fillColorList13 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor87 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint13 = new A.Tint() { Val = 60000 };

            schemeColor87.Append(tint13);

            fillColorList13.Append(schemeColor87);

            Dgm.LineColorList lineColorList13 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor88 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint14 = new A.Tint() { Val = 60000 };

            schemeColor88.Append(tint14);

            lineColorList13.Append(schemeColor88);
            Dgm.EffectColorList effectColorList13 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList13 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList13 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList13 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel13.Append(fillColorList13);
            colorTransformStyleLabel13.Append(lineColorList13);
            colorTransformStyleLabel13.Append(effectColorList13);
            colorTransformStyleLabel13.Append(textLineColorList13);
            colorTransformStyleLabel13.Append(textFillColorList13);
            colorTransformStyleLabel13.Append(textEffectColorList13);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel14 = new Dgm.ColorTransformStyleLabel() { Name = "bgSibTrans2D1" };

            Dgm.FillColorList fillColorList14 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor89 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint15 = new A.Tint() { Val = 60000 };

            schemeColor89.Append(tint15);

            fillColorList14.Append(schemeColor89);

            Dgm.LineColorList lineColorList14 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor90 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint16 = new A.Tint() { Val = 60000 };

            schemeColor90.Append(tint16);

            lineColorList14.Append(schemeColor90);
            Dgm.EffectColorList effectColorList14 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList14 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList14 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList14 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel14.Append(fillColorList14);
            colorTransformStyleLabel14.Append(lineColorList14);
            colorTransformStyleLabel14.Append(effectColorList14);
            colorTransformStyleLabel14.Append(textLineColorList14);
            colorTransformStyleLabel14.Append(textFillColorList14);
            colorTransformStyleLabel14.Append(textEffectColorList14);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel15 = new Dgm.ColorTransformStyleLabel() { Name = "sibTrans1D1" };

            Dgm.FillColorList fillColorList15 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor91 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList15.Append(schemeColor91);

            Dgm.LineColorList lineColorList15 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor92 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList15.Append(schemeColor92);
            Dgm.EffectColorList effectColorList15 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList15 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList15 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor93 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList15.Append(schemeColor93);
            Dgm.TextEffectColorList textEffectColorList15 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel15.Append(fillColorList15);
            colorTransformStyleLabel15.Append(lineColorList15);
            colorTransformStyleLabel15.Append(effectColorList15);
            colorTransformStyleLabel15.Append(textLineColorList15);
            colorTransformStyleLabel15.Append(textFillColorList15);
            colorTransformStyleLabel15.Append(textEffectColorList15);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel16 = new Dgm.ColorTransformStyleLabel() { Name = "callout" };

            Dgm.FillColorList fillColorList16 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor94 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList16.Append(schemeColor94);

            Dgm.LineColorList lineColorList16 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor95 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint17 = new A.Tint() { Val = 50000 };

            schemeColor95.Append(tint17);

            lineColorList16.Append(schemeColor95);
            Dgm.EffectColorList effectColorList16 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList16 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList16 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor96 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList16.Append(schemeColor96);
            Dgm.TextEffectColorList textEffectColorList16 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel16.Append(fillColorList16);
            colorTransformStyleLabel16.Append(lineColorList16);
            colorTransformStyleLabel16.Append(effectColorList16);
            colorTransformStyleLabel16.Append(textLineColorList16);
            colorTransformStyleLabel16.Append(textFillColorList16);
            colorTransformStyleLabel16.Append(textEffectColorList16);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel17 = new Dgm.ColorTransformStyleLabel() { Name = "asst0" };

            Dgm.FillColorList fillColorList17 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor97 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList17.Append(schemeColor97);

            Dgm.LineColorList lineColorList17 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor98 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList17.Append(schemeColor98);
            Dgm.EffectColorList effectColorList17 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList17 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList17 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList17 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel17.Append(fillColorList17);
            colorTransformStyleLabel17.Append(lineColorList17);
            colorTransformStyleLabel17.Append(effectColorList17);
            colorTransformStyleLabel17.Append(textLineColorList17);
            colorTransformStyleLabel17.Append(textFillColorList17);
            colorTransformStyleLabel17.Append(textEffectColorList17);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel18 = new Dgm.ColorTransformStyleLabel() { Name = "asst1" };

            Dgm.FillColorList fillColorList18 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor99 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList18.Append(schemeColor99);

            Dgm.LineColorList lineColorList18 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor100 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList18.Append(schemeColor100);
            Dgm.EffectColorList effectColorList18 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList18 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList18 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList18 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel18.Append(fillColorList18);
            colorTransformStyleLabel18.Append(lineColorList18);
            colorTransformStyleLabel18.Append(effectColorList18);
            colorTransformStyleLabel18.Append(textLineColorList18);
            colorTransformStyleLabel18.Append(textFillColorList18);
            colorTransformStyleLabel18.Append(textEffectColorList18);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel19 = new Dgm.ColorTransformStyleLabel() { Name = "asst2" };

            Dgm.FillColorList fillColorList19 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor101 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList19.Append(schemeColor101);

            Dgm.LineColorList lineColorList19 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor102 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList19.Append(schemeColor102);
            Dgm.EffectColorList effectColorList19 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList19 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList19 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList19 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel19.Append(fillColorList19);
            colorTransformStyleLabel19.Append(lineColorList19);
            colorTransformStyleLabel19.Append(effectColorList19);
            colorTransformStyleLabel19.Append(textLineColorList19);
            colorTransformStyleLabel19.Append(textFillColorList19);
            colorTransformStyleLabel19.Append(textEffectColorList19);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel20 = new Dgm.ColorTransformStyleLabel() { Name = "asst3" };

            Dgm.FillColorList fillColorList20 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor103 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList20.Append(schemeColor103);

            Dgm.LineColorList lineColorList20 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor104 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList20.Append(schemeColor104);
            Dgm.EffectColorList effectColorList20 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList20 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList20 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList20 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel20.Append(fillColorList20);
            colorTransformStyleLabel20.Append(lineColorList20);
            colorTransformStyleLabel20.Append(effectColorList20);
            colorTransformStyleLabel20.Append(textLineColorList20);
            colorTransformStyleLabel20.Append(textFillColorList20);
            colorTransformStyleLabel20.Append(textEffectColorList20);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel21 = new Dgm.ColorTransformStyleLabel() { Name = "asst4" };

            Dgm.FillColorList fillColorList21 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor105 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList21.Append(schemeColor105);

            Dgm.LineColorList lineColorList21 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor106 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList21.Append(schemeColor106);
            Dgm.EffectColorList effectColorList21 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList21 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList21 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList21 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel21.Append(fillColorList21);
            colorTransformStyleLabel21.Append(lineColorList21);
            colorTransformStyleLabel21.Append(effectColorList21);
            colorTransformStyleLabel21.Append(textLineColorList21);
            colorTransformStyleLabel21.Append(textFillColorList21);
            colorTransformStyleLabel21.Append(textEffectColorList21);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel22 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D1" };

            Dgm.FillColorList fillColorList22 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor107 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint18 = new A.Tint() { Val = 60000 };

            schemeColor107.Append(tint18);

            fillColorList22.Append(schemeColor107);

            Dgm.LineColorList lineColorList22 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor108 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint19 = new A.Tint() { Val = 60000 };

            schemeColor108.Append(tint19);

            lineColorList22.Append(schemeColor108);
            Dgm.EffectColorList effectColorList22 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList22 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList22 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor109 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList22.Append(schemeColor109);
            Dgm.TextEffectColorList textEffectColorList22 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel22.Append(fillColorList22);
            colorTransformStyleLabel22.Append(lineColorList22);
            colorTransformStyleLabel22.Append(effectColorList22);
            colorTransformStyleLabel22.Append(textLineColorList22);
            colorTransformStyleLabel22.Append(textFillColorList22);
            colorTransformStyleLabel22.Append(textEffectColorList22);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel23 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D2" };

            Dgm.FillColorList fillColorList23 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor110 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList23.Append(schemeColor110);

            Dgm.LineColorList lineColorList23 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor111 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList23.Append(schemeColor111);
            Dgm.EffectColorList effectColorList23 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList23 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList23 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor112 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList23.Append(schemeColor112);
            Dgm.TextEffectColorList textEffectColorList23 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel23.Append(fillColorList23);
            colorTransformStyleLabel23.Append(lineColorList23);
            colorTransformStyleLabel23.Append(effectColorList23);
            colorTransformStyleLabel23.Append(textLineColorList23);
            colorTransformStyleLabel23.Append(textFillColorList23);
            colorTransformStyleLabel23.Append(textEffectColorList23);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel24 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D3" };

            Dgm.FillColorList fillColorList24 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor113 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList24.Append(schemeColor113);

            Dgm.LineColorList lineColorList24 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor114 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList24.Append(schemeColor114);
            Dgm.EffectColorList effectColorList24 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList24 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList24 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor115 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList24.Append(schemeColor115);
            Dgm.TextEffectColorList textEffectColorList24 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel24.Append(fillColorList24);
            colorTransformStyleLabel24.Append(lineColorList24);
            colorTransformStyleLabel24.Append(effectColorList24);
            colorTransformStyleLabel24.Append(textLineColorList24);
            colorTransformStyleLabel24.Append(textFillColorList24);
            colorTransformStyleLabel24.Append(textEffectColorList24);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel25 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D4" };

            Dgm.FillColorList fillColorList25 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor116 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList25.Append(schemeColor116);

            Dgm.LineColorList lineColorList25 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor117 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList25.Append(schemeColor117);
            Dgm.EffectColorList effectColorList25 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList25 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList25 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor118 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList25.Append(schemeColor118);
            Dgm.TextEffectColorList textEffectColorList25 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel25.Append(fillColorList25);
            colorTransformStyleLabel25.Append(lineColorList25);
            colorTransformStyleLabel25.Append(effectColorList25);
            colorTransformStyleLabel25.Append(textLineColorList25);
            colorTransformStyleLabel25.Append(textFillColorList25);
            colorTransformStyleLabel25.Append(textEffectColorList25);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel26 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D1" };

            Dgm.FillColorList fillColorList26 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor119 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList26.Append(schemeColor119);

            Dgm.LineColorList lineColorList26 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor120 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade10 = new A.Shade() { Val = 60000 };

            schemeColor120.Append(shade10);

            lineColorList26.Append(schemeColor120);
            Dgm.EffectColorList effectColorList26 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList26 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList26 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor121 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList26.Append(schemeColor121);
            Dgm.TextEffectColorList textEffectColorList26 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel26.Append(fillColorList26);
            colorTransformStyleLabel26.Append(lineColorList26);
            colorTransformStyleLabel26.Append(effectColorList26);
            colorTransformStyleLabel26.Append(textLineColorList26);
            colorTransformStyleLabel26.Append(textFillColorList26);
            colorTransformStyleLabel26.Append(textEffectColorList26);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel27 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D2" };

            Dgm.FillColorList fillColorList27 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor122 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList27.Append(schemeColor122);

            Dgm.LineColorList lineColorList27 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor123 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade11 = new A.Shade() { Val = 60000 };

            schemeColor123.Append(shade11);

            lineColorList27.Append(schemeColor123);
            Dgm.EffectColorList effectColorList27 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList27 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList27 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor124 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList27.Append(schemeColor124);
            Dgm.TextEffectColorList textEffectColorList27 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel27.Append(fillColorList27);
            colorTransformStyleLabel27.Append(lineColorList27);
            colorTransformStyleLabel27.Append(effectColorList27);
            colorTransformStyleLabel27.Append(textLineColorList27);
            colorTransformStyleLabel27.Append(textFillColorList27);
            colorTransformStyleLabel27.Append(textEffectColorList27);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel28 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D3" };

            Dgm.FillColorList fillColorList28 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor125 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList28.Append(schemeColor125);

            Dgm.LineColorList lineColorList28 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor126 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade12 = new A.Shade() { Val = 80000 };

            schemeColor126.Append(shade12);

            lineColorList28.Append(schemeColor126);
            Dgm.EffectColorList effectColorList28 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList28 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList28 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor127 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList28.Append(schemeColor127);
            Dgm.TextEffectColorList textEffectColorList28 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel28.Append(fillColorList28);
            colorTransformStyleLabel28.Append(lineColorList28);
            colorTransformStyleLabel28.Append(effectColorList28);
            colorTransformStyleLabel28.Append(textLineColorList28);
            colorTransformStyleLabel28.Append(textFillColorList28);
            colorTransformStyleLabel28.Append(textEffectColorList28);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel29 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D4" };

            Dgm.FillColorList fillColorList29 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor128 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList29.Append(schemeColor128);

            Dgm.LineColorList lineColorList29 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor129 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade13 = new A.Shade() { Val = 80000 };

            schemeColor129.Append(shade13);

            lineColorList29.Append(schemeColor129);
            Dgm.EffectColorList effectColorList29 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList29 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList29 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor130 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList29.Append(schemeColor130);
            Dgm.TextEffectColorList textEffectColorList29 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel29.Append(fillColorList29);
            colorTransformStyleLabel29.Append(lineColorList29);
            colorTransformStyleLabel29.Append(effectColorList29);
            colorTransformStyleLabel29.Append(textLineColorList29);
            colorTransformStyleLabel29.Append(textFillColorList29);
            colorTransformStyleLabel29.Append(textEffectColorList29);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel30 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc1" };

            Dgm.FillColorList fillColorList30 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor131 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha5 = new A.Alpha() { Val = 90000 };

            schemeColor131.Append(alpha5);

            fillColorList30.Append(schemeColor131);

            Dgm.LineColorList lineColorList30 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor132 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList30.Append(schemeColor132);
            Dgm.EffectColorList effectColorList30 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList30 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList30 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor133 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList30.Append(schemeColor133);
            Dgm.TextEffectColorList textEffectColorList30 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel30.Append(fillColorList30);
            colorTransformStyleLabel30.Append(lineColorList30);
            colorTransformStyleLabel30.Append(effectColorList30);
            colorTransformStyleLabel30.Append(textLineColorList30);
            colorTransformStyleLabel30.Append(textFillColorList30);
            colorTransformStyleLabel30.Append(textEffectColorList30);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel31 = new Dgm.ColorTransformStyleLabel() { Name = "conFgAcc1" };

            Dgm.FillColorList fillColorList31 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor134 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha6 = new A.Alpha() { Val = 90000 };

            schemeColor134.Append(alpha6);

            fillColorList31.Append(schemeColor134);

            Dgm.LineColorList lineColorList31 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor135 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList31.Append(schemeColor135);
            Dgm.EffectColorList effectColorList31 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList31 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList31 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor136 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList31.Append(schemeColor136);
            Dgm.TextEffectColorList textEffectColorList31 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel31.Append(fillColorList31);
            colorTransformStyleLabel31.Append(lineColorList31);
            colorTransformStyleLabel31.Append(effectColorList31);
            colorTransformStyleLabel31.Append(textLineColorList31);
            colorTransformStyleLabel31.Append(textFillColorList31);
            colorTransformStyleLabel31.Append(textEffectColorList31);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel32 = new Dgm.ColorTransformStyleLabel() { Name = "alignAcc1" };

            Dgm.FillColorList fillColorList32 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor137 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha7 = new A.Alpha() { Val = 90000 };

            schemeColor137.Append(alpha7);

            fillColorList32.Append(schemeColor137);

            Dgm.LineColorList lineColorList32 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor138 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList32.Append(schemeColor138);
            Dgm.EffectColorList effectColorList32 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList32 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList32 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor139 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList32.Append(schemeColor139);
            Dgm.TextEffectColorList textEffectColorList32 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel32.Append(fillColorList32);
            colorTransformStyleLabel32.Append(lineColorList32);
            colorTransformStyleLabel32.Append(effectColorList32);
            colorTransformStyleLabel32.Append(textLineColorList32);
            colorTransformStyleLabel32.Append(textFillColorList32);
            colorTransformStyleLabel32.Append(textEffectColorList32);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel33 = new Dgm.ColorTransformStyleLabel() { Name = "trAlignAcc1" };

            Dgm.FillColorList fillColorList33 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor140 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha8 = new A.Alpha() { Val = 40000 };

            schemeColor140.Append(alpha8);

            fillColorList33.Append(schemeColor140);

            Dgm.LineColorList lineColorList33 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor141 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList33.Append(schemeColor141);
            Dgm.EffectColorList effectColorList33 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList33 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList33 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor142 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList33.Append(schemeColor142);
            Dgm.TextEffectColorList textEffectColorList33 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel33.Append(fillColorList33);
            colorTransformStyleLabel33.Append(lineColorList33);
            colorTransformStyleLabel33.Append(effectColorList33);
            colorTransformStyleLabel33.Append(textLineColorList33);
            colorTransformStyleLabel33.Append(textFillColorList33);
            colorTransformStyleLabel33.Append(textEffectColorList33);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel34 = new Dgm.ColorTransformStyleLabel() { Name = "bgAcc1" };

            Dgm.FillColorList fillColorList34 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor143 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha9 = new A.Alpha() { Val = 90000 };

            schemeColor143.Append(alpha9);

            fillColorList34.Append(schemeColor143);

            Dgm.LineColorList lineColorList34 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor144 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList34.Append(schemeColor144);
            Dgm.EffectColorList effectColorList34 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList34 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList34 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor145 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList34.Append(schemeColor145);
            Dgm.TextEffectColorList textEffectColorList34 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel34.Append(fillColorList34);
            colorTransformStyleLabel34.Append(lineColorList34);
            colorTransformStyleLabel34.Append(effectColorList34);
            colorTransformStyleLabel34.Append(textLineColorList34);
            colorTransformStyleLabel34.Append(textFillColorList34);
            colorTransformStyleLabel34.Append(textEffectColorList34);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel35 = new Dgm.ColorTransformStyleLabel() { Name = "solidFgAcc1" };

            Dgm.FillColorList fillColorList35 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor146 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList35.Append(schemeColor146);

            Dgm.LineColorList lineColorList35 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor147 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList35.Append(schemeColor147);
            Dgm.EffectColorList effectColorList35 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList35 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList35 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor148 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList35.Append(schemeColor148);
            Dgm.TextEffectColorList textEffectColorList35 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel35.Append(fillColorList35);
            colorTransformStyleLabel35.Append(lineColorList35);
            colorTransformStyleLabel35.Append(effectColorList35);
            colorTransformStyleLabel35.Append(textLineColorList35);
            colorTransformStyleLabel35.Append(textFillColorList35);
            colorTransformStyleLabel35.Append(textEffectColorList35);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel36 = new Dgm.ColorTransformStyleLabel() { Name = "solidAlignAcc1" };

            Dgm.FillColorList fillColorList36 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor149 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList36.Append(schemeColor149);

            Dgm.LineColorList lineColorList36 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor150 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList36.Append(schemeColor150);
            Dgm.EffectColorList effectColorList36 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList36 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList36 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor151 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList36.Append(schemeColor151);
            Dgm.TextEffectColorList textEffectColorList36 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel36.Append(fillColorList36);
            colorTransformStyleLabel36.Append(lineColorList36);
            colorTransformStyleLabel36.Append(effectColorList36);
            colorTransformStyleLabel36.Append(textLineColorList36);
            colorTransformStyleLabel36.Append(textFillColorList36);
            colorTransformStyleLabel36.Append(textEffectColorList36);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel37 = new Dgm.ColorTransformStyleLabel() { Name = "solidBgAcc1" };

            Dgm.FillColorList fillColorList37 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor152 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList37.Append(schemeColor152);

            Dgm.LineColorList lineColorList37 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor153 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList37.Append(schemeColor153);
            Dgm.EffectColorList effectColorList37 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList37 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList37 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor154 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList37.Append(schemeColor154);
            Dgm.TextEffectColorList textEffectColorList37 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel37.Append(fillColorList37);
            colorTransformStyleLabel37.Append(lineColorList37);
            colorTransformStyleLabel37.Append(effectColorList37);
            colorTransformStyleLabel37.Append(textLineColorList37);
            colorTransformStyleLabel37.Append(textFillColorList37);
            colorTransformStyleLabel37.Append(textEffectColorList37);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel38 = new Dgm.ColorTransformStyleLabel() { Name = "fgAccFollowNode1" };

            Dgm.FillColorList fillColorList38 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor155 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha10 = new A.Alpha() { Val = 90000 };
            A.Tint tint20 = new A.Tint() { Val = 40000 };

            schemeColor155.Append(alpha10);
            schemeColor155.Append(tint20);

            fillColorList38.Append(schemeColor155);

            Dgm.LineColorList lineColorList38 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor156 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha11 = new A.Alpha() { Val = 90000 };
            A.Tint tint21 = new A.Tint() { Val = 40000 };

            schemeColor156.Append(alpha11);
            schemeColor156.Append(tint21);

            lineColorList38.Append(schemeColor156);
            Dgm.EffectColorList effectColorList38 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList38 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList38 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor157 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList38.Append(schemeColor157);
            Dgm.TextEffectColorList textEffectColorList38 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel38.Append(fillColorList38);
            colorTransformStyleLabel38.Append(lineColorList38);
            colorTransformStyleLabel38.Append(effectColorList38);
            colorTransformStyleLabel38.Append(textLineColorList38);
            colorTransformStyleLabel38.Append(textFillColorList38);
            colorTransformStyleLabel38.Append(textEffectColorList38);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel39 = new Dgm.ColorTransformStyleLabel() { Name = "alignAccFollowNode1" };

            Dgm.FillColorList fillColorList39 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor158 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha12 = new A.Alpha() { Val = 90000 };
            A.Tint tint22 = new A.Tint() { Val = 40000 };

            schemeColor158.Append(alpha12);
            schemeColor158.Append(tint22);

            fillColorList39.Append(schemeColor158);

            Dgm.LineColorList lineColorList39 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor159 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha13 = new A.Alpha() { Val = 90000 };
            A.Tint tint23 = new A.Tint() { Val = 40000 };

            schemeColor159.Append(alpha13);
            schemeColor159.Append(tint23);

            lineColorList39.Append(schemeColor159);
            Dgm.EffectColorList effectColorList39 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList39 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList39 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor160 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList39.Append(schemeColor160);
            Dgm.TextEffectColorList textEffectColorList39 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel39.Append(fillColorList39);
            colorTransformStyleLabel39.Append(lineColorList39);
            colorTransformStyleLabel39.Append(effectColorList39);
            colorTransformStyleLabel39.Append(textLineColorList39);
            colorTransformStyleLabel39.Append(textFillColorList39);
            colorTransformStyleLabel39.Append(textEffectColorList39);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel40 = new Dgm.ColorTransformStyleLabel() { Name = "bgAccFollowNode1" };

            Dgm.FillColorList fillColorList40 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor161 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha14 = new A.Alpha() { Val = 90000 };
            A.Tint tint24 = new A.Tint() { Val = 40000 };

            schemeColor161.Append(alpha14);
            schemeColor161.Append(tint24);

            fillColorList40.Append(schemeColor161);

            Dgm.LineColorList lineColorList40 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor162 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha15 = new A.Alpha() { Val = 90000 };
            A.Tint tint25 = new A.Tint() { Val = 40000 };

            schemeColor162.Append(alpha15);
            schemeColor162.Append(tint25);

            lineColorList40.Append(schemeColor162);
            Dgm.EffectColorList effectColorList40 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList40 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList40 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor163 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList40.Append(schemeColor163);
            Dgm.TextEffectColorList textEffectColorList40 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel40.Append(fillColorList40);
            colorTransformStyleLabel40.Append(lineColorList40);
            colorTransformStyleLabel40.Append(effectColorList40);
            colorTransformStyleLabel40.Append(textLineColorList40);
            colorTransformStyleLabel40.Append(textFillColorList40);
            colorTransformStyleLabel40.Append(textEffectColorList40);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel41 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc0" };

            Dgm.FillColorList fillColorList41 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor164 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha16 = new A.Alpha() { Val = 90000 };

            schemeColor164.Append(alpha16);

            fillColorList41.Append(schemeColor164);

            Dgm.LineColorList lineColorList41 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor165 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList41.Append(schemeColor165);
            Dgm.EffectColorList effectColorList41 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList41 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList41 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor166 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList41.Append(schemeColor166);
            Dgm.TextEffectColorList textEffectColorList41 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel41.Append(fillColorList41);
            colorTransformStyleLabel41.Append(lineColorList41);
            colorTransformStyleLabel41.Append(effectColorList41);
            colorTransformStyleLabel41.Append(textLineColorList41);
            colorTransformStyleLabel41.Append(textFillColorList41);
            colorTransformStyleLabel41.Append(textEffectColorList41);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel42 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc2" };

            Dgm.FillColorList fillColorList42 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor167 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha17 = new A.Alpha() { Val = 90000 };

            schemeColor167.Append(alpha17);

            fillColorList42.Append(schemeColor167);

            Dgm.LineColorList lineColorList42 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor168 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList42.Append(schemeColor168);
            Dgm.EffectColorList effectColorList42 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList42 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList42 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor169 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList42.Append(schemeColor169);
            Dgm.TextEffectColorList textEffectColorList42 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel42.Append(fillColorList42);
            colorTransformStyleLabel42.Append(lineColorList42);
            colorTransformStyleLabel42.Append(effectColorList42);
            colorTransformStyleLabel42.Append(textLineColorList42);
            colorTransformStyleLabel42.Append(textFillColorList42);
            colorTransformStyleLabel42.Append(textEffectColorList42);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel43 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc3" };

            Dgm.FillColorList fillColorList43 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor170 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha18 = new A.Alpha() { Val = 90000 };

            schemeColor170.Append(alpha18);

            fillColorList43.Append(schemeColor170);

            Dgm.LineColorList lineColorList43 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor171 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList43.Append(schemeColor171);
            Dgm.EffectColorList effectColorList43 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList43 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList43 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor172 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList43.Append(schemeColor172);
            Dgm.TextEffectColorList textEffectColorList43 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel43.Append(fillColorList43);
            colorTransformStyleLabel43.Append(lineColorList43);
            colorTransformStyleLabel43.Append(effectColorList43);
            colorTransformStyleLabel43.Append(textLineColorList43);
            colorTransformStyleLabel43.Append(textFillColorList43);
            colorTransformStyleLabel43.Append(textEffectColorList43);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel44 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc4" };

            Dgm.FillColorList fillColorList44 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor173 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha19 = new A.Alpha() { Val = 90000 };

            schemeColor173.Append(alpha19);

            fillColorList44.Append(schemeColor173);

            Dgm.LineColorList lineColorList44 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor174 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList44.Append(schemeColor174);
            Dgm.EffectColorList effectColorList44 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList44 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList44 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor175 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList44.Append(schemeColor175);
            Dgm.TextEffectColorList textEffectColorList44 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel44.Append(fillColorList44);
            colorTransformStyleLabel44.Append(lineColorList44);
            colorTransformStyleLabel44.Append(effectColorList44);
            colorTransformStyleLabel44.Append(textLineColorList44);
            colorTransformStyleLabel44.Append(textFillColorList44);
            colorTransformStyleLabel44.Append(textEffectColorList44);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel45 = new Dgm.ColorTransformStyleLabel() { Name = "bgShp" };

            Dgm.FillColorList fillColorList45 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor176 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint26 = new A.Tint() { Val = 40000 };

            schemeColor176.Append(tint26);

            fillColorList45.Append(schemeColor176);

            Dgm.LineColorList lineColorList45 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor177 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList45.Append(schemeColor177);
            Dgm.EffectColorList effectColorList45 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList45 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList45 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor178 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList45.Append(schemeColor178);
            Dgm.TextEffectColorList textEffectColorList45 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel45.Append(fillColorList45);
            colorTransformStyleLabel45.Append(lineColorList45);
            colorTransformStyleLabel45.Append(effectColorList45);
            colorTransformStyleLabel45.Append(textLineColorList45);
            colorTransformStyleLabel45.Append(textFillColorList45);
            colorTransformStyleLabel45.Append(textEffectColorList45);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel46 = new Dgm.ColorTransformStyleLabel() { Name = "dkBgShp" };

            Dgm.FillColorList fillColorList46 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor179 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade14 = new A.Shade() { Val = 80000 };

            schemeColor179.Append(shade14);

            fillColorList46.Append(schemeColor179);

            Dgm.LineColorList lineColorList46 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor180 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList46.Append(schemeColor180);
            Dgm.EffectColorList effectColorList46 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList46 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList46 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor181 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList46.Append(schemeColor181);
            Dgm.TextEffectColorList textEffectColorList46 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel46.Append(fillColorList46);
            colorTransformStyleLabel46.Append(lineColorList46);
            colorTransformStyleLabel46.Append(effectColorList46);
            colorTransformStyleLabel46.Append(textLineColorList46);
            colorTransformStyleLabel46.Append(textFillColorList46);
            colorTransformStyleLabel46.Append(textEffectColorList46);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel47 = new Dgm.ColorTransformStyleLabel() { Name = "trBgShp" };

            Dgm.FillColorList fillColorList47 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor182 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint27 = new A.Tint() { Val = 50000 };
            A.Alpha alpha20 = new A.Alpha() { Val = 40000 };

            schemeColor182.Append(tint27);
            schemeColor182.Append(alpha20);

            fillColorList47.Append(schemeColor182);

            Dgm.LineColorList lineColorList47 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor183 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList47.Append(schemeColor183);
            Dgm.EffectColorList effectColorList47 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList47 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList47 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor184 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList47.Append(schemeColor184);
            Dgm.TextEffectColorList textEffectColorList47 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel47.Append(fillColorList47);
            colorTransformStyleLabel47.Append(lineColorList47);
            colorTransformStyleLabel47.Append(effectColorList47);
            colorTransformStyleLabel47.Append(textLineColorList47);
            colorTransformStyleLabel47.Append(textFillColorList47);
            colorTransformStyleLabel47.Append(textEffectColorList47);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel48 = new Dgm.ColorTransformStyleLabel() { Name = "fgShp" };

            Dgm.FillColorList fillColorList48 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor185 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint28 = new A.Tint() { Val = 60000 };

            schemeColor185.Append(tint28);

            fillColorList48.Append(schemeColor185);

            Dgm.LineColorList lineColorList48 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor186 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList48.Append(schemeColor186);
            Dgm.EffectColorList effectColorList48 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList48 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList48 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor187 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList48.Append(schemeColor187);
            Dgm.TextEffectColorList textEffectColorList48 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel48.Append(fillColorList48);
            colorTransformStyleLabel48.Append(lineColorList48);
            colorTransformStyleLabel48.Append(effectColorList48);
            colorTransformStyleLabel48.Append(textLineColorList48);
            colorTransformStyleLabel48.Append(textFillColorList48);
            colorTransformStyleLabel48.Append(textEffectColorList48);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel49 = new Dgm.ColorTransformStyleLabel() { Name = "revTx" };

            Dgm.FillColorList fillColorList49 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor188 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha21 = new A.Alpha() { Val = 0 };

            schemeColor188.Append(alpha21);

            fillColorList49.Append(schemeColor188);

            Dgm.LineColorList lineColorList49 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor189 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };
            A.Alpha alpha22 = new A.Alpha() { Val = 0 };

            schemeColor189.Append(alpha22);

            lineColorList49.Append(schemeColor189);
            Dgm.EffectColorList effectColorList49 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList49 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList49 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor190 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList49.Append(schemeColor190);
            Dgm.TextEffectColorList textEffectColorList49 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel49.Append(fillColorList49);
            colorTransformStyleLabel49.Append(lineColorList49);
            colorTransformStyleLabel49.Append(effectColorList49);
            colorTransformStyleLabel49.Append(textLineColorList49);
            colorTransformStyleLabel49.Append(textFillColorList49);
            colorTransformStyleLabel49.Append(textEffectColorList49);

            colorsDefinition1.Append(colorDefinitionTitle1);
            colorsDefinition1.Append(colorTransformDescription1);
            colorsDefinition1.Append(colorTransformCategories1);
            colorsDefinition1.Append(colorTransformStyleLabel1);
            colorsDefinition1.Append(colorTransformStyleLabel2);
            colorsDefinition1.Append(colorTransformStyleLabel3);
            colorsDefinition1.Append(colorTransformStyleLabel4);
            colorsDefinition1.Append(colorTransformStyleLabel5);
            colorsDefinition1.Append(colorTransformStyleLabel6);
            colorsDefinition1.Append(colorTransformStyleLabel7);
            colorsDefinition1.Append(colorTransformStyleLabel8);
            colorsDefinition1.Append(colorTransformStyleLabel9);
            colorsDefinition1.Append(colorTransformStyleLabel10);
            colorsDefinition1.Append(colorTransformStyleLabel11);
            colorsDefinition1.Append(colorTransformStyleLabel12);
            colorsDefinition1.Append(colorTransformStyleLabel13);
            colorsDefinition1.Append(colorTransformStyleLabel14);
            colorsDefinition1.Append(colorTransformStyleLabel15);
            colorsDefinition1.Append(colorTransformStyleLabel16);
            colorsDefinition1.Append(colorTransformStyleLabel17);
            colorsDefinition1.Append(colorTransformStyleLabel18);
            colorsDefinition1.Append(colorTransformStyleLabel19);
            colorsDefinition1.Append(colorTransformStyleLabel20);
            colorsDefinition1.Append(colorTransformStyleLabel21);
            colorsDefinition1.Append(colorTransformStyleLabel22);
            colorsDefinition1.Append(colorTransformStyleLabel23);
            colorsDefinition1.Append(colorTransformStyleLabel24);
            colorsDefinition1.Append(colorTransformStyleLabel25);
            colorsDefinition1.Append(colorTransformStyleLabel26);
            colorsDefinition1.Append(colorTransformStyleLabel27);
            colorsDefinition1.Append(colorTransformStyleLabel28);
            colorsDefinition1.Append(colorTransformStyleLabel29);
            colorsDefinition1.Append(colorTransformStyleLabel30);
            colorsDefinition1.Append(colorTransformStyleLabel31);
            colorsDefinition1.Append(colorTransformStyleLabel32);
            colorsDefinition1.Append(colorTransformStyleLabel33);
            colorsDefinition1.Append(colorTransformStyleLabel34);
            colorsDefinition1.Append(colorTransformStyleLabel35);
            colorsDefinition1.Append(colorTransformStyleLabel36);
            colorsDefinition1.Append(colorTransformStyleLabel37);
            colorsDefinition1.Append(colorTransformStyleLabel38);
            colorsDefinition1.Append(colorTransformStyleLabel39);
            colorsDefinition1.Append(colorTransformStyleLabel40);
            colorsDefinition1.Append(colorTransformStyleLabel41);
            colorsDefinition1.Append(colorTransformStyleLabel42);
            colorsDefinition1.Append(colorTransformStyleLabel43);
            colorsDefinition1.Append(colorTransformStyleLabel44);
            colorsDefinition1.Append(colorTransformStyleLabel45);
            colorsDefinition1.Append(colorTransformStyleLabel46);
            colorsDefinition1.Append(colorTransformStyleLabel47);
            colorsDefinition1.Append(colorTransformStyleLabel48);
            colorsDefinition1.Append(colorTransformStyleLabel49);

            diagramColorsPart1.ColorsDefinition = colorsDefinition1;
        }
Ejemplo n.º 13
0
        // Generates content of slideLayoutPart11.
        private void GenerateSlideLayoutPart11Content(SlideLayoutPart slideLayoutPart11)
        {
            SlideLayout slideLayout11 = new SlideLayout(){ Type = SlideLayoutValues.PictureText, Preserve = true };
            slideLayout11.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout11.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout11.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData13 = new CommonSlideData(){ Name = "Picture with Caption" };

            ShapeTree shapeTree13 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties13 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties72 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties13 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties72 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties13.Append(nonVisualDrawingProperties72);
            nonVisualGroupShapeProperties13.Append(nonVisualGroupShapeDrawingProperties13);
            nonVisualGroupShapeProperties13.Append(applicationNonVisualDrawingProperties72);

            GroupShapeProperties groupShapeProperties13 = new GroupShapeProperties();

            A.TransformGroup transformGroup13 = new A.TransformGroup();
            A.Offset offset35 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents35 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset13 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents13 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup13.Append(offset35);
            transformGroup13.Append(extents35);
            transformGroup13.Append(childOffset13);
            transformGroup13.Append(childExtents13);

            groupShapeProperties13.Append(transformGroup13);

            Shape shape60 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties60 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties73 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Title 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties60 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks60 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties60.Append(shapeLocks60);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties73 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape60 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties73.Append(placeholderShape60);

            nonVisualShapeProperties60.Append(nonVisualDrawingProperties73);
            nonVisualShapeProperties60.Append(nonVisualShapeDrawingProperties60);
            nonVisualShapeProperties60.Append(applicationNonVisualDrawingProperties73);

            ShapeProperties shapeProperties60 = new ShapeProperties();

            A.Transform2D transform2D23 = new A.Transform2D();
            A.Offset offset36 = new A.Offset(){ X = 2438400L, Y = 609600L };
            A.Extents extents36 = new A.Extents(){ Cx = 7315200L, Cy = 522288L };

            transform2D23.Append(offset36);
            transform2D23.Append(extents36);

            shapeProperties60.Append(transform2D23);

            TextBody textBody60 = new TextBody();

            A.BodyProperties bodyProperties60 = new A.BodyProperties(){ LeftInset = 45720, RightInset = 45720, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.Shape3DType shape3DType6 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };

            bodyProperties60.Append(shape3DType6);

            A.ListStyle listStyle60 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties22 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet33 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties83 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level1ParagraphProperties22.Append(noBullet33);
            level1ParagraphProperties22.Append(defaultRunProperties83);

            listStyle60.Append(level1ParagraphProperties22);

            A.Paragraph paragraph96 = new A.Paragraph();

            A.Run run61 = new A.Run();

            A.RunProperties runProperties83 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties83.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text83 = new A.Text();
            text83.Text = "Click to edit Master title style";

            run61.Append(runProperties83);
            run61.Append(text83);
            A.EndParagraphRunProperties endParagraphRunProperties56 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph96.Append(run61);
            paragraph96.Append(endParagraphRunProperties56);

            textBody60.Append(bodyProperties60);
            textBody60.Append(listStyle60);
            textBody60.Append(paragraph96);

            shape60.Append(nonVisualShapeProperties60);
            shape60.Append(shapeProperties60);
            shape60.Append(textBody60);

            Shape shape61 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties61 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties74 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Picture Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties61 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks61 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties61.Append(shapeLocks61);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties74 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape61 = new PlaceholderShape(){ Type = PlaceholderValues.Picture, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties74.Append(placeholderShape61);

            nonVisualShapeProperties61.Append(nonVisualDrawingProperties74);
            nonVisualShapeProperties61.Append(nonVisualShapeDrawingProperties61);
            nonVisualShapeProperties61.Append(applicationNonVisualDrawingProperties74);

            ShapeProperties shapeProperties61 = new ShapeProperties();

            A.Transform2D transform2D24 = new A.Transform2D();
            A.Offset offset37 = new A.Offset(){ X = 2438400L, Y = 1831975L };
            A.Extents extents37 = new A.Extents(){ Cx = 7315200L, Cy = 3962400L };

            transform2D24.Append(offset37);
            transform2D24.Append(extents37);

            A.SolidFill solidFill46 = new A.SolidFill();
            A.SchemeColor schemeColor76 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            solidFill46.Append(schemeColor76);

            A.Outline outline8 = new A.Outline(){ Width = 44450, CapType = A.LineCapValues.Square, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill47 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex(){ Val = "FFFFFF" };

            solidFill47.Append(rgbColorModelHex17);
            A.PresetDash presetDash4 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };
            A.Miter miter1 = new A.Miter(){ Limit = 800000 };

            outline8.Append(solidFill47);
            outline8.Append(presetDash4);
            outline8.Append(miter1);

            A.EffectList effectList7 = new A.EffectList();

            A.OuterShadow outerShadow7 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000 };

            A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha7 = new A.Alpha(){ Val = 25000 };

            rgbColorModelHex18.Append(alpha7);

            outerShadow7.Append(rgbColorModelHex18);

            effectList7.Append(outerShadow7);

            A.Scene3DType scene3DType5 = new A.Scene3DType();

            A.Camera camera5 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation6 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera5.Append(rotation6);

            A.LightRig lightRig5 = new A.LightRig(){ Rig = A.LightRigValues.Balanced, Direction = A.LightRigDirectionValues.TopRight };
            A.Rotation rotation7 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 2700000 };

            lightRig5.Append(rotation7);

            scene3DType5.Append(camera5);
            scene3DType5.Append(lightRig5);

            A.Shape3DType shape3DType7 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Matte };

            A.ContourColor contourColor2 = new A.ContourColor();

            A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };
            A.Shade shade11 = new A.Shade(){ Val = 50000 };

            schemeColor77.Append(shade11);

            contourColor2.Append(schemeColor77);

            shape3DType7.Append(contourColor2);

            shapeProperties61.Append(transform2D24);
            shapeProperties61.Append(solidFill46);
            shapeProperties61.Append(outline8);
            shapeProperties61.Append(effectList7);
            shapeProperties61.Append(scene3DType5);
            shapeProperties61.Append(shape3DType7);

            ShapeStyle shapeStyle1 = new ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference(){ Index = (UInt32Value)3U };
            A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            lineReference1.Append(schemeColor78);

            A.FillReference fillReference1 = new A.FillReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference1.Append(schemeColor79);

            A.EffectReference effectReference1 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor80 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference1.Append(schemeColor80);

            A.FontReference fontReference1 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor81 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            fontReference1.Append(schemeColor81);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

            TextBody textBody61 = new TextBody();
            A.BodyProperties bodyProperties61 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };

            A.ListStyle listStyle61 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties23 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };
            A.NoBullet noBullet34 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties84 = new A.DefaultRunProperties(){ FontSize = 3200 };

            level1ParagraphProperties23.Append(noBullet34);
            level1ParagraphProperties23.Append(defaultRunProperties84);

            listStyle61.Append(level1ParagraphProperties23);

            A.Paragraph paragraph97 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties50 = new A.ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run62 = new A.Run();

            A.RunProperties runProperties84 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties84.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill48 = new A.SolidFill();
            A.SchemeColor schemeColor82 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            solidFill48.Append(schemeColor82);
            A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont32 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont32 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            runProperties84.Append(solidFill48);
            runProperties84.Append(latinFont32);
            runProperties84.Append(eastAsianFont32);
            runProperties84.Append(complexScriptFont32);
            A.Text text84 = new A.Text();
            text84.Text = "Click icon to add picture";

            run62.Append(runProperties84);
            run62.Append(text84);

            A.EndParagraphRunProperties endParagraphRunProperties57 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US", Dirty = false };

            A.SolidFill solidFill49 = new A.SolidFill();
            A.SchemeColor schemeColor83 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            solidFill49.Append(schemeColor83);
            A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont33 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont33 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            endParagraphRunProperties57.Append(solidFill49);
            endParagraphRunProperties57.Append(latinFont33);
            endParagraphRunProperties57.Append(eastAsianFont33);
            endParagraphRunProperties57.Append(complexScriptFont33);

            paragraph97.Append(paragraphProperties50);
            paragraph97.Append(run62);
            paragraph97.Append(endParagraphRunProperties57);

            textBody61.Append(bodyProperties61);
            textBody61.Append(listStyle61);
            textBody61.Append(paragraph97);

            shape61.Append(nonVisualShapeProperties61);
            shape61.Append(shapeProperties61);
            shape61.Append(shapeStyle1);
            shape61.Append(textBody61);

            Shape shape62 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties62 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties75 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Text Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties62 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks62 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties62.Append(shapeLocks62);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties75 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape62 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties75.Append(placeholderShape62);

            nonVisualShapeProperties62.Append(nonVisualDrawingProperties75);
            nonVisualShapeProperties62.Append(nonVisualShapeDrawingProperties62);
            nonVisualShapeProperties62.Append(applicationNonVisualDrawingProperties75);

            ShapeProperties shapeProperties62 = new ShapeProperties();

            A.Transform2D transform2D25 = new A.Transform2D();
            A.Offset offset38 = new A.Offset(){ X = 2438400L, Y = 1166787L };
            A.Extents extents38 = new A.Extents(){ Cx = 7315200L, Cy = 530352L };

            transform2D25.Append(offset38);
            transform2D25.Append(extents38);

            shapeProperties62.Append(transform2D25);

            TextBody textBody62 = new TextBody();
            A.BodyProperties bodyProperties62 = new A.BodyProperties(){ LeftInset = 45720, TopInset = 45720, RightInset = 45720, Anchor = A.TextAnchoringTypeValues.Top };

            A.ListStyle listStyle62 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties24 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet35 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties85 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level1ParagraphProperties24.Append(noBullet35);
            level1ParagraphProperties24.Append(defaultRunProperties85);

            A.Level2ParagraphProperties level2ParagraphProperties14 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties86 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties14.Append(defaultRunProperties86);

            A.Level3ParagraphProperties level3ParagraphProperties14 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties87 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties14.Append(defaultRunProperties87);

            A.Level4ParagraphProperties level4ParagraphProperties14 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties88 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties14.Append(defaultRunProperties88);

            A.Level5ParagraphProperties level5ParagraphProperties14 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties89 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties14.Append(defaultRunProperties89);

            listStyle62.Append(level1ParagraphProperties24);
            listStyle62.Append(level2ParagraphProperties14);
            listStyle62.Append(level3ParagraphProperties14);
            listStyle62.Append(level4ParagraphProperties14);
            listStyle62.Append(level5ParagraphProperties14);

            A.Paragraph paragraph98 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties51 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run63 = new A.Run();

            A.RunProperties runProperties85 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties85.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text85 = new A.Text();
            text85.Text = "Click to edit Master text styles";

            run63.Append(runProperties85);
            run63.Append(text85);

            paragraph98.Append(paragraphProperties51);
            paragraph98.Append(run63);

            textBody62.Append(bodyProperties62);
            textBody62.Append(listStyle62);
            textBody62.Append(paragraph98);

            shape62.Append(nonVisualShapeProperties62);
            shape62.Append(shapeProperties62);
            shape62.Append(textBody62);

            Shape shape63 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties63 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties76 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Date Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties63 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks63 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties63.Append(shapeLocks63);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties76 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape63 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)10U };

            applicationNonVisualDrawingProperties76.Append(placeholderShape63);

            nonVisualShapeProperties63.Append(nonVisualDrawingProperties76);
            nonVisualShapeProperties63.Append(nonVisualShapeDrawingProperties63);
            nonVisualShapeProperties63.Append(applicationNonVisualDrawingProperties76);
            ShapeProperties shapeProperties63 = new ShapeProperties();

            TextBody textBody63 = new TextBody();
            A.BodyProperties bodyProperties63 = new A.BodyProperties();
            A.ListStyle listStyle63 = new A.ListStyle();

            A.Paragraph paragraph99 = new A.Paragraph();

            A.Field field23 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties86 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties86.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text86 = new A.Text();
            text86.Text = "2012/10/3";

            field23.Append(runProperties86);
            field23.Append(text86);
            A.EndParagraphRunProperties endParagraphRunProperties58 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph99.Append(field23);
            paragraph99.Append(endParagraphRunProperties58);

            textBody63.Append(bodyProperties63);
            textBody63.Append(listStyle63);
            textBody63.Append(paragraph99);

            shape63.Append(nonVisualShapeProperties63);
            shape63.Append(shapeProperties63);
            shape63.Append(textBody63);

            Shape shape64 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties64 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties77 = new NonVisualDrawingProperties(){ Id = (UInt32Value)6U, Name = "Footer Placeholder 5" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties64 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks64 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties64.Append(shapeLocks64);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties77 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape64 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)11U };

            applicationNonVisualDrawingProperties77.Append(placeholderShape64);

            nonVisualShapeProperties64.Append(nonVisualDrawingProperties77);
            nonVisualShapeProperties64.Append(nonVisualShapeDrawingProperties64);
            nonVisualShapeProperties64.Append(applicationNonVisualDrawingProperties77);
            ShapeProperties shapeProperties64 = new ShapeProperties();

            TextBody textBody64 = new TextBody();
            A.BodyProperties bodyProperties64 = new A.BodyProperties();
            A.ListStyle listStyle64 = new A.ListStyle();

            A.Paragraph paragraph100 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties59 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph100.Append(endParagraphRunProperties59);

            textBody64.Append(bodyProperties64);
            textBody64.Append(listStyle64);
            textBody64.Append(paragraph100);

            shape64.Append(nonVisualShapeProperties64);
            shape64.Append(shapeProperties64);
            shape64.Append(textBody64);

            Shape shape65 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties65 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties78 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Slide Number Placeholder 6" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties65 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks65 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties65.Append(shapeLocks65);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties78 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape65 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)12U };

            applicationNonVisualDrawingProperties78.Append(placeholderShape65);

            nonVisualShapeProperties65.Append(nonVisualDrawingProperties78);
            nonVisualShapeProperties65.Append(nonVisualShapeDrawingProperties65);
            nonVisualShapeProperties65.Append(applicationNonVisualDrawingProperties78);
            ShapeProperties shapeProperties65 = new ShapeProperties();

            TextBody textBody65 = new TextBody();
            A.BodyProperties bodyProperties65 = new A.BodyProperties();
            A.ListStyle listStyle65 = new A.ListStyle();

            A.Paragraph paragraph101 = new A.Paragraph();

            A.Field field24 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

            A.RunProperties runProperties87 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties87.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text87 = new A.Text();
            text87.Text = "‹#›";

            field24.Append(runProperties87);
            field24.Append(text87);
            A.EndParagraphRunProperties endParagraphRunProperties60 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph101.Append(field24);
            paragraph101.Append(endParagraphRunProperties60);

            textBody65.Append(bodyProperties65);
            textBody65.Append(listStyle65);
            textBody65.Append(paragraph101);

            shape65.Append(nonVisualShapeProperties65);
            shape65.Append(shapeProperties65);
            shape65.Append(textBody65);

            shapeTree13.Append(nonVisualGroupShapeProperties13);
            shapeTree13.Append(groupShapeProperties13);
            shapeTree13.Append(shape60);
            shapeTree13.Append(shape61);
            shapeTree13.Append(shape62);
            shapeTree13.Append(shape63);
            shapeTree13.Append(shape64);
            shapeTree13.Append(shape65);

            CommonSlideDataExtensionList commonSlideDataExtensionList13 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension13 = new CommonSlideDataExtension(){ Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}" };

            P14.CreationId creationId13 = new P14.CreationId(){ Val = (UInt32Value)1836910191U };
            creationId13.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension13.Append(creationId13);

            commonSlideDataExtensionList13.Append(commonSlideDataExtension13);

            commonSlideData13.Append(shapeTree13);
            commonSlideData13.Append(commonSlideDataExtensionList13);

            ColorMapOverride colorMapOverride12 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping11 = new A.MasterColorMapping();

            colorMapOverride12.Append(masterColorMapping11);

            slideLayout11.Append(commonSlideData13);
            slideLayout11.Append(colorMapOverride12);

            slideLayoutPart11.SlideLayout = slideLayout11;
        }
Ejemplo n.º 14
0
        // 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;
        }
Ejemplo n.º 15
0
        // Generates content of slideLayoutPart3.
        private void GenerateSlideLayoutPart3Content(SlideLayoutPart slideLayoutPart3)
        {
            SlideLayout slideLayout3 = new SlideLayout(){ Type = SlideLayoutValues.SectionHeader, Preserve = true };
            slideLayout3.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout3.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData5 = new CommonSlideData(){ Name = "Section Header" };

            Background background2 = new Background();

            BackgroundStyleReference backgroundStyleReference2 = new BackgroundStyleReference(){ Index = (UInt32Value)1003U };
            A.SchemeColor schemeColor49 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference2.Append(schemeColor49);

            background2.Append(backgroundStyleReference2);

            ShapeTree shapeTree5 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties5 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties23 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties5 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties23 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties5.Append(nonVisualDrawingProperties23);
            nonVisualGroupShapeProperties5.Append(nonVisualGroupShapeDrawingProperties5);
            nonVisualGroupShapeProperties5.Append(applicationNonVisualDrawingProperties23);

            GroupShapeProperties groupShapeProperties5 = new GroupShapeProperties();

            A.TransformGroup transformGroup5 = new A.TransformGroup();
            A.Offset offset15 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents15 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset5 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents5 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup5.Append(offset15);
            transformGroup5.Append(extents15);
            transformGroup5.Append(childOffset5);
            transformGroup5.Append(childExtents5);

            groupShapeProperties5.Append(transformGroup5);

            Shape shape19 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties19 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties24 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Title 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties19 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks19 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties19.Append(shapeLocks19);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties24 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape19 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties24.Append(placeholderShape19);

            nonVisualShapeProperties19.Append(nonVisualDrawingProperties24);
            nonVisualShapeProperties19.Append(nonVisualShapeDrawingProperties19);
            nonVisualShapeProperties19.Append(applicationNonVisualDrawingProperties24);

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.Transform2D transform2D11 = new A.Transform2D();
            A.Offset offset16 = new A.Offset(){ X = 2133600L, Y = 609600L };
            A.Extents extents16 = new A.Extents(){ Cx = 9448800L, Cy = 1828800L };

            transform2D11.Append(offset16);
            transform2D11.Append(extents16);

            shapeProperties19.Append(transform2D11);

            TextBody textBody19 = new TextBody();

            A.BodyProperties bodyProperties19 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NoAutoFit noAutoFit1 = new A.NoAutoFit();

            A.Scene3DType scene3DType3 = new A.Scene3DType();
            A.Camera camera3 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig3 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation3 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 17220000 };

            lightRig3.Append(rotation3);

            scene3DType3.Append(camera3);
            scene3DType3.Append(lightRig3);

            A.Shape3DType shape3DType4 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };
            A.BevelTop bevelTop3 = new A.BevelTop(){ Width = 38100L, Height = 38100L };

            A.ContourColor contourColor1 = new A.ContourColor();

            A.SchemeColor schemeColor50 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };
            A.Shade shade5 = new A.Shade(){ Val = 50000 };

            schemeColor50.Append(shade5);

            contourColor1.Append(schemeColor50);

            shape3DType4.Append(bevelTop3);
            shape3DType4.Append(contourColor1);

            bodyProperties19.Append(noAutoFit1);
            bodyProperties19.Append(scene3DType3);
            bodyProperties19.Append(shape3DType4);

            A.ListStyle listStyle19 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties13 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false };

            A.SpaceBefore spaceBefore11 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent11 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore11.Append(spacingPercent11);
            A.NoBullet noBullet17 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties46 = new A.DefaultRunProperties(){ FontSize = 4800, Bold = true, Capital = A.TextCapsValues.None, Baseline = 0 };

            A.Outline outline4 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill4 = new A.NoFill();

            outline4.Append(noFill4);

            A.SolidFill solidFill33 = new A.SolidFill();

            A.SchemeColor schemeColor51 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint8 = new A.Tint(){ Val = 90000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 120000 };

            schemeColor51.Append(tint8);
            schemeColor51.Append(saturationModulation8);

            solidFill33.Append(schemeColor51);

            A.EffectList effectList3 = new A.EffectList();

            A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 114300L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 40000 };

            rgbColorModelHex3.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex3);

            effectList3.Append(outerShadow3);
            A.LatinFont latinFont29 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties46.Append(outline4);
            defaultRunProperties46.Append(solidFill33);
            defaultRunProperties46.Append(effectList3);
            defaultRunProperties46.Append(latinFont29);
            defaultRunProperties46.Append(eastAsianFont29);
            defaultRunProperties46.Append(complexScriptFont29);

            level1ParagraphProperties13.Append(spaceBefore11);
            level1ParagraphProperties13.Append(noBullet17);
            level1ParagraphProperties13.Append(defaultRunProperties46);

            listStyle19.Append(level1ParagraphProperties13);

            A.Paragraph paragraph27 = new A.Paragraph();

            A.Run run16 = new A.Run();

            A.RunProperties runProperties22 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties22.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text22 = new A.Text();
            text22.Text = "Click to edit Master title style";

            run16.Append(runProperties22);
            run16.Append(text22);
            A.EndParagraphRunProperties endParagraphRunProperties18 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph27.Append(run16);
            paragraph27.Append(endParagraphRunProperties18);

            textBody19.Append(bodyProperties19);
            textBody19.Append(listStyle19);
            textBody19.Append(paragraph27);

            shape19.Append(nonVisualShapeProperties19);
            shape19.Append(shapeProperties19);
            shape19.Append(textBody19);

            Shape shape20 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties20 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties25 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Text Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties20 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks20 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties20.Append(shapeLocks20);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties25 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape20 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties25.Append(placeholderShape20);

            nonVisualShapeProperties20.Append(nonVisualDrawingProperties25);
            nonVisualShapeProperties20.Append(nonVisualShapeDrawingProperties20);
            nonVisualShapeProperties20.Append(applicationNonVisualDrawingProperties25);

            ShapeProperties shapeProperties20 = new ShapeProperties();

            A.Transform2D transform2D12 = new A.Transform2D();
            A.Offset offset17 = new A.Offset(){ X = 2133600L, Y = 2507786L };
            A.Extents extents17 = new A.Extents(){ Cx = 9448800L, Cy = 1509712L };

            transform2D12.Append(offset17);
            transform2D12.Append(extents17);

            shapeProperties20.Append(transform2D12);

            TextBody textBody20 = new TextBody();
            A.BodyProperties bodyProperties20 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };

            A.ListStyle listStyle20 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties14 = new A.Level1ParagraphProperties(){ LeftMargin = 73152, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left };
            A.NoBullet noBullet18 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties47 = new A.DefaultRunProperties(){ FontSize = 2000 };

            A.SolidFill solidFill34 = new A.SolidFill();
            A.SchemeColor schemeColor52 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill34.Append(schemeColor52);

            defaultRunProperties47.Append(solidFill34);

            level1ParagraphProperties14.Append(noBullet18);
            level1ParagraphProperties14.Append(defaultRunProperties47);

            A.Level2ParagraphProperties level2ParagraphProperties7 = new A.Level2ParagraphProperties();
            A.NoBullet noBullet19 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties48 = new A.DefaultRunProperties(){ FontSize = 1800 };

            A.SolidFill solidFill35 = new A.SolidFill();

            A.SchemeColor schemeColor53 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint9 = new A.Tint(){ Val = 75000 };

            schemeColor53.Append(tint9);

            solidFill35.Append(schemeColor53);

            defaultRunProperties48.Append(solidFill35);

            level2ParagraphProperties7.Append(noBullet19);
            level2ParagraphProperties7.Append(defaultRunProperties48);

            A.Level3ParagraphProperties level3ParagraphProperties7 = new A.Level3ParagraphProperties();
            A.NoBullet noBullet20 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties49 = new A.DefaultRunProperties(){ FontSize = 1600 };

            A.SolidFill solidFill36 = new A.SolidFill();

            A.SchemeColor schemeColor54 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint10 = new A.Tint(){ Val = 75000 };

            schemeColor54.Append(tint10);

            solidFill36.Append(schemeColor54);

            defaultRunProperties49.Append(solidFill36);

            level3ParagraphProperties7.Append(noBullet20);
            level3ParagraphProperties7.Append(defaultRunProperties49);

            A.Level4ParagraphProperties level4ParagraphProperties7 = new A.Level4ParagraphProperties();
            A.NoBullet noBullet21 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties50 = new A.DefaultRunProperties(){ FontSize = 1400 };

            A.SolidFill solidFill37 = new A.SolidFill();

            A.SchemeColor schemeColor55 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint11 = new A.Tint(){ Val = 75000 };

            schemeColor55.Append(tint11);

            solidFill37.Append(schemeColor55);

            defaultRunProperties50.Append(solidFill37);

            level4ParagraphProperties7.Append(noBullet21);
            level4ParagraphProperties7.Append(defaultRunProperties50);

            A.Level5ParagraphProperties level5ParagraphProperties7 = new A.Level5ParagraphProperties();
            A.NoBullet noBullet22 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties51 = new A.DefaultRunProperties(){ FontSize = 1400 };

            A.SolidFill solidFill38 = new A.SolidFill();

            A.SchemeColor schemeColor56 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint12 = new A.Tint(){ Val = 75000 };

            schemeColor56.Append(tint12);

            solidFill38.Append(schemeColor56);

            defaultRunProperties51.Append(solidFill38);

            level5ParagraphProperties7.Append(noBullet22);
            level5ParagraphProperties7.Append(defaultRunProperties51);

            listStyle20.Append(level1ParagraphProperties14);
            listStyle20.Append(level2ParagraphProperties7);
            listStyle20.Append(level3ParagraphProperties7);
            listStyle20.Append(level4ParagraphProperties7);
            listStyle20.Append(level5ParagraphProperties7);

            A.Paragraph paragraph28 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run17 = new A.Run();

            A.RunProperties runProperties23 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties23.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text23 = new A.Text();
            text23.Text = "Click to edit Master text styles";

            run17.Append(runProperties23);
            run17.Append(text23);

            paragraph28.Append(paragraphProperties12);
            paragraph28.Append(run17);

            textBody20.Append(bodyProperties20);
            textBody20.Append(listStyle20);
            textBody20.Append(paragraph28);

            shape20.Append(nonVisualShapeProperties20);
            shape20.Append(shapeProperties20);
            shape20.Append(textBody20);

            Shape shape21 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties21 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties26 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Date Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties21 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks21 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties21.Append(shapeLocks21);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties26 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape21 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)10U };

            applicationNonVisualDrawingProperties26.Append(placeholderShape21);

            nonVisualShapeProperties21.Append(nonVisualDrawingProperties26);
            nonVisualShapeProperties21.Append(nonVisualShapeDrawingProperties21);
            nonVisualShapeProperties21.Append(applicationNonVisualDrawingProperties26);
            ShapeProperties shapeProperties21 = new ShapeProperties();

            TextBody textBody21 = new TextBody();
            A.BodyProperties bodyProperties21 = new A.BodyProperties();
            A.ListStyle listStyle21 = new A.ListStyle();

            A.Paragraph paragraph29 = new A.Paragraph();

            A.Field field7 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties24 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties24.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text24 = new A.Text();
            text24.Text = "2012/10/3";

            field7.Append(runProperties24);
            field7.Append(text24);
            A.EndParagraphRunProperties endParagraphRunProperties19 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph29.Append(field7);
            paragraph29.Append(endParagraphRunProperties19);

            textBody21.Append(bodyProperties21);
            textBody21.Append(listStyle21);
            textBody21.Append(paragraph29);

            shape21.Append(nonVisualShapeProperties21);
            shape21.Append(shapeProperties21);
            shape21.Append(textBody21);

            Shape shape22 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties22 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties27 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Footer Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties22 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks22 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties22.Append(shapeLocks22);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties27 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape22 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)11U };

            applicationNonVisualDrawingProperties27.Append(placeholderShape22);

            nonVisualShapeProperties22.Append(nonVisualDrawingProperties27);
            nonVisualShapeProperties22.Append(nonVisualShapeDrawingProperties22);
            nonVisualShapeProperties22.Append(applicationNonVisualDrawingProperties27);
            ShapeProperties shapeProperties22 = new ShapeProperties();

            TextBody textBody22 = new TextBody();
            A.BodyProperties bodyProperties22 = new A.BodyProperties();
            A.ListStyle listStyle22 = new A.ListStyle();

            A.Paragraph paragraph30 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties20 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph30.Append(endParagraphRunProperties20);

            textBody22.Append(bodyProperties22);
            textBody22.Append(listStyle22);
            textBody22.Append(paragraph30);

            shape22.Append(nonVisualShapeProperties22);
            shape22.Append(shapeProperties22);
            shape22.Append(textBody22);

            Shape shape23 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties23 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties28 = new NonVisualDrawingProperties(){ Id = (UInt32Value)6U, Name = "Slide Number Placeholder 5" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties23 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks23 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties23.Append(shapeLocks23);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties28 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape23 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)12U };

            applicationNonVisualDrawingProperties28.Append(placeholderShape23);

            nonVisualShapeProperties23.Append(nonVisualDrawingProperties28);
            nonVisualShapeProperties23.Append(nonVisualShapeDrawingProperties23);
            nonVisualShapeProperties23.Append(applicationNonVisualDrawingProperties28);

            ShapeProperties shapeProperties23 = new ShapeProperties();

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset offset18 = new A.Offset(){ X = 10566400L, Y = 6416676L };
            A.Extents extents18 = new A.Extents(){ Cx = 1016000L, Cy = 365125L };

            transform2D13.Append(offset18);
            transform2D13.Append(extents18);

            shapeProperties23.Append(transform2D13);

            TextBody textBody23 = new TextBody();
            A.BodyProperties bodyProperties23 = new A.BodyProperties();
            A.ListStyle listStyle23 = new A.ListStyle();

            A.Paragraph paragraph31 = new A.Paragraph();

            A.Field field8 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

            A.RunProperties runProperties25 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties25.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text25 = new A.Text();
            text25.Text = "‹#›";

            field8.Append(runProperties25);
            field8.Append(text25);
            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph31.Append(field8);
            paragraph31.Append(endParagraphRunProperties21);

            textBody23.Append(bodyProperties23);
            textBody23.Append(listStyle23);
            textBody23.Append(paragraph31);

            shape23.Append(nonVisualShapeProperties23);
            shape23.Append(shapeProperties23);
            shape23.Append(textBody23);

            shapeTree5.Append(nonVisualGroupShapeProperties5);
            shapeTree5.Append(groupShapeProperties5);
            shapeTree5.Append(shape19);
            shapeTree5.Append(shape20);
            shapeTree5.Append(shape21);
            shapeTree5.Append(shape22);
            shapeTree5.Append(shape23);

            CommonSlideDataExtensionList commonSlideDataExtensionList5 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension5 = new CommonSlideDataExtension(){ Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}" };

            P14.CreationId creationId5 = new P14.CreationId(){ Val = (UInt32Value)3491605924U };
            creationId5.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension5.Append(creationId5);

            commonSlideDataExtensionList5.Append(commonSlideDataExtension5);

            commonSlideData5.Append(background2);
            commonSlideData5.Append(shapeTree5);
            commonSlideData5.Append(commonSlideDataExtensionList5);

            ColorMapOverride colorMapOverride4 = new ColorMapOverride();
            A.OverrideColorMapping overrideColorMapping1 = new A.OverrideColorMapping(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            colorMapOverride4.Append(overrideColorMapping1);

            slideLayout3.Append(commonSlideData5);
            slideLayout3.Append(colorMapOverride4);

            slideLayoutPart3.SlideLayout = slideLayout3;
        }
Ejemplo n.º 16
0
        // Generates content of slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData3 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference(){ Index = (UInt32Value)1003U };
            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference1.Append(schemeColor14);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree3 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties3 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties10 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties3 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties10 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties3.Append(nonVisualDrawingProperties10);
            nonVisualGroupShapeProperties3.Append(nonVisualGroupShapeDrawingProperties3);
            nonVisualGroupShapeProperties3.Append(applicationNonVisualDrawingProperties10);

            GroupShapeProperties groupShapeProperties3 = new GroupShapeProperties();

            A.TransformGroup transformGroup3 = new A.TransformGroup();
            A.Offset offset5 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents5 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset3 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents3 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup3.Append(offset5);
            transformGroup3.Append(extents5);
            transformGroup3.Append(childOffset3);
            transformGroup3.Append(childExtents3);

            groupShapeProperties3.Append(transformGroup3);

            Shape shape8 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties8 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties11 = new NonVisualDrawingProperties(){ Id = (UInt32Value)22U, Name = "Title Placeholder 21" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties8 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks8 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties8.Append(shapeLocks8);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties11 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape8 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties11.Append(placeholderShape8);

            nonVisualShapeProperties8.Append(nonVisualDrawingProperties11);
            nonVisualShapeProperties8.Append(nonVisualShapeDrawingProperties8);
            nonVisualShapeProperties8.Append(applicationNonVisualDrawingProperties11);

            ShapeProperties shapeProperties8 = new ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset6 = new A.Offset(){ X = 609600L, Y = 274638L };
            A.Extents extents6 = new A.Extents(){ Cx = 10972800L, Cy = 1143000L };

            transform2D3.Append(offset6);
            transform2D3.Append(extents6);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties8.Append(transform2D3);
            shapeProperties8.Append(presetGeometry1);

            TextBody textBody8 = new TextBody();

            A.BodyProperties bodyProperties8 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit2 = new A.NormalAutoFit();

            A.Scene3DType scene3DType2 = new A.Scene3DType();
            A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 16800000 };

            lightRig2.Append(rotation2);

            scene3DType2.Append(camera2);
            scene3DType2.Append(lightRig2);

            A.Shape3DType shape3DType2 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };
            A.BevelTop bevelTop2 = new A.BevelTop(){ Width = 38100L, Height = 38100L };

            shape3DType2.Append(bevelTop2);

            bodyProperties8.Append(normalAutoFit2);
            bodyProperties8.Append(scene3DType2);
            bodyProperties8.Append(shape3DType2);
            A.ListStyle listStyle8 = new A.ListStyle();

            A.Paragraph paragraph8 = new A.Paragraph();

            A.Run run3 = new A.Run();

            A.RunProperties runProperties5 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties5.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text5 = new A.Text();
            text5.Text = "Click to edit Master title style";

            run3.Append(runProperties5);
            run3.Append(text5);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph8.Append(run3);
            paragraph8.Append(endParagraphRunProperties8);

            textBody8.Append(bodyProperties8);
            textBody8.Append(listStyle8);
            textBody8.Append(paragraph8);

            shape8.Append(nonVisualShapeProperties8);
            shape8.Append(shapeProperties8);
            shape8.Append(textBody8);

            Shape shape9 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties9 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties12 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Text Placeholder 12" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties9 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks9 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties9.Append(shapeLocks9);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties12 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape9 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties12.Append(placeholderShape9);

            nonVisualShapeProperties9.Append(nonVisualDrawingProperties12);
            nonVisualShapeProperties9.Append(nonVisualShapeDrawingProperties9);
            nonVisualShapeProperties9.Append(applicationNonVisualDrawingProperties12);

            ShapeProperties shapeProperties9 = new ShapeProperties();

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset7 = new A.Offset(){ X = 609600L, Y = 1600200L };
            A.Extents extents7 = new A.Extents(){ Cx = 10972800L, Cy = 4709160L };

            transform2D4.Append(offset7);
            transform2D4.Append(extents7);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            shapeProperties9.Append(transform2D4);
            shapeProperties9.Append(presetGeometry2);

            TextBody textBody9 = new TextBody();

            A.BodyProperties bodyProperties9 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal };
            A.NormalAutoFit normalAutoFit3 = new A.NormalAutoFit();

            bodyProperties9.Append(normalAutoFit3);
            A.ListStyle listStyle9 = new A.ListStyle();

            A.Paragraph paragraph9 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run4 = new A.Run();

            A.RunProperties runProperties6 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties6.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text6 = new A.Text();
            text6.Text = "Click to edit Master text styles";

            run4.Append(runProperties6);
            run4.Append(text6);

            paragraph9.Append(paragraphProperties1);
            paragraph9.Append(run4);

            A.Paragraph paragraph10 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run5 = new A.Run();

            A.RunProperties runProperties7 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties7.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text7 = new A.Text();
            text7.Text = "Second level";

            run5.Append(runProperties7);
            run5.Append(text7);

            paragraph10.Append(paragraphProperties2);
            paragraph10.Append(run5);

            A.Paragraph paragraph11 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run6 = new A.Run();

            A.RunProperties runProperties8 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties8.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text8 = new A.Text();
            text8.Text = "Third level";

            run6.Append(runProperties8);
            run6.Append(text8);

            paragraph11.Append(paragraphProperties3);
            paragraph11.Append(run6);

            A.Paragraph paragraph12 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run7 = new A.Run();

            A.RunProperties runProperties9 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties9.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text9 = new A.Text();
            text9.Text = "Fourth level";

            run7.Append(runProperties9);
            run7.Append(text9);

            paragraph12.Append(paragraphProperties4);
            paragraph12.Append(run7);

            A.Paragraph paragraph13 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run8 = new A.Run();

            A.RunProperties runProperties10 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties10.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text10 = new A.Text();
            text10.Text = "Fifth level";

            run8.Append(runProperties10);
            run8.Append(text10);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph13.Append(paragraphProperties5);
            paragraph13.Append(run8);
            paragraph13.Append(endParagraphRunProperties9);

            textBody9.Append(bodyProperties9);
            textBody9.Append(listStyle9);
            textBody9.Append(paragraph9);
            textBody9.Append(paragraph10);
            textBody9.Append(paragraph11);
            textBody9.Append(paragraph12);
            textBody9.Append(paragraph13);

            shape9.Append(nonVisualShapeProperties9);
            shape9.Append(shapeProperties9);
            shape9.Append(textBody9);

            Shape shape10 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties10 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties13 = new NonVisualDrawingProperties(){ Id = (UInt32Value)14U, Name = "Date Placeholder 13" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties10 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks10 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties10.Append(shapeLocks10);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties13 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape10 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties13.Append(placeholderShape10);

            nonVisualShapeProperties10.Append(nonVisualDrawingProperties13);
            nonVisualShapeProperties10.Append(nonVisualShapeDrawingProperties10);
            nonVisualShapeProperties10.Append(applicationNonVisualDrawingProperties13);

            ShapeProperties shapeProperties10 = new ShapeProperties();

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset8 = new A.Offset(){ X = 609600L, Y = 6416676L };
            A.Extents extents8 = new A.Extents(){ Cx = 2844800L, Cy = 365125L };

            transform2D5.Append(offset8);
            transform2D5.Append(extents8);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);

            shapeProperties10.Append(transform2D5);
            shapeProperties10.Append(presetGeometry3);

            TextBody textBody10 = new TextBody();
            A.BodyProperties bodyProperties10 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle10 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill11 = new A.SolidFill();

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade1 = new A.Shade(){ Val = 50000 };

            schemeColor15.Append(shade1);

            solidFill11.Append(schemeColor15);

            defaultRunProperties13.Append(solidFill11);

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle10.Append(level1ParagraphProperties4);

            A.Paragraph paragraph14 = new A.Paragraph();

            A.Field field3 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties11 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties11.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text11 = new A.Text();
            text11.Text = "2012/10/3";

            field3.Append(runProperties11);
            field3.Append(text11);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph14.Append(field3);
            paragraph14.Append(endParagraphRunProperties10);

            textBody10.Append(bodyProperties10);
            textBody10.Append(listStyle10);
            textBody10.Append(paragraph14);

            shape10.Append(nonVisualShapeProperties10);
            shape10.Append(shapeProperties10);
            shape10.Append(textBody10);

            Shape shape11 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties11 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties14 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Footer Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties11 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks11 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties11.Append(shapeLocks11);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties14 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties14.Append(placeholderShape11);

            nonVisualShapeProperties11.Append(nonVisualDrawingProperties14);
            nonVisualShapeProperties11.Append(nonVisualShapeDrawingProperties11);
            nonVisualShapeProperties11.Append(applicationNonVisualDrawingProperties14);

            ShapeProperties shapeProperties11 = new ShapeProperties();

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset9 = new A.Offset(){ X = 4165600L, Y = 6416676L };
            A.Extents extents9 = new A.Extents(){ Cx = 3860800L, Cy = 365125L };

            transform2D6.Append(offset9);
            transform2D6.Append(extents9);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList4);

            shapeProperties11.Append(transform2D6);
            shapeProperties11.Append(presetGeometry4);

            TextBody textBody11 = new TextBody();
            A.BodyProperties bodyProperties11 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle11 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill12 = new A.SolidFill();

            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade2 = new A.Shade(){ Val = 50000 };

            schemeColor16.Append(shade2);

            solidFill12.Append(schemeColor16);

            defaultRunProperties14.Append(solidFill12);

            level1ParagraphProperties5.Append(defaultRunProperties14);

            listStyle11.Append(level1ParagraphProperties5);

            A.Paragraph paragraph15 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties11 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph15.Append(endParagraphRunProperties11);

            textBody11.Append(bodyProperties11);
            textBody11.Append(listStyle11);
            textBody11.Append(paragraph15);

            shape11.Append(nonVisualShapeProperties11);
            shape11.Append(shapeProperties11);
            shape11.Append(textBody11);

            Shape shape12 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties12 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties15 = new NonVisualDrawingProperties(){ Id = (UInt32Value)23U, Name = "Slide Number Placeholder 22" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties12 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks12 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties12.Append(shapeLocks12);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties15 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties15.Append(placeholderShape12);

            nonVisualShapeProperties12.Append(nonVisualDrawingProperties15);
            nonVisualShapeProperties12.Append(nonVisualShapeDrawingProperties12);
            nonVisualShapeProperties12.Append(applicationNonVisualDrawingProperties15);

            ShapeProperties shapeProperties12 = new ShapeProperties();

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset10 = new A.Offset(){ X = 10566400L, Y = 6416676L };
            A.Extents extents10 = new A.Extents(){ Cx = 1016000L, Cy = 365125L };

            transform2D7.Append(offset10);
            transform2D7.Append(extents10);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);

            shapeProperties12.Append(transform2D7);
            shapeProperties12.Append(presetGeometry5);

            TextBody textBody12 = new TextBody();
            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 0, RightInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle12 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties6 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties15 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill13 = new A.SolidFill();

            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade3 = new A.Shade(){ Val = 50000 };

            schemeColor17.Append(shade3);

            solidFill13.Append(schemeColor17);

            defaultRunProperties15.Append(solidFill13);

            level1ParagraphProperties6.Append(defaultRunProperties15);

            listStyle12.Append(level1ParagraphProperties6);

            A.Paragraph paragraph16 = new A.Paragraph();

            A.Field field4 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

            A.RunProperties runProperties12 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties12.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text12 = new A.Text();
            text12.Text = "‹#›";

            field4.Append(runProperties12);
            field4.Append(text12);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph16.Append(field4);
            paragraph16.Append(endParagraphRunProperties12);

            textBody12.Append(bodyProperties12);
            textBody12.Append(listStyle12);
            textBody12.Append(paragraph16);

            shape12.Append(nonVisualShapeProperties12);
            shape12.Append(shapeProperties12);
            shape12.Append(textBody12);

            shapeTree3.Append(nonVisualGroupShapeProperties3);
            shapeTree3.Append(groupShapeProperties3);
            shapeTree3.Append(shape8);
            shapeTree3.Append(shape9);
            shapeTree3.Append(shape10);
            shapeTree3.Append(shape11);
            shapeTree3.Append(shape12);

            CommonSlideDataExtensionList commonSlideDataExtensionList3 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension3 = new CommonSlideDataExtension(){ Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}" };

            P14.CreationId creationId3 = new P14.CreationId(){ Val = (UInt32Value)2409212196U };
            creationId3.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension3.Append(creationId3);

            commonSlideDataExtensionList3.Append(commonSlideDataExtension3);

            commonSlideData3.Append(background1);
            commonSlideData3.Append(shapeTree3);
            commonSlideData3.Append(commonSlideDataExtensionList3);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            SlideLayoutIdList slideLayoutIdList1 = new SlideLayoutIdList();
            SlideLayoutId slideLayoutId1 = new SlideLayoutId(){ Id = (UInt32Value)2147483661U, RelationshipId = "rId1" };
            SlideLayoutId slideLayoutId2 = new SlideLayoutId(){ Id = (UInt32Value)2147483662U, RelationshipId = "rId2" };
            SlideLayoutId slideLayoutId3 = new SlideLayoutId(){ Id = (UInt32Value)2147483663U, RelationshipId = "rId3" };
            SlideLayoutId slideLayoutId4 = new SlideLayoutId(){ Id = (UInt32Value)2147483664U, RelationshipId = "rId4" };
            SlideLayoutId slideLayoutId5 = new SlideLayoutId(){ Id = (UInt32Value)2147483665U, RelationshipId = "rId5" };
            SlideLayoutId slideLayoutId6 = new SlideLayoutId(){ Id = (UInt32Value)2147483666U, RelationshipId = "rId6" };
            SlideLayoutId slideLayoutId7 = new SlideLayoutId(){ Id = (UInt32Value)2147483667U, RelationshipId = "rId7" };
            SlideLayoutId slideLayoutId8 = new SlideLayoutId(){ Id = (UInt32Value)2147483668U, RelationshipId = "rId8" };
            SlideLayoutId slideLayoutId9 = new SlideLayoutId(){ Id = (UInt32Value)2147483669U, RelationshipId = "rId9" };
            SlideLayoutId slideLayoutId10 = new SlideLayoutId(){ Id = (UInt32Value)2147483670U, RelationshipId = "rId10" };
            SlideLayoutId slideLayoutId11 = new SlideLayoutId(){ Id = (UInt32Value)2147483671U, RelationshipId = "rId11" };

            slideLayoutIdList1.Append(slideLayoutId1);
            slideLayoutIdList1.Append(slideLayoutId2);
            slideLayoutIdList1.Append(slideLayoutId3);
            slideLayoutIdList1.Append(slideLayoutId4);
            slideLayoutIdList1.Append(slideLayoutId5);
            slideLayoutIdList1.Append(slideLayoutId6);
            slideLayoutIdList1.Append(slideLayoutId7);
            slideLayoutIdList1.Append(slideLayoutId8);
            slideLayoutIdList1.Append(slideLayoutId9);
            slideLayoutIdList1.Append(slideLayoutId10);
            slideLayoutIdList1.Append(slideLayoutId11);

            TextStyles textStyles1 = new TextStyles();

            TitleStyle titleStyle1 = new TitleStyle();

            A.Level1ParagraphProperties level1ParagraphProperties7 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore1 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore1.Append(spacingPercent1);
            A.NoBullet noBullet10 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties16 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 4100, Bold = true, Kerning = 1200, Capital = A.TextCapsValues.None, Baseline = 0 };

            A.Outline outline2 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill2 = new A.NoFill();

            outline2.Append(noFill2);

            A.GradientFill gradientFill2 = new A.GradientFill();

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint4 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor18.Append(tint4);
            schemeColor18.Append(saturationModulation4);

            gradientStop4.Append(schemeColor18);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 73000 };

            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint5 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor19.Append(tint5);
            schemeColor19.Append(saturationModulation5);

            gradientStop5.Append(schemeColor19);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint6 = new A.Tint(){ Val = 83000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 143000 };

            schemeColor20.Append(tint6);
            schemeColor20.Append(saturationModulation6);

            gradientStop6.Append(schemeColor20);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 4800000, Scaled = true };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            A.EffectList effectList2 = new A.EffectList();

            A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 114300L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 40000 };

            rgbColorModelHex2.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex2);

            effectList2.Append(outerShadow2);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties16.Append(outline2);
            defaultRunProperties16.Append(gradientFill2);
            defaultRunProperties16.Append(effectList2);
            defaultRunProperties16.Append(latinFont10);
            defaultRunProperties16.Append(eastAsianFont10);
            defaultRunProperties16.Append(complexScriptFont10);

            level1ParagraphProperties7.Append(spaceBefore1);
            level1ParagraphProperties7.Append(noBullet10);
            level1ParagraphProperties7.Append(defaultRunProperties16);

            titleStyle1.Append(level1ParagraphProperties7);

            BodyStyle bodyStyle1 = new BodyStyle();

            A.Level1ParagraphProperties level1ParagraphProperties8 = new A.Level1ParagraphProperties(){ LeftMargin = 548640, Indent = -411480, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore2 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore2.Append(spacingPercent2);

            A.BulletColor bulletColor1 = new A.BulletColor();

            A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade4 = new A.Shade(){ Val = 95000 };

            schemeColor21.Append(shade4);

            bulletColor1.Append(schemeColor21);
            A.BulletSizePercentage bulletSizePercentage1 = new A.BulletSizePercentage(){ Val = 65000 };
            A.BulletFont bulletFont1 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet1 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties17 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2800, Kerning = 1200 };

            A.SolidFill solidFill14 = new A.SolidFill();
            A.SchemeColor schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill14.Append(schemeColor22);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill14);
            defaultRunProperties17.Append(latinFont11);
            defaultRunProperties17.Append(eastAsianFont11);
            defaultRunProperties17.Append(complexScriptFont11);

            level1ParagraphProperties8.Append(spaceBefore2);
            level1ParagraphProperties8.Append(bulletColor1);
            level1ParagraphProperties8.Append(bulletSizePercentage1);
            level1ParagraphProperties8.Append(bulletFont1);
            level1ParagraphProperties8.Append(characterBullet1);
            level1ParagraphProperties8.Append(defaultRunProperties17);

            A.Level2ParagraphProperties level2ParagraphProperties3 = new A.Level2ParagraphProperties(){ LeftMargin = 868680, Indent = -283464, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore3 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore3.Append(spacingPercent3);

            A.BulletColor bulletColor2 = new A.BulletColor();
            A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor2.Append(schemeColor23);
            A.BulletSizePercentage bulletSizePercentage2 = new A.BulletSizePercentage(){ Val = 80000 };
            A.BulletFont bulletFont2 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet2 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties18 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2400, Kerning = 1200 };

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill15.Append(schemeColor24);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill15);
            defaultRunProperties18.Append(latinFont12);
            defaultRunProperties18.Append(eastAsianFont12);
            defaultRunProperties18.Append(complexScriptFont12);

            level2ParagraphProperties3.Append(spaceBefore3);
            level2ParagraphProperties3.Append(bulletColor2);
            level2ParagraphProperties3.Append(bulletSizePercentage2);
            level2ParagraphProperties3.Append(bulletFont2);
            level2ParagraphProperties3.Append(characterBullet2);
            level2ParagraphProperties3.Append(defaultRunProperties18);

            A.Level3ParagraphProperties level3ParagraphProperties3 = new A.Level3ParagraphProperties(){ LeftMargin = 1133856, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore4 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore4.Append(spacingPercent4);

            A.BulletColor bulletColor3 = new A.BulletColor();
            A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor3.Append(schemeColor25);
            A.BulletSizePercentage bulletSizePercentage3 = new A.BulletSizePercentage(){ Val = 95000 };
            A.BulletFont bulletFont3 = new A.BulletFont(){ Typeface = "Wingdings" };
            A.CharacterBullet characterBullet3 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties19 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2200, Kerning = 1200 };

            A.SolidFill solidFill16 = new A.SolidFill();
            A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill16.Append(schemeColor26);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill16);
            defaultRunProperties19.Append(latinFont13);
            defaultRunProperties19.Append(eastAsianFont13);
            defaultRunProperties19.Append(complexScriptFont13);

            level3ParagraphProperties3.Append(spaceBefore4);
            level3ParagraphProperties3.Append(bulletColor3);
            level3ParagraphProperties3.Append(bulletSizePercentage3);
            level3ParagraphProperties3.Append(bulletFont3);
            level3ParagraphProperties3.Append(characterBullet3);
            level3ParagraphProperties3.Append(defaultRunProperties19);

            A.Level4ParagraphProperties level4ParagraphProperties3 = new A.Level4ParagraphProperties(){ LeftMargin = 1353312, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore5 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore5.Append(spacingPercent5);

            A.BulletColor bulletColor4 = new A.BulletColor();
            A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor4.Append(schemeColor27);
            A.BulletSizePercentage bulletSizePercentage4 = new A.BulletSizePercentage(){ Val = 100000 };
            A.BulletFont bulletFont4 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet4 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties20 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill17.Append(schemeColor28);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties20.Append(solidFill17);
            defaultRunProperties20.Append(latinFont14);
            defaultRunProperties20.Append(eastAsianFont14);
            defaultRunProperties20.Append(complexScriptFont14);

            level4ParagraphProperties3.Append(spaceBefore5);
            level4ParagraphProperties3.Append(bulletColor4);
            level4ParagraphProperties3.Append(bulletSizePercentage4);
            level4ParagraphProperties3.Append(bulletFont4);
            level4ParagraphProperties3.Append(characterBullet4);
            level4ParagraphProperties3.Append(defaultRunProperties20);

            A.Level5ParagraphProperties level5ParagraphProperties3 = new A.Level5ParagraphProperties(){ LeftMargin = 1545336, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore6 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore6.Append(spacingPercent6);

            A.BulletColor bulletColor5 = new A.BulletColor();
            A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor5.Append(schemeColor29);
            A.BulletFont bulletFont5 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet5 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties21 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill18.Append(schemeColor30);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties21.Append(solidFill18);
            defaultRunProperties21.Append(latinFont15);
            defaultRunProperties21.Append(eastAsianFont15);
            defaultRunProperties21.Append(complexScriptFont15);

            level5ParagraphProperties3.Append(spaceBefore6);
            level5ParagraphProperties3.Append(bulletColor5);
            level5ParagraphProperties3.Append(bulletFont5);
            level5ParagraphProperties3.Append(characterBullet5);
            level5ParagraphProperties3.Append(defaultRunProperties21);

            A.Level6ParagraphProperties level6ParagraphProperties3 = new A.Level6ParagraphProperties(){ LeftMargin = 1764792, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore7 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore7.Append(spacingPercent7);

            A.BulletColor bulletColor6 = new A.BulletColor();
            A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor6.Append(schemeColor31);
            A.BulletFont bulletFont6 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet6 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties22 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill19 = new A.SolidFill();
            A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill19.Append(schemeColor32);
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties22.Append(solidFill19);
            defaultRunProperties22.Append(latinFont16);
            defaultRunProperties22.Append(eastAsianFont16);
            defaultRunProperties22.Append(complexScriptFont16);

            level6ParagraphProperties3.Append(spaceBefore7);
            level6ParagraphProperties3.Append(bulletColor6);
            level6ParagraphProperties3.Append(bulletFont6);
            level6ParagraphProperties3.Append(characterBullet6);
            level6ParagraphProperties3.Append(defaultRunProperties22);

            A.Level7ParagraphProperties level7ParagraphProperties3 = new A.Level7ParagraphProperties(){ LeftMargin = 1965960, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore8 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore8.Append(spacingPercent8);

            A.BulletColor bulletColor7 = new A.BulletColor();
            A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor7.Append(schemeColor33);
            A.BulletFont bulletFont7 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet7 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties23 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1600, Kerning = 1200 };

            A.SolidFill solidFill20 = new A.SolidFill();
            A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill20.Append(schemeColor34);
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties23.Append(solidFill20);
            defaultRunProperties23.Append(latinFont17);
            defaultRunProperties23.Append(eastAsianFont17);
            defaultRunProperties23.Append(complexScriptFont17);

            level7ParagraphProperties3.Append(spaceBefore8);
            level7ParagraphProperties3.Append(bulletColor7);
            level7ParagraphProperties3.Append(bulletFont7);
            level7ParagraphProperties3.Append(characterBullet7);
            level7ParagraphProperties3.Append(defaultRunProperties23);

            A.Level8ParagraphProperties level8ParagraphProperties3 = new A.Level8ParagraphProperties(){ LeftMargin = 2167128, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore9 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore9.Append(spacingPercent9);

            A.BulletColor bulletColor8 = new A.BulletColor();
            A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor8.Append(schemeColor35);
            A.BulletFont bulletFont8 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet8 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties24 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200 };

            A.SolidFill solidFill21 = new A.SolidFill();
            A.SchemeColor schemeColor36 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill21.Append(schemeColor36);
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties24.Append(solidFill21);
            defaultRunProperties24.Append(latinFont18);
            defaultRunProperties24.Append(eastAsianFont18);
            defaultRunProperties24.Append(complexScriptFont18);

            level8ParagraphProperties3.Append(spaceBefore9);
            level8ParagraphProperties3.Append(bulletColor8);
            level8ParagraphProperties3.Append(bulletFont8);
            level8ParagraphProperties3.Append(characterBullet8);
            level8ParagraphProperties3.Append(defaultRunProperties24);

            A.Level9ParagraphProperties level9ParagraphProperties3 = new A.Level9ParagraphProperties(){ LeftMargin = 2368296, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore10 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore10.Append(spacingPercent10);

            A.BulletColor bulletColor9 = new A.BulletColor();
            A.SchemeColor schemeColor37 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor9.Append(schemeColor37);
            A.BulletFont bulletFont9 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet9 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties25 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200, Baseline = 0 };

            A.SolidFill solidFill22 = new A.SolidFill();
            A.SchemeColor schemeColor38 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill22.Append(schemeColor38);
            A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties25.Append(solidFill22);
            defaultRunProperties25.Append(latinFont19);
            defaultRunProperties25.Append(eastAsianFont19);
            defaultRunProperties25.Append(complexScriptFont19);

            level9ParagraphProperties3.Append(spaceBefore10);
            level9ParagraphProperties3.Append(bulletColor9);
            level9ParagraphProperties3.Append(bulletFont9);
            level9ParagraphProperties3.Append(characterBullet9);
            level9ParagraphProperties3.Append(defaultRunProperties25);

            bodyStyle1.Append(level1ParagraphProperties8);
            bodyStyle1.Append(level2ParagraphProperties3);
            bodyStyle1.Append(level3ParagraphProperties3);
            bodyStyle1.Append(level4ParagraphProperties3);
            bodyStyle1.Append(level5ParagraphProperties3);
            bodyStyle1.Append(level6ParagraphProperties3);
            bodyStyle1.Append(level7ParagraphProperties3);
            bodyStyle1.Append(level8ParagraphProperties3);
            bodyStyle1.Append(level9ParagraphProperties3);

            OtherStyle otherStyle1 = new OtherStyle();

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties26 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill23 = new A.SolidFill();
            A.SchemeColor schemeColor39 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill23.Append(schemeColor39);
            A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties26.Append(solidFill23);
            defaultRunProperties26.Append(latinFont20);
            defaultRunProperties26.Append(eastAsianFont20);
            defaultRunProperties26.Append(complexScriptFont20);

            level1ParagraphProperties9.Append(defaultRunProperties26);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties27 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill24 = new A.SolidFill();
            A.SchemeColor schemeColor40 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill24.Append(schemeColor40);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties27.Append(solidFill24);
            defaultRunProperties27.Append(latinFont21);
            defaultRunProperties27.Append(eastAsianFont21);
            defaultRunProperties27.Append(complexScriptFont21);

            level2ParagraphProperties4.Append(defaultRunProperties27);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties28 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill25 = new A.SolidFill();
            A.SchemeColor schemeColor41 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill25.Append(schemeColor41);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties28.Append(solidFill25);
            defaultRunProperties28.Append(latinFont22);
            defaultRunProperties28.Append(eastAsianFont22);
            defaultRunProperties28.Append(complexScriptFont22);

            level3ParagraphProperties4.Append(defaultRunProperties28);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties29 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill26 = new A.SolidFill();
            A.SchemeColor schemeColor42 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill26.Append(schemeColor42);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties29.Append(solidFill26);
            defaultRunProperties29.Append(latinFont23);
            defaultRunProperties29.Append(eastAsianFont23);
            defaultRunProperties29.Append(complexScriptFont23);

            level4ParagraphProperties4.Append(defaultRunProperties29);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties30 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill27 = new A.SolidFill();
            A.SchemeColor schemeColor43 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill27.Append(schemeColor43);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties30.Append(solidFill27);
            defaultRunProperties30.Append(latinFont24);
            defaultRunProperties30.Append(eastAsianFont24);
            defaultRunProperties30.Append(complexScriptFont24);

            level5ParagraphProperties4.Append(defaultRunProperties30);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties31 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill28 = new A.SolidFill();
            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill28.Append(schemeColor44);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties31.Append(solidFill28);
            defaultRunProperties31.Append(latinFont25);
            defaultRunProperties31.Append(eastAsianFont25);
            defaultRunProperties31.Append(complexScriptFont25);

            level6ParagraphProperties4.Append(defaultRunProperties31);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill29 = new A.SolidFill();
            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill29.Append(schemeColor45);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties32.Append(solidFill29);
            defaultRunProperties32.Append(latinFont26);
            defaultRunProperties32.Append(eastAsianFont26);
            defaultRunProperties32.Append(complexScriptFont26);

            level7ParagraphProperties4.Append(defaultRunProperties32);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties33 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill30 = new A.SolidFill();
            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill30.Append(schemeColor46);
            A.LatinFont latinFont27 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties33.Append(solidFill30);
            defaultRunProperties33.Append(latinFont27);
            defaultRunProperties33.Append(eastAsianFont27);
            defaultRunProperties33.Append(complexScriptFont27);

            level8ParagraphProperties4.Append(defaultRunProperties33);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties34 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill31 = new A.SolidFill();
            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill31.Append(schemeColor47);
            A.LatinFont latinFont28 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties34.Append(solidFill31);
            defaultRunProperties34.Append(latinFont28);
            defaultRunProperties34.Append(eastAsianFont28);
            defaultRunProperties34.Append(complexScriptFont28);

            level9ParagraphProperties4.Append(defaultRunProperties34);

            otherStyle1.Append(level1ParagraphProperties9);
            otherStyle1.Append(level2ParagraphProperties4);
            otherStyle1.Append(level3ParagraphProperties4);
            otherStyle1.Append(level4ParagraphProperties4);
            otherStyle1.Append(level5ParagraphProperties4);
            otherStyle1.Append(level6ParagraphProperties4);
            otherStyle1.Append(level7ParagraphProperties4);
            otherStyle1.Append(level8ParagraphProperties4);
            otherStyle1.Append(level9ParagraphProperties4);

            textStyles1.Append(titleStyle1);
            textStyles1.Append(bodyStyle1);
            textStyles1.Append(otherStyle1);

            slideMaster1.Append(commonSlideData3);
            slideMaster1.Append(colorMap1);
            slideMaster1.Append(slideLayoutIdList1);
            slideMaster1.Append(textStyles1);

            slideMasterPart1.SlideMaster = slideMaster1;
        }