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; }
// 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; }
private void DrawDashedLine(Wpg.WordprocessingGroup wordprocessingGroup1, Rect extents, Point bondStart, Point bondEnd) { UInt32Value bondLineId = UInt32Value.FromUInt32((uint)m_ooxmlId++); string bondLineName = "DashedBondLine" + bondLineId; Int64Value width = OoXmlHelper.ScaleCmlToEmu(extents.Width); Int64Value height = OoXmlHelper.ScaleCmlToEmu(extents.Height); Int64Value top = OoXmlHelper.ScaleCmlToEmu(extents.Top); Int64Value left = OoXmlHelper.ScaleCmlToEmu(extents.Left); Wps.WordprocessingShape wordprocessingShape1 = new Wps.WordprocessingShape(); Wps.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Wps.NonVisualDrawingProperties() { Id = bondLineId, Name = bondLineName }; Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties(); Wps.ShapeProperties shapeProperties1 = new Wps.ShapeProperties(); A.Transform2D transform2D1 = new A.Transform2D(); A.Offset offset2 = new A.Offset() { X = left, Y = top }; A.Extents extents2 = new A.Extents() { Cx = width, Cy = height }; transform2D1.Append(offset2); transform2D1.Append(extents2); A.CustomGeometry customGeometry1 = new A.CustomGeometry(); A.AdjustValueList adjustValueList1 = new A.AdjustValueList(); A.Rectangle rectangle1 = new A.Rectangle() { Left = "l", Top = "t", Right = "r", Bottom = "b" }; A.PathList pathList1 = new A.PathList(); A.Path path1 = new A.Path() { Width = width, Height = height }; A.MoveTo moveTo1 = new A.MoveTo(); A.Point point1 = new A.Point() { X = OoXmlHelper.ScaleCmlToEmu(bondStart.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondStart.Y).ToString() }; moveTo1.Append(point1); A.LineTo lineTo1 = new A.LineTo(); A.Point point2 = new A.Point() { X = OoXmlHelper.ScaleCmlToEmu(bondEnd.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondEnd.Y).ToString() }; lineTo1.Append(point2); path1.Append(moveTo1); path1.Append(lineTo1); pathList1.Append(path1); customGeometry1.Append(adjustValueList1); customGeometry1.Append(rectangle1); customGeometry1.Append(pathList1); A.Outline outline1 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Round }; A.SolidFill solidFill1 = new A.SolidFill(); A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.LargeDash }; A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "000000" }; A.Alpha alpha1 = new A.Alpha() { Val = new Int32Value() { InnerText = "100%" } }; rgbColorModelHex1.Append(alpha1); solidFill1.Append(rgbColorModelHex1); outline1.Append(solidFill1); outline1.Append(presetDash1); shapeProperties1.Append(transform2D1); shapeProperties1.Append(customGeometry1); shapeProperties1.Append(outline1); Wps.ShapeStyle shapeStyle1 = new Wps.ShapeStyle(); A.LineReference lineReference1 = new A.LineReference() { Index = (UInt32Value)0U }; A.FillReference fillReference1 = new A.FillReference() { Index = (UInt32Value)0U }; A.EffectReference effectReference1 = new A.EffectReference() { Index = (UInt32Value)0U }; A.FontReference fontReference1 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; shapeStyle1.Append(lineReference1); shapeStyle1.Append(fillReference1); shapeStyle1.Append(effectReference1); shapeStyle1.Append(fontReference1); Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties(); wordprocessingShape1.Append(nonVisualDrawingProperties1); wordprocessingShape1.Append(nonVisualDrawingShapeProperties1); wordprocessingShape1.Append(shapeProperties1); wordprocessingShape1.Append(shapeStyle1); wordprocessingShape1.Append(textBodyProperties1); wordprocessingGroup1.Append(wordprocessingShape1); }
private void DrawDashedLine(Wpg.WordprocessingGroup wordprocessingGroup, Rect cmlExtents, Point bondStart, Point bondEnd, string colour = "000000") { UInt32Value id = UInt32Value.FromUInt32((uint)m_ooxmlId++); string bondLineName = "DashedBondLine" + id; Int64Value width = OoXmlHelper.ScaleCmlToEmu(cmlExtents.Width); Int64Value height = OoXmlHelper.ScaleCmlToEmu(cmlExtents.Height); Int64Value top = OoXmlHelper.ScaleCmlToEmu(cmlExtents.Top); Int64Value left = OoXmlHelper.ScaleCmlToEmu(cmlExtents.Left); Wps.WordprocessingShape shape = new Wps.WordprocessingShape(); Wps.NonVisualDrawingProperties nonVisualDrawingProperties = new Wps.NonVisualDrawingProperties() { Id = id, Name = bondLineName }; Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties = new Wps.NonVisualDrawingShapeProperties(); Wps.ShapeProperties shapeProperties = new Wps.ShapeProperties(); A.Transform2D transform2D = new A.Transform2D(); A.Offset offset = new A.Offset { X = left, Y = top }; A.Extents extents = new A.Extents { Cx = width, Cy = height }; transform2D.Append(offset); transform2D.Append(extents); A.CustomGeometry customGeometry = new A.CustomGeometry(); A.AdjustValueList adjustValueList = new A.AdjustValueList(); A.Rectangle rectangle = new A.Rectangle { Left = "l", Top = "t", Right = "r", Bottom = "b" }; A.PathList pathList = new A.PathList(); A.Path path = new A.Path { Width = width, Height = height }; A.MoveTo moveTo = new A.MoveTo(); A.Point point1 = new A.Point { X = OoXmlHelper.ScaleCmlToEmu(bondStart.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondStart.Y).ToString() }; moveTo.Append(point1); A.LineTo lineTo = new A.LineTo(); A.Point point2 = new A.Point { X = OoXmlHelper.ScaleCmlToEmu(bondEnd.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondEnd.Y).ToString() }; lineTo.Append(point2); path.Append(moveTo); path.Append(lineTo); pathList.Append(path); customGeometry.Append(adjustValueList); customGeometry.Append(rectangle); customGeometry.Append(pathList); A.Outline outline = new A.Outline { Width = OoXmlHelper.ACS_LINE_WIDTH_EMUS, CapType = A.LineCapValues.Round }; A.SolidFill solidFill = new A.SolidFill(); A.PresetDash presetDash = new A.PresetDash() { Val = A.PresetLineDashValues.SystemDash }; A.RgbColorModelHex rgbColorModelHex = new A.RgbColorModelHex { Val = colour }; solidFill.Append(rgbColorModelHex); outline.Append(solidFill); outline.Append(presetDash); shapeProperties.Append(transform2D); shapeProperties.Append(customGeometry); shapeProperties.Append(outline); OoXmlHelper.AppendShapeStyle(shape, nonVisualDrawingProperties, nonVisualDrawingShapeProperties, shapeProperties); wordprocessingGroup.Append(shape); }
// Generates content of themePart2. private void GenerateThemePart2Content(ThemePart themePart2) { A.Theme theme2 = new A.Theme(){ Name = "Office Theme" }; theme2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements2 = new A.ThemeElements(); A.ColorScheme colorScheme2 = new A.ColorScheme(){ Name = "Office" }; A.Dark1Color dark1Color2 = new A.Dark1Color(); A.SystemColor systemColor3 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color2.Append(systemColor3); A.Light1Color light1Color2 = new A.Light1Color(); A.SystemColor systemColor4 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color2.Append(systemColor4); A.Dark2Color dark2Color2 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex(){ Val = "1F497D" }; dark2Color2.Append(rgbColorModelHex18); A.Light2Color light2Color2 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex(){ Val = "EEECE1" }; light2Color2.Append(rgbColorModelHex19); A.Accent1Color accent1Color2 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex20 = new A.RgbColorModelHex(){ Val = "4F81BD" }; accent1Color2.Append(rgbColorModelHex20); A.Accent2Color accent2Color2 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex21 = new A.RgbColorModelHex(){ Val = "C0504D" }; accent2Color2.Append(rgbColorModelHex21); A.Accent3Color accent3Color2 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex22 = new A.RgbColorModelHex(){ Val = "9BBB59" }; accent3Color2.Append(rgbColorModelHex22); A.Accent4Color accent4Color2 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex23 = new A.RgbColorModelHex(){ Val = "8064A2" }; accent4Color2.Append(rgbColorModelHex23); A.Accent5Color accent5Color2 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex24 = new A.RgbColorModelHex(){ Val = "4BACC6" }; accent5Color2.Append(rgbColorModelHex24); A.Accent6Color accent6Color2 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex25 = new A.RgbColorModelHex(){ Val = "F79646" }; accent6Color2.Append(rgbColorModelHex25); A.Hyperlink hyperlink2 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex26 = new A.RgbColorModelHex(){ Val = "0000FF" }; hyperlink2.Append(rgbColorModelHex26); A.FollowedHyperlinkColor followedHyperlinkColor2 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex27 = new A.RgbColorModelHex(){ Val = "800080" }; followedHyperlinkColor2.Append(rgbColorModelHex27); colorScheme2.Append(dark1Color2); colorScheme2.Append(light1Color2); colorScheme2.Append(dark2Color2); colorScheme2.Append(light2Color2); colorScheme2.Append(accent1Color2); colorScheme2.Append(accent2Color2); colorScheme2.Append(accent3Color2); colorScheme2.Append(accent4Color2); colorScheme2.Append(accent5Color2); colorScheme2.Append(accent6Color2); colorScheme2.Append(hyperlink2); colorScheme2.Append(followedHyperlinkColor2); A.FontScheme fontScheme2 = new A.FontScheme(){ Name = "Office" }; A.MajorFont majorFont2 = new A.MajorFont(); A.LatinFont latinFont40 = new A.LatinFont(){ Typeface = "Calibri" }; A.EastAsianFont eastAsianFont40 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont40 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont65 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" }; A.SupplementalFont supplementalFont66 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont67 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont68 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont69 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" }; A.SupplementalFont supplementalFont70 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont71 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont72 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont73 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont74 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont75 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont76 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont77 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont78 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont79 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont80 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont81 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont82 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont83 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont84 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont85 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont86 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" }; A.SupplementalFont supplementalFont87 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; majorFont2.Append(latinFont40); majorFont2.Append(eastAsianFont40); majorFont2.Append(complexScriptFont40); majorFont2.Append(supplementalFont59); majorFont2.Append(supplementalFont60); majorFont2.Append(supplementalFont61); majorFont2.Append(supplementalFont62); majorFont2.Append(supplementalFont63); majorFont2.Append(supplementalFont64); majorFont2.Append(supplementalFont65); majorFont2.Append(supplementalFont66); majorFont2.Append(supplementalFont67); majorFont2.Append(supplementalFont68); majorFont2.Append(supplementalFont69); majorFont2.Append(supplementalFont70); majorFont2.Append(supplementalFont71); majorFont2.Append(supplementalFont72); majorFont2.Append(supplementalFont73); majorFont2.Append(supplementalFont74); majorFont2.Append(supplementalFont75); majorFont2.Append(supplementalFont76); majorFont2.Append(supplementalFont77); majorFont2.Append(supplementalFont78); majorFont2.Append(supplementalFont79); majorFont2.Append(supplementalFont80); majorFont2.Append(supplementalFont81); majorFont2.Append(supplementalFont82); majorFont2.Append(supplementalFont83); majorFont2.Append(supplementalFont84); majorFont2.Append(supplementalFont85); majorFont2.Append(supplementalFont86); majorFont2.Append(supplementalFont87); A.MinorFont minorFont2 = new A.MinorFont(); A.LatinFont latinFont41 = new A.LatinFont(){ Typeface = "Calibri" }; A.EastAsianFont eastAsianFont41 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont41 = new A.ComplexScriptFont(){ Typeface = "" }; A.SupplementalFont supplementalFont88 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" }; A.SupplementalFont supplementalFont89 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" }; A.SupplementalFont supplementalFont90 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" }; A.SupplementalFont supplementalFont91 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" }; A.SupplementalFont supplementalFont92 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" }; A.SupplementalFont supplementalFont93 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" }; A.SupplementalFont supplementalFont94 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" }; A.SupplementalFont supplementalFont95 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" }; A.SupplementalFont supplementalFont96 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" }; A.SupplementalFont supplementalFont97 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" }; A.SupplementalFont supplementalFont98 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" }; A.SupplementalFont supplementalFont99 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" }; A.SupplementalFont supplementalFont100 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" }; A.SupplementalFont supplementalFont101 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" }; A.SupplementalFont supplementalFont102 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" }; A.SupplementalFont supplementalFont103 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; A.SupplementalFont supplementalFont104 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" }; A.SupplementalFont supplementalFont105 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" }; A.SupplementalFont supplementalFont106 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" }; A.SupplementalFont supplementalFont107 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" }; A.SupplementalFont supplementalFont108 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" }; A.SupplementalFont supplementalFont109 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" }; A.SupplementalFont supplementalFont110 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" }; A.SupplementalFont supplementalFont111 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" }; A.SupplementalFont supplementalFont112 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" }; A.SupplementalFont supplementalFont113 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" }; A.SupplementalFont supplementalFont114 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" }; A.SupplementalFont supplementalFont115 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" }; A.SupplementalFont supplementalFont116 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" }; minorFont2.Append(latinFont41); minorFont2.Append(eastAsianFont41); minorFont2.Append(complexScriptFont41); minorFont2.Append(supplementalFont88); minorFont2.Append(supplementalFont89); minorFont2.Append(supplementalFont90); minorFont2.Append(supplementalFont91); minorFont2.Append(supplementalFont92); minorFont2.Append(supplementalFont93); minorFont2.Append(supplementalFont94); minorFont2.Append(supplementalFont95); minorFont2.Append(supplementalFont96); minorFont2.Append(supplementalFont97); minorFont2.Append(supplementalFont98); minorFont2.Append(supplementalFont99); minorFont2.Append(supplementalFont100); minorFont2.Append(supplementalFont101); minorFont2.Append(supplementalFont102); minorFont2.Append(supplementalFont103); minorFont2.Append(supplementalFont104); minorFont2.Append(supplementalFont105); minorFont2.Append(supplementalFont106); minorFont2.Append(supplementalFont107); minorFont2.Append(supplementalFont108); minorFont2.Append(supplementalFont109); minorFont2.Append(supplementalFont110); minorFont2.Append(supplementalFont111); minorFont2.Append(supplementalFont112); minorFont2.Append(supplementalFont113); minorFont2.Append(supplementalFont114); minorFont2.Append(supplementalFont115); minorFont2.Append(supplementalFont116); fontScheme2.Append(majorFont2); fontScheme2.Append(minorFont2); A.FormatScheme formatScheme2 = new A.FormatScheme(){ Name = "Office" }; A.FillStyleList fillStyleList2 = new A.FillStyleList(); A.SolidFill solidFill65 = new A.SolidFill(); A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill65.Append(schemeColor77); A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList5 = new A.GradientStopList(); A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint28 = new A.Tint(){ Val = 50000 }; A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 300000 }; schemeColor78.Append(tint28); schemeColor78.Append(saturationModulation13); gradientStop12.Append(schemeColor78); A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 35000 }; A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint29 = new A.Tint(){ Val = 37000 }; A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 300000 }; schemeColor79.Append(tint29); schemeColor79.Append(saturationModulation14); gradientStop13.Append(schemeColor79); A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor80 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint30 = new A.Tint(){ Val = 15000 }; A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 350000 }; schemeColor80.Append(tint30); schemeColor80.Append(saturationModulation15); gradientStop14.Append(schemeColor80); gradientStopList5.Append(gradientStop12); gradientStopList5.Append(gradientStop13); gradientStopList5.Append(gradientStop14); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true }; gradientFill5.Append(gradientStopList5); gradientFill5.Append(linearGradientFill3); A.GradientFill gradientFill6 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList6 = new A.GradientStopList(); A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor81 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade8 = new A.Shade(){ Val = 51000 }; A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 130000 }; schemeColor81.Append(shade8); schemeColor81.Append(saturationModulation16); gradientStop15.Append(schemeColor81); A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 80000 }; A.SchemeColor schemeColor82 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade9 = new A.Shade(){ Val = 93000 }; A.SaturationModulation saturationModulation17 = new A.SaturationModulation(){ Val = 130000 }; schemeColor82.Append(shade9); schemeColor82.Append(saturationModulation17); gradientStop16.Append(schemeColor82); A.GradientStop gradientStop17 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor83 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade10 = new A.Shade(){ Val = 94000 }; A.SaturationModulation saturationModulation18 = new A.SaturationModulation(){ Val = 135000 }; schemeColor83.Append(shade10); schemeColor83.Append(saturationModulation18); gradientStop17.Append(schemeColor83); gradientStopList6.Append(gradientStop15); gradientStopList6.Append(gradientStop16); gradientStopList6.Append(gradientStop17); A.LinearGradientFill linearGradientFill4 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false }; gradientFill6.Append(gradientStopList6); gradientFill6.Append(linearGradientFill4); fillStyleList2.Append(solidFill65); fillStyleList2.Append(gradientFill5); fillStyleList2.Append(gradientFill6); A.LineStyleList lineStyleList2 = new A.LineStyleList(); A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill66 = new A.SolidFill(); A.SchemeColor schemeColor84 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade11 = new A.Shade(){ Val = 95000 }; A.SaturationModulation saturationModulation19 = new A.SaturationModulation(){ Val = 105000 }; schemeColor84.Append(shade11); schemeColor84.Append(saturationModulation19); solidFill66.Append(schemeColor84); A.PresetDash presetDash4 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline5.Append(solidFill66); outline5.Append(presetDash4); A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill67 = new A.SolidFill(); A.SchemeColor schemeColor85 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill67.Append(schemeColor85); A.PresetDash presetDash5 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline6.Append(solidFill67); outline6.Append(presetDash5); A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill68 = new A.SolidFill(); A.SchemeColor schemeColor86 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill68.Append(schemeColor86); A.PresetDash presetDash6 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline7.Append(solidFill68); outline7.Append(presetDash6); lineStyleList2.Append(outline5); lineStyleList2.Append(outline6); lineStyleList2.Append(outline7); A.EffectStyleList effectStyleList2 = new A.EffectStyleList(); A.EffectStyle effectStyle4 = new A.EffectStyle(); A.EffectList effectList4 = new A.EffectList(); A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex28 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha4 = new A.Alpha(){ Val = 38000 }; rgbColorModelHex28.Append(alpha4); outerShadow4.Append(rgbColorModelHex28); effectList4.Append(outerShadow4); effectStyle4.Append(effectList4); A.EffectStyle effectStyle5 = new A.EffectStyle(); A.EffectList effectList5 = new A.EffectList(); A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex29 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha5 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex29.Append(alpha5); outerShadow5.Append(rgbColorModelHex29); effectList5.Append(outerShadow5); effectStyle5.Append(effectList5); A.EffectStyle effectStyle6 = new A.EffectStyle(); A.EffectList effectList6 = new A.EffectList(); A.OuterShadow outerShadow6 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex30 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha6 = new A.Alpha(){ Val = 35000 }; rgbColorModelHex30.Append(alpha6); outerShadow6.Append(rgbColorModelHex30); effectList6.Append(outerShadow6); A.Scene3DType scene3DType2 = new A.Scene3DType(); A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation3 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera2.Append(rotation3); A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig2.Append(rotation4); scene3DType2.Append(camera2); scene3DType2.Append(lightRig2); A.Shape3DType shape3DType2 = new A.Shape3DType(); A.BevelTop bevelTop2 = new A.BevelTop(){ Width = 63500L, Height = 25400L }; shape3DType2.Append(bevelTop2); effectStyle6.Append(effectList6); effectStyle6.Append(scene3DType2); effectStyle6.Append(shape3DType2); effectStyleList2.Append(effectStyle4); effectStyleList2.Append(effectStyle5); effectStyleList2.Append(effectStyle6); A.BackgroundFillStyleList backgroundFillStyleList2 = new A.BackgroundFillStyleList(); A.SolidFill solidFill69 = new A.SolidFill(); A.SchemeColor schemeColor87 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill69.Append(schemeColor87); A.GradientFill gradientFill7 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList7 = new A.GradientStopList(); A.GradientStop gradientStop18 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor88 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint31 = new A.Tint(){ Val = 40000 }; A.SaturationModulation saturationModulation20 = new A.SaturationModulation(){ Val = 350000 }; schemeColor88.Append(tint31); schemeColor88.Append(saturationModulation20); gradientStop18.Append(schemeColor88); A.GradientStop gradientStop19 = new A.GradientStop(){ Position = 40000 }; A.SchemeColor schemeColor89 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint32 = new A.Tint(){ Val = 45000 }; A.Shade shade12 = new A.Shade(){ Val = 99000 }; A.SaturationModulation saturationModulation21 = new A.SaturationModulation(){ Val = 350000 }; schemeColor89.Append(tint32); schemeColor89.Append(shade12); schemeColor89.Append(saturationModulation21); gradientStop19.Append(schemeColor89); A.GradientStop gradientStop20 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor90 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade13 = new A.Shade(){ Val = 20000 }; A.SaturationModulation saturationModulation22 = new A.SaturationModulation(){ Val = 255000 }; schemeColor90.Append(shade13); schemeColor90.Append(saturationModulation22); gradientStop20.Append(schemeColor90); gradientStopList7.Append(gradientStop18); gradientStopList7.Append(gradientStop19); gradientStopList7.Append(gradientStop20); A.PathGradientFill pathGradientFill3 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle3 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill3.Append(fillToRectangle3); gradientFill7.Append(gradientStopList7); gradientFill7.Append(pathGradientFill3); A.GradientFill gradientFill8 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList8 = new A.GradientStopList(); A.GradientStop gradientStop21 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor91 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint33 = new A.Tint(){ Val = 80000 }; A.SaturationModulation saturationModulation23 = new A.SaturationModulation(){ Val = 300000 }; schemeColor91.Append(tint33); schemeColor91.Append(saturationModulation23); gradientStop21.Append(schemeColor91); A.GradientStop gradientStop22 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor92 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade14 = new A.Shade(){ Val = 30000 }; A.SaturationModulation saturationModulation24 = new A.SaturationModulation(){ Val = 200000 }; schemeColor92.Append(shade14); schemeColor92.Append(saturationModulation24); gradientStop22.Append(schemeColor92); gradientStopList8.Append(gradientStop21); gradientStopList8.Append(gradientStop22); A.PathGradientFill pathGradientFill4 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle4 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill4.Append(fillToRectangle4); gradientFill8.Append(gradientStopList8); gradientFill8.Append(pathGradientFill4); backgroundFillStyleList2.Append(solidFill69); backgroundFillStyleList2.Append(gradientFill7); backgroundFillStyleList2.Append(gradientFill8); formatScheme2.Append(fillStyleList2); formatScheme2.Append(lineStyleList2); formatScheme2.Append(effectStyleList2); formatScheme2.Append(backgroundFillStyleList2); themeElements2.Append(colorScheme2); themeElements2.Append(fontScheme2); themeElements2.Append(formatScheme2); A.ObjectDefaults objectDefaults2 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList2 = new A.ExtraColorSchemeList(); theme2.Append(themeElements2); theme2.Append(objectDefaults2); theme2.Append(extraColorSchemeList2); themePart2.Theme = theme2; }
// Generates content of themePart1. private static void GenerateThemePart1Content(ThemePart themePart1) { var theme1 = new A.Theme { Name = "Larissa" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); var themeElements1 = new A.ThemeElements(); var colorScheme1 = new A.ColorScheme { Name = "Larissa" }; var dark1Color1 = new A.Dark1Color(); var systemColor1 = new A.SystemColor { Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); var light1Color1 = new A.Light1Color(); var systemColor2 = new A.SystemColor { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); var dark2Color1 = new A.Dark2Color(); var rgbColorModelHex1 = new A.RgbColorModelHex { Val = "1F497D" }; dark2Color1.Append(rgbColorModelHex1); var light2Color1 = new A.Light2Color(); var rgbColorModelHex2 = new A.RgbColorModelHex { Val = "EEECE1" }; light2Color1.Append(rgbColorModelHex2); var accent1Color1 = new A.Accent1Color(); var rgbColorModelHex3 = new A.RgbColorModelHex { Val = "4F81BD" }; accent1Color1.Append(rgbColorModelHex3); var accent2Color1 = new A.Accent2Color(); var rgbColorModelHex4 = new A.RgbColorModelHex { Val = "C0504D" }; accent2Color1.Append(rgbColorModelHex4); var accent3Color1 = new A.Accent3Color(); var rgbColorModelHex5 = new A.RgbColorModelHex { Val = "9BBB59" }; accent3Color1.Append(rgbColorModelHex5); var accent4Color1 = new A.Accent4Color(); var rgbColorModelHex6 = new A.RgbColorModelHex { Val = "8064A2" }; accent4Color1.Append(rgbColorModelHex6); var accent5Color1 = new A.Accent5Color(); var rgbColorModelHex7 = new A.RgbColorModelHex { Val = "4BACC6" }; accent5Color1.Append(rgbColorModelHex7); var accent6Color1 = new A.Accent6Color(); var rgbColorModelHex8 = new A.RgbColorModelHex { Val = "F79646" }; accent6Color1.Append(rgbColorModelHex8); var hyperlink1 = new A.Hyperlink(); var rgbColorModelHex9 = new A.RgbColorModelHex { Val = "0000FF" }; hyperlink1.Append(rgbColorModelHex9); var followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); var rgbColorModelHex10 = new A.RgbColorModelHex { Val = "800080" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); var fontScheme2 = new A.FontScheme { Name = "Larissa" }; var majorFont1 = new A.MajorFont(); var latinFont1 = new A.LatinFont { Typeface = "Cambria" }; var eastAsianFont1 = new A.EastAsianFont { Typeface = "" }; var complexScriptFont1 = new A.ComplexScriptFont { Typeface = "" }; var supplementalFont1 = new A.SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont2 = new A.SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont3 = new A.SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont4 = new A.SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont5 = new A.SupplementalFont { Script = "Arab", Typeface = "Times New Roman" }; var supplementalFont6 = new A.SupplementalFont { Script = "Hebr", Typeface = "Times New Roman" }; var supplementalFont7 = new A.SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont8 = new A.SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont9 = new A.SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont10 = new A.SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont11 = new A.SupplementalFont { Script = "Khmr", Typeface = "MoolBoran" }; var supplementalFont12 = new A.SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont13 = new A.SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont14 = new A.SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont15 = new A.SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont16 = new A.SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont17 = new A.SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont18 = new A.SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont19 = new A.SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont20 = new A.SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont21 = new A.SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont22 = new A.SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont23 = new A.SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont24 = new A.SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont25 = new A.SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont26 = new A.SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont27 = new A.SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont28 = new A.SupplementalFont { Script = "Viet", Typeface = "Times New Roman" }; var supplementalFont29 = new A.SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont30 = new A.SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; majorFont1.Append(latinFont1); majorFont1.Append(eastAsianFont1); majorFont1.Append(complexScriptFont1); majorFont1.Append(supplementalFont1); majorFont1.Append(supplementalFont2); majorFont1.Append(supplementalFont3); majorFont1.Append(supplementalFont4); majorFont1.Append(supplementalFont5); majorFont1.Append(supplementalFont6); majorFont1.Append(supplementalFont7); majorFont1.Append(supplementalFont8); majorFont1.Append(supplementalFont9); majorFont1.Append(supplementalFont10); majorFont1.Append(supplementalFont11); majorFont1.Append(supplementalFont12); majorFont1.Append(supplementalFont13); majorFont1.Append(supplementalFont14); majorFont1.Append(supplementalFont15); majorFont1.Append(supplementalFont16); majorFont1.Append(supplementalFont17); majorFont1.Append(supplementalFont18); majorFont1.Append(supplementalFont19); majorFont1.Append(supplementalFont20); majorFont1.Append(supplementalFont21); majorFont1.Append(supplementalFont22); majorFont1.Append(supplementalFont23); majorFont1.Append(supplementalFont24); majorFont1.Append(supplementalFont25); majorFont1.Append(supplementalFont26); majorFont1.Append(supplementalFont27); majorFont1.Append(supplementalFont28); majorFont1.Append(supplementalFont29); majorFont1.Append(supplementalFont30); var minorFont1 = new A.MinorFont(); var latinFont2 = new A.LatinFont { Typeface = "Calibri" }; var eastAsianFont2 = new A.EastAsianFont { Typeface = "" }; var complexScriptFont2 = new A.ComplexScriptFont { Typeface = "" }; var supplementalFont31 = new A.SupplementalFont { Script = "Jpan", Typeface = "MS Pゴシック" }; var supplementalFont32 = new A.SupplementalFont { Script = "Hang", Typeface = "맑은 고딕" }; var supplementalFont33 = new A.SupplementalFont { Script = "Hans", Typeface = "宋体" }; var supplementalFont34 = new A.SupplementalFont { Script = "Hant", Typeface = "新細明體" }; var supplementalFont35 = new A.SupplementalFont { Script = "Arab", Typeface = "Arial" }; var supplementalFont36 = new A.SupplementalFont { Script = "Hebr", Typeface = "Arial" }; var supplementalFont37 = new A.SupplementalFont { Script = "Thai", Typeface = "Tahoma" }; var supplementalFont38 = new A.SupplementalFont { Script = "Ethi", Typeface = "Nyala" }; var supplementalFont39 = new A.SupplementalFont { Script = "Beng", Typeface = "Vrinda" }; var supplementalFont40 = new A.SupplementalFont { Script = "Gujr", Typeface = "Shruti" }; var supplementalFont41 = new A.SupplementalFont { Script = "Khmr", Typeface = "DaunPenh" }; var supplementalFont42 = new A.SupplementalFont { Script = "Knda", Typeface = "Tunga" }; var supplementalFont43 = new A.SupplementalFont { Script = "Guru", Typeface = "Raavi" }; var supplementalFont44 = new A.SupplementalFont { Script = "Cans", Typeface = "Euphemia" }; var supplementalFont45 = new A.SupplementalFont { Script = "Cher", Typeface = "Plantagenet Cherokee" }; var supplementalFont46 = new A.SupplementalFont { Script = "Yiii", Typeface = "Microsoft Yi Baiti" }; var supplementalFont47 = new A.SupplementalFont { Script = "Tibt", Typeface = "Microsoft Himalaya" }; var supplementalFont48 = new A.SupplementalFont { Script = "Thaa", Typeface = "MV Boli" }; var supplementalFont49 = new A.SupplementalFont { Script = "Deva", Typeface = "Mangal" }; var supplementalFont50 = new A.SupplementalFont { Script = "Telu", Typeface = "Gautami" }; var supplementalFont51 = new A.SupplementalFont { Script = "Taml", Typeface = "Latha" }; var supplementalFont52 = new A.SupplementalFont { Script = "Syrc", Typeface = "Estrangelo Edessa" }; var supplementalFont53 = new A.SupplementalFont { Script = "Orya", Typeface = "Kalinga" }; var supplementalFont54 = new A.SupplementalFont { Script = "Mlym", Typeface = "Kartika" }; var supplementalFont55 = new A.SupplementalFont { Script = "Laoo", Typeface = "DokChampa" }; var supplementalFont56 = new A.SupplementalFont { Script = "Sinh", Typeface = "Iskoola Pota" }; var supplementalFont57 = new A.SupplementalFont { Script = "Mong", Typeface = "Mongolian Baiti" }; var supplementalFont58 = new A.SupplementalFont { Script = "Viet", Typeface = "Arial" }; var supplementalFont59 = new A.SupplementalFont { Script = "Uigh", Typeface = "Microsoft Uighur" }; var supplementalFont60 = new A.SupplementalFont { Script = "Geor", Typeface = "Sylfaen" }; minorFont1.Append(latinFont2); minorFont1.Append(eastAsianFont2); minorFont1.Append(complexScriptFont2); minorFont1.Append(supplementalFont31); minorFont1.Append(supplementalFont32); minorFont1.Append(supplementalFont33); minorFont1.Append(supplementalFont34); minorFont1.Append(supplementalFont35); minorFont1.Append(supplementalFont36); minorFont1.Append(supplementalFont37); minorFont1.Append(supplementalFont38); minorFont1.Append(supplementalFont39); minorFont1.Append(supplementalFont40); minorFont1.Append(supplementalFont41); minorFont1.Append(supplementalFont42); minorFont1.Append(supplementalFont43); minorFont1.Append(supplementalFont44); minorFont1.Append(supplementalFont45); minorFont1.Append(supplementalFont46); minorFont1.Append(supplementalFont47); minorFont1.Append(supplementalFont48); minorFont1.Append(supplementalFont49); minorFont1.Append(supplementalFont50); minorFont1.Append(supplementalFont51); minorFont1.Append(supplementalFont52); minorFont1.Append(supplementalFont53); minorFont1.Append(supplementalFont54); minorFont1.Append(supplementalFont55); minorFont1.Append(supplementalFont56); minorFont1.Append(supplementalFont57); minorFont1.Append(supplementalFont58); minorFont1.Append(supplementalFont59); minorFont1.Append(supplementalFont60); fontScheme2.Append(majorFont1); fontScheme2.Append(minorFont1); var formatScheme1 = new A.FormatScheme { Name = "Larissa" }; var fillStyleList1 = new A.FillStyleList(); var solidFill1 = new A.SolidFill(); var schemeColor1 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill1.Append(schemeColor1); var gradientFill1 = new A.GradientFill { RotateWithShape = true }; var gradientStopList1 = new A.GradientStopList(); var gradientStop1 = new A.GradientStop { Position = 0 }; var schemeColor2 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint1 = new A.Tint { Val = 50000 }; var saturationModulation1 = new A.SaturationModulation { Val = 300000 }; schemeColor2.Append(tint1); schemeColor2.Append(saturationModulation1); gradientStop1.Append(schemeColor2); var gradientStop2 = new A.GradientStop { Position = 35000 }; var schemeColor3 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint2 = new A.Tint { Val = 37000 }; var saturationModulation2 = new A.SaturationModulation { Val = 300000 }; schemeColor3.Append(tint2); schemeColor3.Append(saturationModulation2); gradientStop2.Append(schemeColor3); var gradientStop3 = new A.GradientStop { Position = 100000 }; var schemeColor4 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint3 = new A.Tint { Val = 15000 }; var saturationModulation3 = new A.SaturationModulation { Val = 350000 }; schemeColor4.Append(tint3); schemeColor4.Append(saturationModulation3); gradientStop3.Append(schemeColor4); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); gradientStopList1.Append(gradientStop3); var linearGradientFill1 = new A.LinearGradientFill { Angle = 16200000, Scaled = true }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); var gradientFill2 = new A.GradientFill { RotateWithShape = true }; var gradientStopList2 = new A.GradientStopList(); var gradientStop4 = new A.GradientStop { Position = 0 }; var schemeColor5 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade1 = new A.Shade { Val = 51000 }; var saturationModulation4 = new A.SaturationModulation { Val = 130000 }; schemeColor5.Append(shade1); schemeColor5.Append(saturationModulation4); gradientStop4.Append(schemeColor5); var gradientStop5 = new A.GradientStop { Position = 80000 }; var schemeColor6 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade2 = new A.Shade { Val = 93000 }; var saturationModulation5 = new A.SaturationModulation { Val = 130000 }; schemeColor6.Append(shade2); schemeColor6.Append(saturationModulation5); gradientStop5.Append(schemeColor6); var gradientStop6 = new A.GradientStop { Position = 100000 }; var schemeColor7 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade3 = new A.Shade { Val = 94000 }; var saturationModulation6 = new A.SaturationModulation { Val = 135000 }; schemeColor7.Append(shade3); schemeColor7.Append(saturationModulation6); gradientStop6.Append(schemeColor7); gradientStopList2.Append(gradientStop4); gradientStopList2.Append(gradientStop5); gradientStopList2.Append(gradientStop6); var linearGradientFill2 = new A.LinearGradientFill { Angle = 16200000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill1); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); var lineStyleList1 = new A.LineStyleList(); var outline1 = new A.Outline { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill2 = new A.SolidFill(); var schemeColor8 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade4 = new A.Shade { Val = 95000 }; var saturationModulation7 = new A.SaturationModulation { Val = 105000 }; schemeColor8.Append(shade4); schemeColor8.Append(saturationModulation7); solidFill2.Append(schemeColor8); var presetDash1 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline1.Append(solidFill2); outline1.Append(presetDash1); var outline2 = new A.Outline { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill3 = new A.SolidFill(); var schemeColor9 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill3.Append(schemeColor9); var presetDash2 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline2.Append(solidFill3); outline2.Append(presetDash2); var outline3 = new A.Outline { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; var solidFill4 = new A.SolidFill(); var schemeColor10 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill4.Append(schemeColor10); var presetDash3 = new A.PresetDash { Val = A.PresetLineDashValues.Solid }; outline3.Append(solidFill4); outline3.Append(presetDash3); lineStyleList1.Append(outline1); lineStyleList1.Append(outline2); lineStyleList1.Append(outline3); var effectStyleList1 = new A.EffectStyleList(); var effectStyle1 = new A.EffectStyle(); var effectList1 = new A.EffectList(); var outerShadow1 = new A.OuterShadow { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex11 = new A.RgbColorModelHex { Val = "000000" }; var alpha1 = new A.Alpha { Val = 38000 }; rgbColorModelHex11.Append(alpha1); outerShadow1.Append(rgbColorModelHex11); effectList1.Append(outerShadow1); effectStyle1.Append(effectList1); var effectStyle2 = new A.EffectStyle(); var effectList2 = new A.EffectList(); var outerShadow2 = new A.OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex12 = new A.RgbColorModelHex { Val = "000000" }; var alpha2 = new A.Alpha { Val = 35000 }; rgbColorModelHex12.Append(alpha2); outerShadow2.Append(rgbColorModelHex12); effectList2.Append(outerShadow2); effectStyle2.Append(effectList2); var effectStyle3 = new A.EffectStyle(); var effectList3 = new A.EffectList(); var outerShadow3 = new A.OuterShadow { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false }; var rgbColorModelHex13 = new A.RgbColorModelHex { Val = "000000" }; var alpha3 = new A.Alpha { Val = 35000 }; rgbColorModelHex13.Append(alpha3); outerShadow3.Append(rgbColorModelHex13); effectList3.Append(outerShadow3); var scene3DType1 = new A.Scene3DType(); var camera1 = new A.Camera { Preset = A.PresetCameraValues.OrthographicFront }; var rotation1 = new A.Rotation { Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); var lightRig1 = new A.LightRig { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; var rotation2 = new A.Rotation { Latitude = 0, Longitude = 0, Revolution = 1200000 }; lightRig1.Append(rotation2); scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); var shape3DType1 = new A.Shape3DType(); var bevelTop1 = new A.BevelTop { Width = 63500L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList3); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); var backgroundFillStyleList1 = new A.BackgroundFillStyleList(); var solidFill5 = new A.SolidFill(); var schemeColor11 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; solidFill5.Append(schemeColor11); var gradientFill3 = new A.GradientFill { RotateWithShape = true }; var gradientStopList3 = new A.GradientStopList(); var gradientStop7 = new A.GradientStop { Position = 0 }; var schemeColor12 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint4 = new A.Tint { Val = 40000 }; var saturationModulation8 = new A.SaturationModulation { Val = 350000 }; schemeColor12.Append(tint4); schemeColor12.Append(saturationModulation8); gradientStop7.Append(schemeColor12); var gradientStop8 = new A.GradientStop { Position = 40000 }; var schemeColor13 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint5 = new A.Tint { Val = 45000 }; var shade5 = new A.Shade { Val = 99000 }; var saturationModulation9 = new A.SaturationModulation { Val = 350000 }; schemeColor13.Append(tint5); schemeColor13.Append(shade5); schemeColor13.Append(saturationModulation9); gradientStop8.Append(schemeColor13); var gradientStop9 = new A.GradientStop { Position = 100000 }; var schemeColor14 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade6 = new A.Shade { Val = 20000 }; var saturationModulation10 = new A.SaturationModulation { Val = 255000 }; schemeColor14.Append(shade6); schemeColor14.Append(saturationModulation10); gradientStop9.Append(schemeColor14); gradientStopList3.Append(gradientStop7); gradientStopList3.Append(gradientStop8); gradientStopList3.Append(gradientStop9); var pathGradientFill1 = new A.PathGradientFill { Path = A.PathShadeValues.Circle }; var fillToRectangle1 = new A.FillToRectangle { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill3.Append(gradientStopList3); gradientFill3.Append(pathGradientFill1); var gradientFill4 = new A.GradientFill { RotateWithShape = true }; var gradientStopList4 = new A.GradientStopList(); var gradientStop10 = new A.GradientStop { Position = 0 }; var schemeColor15 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var tint6 = new A.Tint { Val = 80000 }; var saturationModulation11 = new A.SaturationModulation { Val = 300000 }; schemeColor15.Append(tint6); schemeColor15.Append(saturationModulation11); gradientStop10.Append(schemeColor15); var gradientStop11 = new A.GradientStop { Position = 100000 }; var schemeColor16 = new A.SchemeColor { Val = A.SchemeColorValues.PhColor }; var shade7 = new A.Shade { Val = 30000 }; var saturationModulation12 = new A.SaturationModulation { Val = 200000 }; schemeColor16.Append(shade7); schemeColor16.Append(saturationModulation12); gradientStop11.Append(schemeColor16); gradientStopList4.Append(gradientStop10); gradientStopList4.Append(gradientStop11); var pathGradientFill2 = new A.PathGradientFill { Path = A.PathShadeValues.Circle }; var fillToRectangle2 = new A.FillToRectangle { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 }; pathGradientFill2.Append(fillToRectangle2); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill2); backgroundFillStyleList1.Append(solidFill5); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme2); themeElements1.Append(formatScheme1); var objectDefaults1 = new A.ObjectDefaults(); var extraColorSchemeList1 = new A.ExtraColorSchemeList(); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); themePart1.Theme = theme1; }
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 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; }
/// <summary> /// Set the outline style of the picture. /// </summary> /// <param name="Width">Width of the outline, between 0 pt and 1584 pt. Accurate to 1/12700 of a point.</param> /// <param name="CompoundType">Compound type. Default value is single.</param> /// <param name="DashType">Dash style of the outline.</param> /// <param name="CapType">Line cap type of the outline. Default value is square.</param> /// <param name="JoinType">Join type of the outline at the corners. Default value is round.</param> public void SetOutlineStyle(decimal Width, A.CompoundLineValues? CompoundType, A.PresetLineDashValues? DashType, A.LineCapValues? CapType, SLLineJoinValues? JoinType) { this.PictureOutline = new A.Outline(); if (!this.HasOutlineFill) { this.PictureOutlineFill = this.FormSolidFill(true, new System.Drawing.Color(), A.SchemeColorValues.Text1, 0m, 0m); } if (Width < 0m) Width = 0m; if (Width > 1584m) Width = 1584m; this.PictureOutline.Width = Convert.ToInt32(Width * (decimal)SLConstants.PointToEMU); if (CompoundType != null) { this.PictureOutline.CompoundLineType = CompoundType.Value; } if (DashType != null) { A.PresetDash presetdash = new A.PresetDash(); presetdash.Val = DashType.Value; this.PictureOutline.Append(presetdash); } if (CapType != null) { this.PictureOutline.CapType = CapType.Value; } if (JoinType != null) { switch (JoinType.Value) { case SLLineJoinValues.Round: this.PictureOutline.Append(new A.Round()); break; case SLLineJoinValues.Bevel: this.PictureOutline.Append(new A.Bevel()); break; case SLLineJoinValues.Miter: // 800000 was the default Excel gave this.PictureOutline.Append(new A.Miter() { Limit = 800000 }); break; } } else { this.PictureOutline.Append(new A.Round()); } this.HasOutline = true; this.HasOutlineFill = true; }
// Generates content of themePart1. private void GenerateThemePart1Content(ThemePart themePart1) { A.Theme theme1 = new A.Theme(){ Name = "Slice" }; theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); A.ThemeElements themeElements1 = new A.ThemeElements(); A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Slice HD-RCA" }; A.Dark1Color dark1Color1 = new A.Dark1Color(); A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" }; dark1Color1.Append(systemColor1); A.Light1Color light1Color1 = new A.Light1Color(); A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" }; light1Color1.Append(systemColor2); A.Dark2Color dark2Color1 = new A.Dark2Color(); A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "537D0B" }; dark2Color1.Append(rgbColorModelHex1); A.Light2Color light2Color1 = new A.Light2Color(); A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "A9E257" }; light2Color1.Append(rgbColorModelHex2); A.Accent1Color accent1Color1 = new A.Accent1Color(); A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "38540A" }; accent1Color1.Append(rgbColorModelHex3); A.Accent2Color accent2Color1 = new A.Accent2Color(); A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "31A274" }; accent2Color1.Append(rgbColorModelHex4); A.Accent3Color accent3Color1 = new A.Accent3Color(); A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "236073" }; accent3Color1.Append(rgbColorModelHex5); A.Accent4Color accent4Color1 = new A.Accent4Color(); A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "6C4D90" }; accent4Color1.Append(rgbColorModelHex6); A.Accent5Color accent5Color1 = new A.Accent5Color(); A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "983C27" }; accent5Color1.Append(rgbColorModelHex7); A.Accent6Color accent6Color1 = new A.Accent6Color(); A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "CD811F" }; accent6Color1.Append(rgbColorModelHex8); A.Hyperlink hyperlink1 = new A.Hyperlink(); A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "293F06" }; hyperlink1.Append(rgbColorModelHex9); A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor(); A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "68883A" }; followedHyperlinkColor1.Append(rgbColorModelHex10); colorScheme1.Append(dark1Color1); colorScheme1.Append(light1Color1); colorScheme1.Append(dark2Color1); colorScheme1.Append(light2Color1); colorScheme1.Append(accent1Color1); colorScheme1.Append(accent2Color1); colorScheme1.Append(accent3Color1); colorScheme1.Append(accent4Color1); colorScheme1.Append(accent5Color1); colorScheme1.Append(accent6Color1); colorScheme1.Append(hyperlink1); colorScheme1.Append(followedHyperlinkColor1); A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Slice HD-RCA" }; A.MajorFont majorFont1 = new A.MajorFont(); A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" }; A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "" }; majorFont1.Append(latinFont32); majorFont1.Append(eastAsianFont29); majorFont1.Append(complexScriptFont29); A.MinorFont minorFont1 = new A.MinorFont(); A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" }; A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" }; A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" }; minorFont1.Append(latinFont33); minorFont1.Append(eastAsianFont30); minorFont1.Append(complexScriptFont30); fontScheme1.Append(majorFont1); fontScheme1.Append(minorFont1); A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Slice HD-RCA" }; A.FillStyleList fillStyleList1 = new A.FillStyleList(); A.SolidFill solidFill73 = new A.SolidFill(); A.SchemeColor schemeColor139 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill73.Append(schemeColor139); A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList1 = new A.GradientStopList(); A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor140 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint17 = new A.Tint(){ Val = 62000 }; A.HueModulation hueModulation1 = new A.HueModulation(){ Val = 94000 }; A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 140000 }; A.LuminanceModulation luminanceModulation11 = new A.LuminanceModulation(){ Val = 110000 }; schemeColor140.Append(tint17); schemeColor140.Append(hueModulation1); schemeColor140.Append(saturationModulation1); schemeColor140.Append(luminanceModulation11); gradientStop1.Append(schemeColor140); A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor141 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint18 = new A.Tint(){ Val = 84000 }; A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 160000 }; schemeColor141.Append(tint18); schemeColor141.Append(saturationModulation2); gradientStop2.Append(schemeColor141); gradientStopList1.Append(gradientStop1); gradientStopList1.Append(gradientStop2); A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill1.Append(gradientStopList1); gradientFill1.Append(linearGradientFill1); A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList2 = new A.GradientStopList(); A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor142 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint19 = new A.Tint(){ Val = 98000 }; A.HueModulation hueModulation2 = new A.HueModulation(){ Val = 94000 }; A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 130000 }; A.LuminanceModulation luminanceModulation12 = new A.LuminanceModulation(){ Val = 128000 }; schemeColor142.Append(tint19); schemeColor142.Append(hueModulation2); schemeColor142.Append(saturationModulation3); schemeColor142.Append(luminanceModulation12); gradientStop3.Append(schemeColor142); A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor143 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade1 = new A.Shade(){ Val = 94000 }; A.LuminanceModulation luminanceModulation13 = new A.LuminanceModulation(){ Val = 88000 }; schemeColor143.Append(shade1); schemeColor143.Append(luminanceModulation13); gradientStop4.Append(schemeColor143); gradientStopList2.Append(gradientStop3); gradientStopList2.Append(gradientStop4); A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false }; gradientFill2.Append(gradientStopList2); gradientFill2.Append(linearGradientFill2); fillStyleList1.Append(solidFill73); fillStyleList1.Append(gradientFill1); fillStyleList1.Append(gradientFill2); A.LineStyleList lineStyleList1 = new A.LineStyleList(); A.Outline outline17 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill74 = new A.SolidFill(); A.SchemeColor schemeColor144 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint20 = new A.Tint(){ Val = 76000 }; A.Alpha alpha1 = new A.Alpha(){ Val = 60000 }; A.HueModulation hueModulation3 = new A.HueModulation(){ Val = 94000 }; schemeColor144.Append(tint20); schemeColor144.Append(alpha1); schemeColor144.Append(hueModulation3); solidFill74.Append(schemeColor144); A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline17.Append(solidFill74); outline17.Append(presetDash1); A.Outline outline18 = new A.Outline(){ Width = 15875, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill75 = new A.SolidFill(); A.SchemeColor schemeColor145 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.HueModulation hueModulation4 = new A.HueModulation(){ Val = 94000 }; schemeColor145.Append(hueModulation4); solidFill75.Append(schemeColor145); A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline18.Append(solidFill75); outline18.Append(presetDash2); A.Outline outline19 = new A.Outline(){ Width = 28575, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill76 = new A.SolidFill(); A.SchemeColor schemeColor146 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill76.Append(schemeColor146); A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid }; outline19.Append(solidFill76); outline19.Append(presetDash3); lineStyleList1.Append(outline17); lineStyleList1.Append(outline18); lineStyleList1.Append(outline19); A.EffectStyleList effectStyleList1 = new A.EffectStyleList(); A.EffectStyle effectStyle1 = new A.EffectStyle(); A.EffectList effectList12 = new A.EffectList(); effectStyle1.Append(effectList12); A.EffectStyle effectStyle2 = new A.EffectStyle(); A.EffectList effectList13 = new A.EffectList(); A.InnerShadow innerShadow1 = new A.InnerShadow(){ BlurRadius = 25400L, Distance = 12700L, Direction = 13500000 }; A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha2 = new A.Alpha(){ Val = 45000 }; rgbColorModelHex11.Append(alpha2); innerShadow1.Append(rgbColorModelHex11); effectList13.Append(innerShadow1); effectStyle2.Append(effectList13); A.EffectStyle effectStyle3 = new A.EffectStyle(); A.EffectList effectList14 = new A.EffectList(); A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 50800L, Distance = 38100L, Direction = 5400000, RotateWithShape = false }; A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "000000" }; A.Alpha alpha3 = new A.Alpha(){ Val = 46000 }; rgbColorModelHex12.Append(alpha3); outerShadow1.Append(rgbColorModelHex12); effectList14.Append(outerShadow1); A.Scene3DType scene3DType1 = new A.Scene3DType(); A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront }; A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 }; camera1.Append(rotation1); A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top }; scene3DType1.Append(camera1); scene3DType1.Append(lightRig1); A.Shape3DType shape3DType1 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Plastic }; A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 25400L, Height = 25400L }; shape3DType1.Append(bevelTop1); effectStyle3.Append(effectList14); effectStyle3.Append(scene3DType1); effectStyle3.Append(shape3DType1); effectStyleList1.Append(effectStyle1); effectStyleList1.Append(effectStyle2); effectStyleList1.Append(effectStyle3); A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList(); A.SolidFill solidFill77 = new A.SolidFill(); A.SchemeColor schemeColor147 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; solidFill77.Append(schemeColor147); A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList3 = new A.GradientStopList(); A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 10000 }; A.SchemeColor schemeColor148 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint21 = new A.Tint(){ Val = 97000 }; A.HueModulation hueModulation5 = new A.HueModulation(){ Val = 92000 }; A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 169000 }; A.LuminanceModulation luminanceModulation14 = new A.LuminanceModulation(){ Val = 164000 }; schemeColor148.Append(tint21); schemeColor148.Append(hueModulation5); schemeColor148.Append(saturationModulation4); schemeColor148.Append(luminanceModulation14); gradientStop5.Append(schemeColor148); A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor149 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade2 = new A.Shade(){ Val = 96000 }; A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 120000 }; A.LuminanceModulation luminanceModulation15 = new A.LuminanceModulation(){ Val = 90000 }; schemeColor149.Append(shade2); schemeColor149.Append(saturationModulation5); schemeColor149.Append(luminanceModulation15); gradientStop6.Append(schemeColor149); gradientStopList3.Append(gradientStop5); gradientStopList3.Append(gradientStop6); A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 6120000, Scaled = true }; gradientFill3.Append(gradientStopList3); gradientFill3.Append(linearGradientFill3); A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true }; A.GradientStopList gradientStopList4 = new A.GradientStopList(); A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 }; A.SchemeColor schemeColor150 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Tint tint22 = new A.Tint(){ Val = 97000 }; A.HueModulation hueModulation6 = new A.HueModulation(){ Val = 92000 }; A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 169000 }; A.LuminanceModulation luminanceModulation16 = new A.LuminanceModulation(){ Val = 164000 }; schemeColor150.Append(tint22); schemeColor150.Append(hueModulation6); schemeColor150.Append(saturationModulation6); schemeColor150.Append(luminanceModulation16); gradientStop7.Append(schemeColor150); A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 }; A.SchemeColor schemeColor151 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor }; A.Shade shade3 = new A.Shade(){ Val = 96000 }; A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 120000 }; A.LuminanceModulation luminanceModulation17 = new A.LuminanceModulation(){ Val = 90000 }; schemeColor151.Append(shade3); schemeColor151.Append(saturationModulation7); schemeColor151.Append(luminanceModulation17); gradientStop8.Append(schemeColor151); gradientStopList4.Append(gradientStop7); gradientStopList4.Append(gradientStop8); A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle }; A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Bottom = 100000 }; pathGradientFill1.Append(fillToRectangle1); gradientFill4.Append(gradientStopList4); gradientFill4.Append(pathGradientFill1); backgroundFillStyleList1.Append(solidFill77); backgroundFillStyleList1.Append(gradientFill3); backgroundFillStyleList1.Append(gradientFill4); formatScheme1.Append(fillStyleList1); formatScheme1.Append(lineStyleList1); formatScheme1.Append(effectStyleList1); formatScheme1.Append(backgroundFillStyleList1); themeElements1.Append(colorScheme1); themeElements1.Append(fontScheme1); themeElements1.Append(formatScheme1); A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults(); A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList(); A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList(); A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension(){ Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" }; Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily(){ Name = "Slice", Id = "{0507925B-6AC9-4358-8E18-C330545D08F8}", Vid = "{24C90B2D-6D41-4755-90A4-ED86E7EA9F03}" }; themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main"); officeStyleSheetExtension1.Append(themeFamily1); officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1); theme1.Append(themeElements1); theme1.Append(objectDefaults1); theme1.Append(extraColorSchemeList1); theme1.Append(officeStyleSheetExtensionList1); themePart1.Theme = theme1; }
// Generates content of chartStylePart1. private void GenerateChartStylePart1Content(ChartStylePart chartStylePart1) { Cs.ChartStyle chartStyle1 = new Cs.ChartStyle() { Id = (UInt32Value)201U }; chartStyle1.AddNamespaceDeclaration("cs", "http://schemas.microsoft.com/office/drawing/2012/chartStyle"); chartStyle1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Cs.AxisTitle axisTitle1 = new Cs.AxisTitle(); Cs.LineReference lineReference57 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference57 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference57 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference57 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor211 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation18 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset24 = new A.LuminanceOffset() { Val = 35000 }; schemeColor211.Append(luminanceModulation18); schemeColor211.Append(luminanceOffset24); fontReference57.Append(schemeColor211); Cs.TextCharacterPropertiesType textCharacterPropertiesType1 = new Cs.TextCharacterPropertiesType() { FontSize = 1000, Kerning = 1200 }; axisTitle1.Append(lineReference57); axisTitle1.Append(fillReference57); axisTitle1.Append(effectReference57); axisTitle1.Append(fontReference57); axisTitle1.Append(textCharacterPropertiesType1); Cs.CategoryAxis categoryAxis2 = new Cs.CategoryAxis(); Cs.LineReference lineReference58 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference58 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference58 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference58 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor212 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation19 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset25 = new A.LuminanceOffset() { Val = 35000 }; schemeColor212.Append(luminanceModulation19); schemeColor212.Append(luminanceOffset25); fontReference58.Append(schemeColor212); Cs.ShapeProperties shapeProperties38 = new Cs.ShapeProperties(); A.Outline outline20 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill32 = new A.SolidFill(); A.SchemeColor schemeColor213 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation20 = new A.LuminanceModulation() { Val = 15000 }; A.LuminanceOffset luminanceOffset26 = new A.LuminanceOffset() { Val = 85000 }; schemeColor213.Append(luminanceModulation20); schemeColor213.Append(luminanceOffset26); solidFill32.Append(schemeColor213); A.Round round4 = new A.Round(); outline20.Append(solidFill32); outline20.Append(round4); shapeProperties38.Append(outline20); Cs.TextCharacterPropertiesType textCharacterPropertiesType2 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; categoryAxis2.Append(lineReference58); categoryAxis2.Append(fillReference58); categoryAxis2.Append(effectReference58); categoryAxis2.Append(fontReference58); categoryAxis2.Append(shapeProperties38); categoryAxis2.Append(textCharacterPropertiesType2); Cs.ChartArea chartArea1 = new Cs.ChartArea() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } }; Cs.LineReference lineReference59 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference59 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference59 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference59 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor214 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference59.Append(schemeColor214); Cs.ShapeProperties shapeProperties39 = new Cs.ShapeProperties(); A.SolidFill solidFill33 = new A.SolidFill(); A.SchemeColor schemeColor215 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 }; solidFill33.Append(schemeColor215); A.Outline outline21 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill34 = new A.SolidFill(); A.SchemeColor schemeColor216 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation21 = new A.LuminanceModulation() { Val = 15000 }; A.LuminanceOffset luminanceOffset27 = new A.LuminanceOffset() { Val = 85000 }; schemeColor216.Append(luminanceModulation21); schemeColor216.Append(luminanceOffset27); solidFill34.Append(schemeColor216); A.Round round5 = new A.Round(); outline21.Append(solidFill34); outline21.Append(round5); shapeProperties39.Append(solidFill33); shapeProperties39.Append(outline21); Cs.TextCharacterPropertiesType textCharacterPropertiesType3 = new Cs.TextCharacterPropertiesType() { FontSize = 1000, Kerning = 1200 }; chartArea1.Append(lineReference59); chartArea1.Append(fillReference59); chartArea1.Append(effectReference59); chartArea1.Append(fontReference59); chartArea1.Append(shapeProperties39); chartArea1.Append(textCharacterPropertiesType3); Cs.DataLabel dataLabel1 = new Cs.DataLabel(); Cs.LineReference lineReference60 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference60 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference60 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference60 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor217 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation22 = new A.LuminanceModulation() { Val = 75000 }; A.LuminanceOffset luminanceOffset28 = new A.LuminanceOffset() { Val = 25000 }; schemeColor217.Append(luminanceModulation22); schemeColor217.Append(luminanceOffset28); fontReference60.Append(schemeColor217); Cs.TextCharacterPropertiesType textCharacterPropertiesType4 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; dataLabel1.Append(lineReference60); dataLabel1.Append(fillReference60); dataLabel1.Append(effectReference60); dataLabel1.Append(fontReference60); dataLabel1.Append(textCharacterPropertiesType4); Cs.DataLabelCallout dataLabelCallout1 = new Cs.DataLabelCallout(); Cs.LineReference lineReference61 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference61 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference61 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference61 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor218 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 }; A.LuminanceModulation luminanceModulation23 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset29 = new A.LuminanceOffset() { Val = 35000 }; schemeColor218.Append(luminanceModulation23); schemeColor218.Append(luminanceOffset29); fontReference61.Append(schemeColor218); Cs.ShapeProperties shapeProperties40 = new Cs.ShapeProperties(); A.SolidFill solidFill35 = new A.SolidFill(); A.SchemeColor schemeColor219 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; solidFill35.Append(schemeColor219); A.Outline outline22 = new A.Outline(); A.SolidFill solidFill36 = new A.SolidFill(); A.SchemeColor schemeColor220 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 }; A.LuminanceModulation luminanceModulation24 = new A.LuminanceModulation() { Val = 25000 }; A.LuminanceOffset luminanceOffset30 = new A.LuminanceOffset() { Val = 75000 }; schemeColor220.Append(luminanceModulation24); schemeColor220.Append(luminanceOffset30); solidFill36.Append(schemeColor220); outline22.Append(solidFill36); shapeProperties40.Append(solidFill35); shapeProperties40.Append(outline22); Cs.TextCharacterPropertiesType textCharacterPropertiesType5 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; Cs.TextBodyProperties textBodyProperties1 = new Cs.TextBodyProperties() { Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 36576, TopInset = 18288, RightInset = 36576, BottomInset = 18288, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true }; A.ShapeAutoFit shapeAutoFit2 = new A.ShapeAutoFit(); textBodyProperties1.Append(shapeAutoFit2); dataLabelCallout1.Append(lineReference61); dataLabelCallout1.Append(fillReference61); dataLabelCallout1.Append(effectReference61); dataLabelCallout1.Append(fontReference61); dataLabelCallout1.Append(shapeProperties40); dataLabelCallout1.Append(textCharacterPropertiesType5); dataLabelCallout1.Append(textBodyProperties1); Cs.DataPoint dataPoint1 = new Cs.DataPoint(); Cs.LineReference lineReference62 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference62 = new Cs.FillReference() { Index = (UInt32Value)1U }; Cs.StyleColor styleColor1 = new Cs.StyleColor() { Val = "auto" }; fillReference62.Append(styleColor1); Cs.EffectReference effectReference62 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference62 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor221 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference62.Append(schemeColor221); dataPoint1.Append(lineReference62); dataPoint1.Append(fillReference62); dataPoint1.Append(effectReference62); dataPoint1.Append(fontReference62); Cs.DataPoint3D dataPoint3D1 = new Cs.DataPoint3D(); Cs.LineReference lineReference63 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference63 = new Cs.FillReference() { Index = (UInt32Value)1U }; Cs.StyleColor styleColor2 = new Cs.StyleColor() { Val = "auto" }; fillReference63.Append(styleColor2); Cs.EffectReference effectReference63 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference63 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor222 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference63.Append(schemeColor222); dataPoint3D1.Append(lineReference63); dataPoint3D1.Append(fillReference63); dataPoint3D1.Append(effectReference63); dataPoint3D1.Append(fontReference63); Cs.DataPointLine dataPointLine1 = new Cs.DataPointLine(); Cs.LineReference lineReference64 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.StyleColor styleColor3 = new Cs.StyleColor() { Val = "auto" }; lineReference64.Append(styleColor3); Cs.FillReference fillReference64 = new Cs.FillReference() { Index = (UInt32Value)1U }; Cs.EffectReference effectReference64 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference64 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor223 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference64.Append(schemeColor223); Cs.ShapeProperties shapeProperties41 = new Cs.ShapeProperties(); A.Outline outline23 = new A.Outline() { Width = 28575, CapType = A.LineCapValues.Round }; A.SolidFill solidFill37 = new A.SolidFill(); A.SchemeColor schemeColor224 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill37.Append(schemeColor224); A.Round round6 = new A.Round(); outline23.Append(solidFill37); outline23.Append(round6); shapeProperties41.Append(outline23); dataPointLine1.Append(lineReference64); dataPointLine1.Append(fillReference64); dataPointLine1.Append(effectReference64); dataPointLine1.Append(fontReference64); dataPointLine1.Append(shapeProperties41); Cs.DataPointMarker dataPointMarker1 = new Cs.DataPointMarker(); Cs.LineReference lineReference65 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.StyleColor styleColor4 = new Cs.StyleColor() { Val = "auto" }; lineReference65.Append(styleColor4); Cs.FillReference fillReference65 = new Cs.FillReference() { Index = (UInt32Value)1U }; Cs.StyleColor styleColor5 = new Cs.StyleColor() { Val = "auto" }; fillReference65.Append(styleColor5); Cs.EffectReference effectReference65 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference65 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor225 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference65.Append(schemeColor225); Cs.ShapeProperties shapeProperties42 = new Cs.ShapeProperties(); A.Outline outline24 = new A.Outline() { Width = 9525 }; A.SolidFill solidFill38 = new A.SolidFill(); A.SchemeColor schemeColor226 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill38.Append(schemeColor226); outline24.Append(solidFill38); shapeProperties42.Append(outline24); dataPointMarker1.Append(lineReference65); dataPointMarker1.Append(fillReference65); dataPointMarker1.Append(effectReference65); dataPointMarker1.Append(fontReference65); dataPointMarker1.Append(shapeProperties42); Cs.MarkerLayoutProperties markerLayoutProperties1 = new Cs.MarkerLayoutProperties() { Symbol = Cs.MarkerStyle.Circle, Size = 5 }; Cs.DataPointWireframe dataPointWireframe1 = new Cs.DataPointWireframe(); Cs.LineReference lineReference66 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.StyleColor styleColor6 = new Cs.StyleColor() { Val = "auto" }; lineReference66.Append(styleColor6); Cs.FillReference fillReference66 = new Cs.FillReference() { Index = (UInt32Value)1U }; Cs.EffectReference effectReference66 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference66 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor227 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference66.Append(schemeColor227); Cs.ShapeProperties shapeProperties43 = new Cs.ShapeProperties(); A.Outline outline25 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Round }; A.SolidFill solidFill39 = new A.SolidFill(); A.SchemeColor schemeColor228 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill39.Append(schemeColor228); A.Round round7 = new A.Round(); outline25.Append(solidFill39); outline25.Append(round7); shapeProperties43.Append(outline25); dataPointWireframe1.Append(lineReference66); dataPointWireframe1.Append(fillReference66); dataPointWireframe1.Append(effectReference66); dataPointWireframe1.Append(fontReference66); dataPointWireframe1.Append(shapeProperties43); Cs.DataTableStyle dataTableStyle1 = new Cs.DataTableStyle(); Cs.LineReference lineReference67 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference67 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference67 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference67 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor229 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation25 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset31 = new A.LuminanceOffset() { Val = 35000 }; schemeColor229.Append(luminanceModulation25); schemeColor229.Append(luminanceOffset31); fontReference67.Append(schemeColor229); Cs.ShapeProperties shapeProperties44 = new Cs.ShapeProperties(); A.NoFill noFill10 = new A.NoFill(); A.Outline outline26 = 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 schemeColor230 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation26 = new A.LuminanceModulation() { Val = 15000 }; A.LuminanceOffset luminanceOffset32 = new A.LuminanceOffset() { Val = 85000 }; schemeColor230.Append(luminanceModulation26); schemeColor230.Append(luminanceOffset32); solidFill40.Append(schemeColor230); A.Round round8 = new A.Round(); outline26.Append(solidFill40); outline26.Append(round8); shapeProperties44.Append(noFill10); shapeProperties44.Append(outline26); Cs.TextCharacterPropertiesType textCharacterPropertiesType6 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; dataTableStyle1.Append(lineReference67); dataTableStyle1.Append(fillReference67); dataTableStyle1.Append(effectReference67); dataTableStyle1.Append(fontReference67); dataTableStyle1.Append(shapeProperties44); dataTableStyle1.Append(textCharacterPropertiesType6); Cs.DownBar downBar1 = new Cs.DownBar(); Cs.LineReference lineReference68 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference68 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference68 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference68 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor231 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 }; fontReference68.Append(schemeColor231); Cs.ShapeProperties shapeProperties45 = new Cs.ShapeProperties(); A.SolidFill solidFill41 = new A.SolidFill(); A.SchemeColor schemeColor232 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 }; A.LuminanceModulation luminanceModulation27 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset33 = new A.LuminanceOffset() { Val = 35000 }; schemeColor232.Append(luminanceModulation27); schemeColor232.Append(luminanceOffset33); solidFill41.Append(schemeColor232); A.Outline outline27 = new A.Outline() { Width = 9525 }; A.SolidFill solidFill42 = new A.SolidFill(); A.SchemeColor schemeColor233 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation28 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset34 = new A.LuminanceOffset() { Val = 35000 }; schemeColor233.Append(luminanceModulation28); schemeColor233.Append(luminanceOffset34); solidFill42.Append(schemeColor233); outline27.Append(solidFill42); shapeProperties45.Append(solidFill41); shapeProperties45.Append(outline27); downBar1.Append(lineReference68); downBar1.Append(fillReference68); downBar1.Append(effectReference68); downBar1.Append(fontReference68); downBar1.Append(shapeProperties45); Cs.DropLine dropLine1 = new Cs.DropLine(); Cs.LineReference lineReference69 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference69 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference69 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference69 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor234 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference69.Append(schemeColor234); Cs.ShapeProperties shapeProperties46 = new Cs.ShapeProperties(); A.Outline outline28 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill43 = new A.SolidFill(); A.SchemeColor schemeColor235 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation29 = new A.LuminanceModulation() { Val = 35000 }; A.LuminanceOffset luminanceOffset35 = new A.LuminanceOffset() { Val = 65000 }; schemeColor235.Append(luminanceModulation29); schemeColor235.Append(luminanceOffset35); solidFill43.Append(schemeColor235); A.Round round9 = new A.Round(); outline28.Append(solidFill43); outline28.Append(round9); shapeProperties46.Append(outline28); dropLine1.Append(lineReference69); dropLine1.Append(fillReference69); dropLine1.Append(effectReference69); dropLine1.Append(fontReference69); dropLine1.Append(shapeProperties46); Cs.ErrorBar errorBar1 = new Cs.ErrorBar(); Cs.LineReference lineReference70 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference70 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference70 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference70 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor236 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference70.Append(schemeColor236); Cs.ShapeProperties shapeProperties47 = new Cs.ShapeProperties(); A.Outline outline29 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill44 = new A.SolidFill(); A.SchemeColor schemeColor237 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation30 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset36 = new A.LuminanceOffset() { Val = 35000 }; schemeColor237.Append(luminanceModulation30); schemeColor237.Append(luminanceOffset36); solidFill44.Append(schemeColor237); A.Round round10 = new A.Round(); outline29.Append(solidFill44); outline29.Append(round10); shapeProperties47.Append(outline29); errorBar1.Append(lineReference70); errorBar1.Append(fillReference70); errorBar1.Append(effectReference70); errorBar1.Append(fontReference70); errorBar1.Append(shapeProperties47); Cs.Floor floor1 = new Cs.Floor(); Cs.LineReference lineReference71 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference71 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference71 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference71 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor238 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference71.Append(schemeColor238); Cs.ShapeProperties shapeProperties48 = new Cs.ShapeProperties(); A.NoFill noFill11 = new A.NoFill(); A.Outline outline30 = new A.Outline(); A.NoFill noFill12 = new A.NoFill(); outline30.Append(noFill12); shapeProperties48.Append(noFill11); shapeProperties48.Append(outline30); floor1.Append(lineReference71); floor1.Append(fillReference71); floor1.Append(effectReference71); floor1.Append(fontReference71); floor1.Append(shapeProperties48); Cs.GridlineMajor gridlineMajor1 = new Cs.GridlineMajor(); Cs.LineReference lineReference72 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference72 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference72 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference72 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor239 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference72.Append(schemeColor239); Cs.ShapeProperties shapeProperties49 = new Cs.ShapeProperties(); A.Outline outline31 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill45 = new A.SolidFill(); A.SchemeColor schemeColor240 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation31 = new A.LuminanceModulation() { Val = 15000 }; A.LuminanceOffset luminanceOffset37 = new A.LuminanceOffset() { Val = 85000 }; schemeColor240.Append(luminanceModulation31); schemeColor240.Append(luminanceOffset37); solidFill45.Append(schemeColor240); A.Round round11 = new A.Round(); outline31.Append(solidFill45); outline31.Append(round11); shapeProperties49.Append(outline31); gridlineMajor1.Append(lineReference72); gridlineMajor1.Append(fillReference72); gridlineMajor1.Append(effectReference72); gridlineMajor1.Append(fontReference72); gridlineMajor1.Append(shapeProperties49); Cs.GridlineMinor gridlineMinor1 = new Cs.GridlineMinor(); Cs.LineReference lineReference73 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference73 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference73 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference73 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor241 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference73.Append(schemeColor241); Cs.ShapeProperties shapeProperties50 = new Cs.ShapeProperties(); A.Outline outline32 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill46 = new A.SolidFill(); A.SchemeColor schemeColor242 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation32 = new A.LuminanceModulation() { Val = 5000 }; A.LuminanceOffset luminanceOffset38 = new A.LuminanceOffset() { Val = 95000 }; schemeColor242.Append(luminanceModulation32); schemeColor242.Append(luminanceOffset38); solidFill46.Append(schemeColor242); A.Round round12 = new A.Round(); outline32.Append(solidFill46); outline32.Append(round12); shapeProperties50.Append(outline32); gridlineMinor1.Append(lineReference73); gridlineMinor1.Append(fillReference73); gridlineMinor1.Append(effectReference73); gridlineMinor1.Append(fontReference73); gridlineMinor1.Append(shapeProperties50); Cs.HiLoLine hiLoLine1 = new Cs.HiLoLine(); Cs.LineReference lineReference74 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference74 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference74 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference74 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor243 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference74.Append(schemeColor243); Cs.ShapeProperties shapeProperties51 = new Cs.ShapeProperties(); A.Outline outline33 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill47 = new A.SolidFill(); A.SchemeColor schemeColor244 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation33 = new A.LuminanceModulation() { Val = 75000 }; A.LuminanceOffset luminanceOffset39 = new A.LuminanceOffset() { Val = 25000 }; schemeColor244.Append(luminanceModulation33); schemeColor244.Append(luminanceOffset39); solidFill47.Append(schemeColor244); A.Round round13 = new A.Round(); outline33.Append(solidFill47); outline33.Append(round13); shapeProperties51.Append(outline33); hiLoLine1.Append(lineReference74); hiLoLine1.Append(fillReference74); hiLoLine1.Append(effectReference74); hiLoLine1.Append(fontReference74); hiLoLine1.Append(shapeProperties51); Cs.LeaderLine leaderLine1 = new Cs.LeaderLine(); Cs.LineReference lineReference75 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference75 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference75 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference75 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor245 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference75.Append(schemeColor245); Cs.ShapeProperties shapeProperties52 = new Cs.ShapeProperties(); A.Outline outline34 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill48 = new A.SolidFill(); A.SchemeColor schemeColor246 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation34 = new A.LuminanceModulation() { Val = 35000 }; A.LuminanceOffset luminanceOffset40 = new A.LuminanceOffset() { Val = 65000 }; schemeColor246.Append(luminanceModulation34); schemeColor246.Append(luminanceOffset40); solidFill48.Append(schemeColor246); A.Round round14 = new A.Round(); outline34.Append(solidFill48); outline34.Append(round14); shapeProperties52.Append(outline34); leaderLine1.Append(lineReference75); leaderLine1.Append(fillReference75); leaderLine1.Append(effectReference75); leaderLine1.Append(fontReference75); leaderLine1.Append(shapeProperties52); Cs.LegendStyle legendStyle1 = new Cs.LegendStyle(); Cs.LineReference lineReference76 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference76 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference76 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference76 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor247 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation35 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset41 = new A.LuminanceOffset() { Val = 35000 }; schemeColor247.Append(luminanceModulation35); schemeColor247.Append(luminanceOffset41); fontReference76.Append(schemeColor247); Cs.TextCharacterPropertiesType textCharacterPropertiesType7 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; legendStyle1.Append(lineReference76); legendStyle1.Append(fillReference76); legendStyle1.Append(effectReference76); legendStyle1.Append(fontReference76); legendStyle1.Append(textCharacterPropertiesType7); Cs.PlotArea plotArea2 = new Cs.PlotArea() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } }; Cs.LineReference lineReference77 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference77 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference77 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference77 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor248 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference77.Append(schemeColor248); plotArea2.Append(lineReference77); plotArea2.Append(fillReference77); plotArea2.Append(effectReference77); plotArea2.Append(fontReference77); Cs.PlotArea3D plotArea3D1 = new Cs.PlotArea3D() { Modifiers = new ListValue<StringValue>() { InnerText = "allowNoFillOverride allowNoLineOverride" } }; Cs.LineReference lineReference78 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference78 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference78 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference78 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor249 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference78.Append(schemeColor249); plotArea3D1.Append(lineReference78); plotArea3D1.Append(fillReference78); plotArea3D1.Append(effectReference78); plotArea3D1.Append(fontReference78); Cs.SeriesAxis seriesAxis1 = new Cs.SeriesAxis(); Cs.LineReference lineReference79 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference79 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference79 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference79 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor250 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation36 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset42 = new A.LuminanceOffset() { Val = 35000 }; schemeColor250.Append(luminanceModulation36); schemeColor250.Append(luminanceOffset42); fontReference79.Append(schemeColor250); Cs.TextCharacterPropertiesType textCharacterPropertiesType8 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; seriesAxis1.Append(lineReference79); seriesAxis1.Append(fillReference79); seriesAxis1.Append(effectReference79); seriesAxis1.Append(fontReference79); seriesAxis1.Append(textCharacterPropertiesType8); Cs.SeriesLine seriesLine1 = new Cs.SeriesLine(); Cs.LineReference lineReference80 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference80 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference80 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference80 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor251 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference80.Append(schemeColor251); Cs.ShapeProperties shapeProperties53 = new Cs.ShapeProperties(); A.Outline outline35 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill49 = new A.SolidFill(); A.SchemeColor schemeColor252 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation37 = new A.LuminanceModulation() { Val = 35000 }; A.LuminanceOffset luminanceOffset43 = new A.LuminanceOffset() { Val = 65000 }; schemeColor252.Append(luminanceModulation37); schemeColor252.Append(luminanceOffset43); solidFill49.Append(schemeColor252); A.Round round15 = new A.Round(); outline35.Append(solidFill49); outline35.Append(round15); shapeProperties53.Append(outline35); seriesLine1.Append(lineReference80); seriesLine1.Append(fillReference80); seriesLine1.Append(effectReference80); seriesLine1.Append(fontReference80); seriesLine1.Append(shapeProperties53); Cs.TitleStyle titleStyle1 = new Cs.TitleStyle(); Cs.LineReference lineReference81 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference81 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference81 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference81 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor253 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation38 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset44 = new A.LuminanceOffset() { Val = 35000 }; schemeColor253.Append(luminanceModulation38); schemeColor253.Append(luminanceOffset44); fontReference81.Append(schemeColor253); Cs.TextCharacterPropertiesType textCharacterPropertiesType9 = new Cs.TextCharacterPropertiesType() { FontSize = 1400, Bold = false, Kerning = 1200, Spacing = 0, Baseline = 0 }; titleStyle1.Append(lineReference81); titleStyle1.Append(fillReference81); titleStyle1.Append(effectReference81); titleStyle1.Append(fontReference81); titleStyle1.Append(textCharacterPropertiesType9); Cs.TrendlineStyle trendlineStyle1 = new Cs.TrendlineStyle(); Cs.LineReference lineReference82 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.StyleColor styleColor7 = new Cs.StyleColor() { Val = "auto" }; lineReference82.Append(styleColor7); Cs.FillReference fillReference82 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference82 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference82 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor254 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference82.Append(schemeColor254); Cs.ShapeProperties shapeProperties54 = new Cs.ShapeProperties(); A.Outline outline36 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Round }; A.SolidFill solidFill50 = new A.SolidFill(); A.SchemeColor schemeColor255 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor }; solidFill50.Append(schemeColor255); A.PresetDash presetDash12 = new A.PresetDash() { Val = A.PresetLineDashValues.SystemDot }; outline36.Append(solidFill50); outline36.Append(presetDash12); shapeProperties54.Append(outline36); trendlineStyle1.Append(lineReference82); trendlineStyle1.Append(fillReference82); trendlineStyle1.Append(effectReference82); trendlineStyle1.Append(fontReference82); trendlineStyle1.Append(shapeProperties54); Cs.TrendlineLabel trendlineLabel1 = new Cs.TrendlineLabel(); Cs.LineReference lineReference83 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference83 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference83 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference83 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor256 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation39 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset45 = new A.LuminanceOffset() { Val = 35000 }; schemeColor256.Append(luminanceModulation39); schemeColor256.Append(luminanceOffset45); fontReference83.Append(schemeColor256); Cs.TextCharacterPropertiesType textCharacterPropertiesType10 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; trendlineLabel1.Append(lineReference83); trendlineLabel1.Append(fillReference83); trendlineLabel1.Append(effectReference83); trendlineLabel1.Append(fontReference83); trendlineLabel1.Append(textCharacterPropertiesType10); Cs.UpBar upBar1 = new Cs.UpBar(); Cs.LineReference lineReference84 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference84 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference84 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference84 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor257 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 }; fontReference84.Append(schemeColor257); Cs.ShapeProperties shapeProperties55 = new Cs.ShapeProperties(); A.SolidFill solidFill51 = new A.SolidFill(); A.SchemeColor schemeColor258 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; solidFill51.Append(schemeColor258); A.Outline outline37 = new A.Outline() { Width = 9525 }; A.SolidFill solidFill52 = new A.SolidFill(); A.SchemeColor schemeColor259 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation40 = new A.LuminanceModulation() { Val = 15000 }; A.LuminanceOffset luminanceOffset46 = new A.LuminanceOffset() { Val = 85000 }; schemeColor259.Append(luminanceModulation40); schemeColor259.Append(luminanceOffset46); solidFill52.Append(schemeColor259); outline37.Append(solidFill52); shapeProperties55.Append(solidFill51); shapeProperties55.Append(outline37); upBar1.Append(lineReference84); upBar1.Append(fillReference84); upBar1.Append(effectReference84); upBar1.Append(fontReference84); upBar1.Append(shapeProperties55); Cs.ValueAxis valueAxis2 = new Cs.ValueAxis(); Cs.LineReference lineReference85 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference85 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference85 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference85 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor260 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; A.LuminanceModulation luminanceModulation41 = new A.LuminanceModulation() { Val = 65000 }; A.LuminanceOffset luminanceOffset47 = new A.LuminanceOffset() { Val = 35000 }; schemeColor260.Append(luminanceModulation41); schemeColor260.Append(luminanceOffset47); fontReference85.Append(schemeColor260); Cs.TextCharacterPropertiesType textCharacterPropertiesType11 = new Cs.TextCharacterPropertiesType() { FontSize = 900, Kerning = 1200 }; valueAxis2.Append(lineReference85); valueAxis2.Append(fillReference85); valueAxis2.Append(effectReference85); valueAxis2.Append(fontReference85); valueAxis2.Append(textCharacterPropertiesType11); Cs.Wall wall1 = new Cs.Wall(); Cs.LineReference lineReference86 = new Cs.LineReference() { Index = (UInt32Value)0U }; Cs.FillReference fillReference86 = new Cs.FillReference() { Index = (UInt32Value)0U }; Cs.EffectReference effectReference86 = new Cs.EffectReference() { Index = (UInt32Value)0U }; Cs.FontReference fontReference86 = new Cs.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor261 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 }; fontReference86.Append(schemeColor261); Cs.ShapeProperties shapeProperties56 = new Cs.ShapeProperties(); A.NoFill noFill13 = new A.NoFill(); A.Outline outline38 = new A.Outline(); A.NoFill noFill14 = new A.NoFill(); outline38.Append(noFill14); shapeProperties56.Append(noFill13); shapeProperties56.Append(outline38); wall1.Append(lineReference86); wall1.Append(fillReference86); wall1.Append(effectReference86); wall1.Append(fontReference86); wall1.Append(shapeProperties56); chartStyle1.Append(axisTitle1); chartStyle1.Append(categoryAxis2); chartStyle1.Append(chartArea1); chartStyle1.Append(dataLabel1); chartStyle1.Append(dataLabelCallout1); chartStyle1.Append(dataPoint1); chartStyle1.Append(dataPoint3D1); chartStyle1.Append(dataPointLine1); chartStyle1.Append(dataPointMarker1); chartStyle1.Append(markerLayoutProperties1); chartStyle1.Append(dataPointWireframe1); chartStyle1.Append(dataTableStyle1); chartStyle1.Append(downBar1); chartStyle1.Append(dropLine1); chartStyle1.Append(errorBar1); chartStyle1.Append(floor1); chartStyle1.Append(gridlineMajor1); chartStyle1.Append(gridlineMinor1); chartStyle1.Append(hiLoLine1); chartStyle1.Append(leaderLine1); chartStyle1.Append(legendStyle1); chartStyle1.Append(plotArea2); chartStyle1.Append(plotArea3D1); chartStyle1.Append(seriesAxis1); chartStyle1.Append(seriesLine1); chartStyle1.Append(titleStyle1); chartStyle1.Append(trendlineStyle1); chartStyle1.Append(trendlineLabel1); chartStyle1.Append(upBar1); chartStyle1.Append(valueAxis2); chartStyle1.Append(wall1); chartStylePart1.ChartStyle = chartStyle1; }
// Generates content of drawingsPart2. private void GenerateDrawingsPart2Content(DrawingsPart drawingsPart2) { Xdr.WorksheetDrawing worksheetDrawing2 = new Xdr.WorksheetDrawing(); worksheetDrawing2.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); worksheetDrawing2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Xdr.TwoCellAnchor twoCellAnchor5 = new Xdr.TwoCellAnchor(); Xdr.FromMarker fromMarker5 = new Xdr.FromMarker(); Xdr.ColumnId columnId9 = new Xdr.ColumnId(); columnId9.Text = "6"; Xdr.ColumnOffset columnOffset9 = new Xdr.ColumnOffset(); columnOffset9.Text = "571500"; Xdr.RowId rowId9 = new Xdr.RowId(); rowId9.Text = "5"; Xdr.RowOffset rowOffset9 = new Xdr.RowOffset(); rowOffset9.Text = "147637"; fromMarker5.Append(columnId9); fromMarker5.Append(columnOffset9); fromMarker5.Append(rowId9); fromMarker5.Append(rowOffset9); Xdr.ToMarker toMarker5 = new Xdr.ToMarker(); Xdr.ColumnId columnId10 = new Xdr.ColumnId(); columnId10.Text = "14"; Xdr.ColumnOffset columnOffset10 = new Xdr.ColumnOffset(); columnOffset10.Text = "266700"; Xdr.RowId rowId10 = new Xdr.RowId(); rowId10.Text = "20"; Xdr.RowOffset rowOffset10 = new Xdr.RowOffset(); rowOffset10.Text = "33337"; toMarker5.Append(columnId10); toMarker5.Append(columnOffset10); toMarker5.Append(rowId10); toMarker5.Append(rowOffset10); Xdr.GraphicFrame graphicFrame2 = new Xdr.GraphicFrame() { Macro = "" }; Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties2 = new Xdr.NonVisualGraphicFrameProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties11 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Chart 1" }; Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Xdr.NonVisualGraphicFrameDrawingProperties(); nonVisualGraphicFrameProperties2.Append(nonVisualDrawingProperties11); nonVisualGraphicFrameProperties2.Append(nonVisualGraphicFrameDrawingProperties2); Xdr.Transform transform2 = new Xdr.Transform(); A.Offset offset15 = new A.Offset() { X = 0L, Y = 0L }; A.Extents extents15 = new A.Extents() { Cx = 0L, Cy = 0L }; transform2.Append(offset15); transform2.Append(extents15); A.Graphic graphic2 = new A.Graphic(); A.GraphicData graphicData2 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" }; C.ChartReference chartReference1 = new C.ChartReference() { Id = "rId1" }; chartReference1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart"); chartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); graphicData2.Append(chartReference1); graphic2.Append(graphicData2); graphicFrame2.Append(nonVisualGraphicFrameProperties2); graphicFrame2.Append(transform2); graphicFrame2.Append(graphic2); Xdr.ClientData clientData5 = new Xdr.ClientData(); twoCellAnchor5.Append(fromMarker5); twoCellAnchor5.Append(toMarker5); twoCellAnchor5.Append(graphicFrame2); twoCellAnchor5.Append(clientData5); Xdr.OneCellAnchor oneCellAnchor1 = new Xdr.OneCellAnchor(); Xdr.FromMarker fromMarker6 = new Xdr.FromMarker(); Xdr.ColumnId columnId11 = new Xdr.ColumnId(); columnId11.Text = "17"; Xdr.ColumnOffset columnOffset11 = new Xdr.ColumnOffset(); columnOffset11.Text = "186742"; Xdr.RowId rowId11 = new Xdr.RowId(); rowId11.Text = "11"; Xdr.RowOffset rowOffset11 = new Xdr.RowOffset(); rowOffset11.Text = "174123"; fromMarker6.Append(columnId11); fromMarker6.Append(columnOffset11); fromMarker6.Append(rowId11); fromMarker6.Append(rowOffset11); Xdr.Extent extent1 = new Xdr.Extent() { Cx = 3627019L, Cy = 937629L }; Xdr.Shape shape11 = new Xdr.Shape() { Macro = "", TextLink = "" }; Xdr.NonVisualShapeProperties nonVisualShapeProperties3 = new Xdr.NonVisualShapeProperties(); Xdr.NonVisualDrawingProperties nonVisualDrawingProperties12 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3U, Name = "Rectangle 2" }; Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new Xdr.NonVisualShapeDrawingProperties(); nonVisualShapeProperties3.Append(nonVisualDrawingProperties12); nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3); Xdr.ShapeProperties shapeProperties35 = new Xdr.ShapeProperties(); A.Transform2D transform2D14 = new A.Transform2D() { Rotation = 1966164 }; A.Offset offset16 = new A.Offset() { X = 10549942L, Y = 3793623L }; A.Extents extents16 = new A.Extents() { Cx = 3627019L, Cy = 937629L }; transform2D14.Append(offset16); transform2D14.Append(extents16); A.PresetGeometry presetGeometry9 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList9 = new A.AdjustValueList(); presetGeometry9.Append(adjustValueList9); A.NoFill noFill1 = new A.NoFill(); shapeProperties35.Append(transform2D14); shapeProperties35.Append(presetGeometry9); shapeProperties35.Append(noFill1); Xdr.TextBody textBody24 = new Xdr.TextBody(); A.BodyProperties bodyProperties24 = new A.BodyProperties() { Wrap = A.TextWrappingValues.None, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720 }; A.ShapeAutoFit shapeAutoFit1 = new A.ShapeAutoFit(); bodyProperties24.Append(shapeAutoFit1); A.ListStyle listStyle24 = new A.ListStyle(); A.Paragraph paragraph24 = new A.Paragraph(); A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Center }; A.Run run12 = new A.Run(); A.RunProperties runProperties12 = new A.RunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0 }; A.Outline outline10 = new A.Outline() { Width = 22225 }; A.SolidFill solidFill18 = new A.SolidFill(); A.SchemeColor schemeColor191 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; solidFill18.Append(schemeColor191); A.PresetDash presetDash9 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline10.Append(solidFill18); outline10.Append(presetDash9); A.SolidFill solidFill19 = new A.SolidFill(); A.SchemeColor schemeColor192 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 40000 }; A.LuminanceOffset luminanceOffset11 = new A.LuminanceOffset() { Val = 60000 }; schemeColor192.Append(luminanceModulation1); schemeColor192.Append(luminanceOffset11); solidFill19.Append(schemeColor192); A.EffectList effectList9 = new A.EffectList(); runProperties12.Append(outline10); runProperties12.Append(solidFill19); runProperties12.Append(effectList9); A.Text text12 = new A.Text(); text12.Text = "Hello"; run12.Append(runProperties12); run12.Append(text12); A.Run run13 = new A.Run(); A.RunProperties runProperties13 = new A.RunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0, Baseline = 0 }; A.Outline outline11 = new A.Outline() { Width = 22225 }; A.SolidFill solidFill20 = new A.SolidFill(); A.SchemeColor schemeColor193 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; solidFill20.Append(schemeColor193); A.PresetDash presetDash10 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline11.Append(solidFill20); outline11.Append(presetDash10); A.SolidFill solidFill21 = new A.SolidFill(); A.SchemeColor schemeColor194 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 40000 }; A.LuminanceOffset luminanceOffset12 = new A.LuminanceOffset() { Val = 60000 }; schemeColor194.Append(luminanceModulation2); schemeColor194.Append(luminanceOffset12); solidFill21.Append(schemeColor194); A.EffectList effectList10 = new A.EffectList(); runProperties13.Append(outline11); runProperties13.Append(solidFill21); runProperties13.Append(effectList10); A.Text text13 = new A.Text(); text13.Text = " World"; run13.Append(runProperties13); run13.Append(text13); A.EndParagraphRunProperties endParagraphRunProperties13 = new A.EndParagraphRunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0 }; A.Outline outline12 = new A.Outline() { Width = 22225 }; A.SolidFill solidFill22 = new A.SolidFill(); A.SchemeColor schemeColor195 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; solidFill22.Append(schemeColor195); A.PresetDash presetDash11 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline12.Append(solidFill22); outline12.Append(presetDash11); A.SolidFill solidFill23 = new A.SolidFill(); A.SchemeColor schemeColor196 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 }; A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 40000 }; A.LuminanceOffset luminanceOffset13 = new A.LuminanceOffset() { Val = 60000 }; schemeColor196.Append(luminanceModulation3); schemeColor196.Append(luminanceOffset13); solidFill23.Append(schemeColor196); A.EffectList effectList11 = new A.EffectList(); endParagraphRunProperties13.Append(outline12); endParagraphRunProperties13.Append(solidFill23); endParagraphRunProperties13.Append(effectList11); paragraph24.Append(paragraphProperties7); paragraph24.Append(run12); paragraph24.Append(run13); paragraph24.Append(endParagraphRunProperties13); textBody24.Append(bodyProperties24); textBody24.Append(listStyle24); textBody24.Append(paragraph24); shape11.Append(nonVisualShapeProperties3); shape11.Append(shapeProperties35); shape11.Append(textBody24); Xdr.ClientData clientData6 = new Xdr.ClientData(); oneCellAnchor1.Append(fromMarker6); oneCellAnchor1.Append(extent1); oneCellAnchor1.Append(shape11); oneCellAnchor1.Append(clientData6); worksheetDrawing2.Append(twoCellAnchor5); worksheetDrawing2.Append(oneCellAnchor1); drawingsPart2.WorksheetDrawing = worksheetDrawing2; }
// Generates content of diagramPersistLayoutPart1. private void GenerateDiagramPersistLayoutPart1Content(DiagramPersistLayoutPart diagramPersistLayoutPart1) { Dsp.Drawing drawing2 = new Dsp.Drawing(); drawing2.AddNamespaceDeclaration("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"); drawing2.AddNamespaceDeclaration("dsp", "http://schemas.microsoft.com/office/drawing/2008/diagram"); drawing2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main"); Dsp.ShapeTree shapeTree1 = new Dsp.ShapeTree(); Dsp.GroupShapeNonVisualProperties groupShapeNonVisualProperties1 = new Dsp.GroupShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualGroupDrawingShapeProperties nonVisualGroupDrawingShapeProperties1 = new Dsp.NonVisualGroupDrawingShapeProperties(); groupShapeNonVisualProperties1.Append(nonVisualDrawingProperties5); groupShapeNonVisualProperties1.Append(nonVisualGroupDrawingShapeProperties1); Dsp.GroupShapeProperties groupShapeProperties1 = new Dsp.GroupShapeProperties(); Dsp.Shape shape6 = new Dsp.Shape() { ModelId = "{B9B6AF63-CBEE-495A-9B14-DABB8AC30D78}" }; Dsp.ShapeNonVisualProperties shapeNonVisualProperties1 = new Dsp.ShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Dsp.NonVisualDrawingShapeProperties(); shapeNonVisualProperties1.Append(nonVisualDrawingProperties6); shapeNonVisualProperties1.Append(nonVisualDrawingShapeProperties1); Dsp.ShapeProperties shapeProperties30 = new Dsp.ShapeProperties(); A.Transform2D transform2D4 = new A.Transform2D(); A.Offset offset5 = new A.Offset() { X = 0L, Y = 442912L }; A.Extents extents5 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D4.Append(offset5); transform2D4.Append(extents5); A.PresetGeometry presetGeometry4 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList4 = new A.AdjustValueList(); presetGeometry4.Append(adjustValueList4); A.SolidFill solidFill8 = new A.SolidFill(); A.SchemeColor schemeColor45 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 }; A.HueOffset hueOffset1 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset1 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset1 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset1 = new A.AlphaOffset() { Val = 0 }; schemeColor45.Append(hueOffset1); schemeColor45.Append(saturationOffset1); schemeColor45.Append(luminanceOffset1); schemeColor45.Append(alphaOffset1); solidFill8.Append(schemeColor45); A.Outline outline5 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill9 = new A.SolidFill(); A.SchemeColor schemeColor46 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; A.HueOffset hueOffset2 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset2 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset2 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset2 = new A.AlphaOffset() { Val = 0 }; schemeColor46.Append(hueOffset2); schemeColor46.Append(saturationOffset2); schemeColor46.Append(luminanceOffset2); schemeColor46.Append(alphaOffset2); solidFill9.Append(schemeColor46); A.PresetDash presetDash4 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline5.Append(solidFill9); outline5.Append(presetDash4); A.EffectList effectList4 = new A.EffectList(); shapeProperties30.Append(transform2D4); shapeProperties30.Append(presetGeometry4); shapeProperties30.Append(solidFill8); shapeProperties30.Append(outline5); shapeProperties30.Append(effectList4); Dsp.ShapeStyle shapeStyle3 = new Dsp.ShapeStyle(); A.LineReference lineReference52 = new A.LineReference() { Index = (UInt32Value)2U }; A.RgbColorModelPercentage rgbColorModelPercentage151 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; lineReference52.Append(rgbColorModelPercentage151); A.FillReference fillReference52 = new A.FillReference() { Index = (UInt32Value)1U }; A.RgbColorModelPercentage rgbColorModelPercentage152 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; fillReference52.Append(rgbColorModelPercentage152); A.EffectReference effectReference52 = new A.EffectReference() { Index = (UInt32Value)0U }; A.RgbColorModelPercentage rgbColorModelPercentage153 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; effectReference52.Append(rgbColorModelPercentage153); A.FontReference fontReference52 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor47 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; fontReference52.Append(schemeColor47); shapeStyle3.Append(lineReference52); shapeStyle3.Append(fillReference52); shapeStyle3.Append(effectReference52); shapeStyle3.Append(fontReference52); Dsp.TextBody textBody19 = new Dsp.TextBody(); A.BodyProperties bodyProperties19 = new A.BodyProperties() { UseParagraphSpacing = false, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 148590, TopInset = 148590, RightInset = 148590, BottomInset = 148590, ColumnCount = 1, ColumnSpacing = 1270, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = false }; A.NoAutoFit noAutoFit1 = new A.NoAutoFit(); bodyProperties19.Append(noAutoFit1); A.ListStyle listStyle19 = new A.ListStyle(); A.Paragraph paragraph19 = new A.Paragraph(); A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties() { Level = 0, Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 1733550 }; A.LineSpacing lineSpacing1 = new A.LineSpacing(); A.SpacingPercent spacingPercent1 = new A.SpacingPercent() { Val = 90000 }; lineSpacing1.Append(spacingPercent1); A.SpaceBefore spaceBefore1 = new A.SpaceBefore(); A.SpacingPercent spacingPercent2 = new A.SpacingPercent() { Val = 0 }; spaceBefore1.Append(spacingPercent2); A.SpaceAfter spaceAfter1 = new A.SpaceAfter(); A.SpacingPercent spacingPercent3 = new A.SpacingPercent() { Val = 35000 }; spaceAfter1.Append(spacingPercent3); paragraphProperties2.Append(lineSpacing1); paragraphProperties2.Append(spaceBefore1); paragraphProperties2.Append(spaceAfter1); A.Run run7 = new A.Run(); A.RunProperties runProperties7 = new A.RunProperties() { Language = "en-US", FontSize = 3900, Kerning = 1200 }; A.Text text7 = new A.Text(); text7.Text = "aaa"; run7.Append(runProperties7); run7.Append(text7); paragraph19.Append(paragraphProperties2); paragraph19.Append(run7); textBody19.Append(bodyProperties19); textBody19.Append(listStyle19); textBody19.Append(paragraph19); Dsp.Transform2D transform2D5 = new Dsp.Transform2D(); A.Offset offset6 = new A.Offset() { X = 0L, Y = 442912L }; A.Extents extents6 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D5.Append(offset6); transform2D5.Append(extents6); shape6.Append(shapeNonVisualProperties1); shape6.Append(shapeProperties30); shape6.Append(shapeStyle3); shape6.Append(textBody19); shape6.Append(transform2D5); Dsp.Shape shape7 = new Dsp.Shape() { ModelId = "{74F2756F-474D-46D1-9293-5E8A451D94BC}" }; Dsp.ShapeNonVisualProperties shapeNonVisualProperties2 = new Dsp.ShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties7 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties2 = new Dsp.NonVisualDrawingShapeProperties(); shapeNonVisualProperties2.Append(nonVisualDrawingProperties7); shapeNonVisualProperties2.Append(nonVisualDrawingShapeProperties2); Dsp.ShapeProperties shapeProperties31 = new Dsp.ShapeProperties(); A.Transform2D transform2D6 = new A.Transform2D(); A.Offset offset7 = new A.Offset() { X = 1571625L, Y = 442912L }; A.Extents extents7 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D6.Append(offset7); transform2D6.Append(extents7); A.PresetGeometry presetGeometry5 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList5 = new A.AdjustValueList(); presetGeometry5.Append(adjustValueList5); A.SolidFill solidFill10 = new A.SolidFill(); A.SchemeColor schemeColor48 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 }; A.HueOffset hueOffset3 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset3 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset3 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset3 = new A.AlphaOffset() { Val = 0 }; schemeColor48.Append(hueOffset3); schemeColor48.Append(saturationOffset3); schemeColor48.Append(luminanceOffset3); schemeColor48.Append(alphaOffset3); solidFill10.Append(schemeColor48); A.Outline outline6 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill11 = new A.SolidFill(); A.SchemeColor schemeColor49 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; A.HueOffset hueOffset4 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset4 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset4 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset4 = new A.AlphaOffset() { Val = 0 }; schemeColor49.Append(hueOffset4); schemeColor49.Append(saturationOffset4); schemeColor49.Append(luminanceOffset4); schemeColor49.Append(alphaOffset4); solidFill11.Append(schemeColor49); A.PresetDash presetDash5 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline6.Append(solidFill11); outline6.Append(presetDash5); A.EffectList effectList5 = new A.EffectList(); shapeProperties31.Append(transform2D6); shapeProperties31.Append(presetGeometry5); shapeProperties31.Append(solidFill10); shapeProperties31.Append(outline6); shapeProperties31.Append(effectList5); Dsp.ShapeStyle shapeStyle4 = new Dsp.ShapeStyle(); A.LineReference lineReference53 = new A.LineReference() { Index = (UInt32Value)2U }; A.RgbColorModelPercentage rgbColorModelPercentage154 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; lineReference53.Append(rgbColorModelPercentage154); A.FillReference fillReference53 = new A.FillReference() { Index = (UInt32Value)1U }; A.RgbColorModelPercentage rgbColorModelPercentage155 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; fillReference53.Append(rgbColorModelPercentage155); A.EffectReference effectReference53 = new A.EffectReference() { Index = (UInt32Value)0U }; A.RgbColorModelPercentage rgbColorModelPercentage156 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; effectReference53.Append(rgbColorModelPercentage156); A.FontReference fontReference53 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor50 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; fontReference53.Append(schemeColor50); shapeStyle4.Append(lineReference53); shapeStyle4.Append(fillReference53); shapeStyle4.Append(effectReference53); shapeStyle4.Append(fontReference53); Dsp.TextBody textBody20 = new Dsp.TextBody(); A.BodyProperties bodyProperties20 = new A.BodyProperties() { UseParagraphSpacing = false, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 148590, TopInset = 148590, RightInset = 148590, BottomInset = 148590, ColumnCount = 1, ColumnSpacing = 1270, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = false }; A.NoAutoFit noAutoFit2 = new A.NoAutoFit(); bodyProperties20.Append(noAutoFit2); A.ListStyle listStyle20 = new A.ListStyle(); A.Paragraph paragraph20 = new A.Paragraph(); A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties() { Level = 0, Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 1733550 }; A.LineSpacing lineSpacing2 = new A.LineSpacing(); A.SpacingPercent spacingPercent4 = new A.SpacingPercent() { Val = 90000 }; lineSpacing2.Append(spacingPercent4); A.SpaceBefore spaceBefore2 = new A.SpaceBefore(); A.SpacingPercent spacingPercent5 = new A.SpacingPercent() { Val = 0 }; spaceBefore2.Append(spacingPercent5); A.SpaceAfter spaceAfter2 = new A.SpaceAfter(); A.SpacingPercent spacingPercent6 = new A.SpacingPercent() { Val = 35000 }; spaceAfter2.Append(spacingPercent6); paragraphProperties3.Append(lineSpacing2); paragraphProperties3.Append(spaceBefore2); paragraphProperties3.Append(spaceAfter2); A.Run run8 = new A.Run(); A.RunProperties runProperties8 = new A.RunProperties() { Language = "en-US", FontSize = 3900, Kerning = 1200 }; A.Text text8 = new A.Text(); text8.Text = "bbb"; run8.Append(runProperties8); run8.Append(text8); paragraph20.Append(paragraphProperties3); paragraph20.Append(run8); textBody20.Append(bodyProperties20); textBody20.Append(listStyle20); textBody20.Append(paragraph20); Dsp.Transform2D transform2D7 = new Dsp.Transform2D(); A.Offset offset8 = new A.Offset() { X = 1571625L, Y = 442912L }; A.Extents extents8 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D7.Append(offset8); transform2D7.Append(extents8); shape7.Append(shapeNonVisualProperties2); shape7.Append(shapeProperties31); shape7.Append(shapeStyle4); shape7.Append(textBody20); shape7.Append(transform2D7); Dsp.Shape shape8 = new Dsp.Shape() { ModelId = "{0E25295C-9B60-450E-BEE9-54F1BADAE0D5}" }; Dsp.ShapeNonVisualProperties shapeNonVisualProperties3 = new Dsp.ShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties8 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties3 = new Dsp.NonVisualDrawingShapeProperties(); shapeNonVisualProperties3.Append(nonVisualDrawingProperties8); shapeNonVisualProperties3.Append(nonVisualDrawingShapeProperties3); Dsp.ShapeProperties shapeProperties32 = new Dsp.ShapeProperties(); A.Transform2D transform2D8 = new A.Transform2D(); A.Offset offset9 = new A.Offset() { X = 3143250L, Y = 442912L }; A.Extents extents9 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D8.Append(offset9); transform2D8.Append(extents9); A.PresetGeometry presetGeometry6 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList6 = new A.AdjustValueList(); presetGeometry6.Append(adjustValueList6); A.SolidFill solidFill12 = new A.SolidFill(); A.SchemeColor schemeColor51 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 }; A.HueOffset hueOffset5 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset5 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset5 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset5 = new A.AlphaOffset() { Val = 0 }; schemeColor51.Append(hueOffset5); schemeColor51.Append(saturationOffset5); schemeColor51.Append(luminanceOffset5); schemeColor51.Append(alphaOffset5); solidFill12.Append(schemeColor51); A.Outline outline7 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill13 = new A.SolidFill(); A.SchemeColor schemeColor52 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; A.HueOffset hueOffset6 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset6 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset6 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset6 = new A.AlphaOffset() { Val = 0 }; schemeColor52.Append(hueOffset6); schemeColor52.Append(saturationOffset6); schemeColor52.Append(luminanceOffset6); schemeColor52.Append(alphaOffset6); solidFill13.Append(schemeColor52); A.PresetDash presetDash6 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline7.Append(solidFill13); outline7.Append(presetDash6); A.EffectList effectList6 = new A.EffectList(); shapeProperties32.Append(transform2D8); shapeProperties32.Append(presetGeometry6); shapeProperties32.Append(solidFill12); shapeProperties32.Append(outline7); shapeProperties32.Append(effectList6); Dsp.ShapeStyle shapeStyle5 = new Dsp.ShapeStyle(); A.LineReference lineReference54 = new A.LineReference() { Index = (UInt32Value)2U }; A.RgbColorModelPercentage rgbColorModelPercentage157 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; lineReference54.Append(rgbColorModelPercentage157); A.FillReference fillReference54 = new A.FillReference() { Index = (UInt32Value)1U }; A.RgbColorModelPercentage rgbColorModelPercentage158 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; fillReference54.Append(rgbColorModelPercentage158); A.EffectReference effectReference54 = new A.EffectReference() { Index = (UInt32Value)0U }; A.RgbColorModelPercentage rgbColorModelPercentage159 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; effectReference54.Append(rgbColorModelPercentage159); A.FontReference fontReference54 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor53 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; fontReference54.Append(schemeColor53); shapeStyle5.Append(lineReference54); shapeStyle5.Append(fillReference54); shapeStyle5.Append(effectReference54); shapeStyle5.Append(fontReference54); Dsp.TextBody textBody21 = new Dsp.TextBody(); A.BodyProperties bodyProperties21 = new A.BodyProperties() { UseParagraphSpacing = false, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 148590, TopInset = 148590, RightInset = 148590, BottomInset = 148590, ColumnCount = 1, ColumnSpacing = 1270, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = false }; A.NoAutoFit noAutoFit3 = new A.NoAutoFit(); bodyProperties21.Append(noAutoFit3); A.ListStyle listStyle21 = new A.ListStyle(); A.Paragraph paragraph21 = new A.Paragraph(); A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties() { Level = 0, Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 1733550 }; A.LineSpacing lineSpacing3 = new A.LineSpacing(); A.SpacingPercent spacingPercent7 = new A.SpacingPercent() { Val = 90000 }; lineSpacing3.Append(spacingPercent7); A.SpaceBefore spaceBefore3 = new A.SpaceBefore(); A.SpacingPercent spacingPercent8 = new A.SpacingPercent() { Val = 0 }; spaceBefore3.Append(spacingPercent8); A.SpaceAfter spaceAfter3 = new A.SpaceAfter(); A.SpacingPercent spacingPercent9 = new A.SpacingPercent() { Val = 35000 }; spaceAfter3.Append(spacingPercent9); paragraphProperties4.Append(lineSpacing3); paragraphProperties4.Append(spaceBefore3); paragraphProperties4.Append(spaceAfter3); A.Run run9 = new A.Run(); A.RunProperties runProperties9 = new A.RunProperties() { Language = "en-US", FontSize = 3900, Kerning = 1200 }; A.Text text9 = new A.Text(); text9.Text = "ccc"; run9.Append(runProperties9); run9.Append(text9); paragraph21.Append(paragraphProperties4); paragraph21.Append(run9); textBody21.Append(bodyProperties21); textBody21.Append(listStyle21); textBody21.Append(paragraph21); Dsp.Transform2D transform2D9 = new Dsp.Transform2D(); A.Offset offset10 = new A.Offset() { X = 3143250L, Y = 442912L }; A.Extents extents10 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D9.Append(offset10); transform2D9.Append(extents10); shape8.Append(shapeNonVisualProperties3); shape8.Append(shapeProperties32); shape8.Append(shapeStyle5); shape8.Append(textBody21); shape8.Append(transform2D9); Dsp.Shape shape9 = new Dsp.Shape() { ModelId = "{216E7A5E-38CD-46ED-97BD-9B59E6A10E61}" }; Dsp.ShapeNonVisualProperties shapeNonVisualProperties4 = new Dsp.ShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties9 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties4 = new Dsp.NonVisualDrawingShapeProperties(); shapeNonVisualProperties4.Append(nonVisualDrawingProperties9); shapeNonVisualProperties4.Append(nonVisualDrawingShapeProperties4); Dsp.ShapeProperties shapeProperties33 = new Dsp.ShapeProperties(); A.Transform2D transform2D10 = new A.Transform2D(); A.Offset offset11 = new A.Offset() { X = 785812L, Y = 1443037L }; A.Extents extents11 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D10.Append(offset11); transform2D10.Append(extents11); A.PresetGeometry presetGeometry7 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList7 = new A.AdjustValueList(); presetGeometry7.Append(adjustValueList7); A.SolidFill solidFill14 = new A.SolidFill(); A.SchemeColor schemeColor54 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 }; A.HueOffset hueOffset7 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset7 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset7 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset7 = new A.AlphaOffset() { Val = 0 }; schemeColor54.Append(hueOffset7); schemeColor54.Append(saturationOffset7); schemeColor54.Append(luminanceOffset7); schemeColor54.Append(alphaOffset7); solidFill14.Append(schemeColor54); A.Outline outline8 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill15 = new A.SolidFill(); A.SchemeColor schemeColor55 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; A.HueOffset hueOffset8 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset8 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset8 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset8 = new A.AlphaOffset() { Val = 0 }; schemeColor55.Append(hueOffset8); schemeColor55.Append(saturationOffset8); schemeColor55.Append(luminanceOffset8); schemeColor55.Append(alphaOffset8); solidFill15.Append(schemeColor55); A.PresetDash presetDash7 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline8.Append(solidFill15); outline8.Append(presetDash7); A.EffectList effectList7 = new A.EffectList(); shapeProperties33.Append(transform2D10); shapeProperties33.Append(presetGeometry7); shapeProperties33.Append(solidFill14); shapeProperties33.Append(outline8); shapeProperties33.Append(effectList7); Dsp.ShapeStyle shapeStyle6 = new Dsp.ShapeStyle(); A.LineReference lineReference55 = new A.LineReference() { Index = (UInt32Value)2U }; A.RgbColorModelPercentage rgbColorModelPercentage160 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; lineReference55.Append(rgbColorModelPercentage160); A.FillReference fillReference55 = new A.FillReference() { Index = (UInt32Value)1U }; A.RgbColorModelPercentage rgbColorModelPercentage161 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; fillReference55.Append(rgbColorModelPercentage161); A.EffectReference effectReference55 = new A.EffectReference() { Index = (UInt32Value)0U }; A.RgbColorModelPercentage rgbColorModelPercentage162 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; effectReference55.Append(rgbColorModelPercentage162); A.FontReference fontReference55 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor56 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; fontReference55.Append(schemeColor56); shapeStyle6.Append(lineReference55); shapeStyle6.Append(fillReference55); shapeStyle6.Append(effectReference55); shapeStyle6.Append(fontReference55); Dsp.TextBody textBody22 = new Dsp.TextBody(); A.BodyProperties bodyProperties22 = new A.BodyProperties() { UseParagraphSpacing = false, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 148590, TopInset = 148590, RightInset = 148590, BottomInset = 148590, ColumnCount = 1, ColumnSpacing = 1270, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = false }; A.NoAutoFit noAutoFit4 = new A.NoAutoFit(); bodyProperties22.Append(noAutoFit4); A.ListStyle listStyle22 = new A.ListStyle(); A.Paragraph paragraph22 = new A.Paragraph(); A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties() { Level = 0, Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 1733550 }; A.LineSpacing lineSpacing4 = new A.LineSpacing(); A.SpacingPercent spacingPercent10 = new A.SpacingPercent() { Val = 90000 }; lineSpacing4.Append(spacingPercent10); A.SpaceBefore spaceBefore4 = new A.SpaceBefore(); A.SpacingPercent spacingPercent11 = new A.SpacingPercent() { Val = 0 }; spaceBefore4.Append(spacingPercent11); A.SpaceAfter spaceAfter4 = new A.SpaceAfter(); A.SpacingPercent spacingPercent12 = new A.SpacingPercent() { Val = 35000 }; spaceAfter4.Append(spacingPercent12); paragraphProperties5.Append(lineSpacing4); paragraphProperties5.Append(spaceBefore4); paragraphProperties5.Append(spaceAfter4); A.Run run10 = new A.Run(); A.RunProperties runProperties10 = new A.RunProperties() { Language = "en-US", FontSize = 3900, Kerning = 1200 }; A.Text text10 = new A.Text(); text10.Text = "ddd"; run10.Append(runProperties10); run10.Append(text10); paragraph22.Append(paragraphProperties5); paragraph22.Append(run10); textBody22.Append(bodyProperties22); textBody22.Append(listStyle22); textBody22.Append(paragraph22); Dsp.Transform2D transform2D11 = new Dsp.Transform2D(); A.Offset offset12 = new A.Offset() { X = 785812L, Y = 1443037L }; A.Extents extents12 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D11.Append(offset12); transform2D11.Append(extents12); shape9.Append(shapeNonVisualProperties4); shape9.Append(shapeProperties33); shape9.Append(shapeStyle6); shape9.Append(textBody22); shape9.Append(transform2D11); Dsp.Shape shape10 = new Dsp.Shape() { ModelId = "{06938A85-ABE7-4259-8535-52632AD9121B}" }; Dsp.ShapeNonVisualProperties shapeNonVisualProperties5 = new Dsp.ShapeNonVisualProperties(); Dsp.NonVisualDrawingProperties nonVisualDrawingProperties10 = new Dsp.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "" }; Dsp.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties5 = new Dsp.NonVisualDrawingShapeProperties(); shapeNonVisualProperties5.Append(nonVisualDrawingProperties10); shapeNonVisualProperties5.Append(nonVisualDrawingShapeProperties5); Dsp.ShapeProperties shapeProperties34 = new Dsp.ShapeProperties(); A.Transform2D transform2D12 = new A.Transform2D(); A.Offset offset13 = new A.Offset() { X = 2357437L, Y = 1443037L }; A.Extents extents13 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D12.Append(offset13); transform2D12.Append(extents13); A.PresetGeometry presetGeometry8 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle }; A.AdjustValueList adjustValueList8 = new A.AdjustValueList(); presetGeometry8.Append(adjustValueList8); A.SolidFill solidFill16 = new A.SolidFill(); A.SchemeColor schemeColor57 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 }; A.HueOffset hueOffset9 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset9 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset9 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset9 = new A.AlphaOffset() { Val = 0 }; schemeColor57.Append(hueOffset9); schemeColor57.Append(saturationOffset9); schemeColor57.Append(luminanceOffset9); schemeColor57.Append(alphaOffset9); solidFill16.Append(schemeColor57); A.Outline outline9 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center }; A.SolidFill solidFill17 = new A.SolidFill(); A.SchemeColor schemeColor58 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; A.HueOffset hueOffset10 = new A.HueOffset() { Val = 0 }; A.SaturationOffset saturationOffset10 = new A.SaturationOffset() { Val = 0 }; A.LuminanceOffset luminanceOffset10 = new A.LuminanceOffset() { Val = 0 }; A.AlphaOffset alphaOffset10 = new A.AlphaOffset() { Val = 0 }; schemeColor58.Append(hueOffset10); schemeColor58.Append(saturationOffset10); schemeColor58.Append(luminanceOffset10); schemeColor58.Append(alphaOffset10); solidFill17.Append(schemeColor58); A.PresetDash presetDash8 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid }; outline9.Append(solidFill17); outline9.Append(presetDash8); A.EffectList effectList8 = new A.EffectList(); shapeProperties34.Append(transform2D12); shapeProperties34.Append(presetGeometry8); shapeProperties34.Append(solidFill16); shapeProperties34.Append(outline9); shapeProperties34.Append(effectList8); Dsp.ShapeStyle shapeStyle7 = new Dsp.ShapeStyle(); A.LineReference lineReference56 = new A.LineReference() { Index = (UInt32Value)2U }; A.RgbColorModelPercentage rgbColorModelPercentage163 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; lineReference56.Append(rgbColorModelPercentage163); A.FillReference fillReference56 = new A.FillReference() { Index = (UInt32Value)1U }; A.RgbColorModelPercentage rgbColorModelPercentage164 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; fillReference56.Append(rgbColorModelPercentage164); A.EffectReference effectReference56 = new A.EffectReference() { Index = (UInt32Value)0U }; A.RgbColorModelPercentage rgbColorModelPercentage165 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 }; effectReference56.Append(rgbColorModelPercentage165); A.FontReference fontReference56 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor }; A.SchemeColor schemeColor59 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 }; fontReference56.Append(schemeColor59); shapeStyle7.Append(lineReference56); shapeStyle7.Append(fillReference56); shapeStyle7.Append(effectReference56); shapeStyle7.Append(fontReference56); Dsp.TextBody textBody23 = new Dsp.TextBody(); A.BodyProperties bodyProperties23 = new A.BodyProperties() { UseParagraphSpacing = false, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 148590, TopInset = 148590, RightInset = 148590, BottomInset = 148590, ColumnCount = 1, ColumnSpacing = 1270, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = false }; A.NoAutoFit noAutoFit5 = new A.NoAutoFit(); bodyProperties23.Append(noAutoFit5); A.ListStyle listStyle23 = new A.ListStyle(); A.Paragraph paragraph23 = new A.Paragraph(); A.ParagraphProperties paragraphProperties6 = new A.ParagraphProperties() { Level = 0, Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 1733550 }; A.LineSpacing lineSpacing5 = new A.LineSpacing(); A.SpacingPercent spacingPercent13 = new A.SpacingPercent() { Val = 90000 }; lineSpacing5.Append(spacingPercent13); A.SpaceBefore spaceBefore5 = new A.SpaceBefore(); A.SpacingPercent spacingPercent14 = new A.SpacingPercent() { Val = 0 }; spaceBefore5.Append(spacingPercent14); A.SpaceAfter spaceAfter5 = new A.SpaceAfter(); A.SpacingPercent spacingPercent15 = new A.SpacingPercent() { Val = 35000 }; spaceAfter5.Append(spacingPercent15); paragraphProperties6.Append(lineSpacing5); paragraphProperties6.Append(spaceBefore5); paragraphProperties6.Append(spaceAfter5); A.Run run11 = new A.Run(); A.RunProperties runProperties11 = new A.RunProperties() { Language = "en-US", FontSize = 3900, Kerning = 1200 }; A.Text text11 = new A.Text(); text11.Text = "eee"; run11.Append(runProperties11); run11.Append(text11); paragraph23.Append(paragraphProperties6); paragraph23.Append(run11); textBody23.Append(bodyProperties23); textBody23.Append(listStyle23); textBody23.Append(paragraph23); Dsp.Transform2D transform2D13 = new Dsp.Transform2D(); A.Offset offset14 = new A.Offset() { X = 2357437L, Y = 1443037L }; A.Extents extents14 = new A.Extents() { Cx = 1428749L, Cy = 857250L }; transform2D13.Append(offset14); transform2D13.Append(extents14); shape10.Append(shapeNonVisualProperties5); shape10.Append(shapeProperties34); shape10.Append(shapeStyle7); shape10.Append(textBody23); shape10.Append(transform2D13); shapeTree1.Append(groupShapeNonVisualProperties1); shapeTree1.Append(groupShapeProperties1); shapeTree1.Append(shape6); shapeTree1.Append(shape7); shapeTree1.Append(shape8); shapeTree1.Append(shape9); shapeTree1.Append(shape10); drawing2.Append(shapeTree1); diagramPersistLayoutPart1.Drawing = drawing2; }
// 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 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; }
// 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 = "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; }