Example #1
0
        FromCompositeElement(
            OpenXmlCompositeElement compositeElement)     // TODO: set annotation that about it cannot be NULL
        {
            // Get <a:lvlXpPr> elements, eg. <a:lvl1pPr>, <a:lvl2pPr>
            IEnumerable <OpenXmlElement> lvlParagraphPropertyList = compositeElement.Elements()
                                                                    .Where(e => e.LocalName.StartsWith("lvl", StringComparison.Ordinal));

            var lvlToFontData = new Dictionary <int, FontData>();

            foreach (OpenXmlElement textPr in lvlParagraphPropertyList)
            {
                A.DefaultRunProperties aDefRPr = textPr.GetFirstChild <A.DefaultRunProperties>();

                Int32Value         fontSize          = aDefRPr?.FontSize;
                BooleanValue       isBold            = aDefRPr?.Bold;
                BooleanValue       isItalic          = aDefRPr?.Italic;
                A.LatinFont        aLatinFont        = aDefRPr?.GetFirstChild <A.LatinFont>();
                A.RgbColorModelHex aRgbColorModelHex = aDefRPr?.GetFirstChild <A.SolidFill>()?.RgbColorModelHex;
                A.SchemeColor      aSchemeColor      = aDefRPr?.GetFirstChild <A.SolidFill>()?.SchemeColor;

#if NETSTANDARD2_0
                var lvl = int.Parse(textPr.LocalName[3].ToString(System.Globalization.CultureInfo.CurrentCulture), System.Globalization.CultureInfo.CurrentCulture);
#else
                // fourth character of LocalName contains level number, example: "lvl1pPr -> 1, lvl2pPr -> 2, etc."
                ReadOnlySpan <char> localNameAsSpan = textPr.LocalName.AsSpan();
                int lvl = int.Parse(localNameAsSpan.Slice(3, 1));
#endif
                lvlToFontData.Add(lvl, new FontData(fontSize, aLatinFont, isBold, isItalic, aRgbColorModelHex, aSchemeColor));
            }

            return(lvlToFontData);
        }
Example #2
0
        public static A.RunProperties CreateRunProperties(PPTXTextRun Text, Dictionary <string, string> HyperLinkIDMap)
        {
            A.RunProperties runProperties3 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US", FontSize = (int)(Text.Font.FontSize * 100), Dirty = false
            };

            runProperties3.Bold   = Text.Font.Bold;
            runProperties3.Italic = Text.Font.Italic;

            if (Text.Font.UnderLine)
            {
                runProperties3.Underline = A.TextUnderlineValues.Single;
            }

            if (Text.Font.Strike)
            {
                runProperties3.Strike = A.TextStrikeValues.SingleStrike;
            }

            A.LatinFont latinFont1 = new A.LatinFont()
            {
                Typeface = Text.Font.FontFamily, Panose = "020B0604030504040204", PitchFamily = 50, CharacterSet = -128
            };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont()
            {
                Typeface = Text.Font.FontFamily, Panose = "020B0604030504040204", PitchFamily = 50, CharacterSet = -128
            };

            if (Text.Font.ForegroundColor.IsTransparent == false)
            {
                A.SolidFill solidFill1 = new A.SolidFill();
                solidFill1.Append(CreateRGBColorModeHex(Text.Font.ForegroundColor));
                runProperties3.Append(solidFill1);
            }

            runProperties3.Append(latinFont1);
            runProperties3.Append(eastAsianFont1);

            if (HyperLinkIDMap.ContainsKey(Text.Link.LinkKey))
            {
                A.HyperlinkOnClick hyperlinkOnClick1 = new A.HyperlinkOnClick()
                {
                    Id = HyperLinkIDMap[Text.Link.LinkKey]
                };

                runProperties3.Append(hyperlinkOnClick1);
            }


            return(runProperties3);
        }
        /// <summary>
        /// Replaces text tag with hyperlink id. Hyperlink identified by Id hes to be a part of the slide.
        /// </summary>
        /// <param name="p">The paragraph (a:p).</param>
        /// <param name="tag">The tag to replace by newText, if null or empty do nothing; tag is a regex string.</param>
        /// <param name="newText">The new text to replace the tag with, if null replaced by empty string and not visible.</param>
        /// <param name="relationshipId">Hyperlink relationship Id. Relationship has to be existing on slide level.</param>
        /// <param name="fontName">Font name</param>
        /// <param name="fontSize">Font size. E.g. 800 is 8pt (small) font. If value is less than 100 it will be multiplied by 100 to keep up with PPT notation.</param>
        /// <returns></returns>
        internal static bool ReplaceTagWithHyperlink(A.Paragraph p, string tag, string newText, string relationshipId, string fontName = "Calibri", int fontSize = 800)
        {
            bool replaced = false;

            if (string.IsNullOrEmpty(tag))
            {
                return(replaced);
            }

            if (newText == null)
            {
                newText = string.Empty;
            }
            newText = RemoveInvalidXMLChars(newText);

            while (true)
            {
                // Search for the tag
                Match match = Regex.Match(GetTexts(p), tag);
                if (!match.Success)
                {
                    break;
                }

                p.RemoveAllChildren(); // remove exisitng children then add new

                A.HyperlinkOnClick link = new A.HyperlinkOnClick()
                {
                    Id = relationshipId
                };
                A.Run r = new A.Run();
                r.RunProperties = new A.RunProperties();
                A.Text at = new A.Text(newText);
                r.RunProperties.AppendChild(link);
                r.AppendChild(at);
                p.Append(r);

                var run = p.Descendants <A.Run>();
                foreach (var item in run)
                {
                    item.RunProperties.RemoveAllChildren <A.LatinFont>();
                    var latinFont = new A.LatinFont();
                    latinFont.Typeface = fontName;
                    item.RunProperties.AppendChild(latinFont);
                    item.RunProperties.FontSize = (fontSize > 99) ? fontSize : fontSize * 100; // e.g. translate value 8 (Power Point UI font size) to 800 for API
                }

                replaced = true;
            }

            return(replaced);
        }
Example #4
0
 public FontData(
     Int32Value fontSize,
     A.LatinFont aLatinFont,
     BooleanValue isBold,
     BooleanValue isItalic,
     A.RgbColorModelHex aRgbColorModelHex,
     A.SchemeColor aSchemeColor) : this(fontSize)
 {
     FontSize          = fontSize;
     ALatinFont        = aLatinFont;
     IsBold            = isBold;
     IsItalic          = isItalic;
     ASchemeColor      = aSchemeColor;
     ARgbColorModelHex = aRgbColorModelHex;
 }
Example #5
0
        public static dr.TextCharacterPropertiesType SetFont(this dr.TextCharacterPropertiesType props, Font font, Color?fontColor = null)
        {
            if (props == null)
            {
                return(props);
            }
            if (font == null)
            {
                font = new Font("Calibri", 11);
            }
            props.FontSize  = (int)(font.Size * 100);
            props.Italic    = font.Italic;
            props.Bold      = font.Bold;
            props.Underline = font.Underline ? dr.TextUnderlineValues.Dash : dr.TextUnderlineValues.None;
            var fontFill = props.GetFirstChild <dr.SolidFill>();

            if (fontFill == null)
            {
                fontFill = new dr.SolidFill();
                props.PrependChild(fontFill);
                var sysColor = new dr.SystemColor();
                fontFill.Append(sysColor);
                sysColor.Val       = dr.SystemColorValues.WindowText;
                fontColor          = fontColor ?? Color.Black;
                sysColor.LastColor = new HexBinaryValue(fontColor.Value.ToHex());
            }
            var latinFont = props.GetFirstChild <dr.LatinFont>();

            if (latinFont == null)
            {
                latinFont = new dr.LatinFont();
                props.InsertAfter(latinFont, fontFill);
            }
            var complexScriptFont = props.GetFirstChild <dr.ComplexScriptFont>();

            if (complexScriptFont == null)
            {
                complexScriptFont = new dr.ComplexScriptFont();
                props.InsertAfter(complexScriptFont, latinFont);
            }
            latinFont.Typeface             = font.Name;
            latinFont.CharacterSet         = 0;
            complexScriptFont.Typeface     = font.Name;
            complexScriptFont.CharacterSet = 0;
            return(props);
        }
        // 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 slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData4 = new CommonSlideData();

            Background background2 = new Background();

            BackgroundStyleReference backgroundStyleReference2 = new BackgroundStyleReference(){ Index = (UInt32Value)1001U };
            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            backgroundStyleReference2.Append(schemeColor45);

            background2.Append(backgroundStyleReference2);

            ShapeTree shapeTree4 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties4 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties15 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties4 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties15 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties4.Append(nonVisualDrawingProperties15);
            nonVisualGroupShapeProperties4.Append(nonVisualGroupShapeDrawingProperties4);
            nonVisualGroupShapeProperties4.Append(applicationNonVisualDrawingProperties15);

            GroupShapeProperties groupShapeProperties4 = new GroupShapeProperties();

            A.TransformGroup transformGroup4 = new A.TransformGroup();
            A.Offset offset12 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents12 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset4 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents4 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup4.Append(offset12);
            transformGroup4.Append(extents12);
            transformGroup4.Append(childOffset4);
            transformGroup4.Append(childExtents4);

            groupShapeProperties4.Append(transformGroup4);

            Shape shape12 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties12 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties16 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Title Placeholder 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties12 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks11 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties12.Append(shapeLocks11);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties16 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties16.Append(placeholderShape11);

            nonVisualShapeProperties12.Append(nonVisualDrawingProperties16);
            nonVisualShapeProperties12.Append(nonVisualShapeDrawingProperties12);
            nonVisualShapeProperties12.Append(applicationNonVisualDrawingProperties16);

            ShapeProperties shapeProperties12 = new ShapeProperties();

            A.Transform2D transform2D9 = new A.Transform2D();
            A.Offset offset13 = new A.Offset(){ X = 457200L, Y = 274638L };
            A.Extents extents13 = new A.Extents(){ Cx = 8229600L, Cy = 1143000L };

            transform2D9.Append(offset13);
            transform2D9.Append(extents13);

            A.PresetGeometry presetGeometry7 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList7 = new A.AdjustValueList();

            presetGeometry7.Append(adjustValueList7);

            shapeProperties12.Append(transform2D9);
            shapeProperties12.Append(presetGeometry7);

            TextBody textBody12 = new TextBody();

            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit2 = new A.NormalAutoFit();

            bodyProperties12.Append(normalAutoFit2);
            A.ListStyle listStyle12 = new A.ListStyle();

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

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

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

            run19.Append(runProperties22);
            run19.Append(text22);
            A.EndParagraphRunProperties endParagraphRunProperties13 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph25.Append(run19);
            paragraph25.Append(endParagraphRunProperties13);

            textBody12.Append(bodyProperties12);
            textBody12.Append(listStyle12);
            textBody12.Append(paragraph25);

            shape12.Append(nonVisualShapeProperties12);
            shape12.Append(shapeProperties12);
            shape12.Append(textBody12);

            Shape shape13 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties13 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks12 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties13.Append(shapeLocks12);

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

            applicationNonVisualDrawingProperties17.Append(placeholderShape12);

            nonVisualShapeProperties13.Append(nonVisualDrawingProperties17);
            nonVisualShapeProperties13.Append(nonVisualShapeDrawingProperties13);
            nonVisualShapeProperties13.Append(applicationNonVisualDrawingProperties17);

            ShapeProperties shapeProperties13 = new ShapeProperties();

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset offset14 = new A.Offset(){ X = 457200L, Y = 1600201L };
            A.Extents extents14 = new A.Extents(){ Cx = 8229600L, Cy = 4525963L };

            transform2D10.Append(offset14);
            transform2D10.Append(extents14);

            A.PresetGeometry presetGeometry8 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList8 = new A.AdjustValueList();

            presetGeometry8.Append(adjustValueList8);

            shapeProperties13.Append(transform2D10);
            shapeProperties13.Append(presetGeometry8);

            TextBody textBody13 = new TextBody();

            A.BodyProperties bodyProperties13 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };
            A.NormalAutoFit normalAutoFit3 = new A.NormalAutoFit();

            bodyProperties13.Append(normalAutoFit3);
            A.ListStyle listStyle13 = new A.ListStyle();

            A.Paragraph paragraph26 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties14 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run20.Append(runProperties23);
            run20.Append(text23);

            paragraph26.Append(paragraphProperties14);
            paragraph26.Append(run20);

            A.Paragraph paragraph27 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties15 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties24 = new A.RunProperties(){ Language = "en-US" };
            runProperties24.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text24 = new A.Text();
            text24.Text = "Second level";

            run21.Append(runProperties24);
            run21.Append(text24);

            paragraph27.Append(paragraphProperties15);
            paragraph27.Append(run21);

            A.Paragraph paragraph28 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties16 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties25 = new A.RunProperties(){ Language = "en-US" };
            runProperties25.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text25 = new A.Text();
            text25.Text = "Third level";

            run22.Append(runProperties25);
            run22.Append(text25);

            paragraph28.Append(paragraphProperties16);
            paragraph28.Append(run22);

            A.Paragraph paragraph29 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties17 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties26 = new A.RunProperties(){ Language = "en-US" };
            runProperties26.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text26 = new A.Text();
            text26.Text = "Fourth level";

            run23.Append(runProperties26);
            run23.Append(text26);

            paragraph29.Append(paragraphProperties17);
            paragraph29.Append(run23);

            A.Paragraph paragraph30 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties18 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties27 = new A.RunProperties(){ Language = "en-US" };
            runProperties27.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text27 = new A.Text();
            text27.Text = "Fifth level";

            run24.Append(runProperties27);
            run24.Append(text27);
            A.EndParagraphRunProperties endParagraphRunProperties14 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph30.Append(paragraphProperties18);
            paragraph30.Append(run24);
            paragraph30.Append(endParagraphRunProperties14);

            textBody13.Append(bodyProperties13);
            textBody13.Append(listStyle13);
            textBody13.Append(paragraph26);
            textBody13.Append(paragraph27);
            textBody13.Append(paragraph28);
            textBody13.Append(paragraph29);
            textBody13.Append(paragraph30);

            shape13.Append(nonVisualShapeProperties13);
            shape13.Append(shapeProperties13);
            shape13.Append(textBody13);

            Shape shape14 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties14 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks13 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties14.Append(shapeLocks13);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties18 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape13 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties18.Append(placeholderShape13);

            nonVisualShapeProperties14.Append(nonVisualDrawingProperties18);
            nonVisualShapeProperties14.Append(nonVisualShapeDrawingProperties14);
            nonVisualShapeProperties14.Append(applicationNonVisualDrawingProperties18);

            ShapeProperties shapeProperties14 = new ShapeProperties();

            A.Transform2D transform2D11 = new A.Transform2D();
            A.Offset offset15 = new A.Offset(){ X = 457200L, Y = 6356351L };
            A.Extents extents15 = new A.Extents(){ Cx = 2133600L, Cy = 365125L };

            transform2D11.Append(offset15);
            transform2D11.Append(extents15);

            A.PresetGeometry presetGeometry9 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList9 = new A.AdjustValueList();

            presetGeometry9.Append(adjustValueList9);

            shapeProperties14.Append(transform2D11);
            shapeProperties14.Append(presetGeometry9);

            TextBody textBody14 = new TextBody();
            A.BodyProperties bodyProperties14 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };

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

            A.Level1ParagraphProperties level1ParagraphProperties7 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };

            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties(){ FontSize = 1200 };

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

            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint16 = new A.Tint(){ Val = 75000 };

            schemeColor46.Append(tint16);

            solidFill34.Append(schemeColor46);

            defaultRunProperties32.Append(solidFill34);

            level1ParagraphProperties7.Append(defaultRunProperties32);

            listStyle14.Append(level1ParagraphProperties7);

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

            A.Field field4 = new A.Field(){ Id = "{1A15D4F1-1D33-4170-8C9F-182CDE6BA6D1}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties28 = new A.RunProperties(){ Language = "en-US" };
            runProperties28.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text28 = new A.Text();
            text28.Text = "10/3/2012";

            field4.Append(runProperties28);
            field4.Append(text28);
            A.EndParagraphRunProperties endParagraphRunProperties15 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph31.Append(field4);
            paragraph31.Append(endParagraphRunProperties15);

            textBody14.Append(bodyProperties14);
            textBody14.Append(listStyle14);
            textBody14.Append(paragraph31);

            shape14.Append(nonVisualShapeProperties14);
            shape14.Append(shapeProperties14);
            shape14.Append(textBody14);

            Shape shape15 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties15 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks14 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties15.Append(shapeLocks14);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties19 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape14 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties19.Append(placeholderShape14);

            nonVisualShapeProperties15.Append(nonVisualDrawingProperties19);
            nonVisualShapeProperties15.Append(nonVisualShapeDrawingProperties15);
            nonVisualShapeProperties15.Append(applicationNonVisualDrawingProperties19);

            ShapeProperties shapeProperties15 = new ShapeProperties();

            A.Transform2D transform2D12 = new A.Transform2D();
            A.Offset offset16 = new A.Offset(){ X = 3124200L, Y = 6356351L };
            A.Extents extents16 = new A.Extents(){ Cx = 2895600L, Cy = 365125L };

            transform2D12.Append(offset16);
            transform2D12.Append(extents16);

            A.PresetGeometry presetGeometry10 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList10 = new A.AdjustValueList();

            presetGeometry10.Append(adjustValueList10);

            shapeProperties15.Append(transform2D12);
            shapeProperties15.Append(presetGeometry10);

            TextBody textBody15 = new TextBody();
            A.BodyProperties bodyProperties15 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };

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

            A.Level1ParagraphProperties level1ParagraphProperties8 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center };

            A.DefaultRunProperties defaultRunProperties33 = new A.DefaultRunProperties(){ FontSize = 1200 };

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

            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint17 = new A.Tint(){ Val = 75000 };

            schemeColor47.Append(tint17);

            solidFill35.Append(schemeColor47);

            defaultRunProperties33.Append(solidFill35);

            level1ParagraphProperties8.Append(defaultRunProperties33);

            listStyle15.Append(level1ParagraphProperties8);

            A.Paragraph paragraph32 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties16 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph32.Append(endParagraphRunProperties16);

            textBody15.Append(bodyProperties15);
            textBody15.Append(listStyle15);
            textBody15.Append(paragraph32);

            shape15.Append(nonVisualShapeProperties15);
            shape15.Append(shapeProperties15);
            shape15.Append(textBody15);

            Shape shape16 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties16 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks15 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties16.Append(shapeLocks15);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties20 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape15 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties20.Append(placeholderShape15);

            nonVisualShapeProperties16.Append(nonVisualDrawingProperties20);
            nonVisualShapeProperties16.Append(nonVisualShapeDrawingProperties16);
            nonVisualShapeProperties16.Append(applicationNonVisualDrawingProperties20);

            ShapeProperties shapeProperties16 = new ShapeProperties();

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset offset17 = new A.Offset(){ X = 6553200L, Y = 6356351L };
            A.Extents extents17 = new A.Extents(){ Cx = 2133600L, Cy = 365125L };

            transform2D13.Append(offset17);
            transform2D13.Append(extents17);

            A.PresetGeometry presetGeometry11 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList11 = new A.AdjustValueList();

            presetGeometry11.Append(adjustValueList11);

            shapeProperties16.Append(transform2D13);
            shapeProperties16.Append(presetGeometry11);

            TextBody textBody16 = new TextBody();
            A.BodyProperties bodyProperties16 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };

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

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right };

            A.DefaultRunProperties defaultRunProperties34 = new A.DefaultRunProperties(){ FontSize = 1200 };

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

            A.SchemeColor schemeColor48 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint18 = new A.Tint(){ Val = 75000 };

            schemeColor48.Append(tint18);

            solidFill36.Append(schemeColor48);

            defaultRunProperties34.Append(solidFill36);

            level1ParagraphProperties9.Append(defaultRunProperties34);

            listStyle16.Append(level1ParagraphProperties9);

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

            A.Field field5 = new A.Field(){ Id = "{9E0C3BFA-D4DA-4895-A0F6-B80859694A8D}", Type = "slidenum" };

            A.RunProperties runProperties29 = new A.RunProperties(){ Language = "en-US" };
            runProperties29.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text29 = new A.Text();
            text29.Text = "‹#›";

            field5.Append(runProperties29);
            field5.Append(text29);
            A.EndParagraphRunProperties endParagraphRunProperties17 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph33.Append(field5);
            paragraph33.Append(endParagraphRunProperties17);

            textBody16.Append(bodyProperties16);
            textBody16.Append(listStyle16);
            textBody16.Append(paragraph33);

            shape16.Append(nonVisualShapeProperties16);
            shape16.Append(shapeProperties16);
            shape16.Append(textBody16);

            shapeTree4.Append(nonVisualGroupShapeProperties4);
            shapeTree4.Append(groupShapeProperties4);
            shapeTree4.Append(shape12);
            shapeTree4.Append(shape13);
            shapeTree4.Append(shape14);
            shapeTree4.Append(shape15);
            shapeTree4.Append(shape16);

            CommonSlideDataExtensionList commonSlideDataExtensionList2 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension2.Append(creationId2);

            commonSlideDataExtensionList2.Append(commonSlideDataExtension2);

            commonSlideData4.Append(background2);
            commonSlideData4.Append(shapeTree4);
            commonSlideData4.Append(commonSlideDataExtensionList2);
            ColorMap colorMap2 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Light1, Text1 = A.ColorSchemeIndexValues.Dark1, Background2 = A.ColorSchemeIndexValues.Light2, Text2 = A.ColorSchemeIndexValues.Dark2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            SlideLayoutIdList slideLayoutIdList1 = new SlideLayoutIdList();
            SlideLayoutId slideLayoutId1 = new SlideLayoutId(){ Id = (UInt32Value)2147483649U, RelationshipId = "rId1" };
            SlideLayoutId slideLayoutId2 = new SlideLayoutId(){ Id = (UInt32Value)2147483650U, RelationshipId = "rId2" };
            SlideLayoutId slideLayoutId3 = new SlideLayoutId(){ Id = (UInt32Value)2147483651U, RelationshipId = "rId3" };
            SlideLayoutId slideLayoutId4 = new SlideLayoutId(){ Id = (UInt32Value)2147483652U, RelationshipId = "rId4" };
            SlideLayoutId slideLayoutId5 = new SlideLayoutId(){ Id = (UInt32Value)2147483653U, RelationshipId = "rId5" };
            SlideLayoutId slideLayoutId6 = new SlideLayoutId(){ Id = (UInt32Value)2147483654U, RelationshipId = "rId6" };
            SlideLayoutId slideLayoutId7 = new SlideLayoutId(){ Id = (UInt32Value)2147483655U, RelationshipId = "rId7" };
            SlideLayoutId slideLayoutId8 = new SlideLayoutId(){ Id = (UInt32Value)2147483656U, RelationshipId = "rId8" };
            SlideLayoutId slideLayoutId9 = new SlideLayoutId(){ Id = (UInt32Value)2147483657U, RelationshipId = "rId9" };
            SlideLayoutId slideLayoutId10 = new SlideLayoutId(){ Id = (UInt32Value)2147483658U, RelationshipId = "rId10" };
            SlideLayoutId slideLayoutId11 = new SlideLayoutId(){ Id = (UInt32Value)2147483659U, RelationshipId = "rId11" };

            slideLayoutIdList1.Append(slideLayoutId1);
            slideLayoutIdList1.Append(slideLayoutId2);
            slideLayoutIdList1.Append(slideLayoutId3);
            slideLayoutIdList1.Append(slideLayoutId4);
            slideLayoutIdList1.Append(slideLayoutId5);
            slideLayoutIdList1.Append(slideLayoutId6);
            slideLayoutIdList1.Append(slideLayoutId7);
            slideLayoutIdList1.Append(slideLayoutId8);
            slideLayoutIdList1.Append(slideLayoutId9);
            slideLayoutIdList1.Append(slideLayoutId10);
            slideLayoutIdList1.Append(slideLayoutId11);

            TextStyles textStyles1 = new TextStyles();

            TitleStyle titleStyle1 = new TitleStyle();

            A.Level1ParagraphProperties level1ParagraphProperties10 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore1 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore1.Append(spacingPercent1);
            A.NoBullet noBullet10 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties35 = new A.DefaultRunProperties(){ FontSize = 4400, Kerning = 1200 };

            A.SolidFill solidFill37 = new A.SolidFill();
            A.SchemeColor schemeColor49 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill37.Append(schemeColor49);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties35.Append(solidFill37);
            defaultRunProperties35.Append(latinFont21);
            defaultRunProperties35.Append(eastAsianFont21);
            defaultRunProperties35.Append(complexScriptFont21);

            level1ParagraphProperties10.Append(spaceBefore1);
            level1ParagraphProperties10.Append(noBullet10);
            level1ParagraphProperties10.Append(defaultRunProperties35);

            titleStyle1.Append(level1ParagraphProperties10);

            BodyStyle bodyStyle1 = new BodyStyle();

            A.Level1ParagraphProperties level1ParagraphProperties11 = new A.Level1ParagraphProperties(){ LeftMargin = 342900, Indent = -342900, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore2 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore2.Append(spacingPercent2);
            A.BulletFont bulletFont1 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet1 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties36 = new A.DefaultRunProperties(){ FontSize = 3200, Kerning = 1200 };

            A.SolidFill solidFill38 = new A.SolidFill();
            A.SchemeColor schemeColor50 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill38.Append(schemeColor50);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties36.Append(solidFill38);
            defaultRunProperties36.Append(latinFont22);
            defaultRunProperties36.Append(eastAsianFont22);
            defaultRunProperties36.Append(complexScriptFont22);

            level1ParagraphProperties11.Append(spaceBefore2);
            level1ParagraphProperties11.Append(bulletFont1);
            level1ParagraphProperties11.Append(characterBullet1);
            level1ParagraphProperties11.Append(defaultRunProperties36);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties(){ LeftMargin = 742950, Indent = -285750, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore3 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore3.Append(spacingPercent3);
            A.BulletFont bulletFont2 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet2 = new A.CharacterBullet(){ Char = "–" };

            A.DefaultRunProperties defaultRunProperties37 = new A.DefaultRunProperties(){ FontSize = 2800, Kerning = 1200 };

            A.SolidFill solidFill39 = new A.SolidFill();
            A.SchemeColor schemeColor51 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill39.Append(schemeColor51);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties37.Append(solidFill39);
            defaultRunProperties37.Append(latinFont23);
            defaultRunProperties37.Append(eastAsianFont23);
            defaultRunProperties37.Append(complexScriptFont23);

            level2ParagraphProperties4.Append(spaceBefore3);
            level2ParagraphProperties4.Append(bulletFont2);
            level2ParagraphProperties4.Append(characterBullet2);
            level2ParagraphProperties4.Append(defaultRunProperties37);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties(){ LeftMargin = 1143000, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore4 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore4.Append(spacingPercent4);
            A.BulletFont bulletFont3 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet3 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties38 = new A.DefaultRunProperties(){ FontSize = 2400, Kerning = 1200 };

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

            solidFill40.Append(schemeColor52);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties38.Append(solidFill40);
            defaultRunProperties38.Append(latinFont24);
            defaultRunProperties38.Append(eastAsianFont24);
            defaultRunProperties38.Append(complexScriptFont24);

            level3ParagraphProperties4.Append(spaceBefore4);
            level3ParagraphProperties4.Append(bulletFont3);
            level3ParagraphProperties4.Append(characterBullet3);
            level3ParagraphProperties4.Append(defaultRunProperties38);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties(){ LeftMargin = 1600200, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore5 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore5.Append(spacingPercent5);
            A.BulletFont bulletFont4 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet4 = new A.CharacterBullet(){ Char = "–" };

            A.DefaultRunProperties defaultRunProperties39 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill41 = new A.SolidFill();
            A.SchemeColor schemeColor53 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill41.Append(schemeColor53);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties39.Append(solidFill41);
            defaultRunProperties39.Append(latinFont25);
            defaultRunProperties39.Append(eastAsianFont25);
            defaultRunProperties39.Append(complexScriptFont25);

            level4ParagraphProperties4.Append(spaceBefore5);
            level4ParagraphProperties4.Append(bulletFont4);
            level4ParagraphProperties4.Append(characterBullet4);
            level4ParagraphProperties4.Append(defaultRunProperties39);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties(){ LeftMargin = 2057400, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore6 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore6.Append(spacingPercent6);
            A.BulletFont bulletFont5 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet5 = new A.CharacterBullet(){ Char = "»" };

            A.DefaultRunProperties defaultRunProperties40 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill42 = new A.SolidFill();
            A.SchemeColor schemeColor54 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill42.Append(schemeColor54);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties40.Append(solidFill42);
            defaultRunProperties40.Append(latinFont26);
            defaultRunProperties40.Append(eastAsianFont26);
            defaultRunProperties40.Append(complexScriptFont26);

            level5ParagraphProperties4.Append(spaceBefore6);
            level5ParagraphProperties4.Append(bulletFont5);
            level5ParagraphProperties4.Append(characterBullet5);
            level5ParagraphProperties4.Append(defaultRunProperties40);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties(){ LeftMargin = 2514600, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore7 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore7.Append(spacingPercent7);
            A.BulletFont bulletFont6 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet6 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties41 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill43 = new A.SolidFill();
            A.SchemeColor schemeColor55 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill43.Append(schemeColor55);
            A.LatinFont latinFont27 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties41.Append(solidFill43);
            defaultRunProperties41.Append(latinFont27);
            defaultRunProperties41.Append(eastAsianFont27);
            defaultRunProperties41.Append(complexScriptFont27);

            level6ParagraphProperties4.Append(spaceBefore7);
            level6ParagraphProperties4.Append(bulletFont6);
            level6ParagraphProperties4.Append(characterBullet6);
            level6ParagraphProperties4.Append(defaultRunProperties41);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties(){ LeftMargin = 2971800, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore8 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore8.Append(spacingPercent8);
            A.BulletFont bulletFont7 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet7 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties42 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill44 = new A.SolidFill();
            A.SchemeColor schemeColor56 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill44.Append(schemeColor56);
            A.LatinFont latinFont28 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties42.Append(solidFill44);
            defaultRunProperties42.Append(latinFont28);
            defaultRunProperties42.Append(eastAsianFont28);
            defaultRunProperties42.Append(complexScriptFont28);

            level7ParagraphProperties4.Append(spaceBefore8);
            level7ParagraphProperties4.Append(bulletFont7);
            level7ParagraphProperties4.Append(characterBullet7);
            level7ParagraphProperties4.Append(defaultRunProperties42);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties(){ LeftMargin = 3429000, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore9 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore9.Append(spacingPercent9);
            A.BulletFont bulletFont8 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet8 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties43 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill45 = new A.SolidFill();
            A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill45.Append(schemeColor57);
            A.LatinFont latinFont29 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties43.Append(solidFill45);
            defaultRunProperties43.Append(latinFont29);
            defaultRunProperties43.Append(eastAsianFont29);
            defaultRunProperties43.Append(complexScriptFont29);

            level8ParagraphProperties4.Append(spaceBefore9);
            level8ParagraphProperties4.Append(bulletFont8);
            level8ParagraphProperties4.Append(characterBullet8);
            level8ParagraphProperties4.Append(defaultRunProperties43);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties(){ LeftMargin = 3886200, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore10 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore10.Append(spacingPercent10);
            A.BulletFont bulletFont9 = new A.BulletFont(){ Typeface = "Arial", PitchFamily = 34, CharacterSet = 0 };
            A.CharacterBullet characterBullet9 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties44 = new A.DefaultRunProperties(){ FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill46 = new A.SolidFill();
            A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill46.Append(schemeColor58);
            A.LatinFont latinFont30 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties44.Append(solidFill46);
            defaultRunProperties44.Append(latinFont30);
            defaultRunProperties44.Append(eastAsianFont30);
            defaultRunProperties44.Append(complexScriptFont30);

            level9ParagraphProperties4.Append(spaceBefore10);
            level9ParagraphProperties4.Append(bulletFont9);
            level9ParagraphProperties4.Append(characterBullet9);
            level9ParagraphProperties4.Append(defaultRunProperties44);

            bodyStyle1.Append(level1ParagraphProperties11);
            bodyStyle1.Append(level2ParagraphProperties4);
            bodyStyle1.Append(level3ParagraphProperties4);
            bodyStyle1.Append(level4ParagraphProperties4);
            bodyStyle1.Append(level5ParagraphProperties4);
            bodyStyle1.Append(level6ParagraphProperties4);
            bodyStyle1.Append(level7ParagraphProperties4);
            bodyStyle1.Append(level8ParagraphProperties4);
            bodyStyle1.Append(level9ParagraphProperties4);

            OtherStyle otherStyle1 = new OtherStyle();

            A.DefaultParagraphProperties defaultParagraphProperties2 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties defaultRunProperties45 = new A.DefaultRunProperties(){ Language = "en-US" };

            defaultParagraphProperties2.Append(defaultRunProperties45);

            A.Level1ParagraphProperties level1ParagraphProperties12 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties46 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill47 = new A.SolidFill();
            A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill47.Append(schemeColor59);
            A.LatinFont latinFont31 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont31 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont31 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties46.Append(solidFill47);
            defaultRunProperties46.Append(latinFont31);
            defaultRunProperties46.Append(eastAsianFont31);
            defaultRunProperties46.Append(complexScriptFont31);

            level1ParagraphProperties12.Append(defaultRunProperties46);

            A.Level2ParagraphProperties level2ParagraphProperties5 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties47 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill48 = new A.SolidFill();
            A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill48.Append(schemeColor60);
            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" };

            defaultRunProperties47.Append(solidFill48);
            defaultRunProperties47.Append(latinFont32);
            defaultRunProperties47.Append(eastAsianFont32);
            defaultRunProperties47.Append(complexScriptFont32);

            level2ParagraphProperties5.Append(defaultRunProperties47);

            A.Level3ParagraphProperties level3ParagraphProperties5 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

            A.SolidFill solidFill49 = new A.SolidFill();
            A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill49.Append(schemeColor61);
            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" };

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

            level3ParagraphProperties5.Append(defaultRunProperties48);

            A.Level4ParagraphProperties level4ParagraphProperties5 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties49 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill50 = new A.SolidFill();
            A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill50.Append(schemeColor62);
            A.LatinFont latinFont34 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont34 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont34 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties49.Append(solidFill50);
            defaultRunProperties49.Append(latinFont34);
            defaultRunProperties49.Append(eastAsianFont34);
            defaultRunProperties49.Append(complexScriptFont34);

            level4ParagraphProperties5.Append(defaultRunProperties49);

            A.Level5ParagraphProperties level5ParagraphProperties5 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties50 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill51 = new A.SolidFill();
            A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill51.Append(schemeColor63);
            A.LatinFont latinFont35 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont35 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont35 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties50.Append(solidFill51);
            defaultRunProperties50.Append(latinFont35);
            defaultRunProperties50.Append(eastAsianFont35);
            defaultRunProperties50.Append(complexScriptFont35);

            level5ParagraphProperties5.Append(defaultRunProperties50);

            A.Level6ParagraphProperties level6ParagraphProperties5 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties51 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill52 = new A.SolidFill();
            A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill52.Append(schemeColor64);
            A.LatinFont latinFont36 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont36 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont36 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties51.Append(solidFill52);
            defaultRunProperties51.Append(latinFont36);
            defaultRunProperties51.Append(eastAsianFont36);
            defaultRunProperties51.Append(complexScriptFont36);

            level6ParagraphProperties5.Append(defaultRunProperties51);

            A.Level7ParagraphProperties level7ParagraphProperties5 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties52 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill53 = new A.SolidFill();
            A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill53.Append(schemeColor65);
            A.LatinFont latinFont37 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont37 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont37 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties52.Append(solidFill53);
            defaultRunProperties52.Append(latinFont37);
            defaultRunProperties52.Append(eastAsianFont37);
            defaultRunProperties52.Append(complexScriptFont37);

            level7ParagraphProperties5.Append(defaultRunProperties52);

            A.Level8ParagraphProperties level8ParagraphProperties5 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties53 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill54 = new A.SolidFill();
            A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill54.Append(schemeColor66);
            A.LatinFont latinFont38 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont38 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont38 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties53.Append(solidFill54);
            defaultRunProperties53.Append(latinFont38);
            defaultRunProperties53.Append(eastAsianFont38);
            defaultRunProperties53.Append(complexScriptFont38);

            level8ParagraphProperties5.Append(defaultRunProperties53);

            A.Level9ParagraphProperties level9ParagraphProperties5 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties54 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill55 = new A.SolidFill();
            A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill55.Append(schemeColor67);
            A.LatinFont latinFont39 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont39 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont39 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties54.Append(solidFill55);
            defaultRunProperties54.Append(latinFont39);
            defaultRunProperties54.Append(eastAsianFont39);
            defaultRunProperties54.Append(complexScriptFont39);

            level9ParagraphProperties5.Append(defaultRunProperties54);

            otherStyle1.Append(defaultParagraphProperties2);
            otherStyle1.Append(level1ParagraphProperties12);
            otherStyle1.Append(level2ParagraphProperties5);
            otherStyle1.Append(level3ParagraphProperties5);
            otherStyle1.Append(level4ParagraphProperties5);
            otherStyle1.Append(level5ParagraphProperties5);
            otherStyle1.Append(level6ParagraphProperties5);
            otherStyle1.Append(level7ParagraphProperties5);
            otherStyle1.Append(level8ParagraphProperties5);
            otherStyle1.Append(level9ParagraphProperties5);

            textStyles1.Append(titleStyle1);
            textStyles1.Append(bodyStyle1);
            textStyles1.Append(otherStyle1);

            slideMaster1.Append(commonSlideData4);
            slideMaster1.Append(colorMap2);
            slideMaster1.Append(slideLayoutIdList1);
            slideMaster1.Append(textStyles1);

            slideMasterPart1.SlideMaster = slideMaster1;
        }
        // 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 slideLayoutPart6.
        private void GenerateSlideLayoutPart6Content(SlideLayoutPart slideLayoutPart6)
        {
            SlideLayout slideLayout6 = new SlideLayout(){ Preserve = true };
            slideLayout6.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout6.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData8 = new CommonSlideData(){ Name = "Quote with Caption" };

            ShapeTree shapeTree8 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties8 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties64 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties8 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties64 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties8.Append(nonVisualDrawingProperties64);
            nonVisualGroupShapeProperties8.Append(nonVisualGroupShapeDrawingProperties8);
            nonVisualGroupShapeProperties8.Append(applicationNonVisualDrawingProperties64);

            GroupShapeProperties groupShapeProperties8 = new GroupShapeProperties();

            A.TransformGroup transformGroup8 = new A.TransformGroup();
            A.Offset offset47 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents47 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset8 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents8 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup8.Append(offset47);
            transformGroup8.Append(extents47);
            transformGroup8.Append(childOffset8);
            transformGroup8.Append(childExtents8);

            groupShapeProperties8.Append(transformGroup8);

            Shape shape32 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties32 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks32 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties32.Append(shapeLocks32);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties65 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape32 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties65.Append(placeholderShape32);

            nonVisualShapeProperties32.Append(nonVisualDrawingProperties65);
            nonVisualShapeProperties32.Append(nonVisualShapeDrawingProperties32);
            nonVisualShapeProperties32.Append(applicationNonVisualDrawingProperties65);

            ShapeProperties shapeProperties57 = new ShapeProperties();

            A.Transform2D transform2D40 = new A.Transform2D();
            A.Offset offset48 = new A.Offset(){ X = 1141709L, Y = 685800L };
            A.Extents extents48 = new A.Extents(){ Cx = 9146383L, Cy = 2743200L };

            transform2D40.Append(offset48);
            transform2D40.Append(extents48);

            shapeProperties57.Append(transform2D40);

            TextBody textBody32 = new TextBody();

            A.BodyProperties bodyProperties32 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit12 = new A.NormalAutoFit();

            bodyProperties32.Append(normalAutoFit12);

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

            A.Level1ParagraphProperties level1ParagraphProperties17 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };

            A.DefaultRunProperties defaultRunProperties91 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.SolidFill solidFill97 = new A.SolidFill();
            A.SchemeColor schemeColor211 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill97.Append(schemeColor211);

            defaultRunProperties91.Append(solidFill97);

            level1ParagraphProperties17.Append(defaultRunProperties91);

            listStyle32.Append(level1ParagraphProperties17);

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

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

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

            run23.Append(runProperties35);
            run23.Append(text35);
            A.EndParagraphRunProperties endParagraphRunProperties29 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph40.Append(run23);
            paragraph40.Append(endParagraphRunProperties29);

            textBody32.Append(bodyProperties32);
            textBody32.Append(listStyle32);
            textBody32.Append(paragraph40);

            shape32.Append(nonVisualShapeProperties32);
            shape32.Append(shapeProperties57);
            shape32.Append(textBody32);

            Shape shape33 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties33 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks33 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties33.Append(shapeLocks33);

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

            applicationNonVisualDrawingProperties66.Append(placeholderShape33);

            nonVisualShapeProperties33.Append(nonVisualDrawingProperties66);
            nonVisualShapeProperties33.Append(nonVisualShapeDrawingProperties33);
            nonVisualShapeProperties33.Append(applicationNonVisualDrawingProperties66);

            ShapeProperties shapeProperties58 = new ShapeProperties();

            A.Transform2D transform2D41 = new A.Transform2D();
            A.Offset offset49 = new A.Offset(){ X = 684391L, Y = 4301068L };
            A.Extents extents49 = new A.Extents(){ Cx = 8536623L, Cy = 1684865L };

            transform2D41.Append(offset49);
            transform2D41.Append(extents49);

            shapeProperties58.Append(transform2D41);

            TextBody textBody33 = new TextBody();

            A.BodyProperties bodyProperties33 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit13 = new A.NormalAutoFit();

            bodyProperties33.Append(normalAutoFit13);

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

            A.Level1ParagraphProperties level1ParagraphProperties18 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left };
            A.NoBullet noBullet38 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor212 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation19 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor212.Append(luminanceModulation19);

            solidFill98.Append(schemeColor212);

            defaultRunProperties92.Append(solidFill98);

            level1ParagraphProperties18.Append(noBullet38);
            level1ParagraphProperties18.Append(defaultRunProperties92);

            A.Level2ParagraphProperties level2ParagraphProperties10 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet39 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor213 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint31 = new A.Tint(){ Val = 75000 };

            schemeColor213.Append(tint31);

            solidFill99.Append(schemeColor213);

            defaultRunProperties93.Append(solidFill99);

            level2ParagraphProperties10.Append(noBullet39);
            level2ParagraphProperties10.Append(defaultRunProperties93);

            A.Level3ParagraphProperties level3ParagraphProperties10 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet40 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor214 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint32 = new A.Tint(){ Val = 75000 };

            schemeColor214.Append(tint32);

            solidFill100.Append(schemeColor214);

            defaultRunProperties94.Append(solidFill100);

            level3ParagraphProperties10.Append(noBullet40);
            level3ParagraphProperties10.Append(defaultRunProperties94);

            A.Level4ParagraphProperties level4ParagraphProperties10 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet41 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor215 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint33 = new A.Tint(){ Val = 75000 };

            schemeColor215.Append(tint33);

            solidFill101.Append(schemeColor215);

            defaultRunProperties95.Append(solidFill101);

            level4ParagraphProperties10.Append(noBullet41);
            level4ParagraphProperties10.Append(defaultRunProperties95);

            A.Level5ParagraphProperties level5ParagraphProperties10 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet42 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor216 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint34 = new A.Tint(){ Val = 75000 };

            schemeColor216.Append(tint34);

            solidFill102.Append(schemeColor216);

            defaultRunProperties96.Append(solidFill102);

            level5ParagraphProperties10.Append(noBullet42);
            level5ParagraphProperties10.Append(defaultRunProperties96);

            A.Level6ParagraphProperties level6ParagraphProperties10 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet43 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor217 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint35 = new A.Tint(){ Val = 75000 };

            schemeColor217.Append(tint35);

            solidFill103.Append(schemeColor217);

            defaultRunProperties97.Append(solidFill103);

            level6ParagraphProperties10.Append(noBullet43);
            level6ParagraphProperties10.Append(defaultRunProperties97);

            A.Level7ParagraphProperties level7ParagraphProperties10 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet44 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor218 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint36 = new A.Tint(){ Val = 75000 };

            schemeColor218.Append(tint36);

            solidFill104.Append(schemeColor218);

            defaultRunProperties98.Append(solidFill104);

            level7ParagraphProperties10.Append(noBullet44);
            level7ParagraphProperties10.Append(defaultRunProperties98);

            A.Level8ParagraphProperties level8ParagraphProperties10 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet45 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor219 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint37 = new A.Tint(){ Val = 75000 };

            schemeColor219.Append(tint37);

            solidFill105.Append(schemeColor219);

            defaultRunProperties99.Append(solidFill105);

            level8ParagraphProperties10.Append(noBullet45);
            level8ParagraphProperties10.Append(defaultRunProperties99);

            A.Level9ParagraphProperties level9ParagraphProperties10 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet46 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor220 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint38 = new A.Tint(){ Val = 75000 };

            schemeColor220.Append(tint38);

            solidFill106.Append(schemeColor220);

            defaultRunProperties100.Append(solidFill106);

            level9ParagraphProperties10.Append(noBullet46);
            level9ParagraphProperties10.Append(defaultRunProperties100);

            listStyle33.Append(level1ParagraphProperties18);
            listStyle33.Append(level2ParagraphProperties10);
            listStyle33.Append(level3ParagraphProperties10);
            listStyle33.Append(level4ParagraphProperties10);
            listStyle33.Append(level5ParagraphProperties10);
            listStyle33.Append(level6ParagraphProperties10);
            listStyle33.Append(level7ParagraphProperties10);
            listStyle33.Append(level8ParagraphProperties10);
            listStyle33.Append(level9ParagraphProperties10);

            A.Paragraph paragraph41 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties14 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run24.Append(runProperties36);
            run24.Append(text36);

            paragraph41.Append(paragraphProperties14);
            paragraph41.Append(run24);

            textBody33.Append(bodyProperties33);
            textBody33.Append(listStyle33);
            textBody33.Append(paragraph41);

            shape33.Append(nonVisualShapeProperties33);
            shape33.Append(shapeProperties58);
            shape33.Append(textBody33);

            Shape shape34 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties34 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks34 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties34.Append(shapeLocks34);

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

            applicationNonVisualDrawingProperties67.Append(placeholderShape34);

            nonVisualShapeProperties34.Append(nonVisualDrawingProperties67);
            nonVisualShapeProperties34.Append(nonVisualShapeDrawingProperties34);
            nonVisualShapeProperties34.Append(applicationNonVisualDrawingProperties67);
            ShapeProperties shapeProperties59 = new ShapeProperties();

            TextBody textBody34 = new TextBody();
            A.BodyProperties bodyProperties34 = new A.BodyProperties();
            A.ListStyle listStyle34 = new A.ListStyle();

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

            A.Field field13 = new A.Field(){ Id = "{CE1A2D98-1BBD-4706-A118-AAC2A16BEAD3}", Type = "datetimeFigureOut" };

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

            field13.Append(runProperties37);
            field13.Append(text37);
            A.EndParagraphRunProperties endParagraphRunProperties30 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph42.Append(field13);
            paragraph42.Append(endParagraphRunProperties30);

            textBody34.Append(bodyProperties34);
            textBody34.Append(listStyle34);
            textBody34.Append(paragraph42);

            shape34.Append(nonVisualShapeProperties34);
            shape34.Append(shapeProperties59);
            shape34.Append(textBody34);

            Shape shape35 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties35 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks35 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties35.Append(shapeLocks35);

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

            applicationNonVisualDrawingProperties68.Append(placeholderShape35);

            nonVisualShapeProperties35.Append(nonVisualDrawingProperties68);
            nonVisualShapeProperties35.Append(nonVisualShapeDrawingProperties35);
            nonVisualShapeProperties35.Append(applicationNonVisualDrawingProperties68);
            ShapeProperties shapeProperties60 = new ShapeProperties();

            TextBody textBody35 = new TextBody();
            A.BodyProperties bodyProperties35 = new A.BodyProperties();
            A.ListStyle listStyle35 = new A.ListStyle();

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

            paragraph43.Append(endParagraphRunProperties31);

            textBody35.Append(bodyProperties35);
            textBody35.Append(listStyle35);
            textBody35.Append(paragraph43);

            shape35.Append(nonVisualShapeProperties35);
            shape35.Append(shapeProperties60);
            shape35.Append(textBody35);

            Shape shape36 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties36 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks36 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties36.Append(shapeLocks36);

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

            applicationNonVisualDrawingProperties69.Append(placeholderShape36);

            nonVisualShapeProperties36.Append(nonVisualDrawingProperties69);
            nonVisualShapeProperties36.Append(nonVisualShapeDrawingProperties36);
            nonVisualShapeProperties36.Append(applicationNonVisualDrawingProperties69);
            ShapeProperties shapeProperties61 = new ShapeProperties();

            TextBody textBody36 = new TextBody();
            A.BodyProperties bodyProperties36 = new A.BodyProperties();
            A.ListStyle listStyle36 = new A.ListStyle();

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

            A.Field field14 = new A.Field(){ Id = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field14.Append(runProperties38);
            field14.Append(text38);
            A.EndParagraphRunProperties endParagraphRunProperties32 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph44.Append(field14);
            paragraph44.Append(endParagraphRunProperties32);

            textBody36.Append(bodyProperties36);
            textBody36.Append(listStyle36);
            textBody36.Append(paragraph44);

            shape36.Append(nonVisualShapeProperties36);
            shape36.Append(shapeProperties61);
            shape36.Append(textBody36);

            Shape shape37 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties37 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties70 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Text Placeholder 9" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties37 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks37 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties37.Append(shapeLocks37);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties70 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape37 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)13U };

            applicationNonVisualDrawingProperties70.Append(placeholderShape37);

            nonVisualShapeProperties37.Append(nonVisualDrawingProperties70);
            nonVisualShapeProperties37.Append(nonVisualShapeDrawingProperties37);
            nonVisualShapeProperties37.Append(applicationNonVisualDrawingProperties70);

            ShapeProperties shapeProperties62 = new ShapeProperties();

            A.Transform2D transform2D42 = new A.Transform2D();
            A.Offset offset50 = new A.Offset(){ X = 1446589L, Y = 3429000L };
            A.Extents extents50 = new A.Extents(){ Cx = 8536623L, Cy = 381000L };

            transform2D42.Append(offset50);
            transform2D42.Append(extents50);

            shapeProperties62.Append(transform2D42);

            TextBody textBody37 = new TextBody();
            A.BodyProperties bodyProperties37 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };

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

            A.Level1ParagraphProperties level1ParagraphProperties19 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.BulletFontText bulletFontText1 = new A.BulletFontText();
            A.NoBullet noBullet47 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties101 = new A.DefaultRunProperties();

            level1ParagraphProperties19.Append(bulletFontText1);
            level1ParagraphProperties19.Append(noBullet47);
            level1ParagraphProperties19.Append(defaultRunProperties101);

            A.Level2ParagraphProperties level2ParagraphProperties11 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.BulletFontText bulletFontText2 = new A.BulletFontText();
            A.NoBullet noBullet48 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties102 = new A.DefaultRunProperties();

            level2ParagraphProperties11.Append(bulletFontText2);
            level2ParagraphProperties11.Append(noBullet48);
            level2ParagraphProperties11.Append(defaultRunProperties102);

            A.Level3ParagraphProperties level3ParagraphProperties11 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.BulletFontText bulletFontText3 = new A.BulletFontText();
            A.NoBullet noBullet49 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties103 = new A.DefaultRunProperties();

            level3ParagraphProperties11.Append(bulletFontText3);
            level3ParagraphProperties11.Append(noBullet49);
            level3ParagraphProperties11.Append(defaultRunProperties103);

            A.Level4ParagraphProperties level4ParagraphProperties11 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.BulletFontText bulletFontText4 = new A.BulletFontText();
            A.NoBullet noBullet50 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties104 = new A.DefaultRunProperties();

            level4ParagraphProperties11.Append(bulletFontText4);
            level4ParagraphProperties11.Append(noBullet50);
            level4ParagraphProperties11.Append(defaultRunProperties104);

            A.Level5ParagraphProperties level5ParagraphProperties11 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.BulletFontText bulletFontText5 = new A.BulletFontText();
            A.NoBullet noBullet51 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties105 = new A.DefaultRunProperties();

            level5ParagraphProperties11.Append(bulletFontText5);
            level5ParagraphProperties11.Append(noBullet51);
            level5ParagraphProperties11.Append(defaultRunProperties105);

            listStyle37.Append(level1ParagraphProperties19);
            listStyle37.Append(level2ParagraphProperties11);
            listStyle37.Append(level3ParagraphProperties11);
            listStyle37.Append(level4ParagraphProperties11);
            listStyle37.Append(level5ParagraphProperties11);

            A.Paragraph paragraph45 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties15 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run25.Append(runProperties39);
            run25.Append(text39);

            paragraph45.Append(paragraphProperties15);
            paragraph45.Append(run25);

            textBody37.Append(bodyProperties37);
            textBody37.Append(listStyle37);
            textBody37.Append(paragraph45);

            shape37.Append(nonVisualShapeProperties37);
            shape37.Append(shapeProperties62);
            shape37.Append(textBody37);

            Shape shape38 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties38 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties71 = new NonVisualDrawingProperties(){ Id = (UInt32Value)14U, Name = "TextBox 13" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties38 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties71 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties38.Append(nonVisualDrawingProperties71);
            nonVisualShapeProperties38.Append(nonVisualShapeDrawingProperties38);
            nonVisualShapeProperties38.Append(applicationNonVisualDrawingProperties71);

            ShapeProperties shapeProperties63 = new ShapeProperties();

            A.Transform2D transform2D43 = new A.Transform2D();
            A.Offset offset51 = new A.Offset(){ X = 531950L, Y = 812222L };
            A.Extents extents51 = new A.Extents(){ Cx = 609759L, Cy = 584776L };

            transform2D43.Append(offset51);
            transform2D43.Append(extents51);

            A.PresetGeometry presetGeometry31 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList31 = new A.AdjustValueList();

            presetGeometry31.Append(adjustValueList31);

            shapeProperties63.Append(transform2D43);
            shapeProperties63.Append(presetGeometry31);

            TextBody textBody38 = new TextBody();

            A.BodyProperties bodyProperties38 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NoAutoFit noAutoFit1 = new A.NoAutoFit();

            bodyProperties38.Append(noAutoFit1);

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

            A.Level1ParagraphProperties level1ParagraphProperties20 = new A.Level1ParagraphProperties();

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

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

            A.DefaultRunProperties defaultRunProperties106 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.Outline outline30 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill2 = new A.NoFill();

            outline30.Append(noFill2);

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

            A.Glow glow1 = new A.Glow(){ Radius = 38100L };

            A.SchemeColor schemeColor221 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };
            A.LuminanceModulation luminanceModulation20 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset1 = new A.LuminanceOffset(){ Val = 35000 };
            A.Alpha alpha4 = new A.Alpha(){ Val = 40000 };

            schemeColor221.Append(luminanceModulation20);
            schemeColor221.Append(luminanceOffset1);
            schemeColor221.Append(alpha4);

            glow1.Append(schemeColor221);

            A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 28575L, Distance = 38100L, Direction = 14040000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha5 = new A.Alpha(){ Val = 25000 };

            rgbColorModelHex13.Append(alpha5);

            outerShadow2.Append(rgbColorModelHex13);

            effectList15.Append(glow1);
            effectList15.Append(outerShadow2);
            A.LatinFont latinFont34 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont31 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont31 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties106.Append(outline30);
            defaultRunProperties106.Append(effectList15);
            defaultRunProperties106.Append(latinFont34);
            defaultRunProperties106.Append(eastAsianFont31);
            defaultRunProperties106.Append(complexScriptFont31);

            level1ParagraphProperties20.Append(spaceBefore11);
            level1ParagraphProperties20.Append(noBullet52);
            level1ParagraphProperties20.Append(defaultRunProperties106);

            A.Level2ParagraphProperties level2ParagraphProperties12 = new A.Level2ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties107 = new A.DefaultRunProperties();

            A.SolidFill solidFill107 = new A.SolidFill();
            A.SchemeColor schemeColor222 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill107.Append(schemeColor222);

            defaultRunProperties107.Append(solidFill107);

            level2ParagraphProperties12.Append(defaultRunProperties107);

            A.Level3ParagraphProperties level3ParagraphProperties12 = new A.Level3ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties108 = new A.DefaultRunProperties();

            A.SolidFill solidFill108 = new A.SolidFill();
            A.SchemeColor schemeColor223 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill108.Append(schemeColor223);

            defaultRunProperties108.Append(solidFill108);

            level3ParagraphProperties12.Append(defaultRunProperties108);

            A.Level4ParagraphProperties level4ParagraphProperties12 = new A.Level4ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties109 = new A.DefaultRunProperties();

            A.SolidFill solidFill109 = new A.SolidFill();
            A.SchemeColor schemeColor224 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill109.Append(schemeColor224);

            defaultRunProperties109.Append(solidFill109);

            level4ParagraphProperties12.Append(defaultRunProperties109);

            A.Level5ParagraphProperties level5ParagraphProperties12 = new A.Level5ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties110 = new A.DefaultRunProperties();

            A.SolidFill solidFill110 = new A.SolidFill();
            A.SchemeColor schemeColor225 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill110.Append(schemeColor225);

            defaultRunProperties110.Append(solidFill110);

            level5ParagraphProperties12.Append(defaultRunProperties110);

            A.Level6ParagraphProperties level6ParagraphProperties11 = new A.Level6ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties111 = new A.DefaultRunProperties();

            A.SolidFill solidFill111 = new A.SolidFill();
            A.SchemeColor schemeColor226 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill111.Append(schemeColor226);

            defaultRunProperties111.Append(solidFill111);

            level6ParagraphProperties11.Append(defaultRunProperties111);

            A.Level7ParagraphProperties level7ParagraphProperties11 = new A.Level7ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties112 = new A.DefaultRunProperties();

            A.SolidFill solidFill112 = new A.SolidFill();
            A.SchemeColor schemeColor227 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill112.Append(schemeColor227);

            defaultRunProperties112.Append(solidFill112);

            level7ParagraphProperties11.Append(defaultRunProperties112);

            A.Level8ParagraphProperties level8ParagraphProperties11 = new A.Level8ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties113 = new A.DefaultRunProperties();

            A.SolidFill solidFill113 = new A.SolidFill();
            A.SchemeColor schemeColor228 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill113.Append(schemeColor228);

            defaultRunProperties113.Append(solidFill113);

            level8ParagraphProperties11.Append(defaultRunProperties113);

            A.Level9ParagraphProperties level9ParagraphProperties11 = new A.Level9ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties114 = new A.DefaultRunProperties();

            A.SolidFill solidFill114 = new A.SolidFill();
            A.SchemeColor schemeColor229 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill114.Append(schemeColor229);

            defaultRunProperties114.Append(solidFill114);

            level9ParagraphProperties11.Append(defaultRunProperties114);

            listStyle38.Append(level1ParagraphProperties20);
            listStyle38.Append(level2ParagraphProperties12);
            listStyle38.Append(level3ParagraphProperties12);
            listStyle38.Append(level4ParagraphProperties12);
            listStyle38.Append(level5ParagraphProperties12);
            listStyle38.Append(level6ParagraphProperties11);
            listStyle38.Append(level7ParagraphProperties11);
            listStyle38.Append(level8ParagraphProperties11);
            listStyle38.Append(level9ParagraphProperties11);

            A.Paragraph paragraph46 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties16 = new A.ParagraphProperties(){ Level = 0 };

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

            A.RunProperties runProperties40 = new A.RunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };
            runProperties40.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill115 = new A.SolidFill();
            A.SchemeColor schemeColor230 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill115.Append(schemeColor230);
            A.EffectList effectList16 = new A.EffectList();

            runProperties40.Append(solidFill115);
            runProperties40.Append(effectList16);
            A.Text text40 = new A.Text();
            text40.Text = "“";

            run26.Append(runProperties40);
            run26.Append(text40);

            A.EndParagraphRunProperties endParagraphRunProperties33 = new A.EndParagraphRunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };

            A.SolidFill solidFill116 = new A.SolidFill();
            A.SchemeColor schemeColor231 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill116.Append(schemeColor231);
            A.EffectList effectList17 = new A.EffectList();

            endParagraphRunProperties33.Append(solidFill116);
            endParagraphRunProperties33.Append(effectList17);

            paragraph46.Append(paragraphProperties16);
            paragraph46.Append(run26);
            paragraph46.Append(endParagraphRunProperties33);

            textBody38.Append(bodyProperties38);
            textBody38.Append(listStyle38);
            textBody38.Append(paragraph46);

            shape38.Append(nonVisualShapeProperties38);
            shape38.Append(shapeProperties63);
            shape38.Append(textBody38);

            Shape shape39 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties39 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties72 = new NonVisualDrawingProperties(){ Id = (UInt32Value)15U, Name = "TextBox 14" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties39 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties72 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties39.Append(nonVisualDrawingProperties72);
            nonVisualShapeProperties39.Append(nonVisualShapeDrawingProperties39);
            nonVisualShapeProperties39.Append(applicationNonVisualDrawingProperties72);

            ShapeProperties shapeProperties64 = new ShapeProperties();

            A.Transform2D transform2D44 = new A.Transform2D();
            A.Offset offset52 = new A.Offset(){ X = 10288091L, Y = 2768601L };
            A.Extents extents52 = new A.Extents(){ Cx = 609759L, Cy = 584776L };

            transform2D44.Append(offset52);
            transform2D44.Append(extents52);

            A.PresetGeometry presetGeometry32 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList32 = new A.AdjustValueList();

            presetGeometry32.Append(adjustValueList32);

            shapeProperties64.Append(transform2D44);
            shapeProperties64.Append(presetGeometry32);

            TextBody textBody39 = new TextBody();

            A.BodyProperties bodyProperties39 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NoAutoFit noAutoFit2 = new A.NoAutoFit();

            bodyProperties39.Append(noAutoFit2);

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

            A.Level1ParagraphProperties level1ParagraphProperties21 = new A.Level1ParagraphProperties();

            A.SpaceBefore spaceBefore12 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent12 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore12.Append(spacingPercent12);
            A.NoBullet noBullet53 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties115 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.Outline outline31 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill3 = new A.NoFill();

            outline31.Append(noFill3);

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

            A.Glow glow2 = new A.Glow(){ Radius = 38100L };

            A.SchemeColor schemeColor232 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };
            A.LuminanceModulation luminanceModulation21 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset2 = new A.LuminanceOffset(){ Val = 35000 };
            A.Alpha alpha6 = new A.Alpha(){ Val = 40000 };

            schemeColor232.Append(luminanceModulation21);
            schemeColor232.Append(luminanceOffset2);
            schemeColor232.Append(alpha6);

            glow2.Append(schemeColor232);

            A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 28575L, Distance = 38100L, Direction = 14040000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

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

            rgbColorModelHex14.Append(alpha7);

            outerShadow3.Append(rgbColorModelHex14);

            effectList18.Append(glow2);
            effectList18.Append(outerShadow3);
            A.LatinFont latinFont35 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont32 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont32 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties115.Append(outline31);
            defaultRunProperties115.Append(effectList18);
            defaultRunProperties115.Append(latinFont35);
            defaultRunProperties115.Append(eastAsianFont32);
            defaultRunProperties115.Append(complexScriptFont32);

            level1ParagraphProperties21.Append(spaceBefore12);
            level1ParagraphProperties21.Append(noBullet53);
            level1ParagraphProperties21.Append(defaultRunProperties115);

            A.Level2ParagraphProperties level2ParagraphProperties13 = new A.Level2ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties116 = new A.DefaultRunProperties();

            A.SolidFill solidFill117 = new A.SolidFill();
            A.SchemeColor schemeColor233 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill117.Append(schemeColor233);

            defaultRunProperties116.Append(solidFill117);

            level2ParagraphProperties13.Append(defaultRunProperties116);

            A.Level3ParagraphProperties level3ParagraphProperties13 = new A.Level3ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties117 = new A.DefaultRunProperties();

            A.SolidFill solidFill118 = new A.SolidFill();
            A.SchemeColor schemeColor234 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill118.Append(schemeColor234);

            defaultRunProperties117.Append(solidFill118);

            level3ParagraphProperties13.Append(defaultRunProperties117);

            A.Level4ParagraphProperties level4ParagraphProperties13 = new A.Level4ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties118 = new A.DefaultRunProperties();

            A.SolidFill solidFill119 = new A.SolidFill();
            A.SchemeColor schemeColor235 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill119.Append(schemeColor235);

            defaultRunProperties118.Append(solidFill119);

            level4ParagraphProperties13.Append(defaultRunProperties118);

            A.Level5ParagraphProperties level5ParagraphProperties13 = new A.Level5ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties119 = new A.DefaultRunProperties();

            A.SolidFill solidFill120 = new A.SolidFill();
            A.SchemeColor schemeColor236 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill120.Append(schemeColor236);

            defaultRunProperties119.Append(solidFill120);

            level5ParagraphProperties13.Append(defaultRunProperties119);

            A.Level6ParagraphProperties level6ParagraphProperties12 = new A.Level6ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties120 = new A.DefaultRunProperties();

            A.SolidFill solidFill121 = new A.SolidFill();
            A.SchemeColor schemeColor237 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill121.Append(schemeColor237);

            defaultRunProperties120.Append(solidFill121);

            level6ParagraphProperties12.Append(defaultRunProperties120);

            A.Level7ParagraphProperties level7ParagraphProperties12 = new A.Level7ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties121 = new A.DefaultRunProperties();

            A.SolidFill solidFill122 = new A.SolidFill();
            A.SchemeColor schemeColor238 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill122.Append(schemeColor238);

            defaultRunProperties121.Append(solidFill122);

            level7ParagraphProperties12.Append(defaultRunProperties121);

            A.Level8ParagraphProperties level8ParagraphProperties12 = new A.Level8ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties122 = new A.DefaultRunProperties();

            A.SolidFill solidFill123 = new A.SolidFill();
            A.SchemeColor schemeColor239 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill123.Append(schemeColor239);

            defaultRunProperties122.Append(solidFill123);

            level8ParagraphProperties12.Append(defaultRunProperties122);

            A.Level9ParagraphProperties level9ParagraphProperties12 = new A.Level9ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties123 = new A.DefaultRunProperties();

            A.SolidFill solidFill124 = new A.SolidFill();
            A.SchemeColor schemeColor240 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill124.Append(schemeColor240);

            defaultRunProperties123.Append(solidFill124);

            level9ParagraphProperties12.Append(defaultRunProperties123);

            listStyle39.Append(level1ParagraphProperties21);
            listStyle39.Append(level2ParagraphProperties13);
            listStyle39.Append(level3ParagraphProperties13);
            listStyle39.Append(level4ParagraphProperties13);
            listStyle39.Append(level5ParagraphProperties13);
            listStyle39.Append(level6ParagraphProperties12);
            listStyle39.Append(level7ParagraphProperties12);
            listStyle39.Append(level8ParagraphProperties12);
            listStyle39.Append(level9ParagraphProperties12);

            A.Paragraph paragraph47 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties17 = new A.ParagraphProperties(){ Level = 0, Alignment = A.TextAlignmentTypeValues.Right };

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

            A.RunProperties runProperties41 = new A.RunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };
            runProperties41.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill125 = new A.SolidFill();
            A.SchemeColor schemeColor241 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill125.Append(schemeColor241);
            A.EffectList effectList19 = new A.EffectList();

            runProperties41.Append(solidFill125);
            runProperties41.Append(effectList19);
            A.Text text41 = new A.Text();
            text41.Text = "”";

            run27.Append(runProperties41);
            run27.Append(text41);

            A.EndParagraphRunProperties endParagraphRunProperties34 = new A.EndParagraphRunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };

            A.SolidFill solidFill126 = new A.SolidFill();
            A.SchemeColor schemeColor242 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill126.Append(schemeColor242);
            A.EffectList effectList20 = new A.EffectList();

            endParagraphRunProperties34.Append(solidFill126);
            endParagraphRunProperties34.Append(effectList20);

            paragraph47.Append(paragraphProperties17);
            paragraph47.Append(run27);
            paragraph47.Append(endParagraphRunProperties34);

            textBody39.Append(bodyProperties39);
            textBody39.Append(listStyle39);
            textBody39.Append(paragraph47);

            shape39.Append(nonVisualShapeProperties39);
            shape39.Append(shapeProperties64);
            shape39.Append(textBody39);

            ConnectionShape connectionShape26 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties26 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties73 = new NonVisualDrawingProperties(){ Id = (UInt32Value)23U, Name = "Straight Connector 22" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties26 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties73 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties26.Append(nonVisualDrawingProperties73);
            nonVisualConnectionShapeProperties26.Append(nonVisualConnectorShapeDrawingProperties26);
            nonVisualConnectionShapeProperties26.Append(applicationNonVisualDrawingProperties73);

            ShapeProperties shapeProperties65 = new ShapeProperties();

            A.Transform2D transform2D45 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset53 = new A.Offset(){ X = 11278949L, Y = 2963333L };
            A.Extents extents53 = new A.Extents(){ Cx = 913052L, Cy = 912812L };

            transform2D45.Append(offset53);
            transform2D45.Append(extents53);

            A.PresetGeometry presetGeometry33 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList33 = new A.AdjustValueList();

            presetGeometry33.Append(adjustValueList33);

            A.Outline outline32 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill127 = new A.SolidFill();
            A.SchemeColor schemeColor243 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill127.Append(schemeColor243);

            outline32.Append(solidFill127);

            shapeProperties65.Append(transform2D45);
            shapeProperties65.Append(presetGeometry33);
            shapeProperties65.Append(outline32);

            ShapeStyle shapeStyle26 = new ShapeStyle();

            A.LineReference lineReference26 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor244 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference26.Append(schemeColor244);

            A.FillReference fillReference26 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor245 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference26.Append(schemeColor245);

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

            effectReference26.Append(schemeColor246);

            A.FontReference fontReference26 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor247 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference26.Append(schemeColor247);

            shapeStyle26.Append(lineReference26);
            shapeStyle26.Append(fillReference26);
            shapeStyle26.Append(effectReference26);
            shapeStyle26.Append(fontReference26);

            connectionShape26.Append(nonVisualConnectionShapeProperties26);
            connectionShape26.Append(shapeProperties65);
            connectionShape26.Append(shapeStyle26);

            ConnectionShape connectionShape27 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties27 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties74 = new NonVisualDrawingProperties(){ Id = (UInt32Value)24U, Name = "Straight Connector 23" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties27 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties74 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties27.Append(nonVisualDrawingProperties74);
            nonVisualConnectionShapeProperties27.Append(nonVisualConnectorShapeDrawingProperties27);
            nonVisualConnectionShapeProperties27.Append(applicationNonVisualDrawingProperties74);

            ShapeProperties shapeProperties66 = new ShapeProperties();

            A.Transform2D transform2D46 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset54 = new A.Offset(){ X = 9209368L, Y = 3190344L };
            A.Extents extents54 = new A.Extents(){ Cx = 2982634L, Cy = 2981856L };

            transform2D46.Append(offset54);
            transform2D46.Append(extents54);

            A.PresetGeometry presetGeometry34 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList34 = new A.AdjustValueList();

            presetGeometry34.Append(adjustValueList34);

            A.Outline outline33 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill128 = new A.SolidFill();
            A.SchemeColor schemeColor248 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill128.Append(schemeColor248);

            outline33.Append(solidFill128);

            shapeProperties66.Append(transform2D46);
            shapeProperties66.Append(presetGeometry34);
            shapeProperties66.Append(outline33);

            ShapeStyle shapeStyle27 = new ShapeStyle();

            A.LineReference lineReference27 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor249 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference27.Append(schemeColor249);

            A.FillReference fillReference27 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor250 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference27.Append(schemeColor250);

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

            effectReference27.Append(schemeColor251);

            A.FontReference fontReference27 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor252 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference27.Append(schemeColor252);

            shapeStyle27.Append(lineReference27);
            shapeStyle27.Append(fillReference27);
            shapeStyle27.Append(effectReference27);
            shapeStyle27.Append(fontReference27);

            connectionShape27.Append(nonVisualConnectionShapeProperties27);
            connectionShape27.Append(shapeProperties66);
            connectionShape27.Append(shapeStyle27);

            ConnectionShape connectionShape28 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties28 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties75 = new NonVisualDrawingProperties(){ Id = (UInt32Value)25U, Name = "Straight Connector 24" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties28 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties75 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties28.Append(nonVisualDrawingProperties75);
            nonVisualConnectionShapeProperties28.Append(nonVisualConnectorShapeDrawingProperties28);
            nonVisualConnectionShapeProperties28.Append(applicationNonVisualDrawingProperties75);

            ShapeProperties shapeProperties67 = new ShapeProperties();

            A.Transform2D transform2D47 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset55 = new A.Offset(){ X = 10294973L, Y = 3285068L };
            A.Extents extents55 = new A.Extents(){ Cx = 1897028L, Cy = 1896533L };

            transform2D47.Append(offset55);
            transform2D47.Append(extents55);

            A.PresetGeometry presetGeometry35 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList35 = new A.AdjustValueList();

            presetGeometry35.Append(adjustValueList35);

            A.Outline outline34 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill129 = new A.SolidFill();
            A.SchemeColor schemeColor253 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill129.Append(schemeColor253);

            outline34.Append(solidFill129);

            shapeProperties67.Append(transform2D47);
            shapeProperties67.Append(presetGeometry35);
            shapeProperties67.Append(outline34);

            ShapeStyle shapeStyle28 = new ShapeStyle();

            A.LineReference lineReference28 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor254 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference28.Append(schemeColor254);

            A.FillReference fillReference28 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor255 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference28.Append(schemeColor255);

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

            effectReference28.Append(schemeColor256);

            A.FontReference fontReference28 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor257 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference28.Append(schemeColor257);

            shapeStyle28.Append(lineReference28);
            shapeStyle28.Append(fillReference28);
            shapeStyle28.Append(effectReference28);
            shapeStyle28.Append(fontReference28);

            connectionShape28.Append(nonVisualConnectionShapeProperties28);
            connectionShape28.Append(shapeProperties67);
            connectionShape28.Append(shapeStyle28);

            ConnectionShape connectionShape29 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties29 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties76 = new NonVisualDrawingProperties(){ Id = (UInt32Value)26U, Name = "Straight Connector 25" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties29 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties76 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties29.Append(nonVisualDrawingProperties76);
            nonVisualConnectionShapeProperties29.Append(nonVisualConnectorShapeDrawingProperties29);
            nonVisualConnectionShapeProperties29.Append(applicationNonVisualDrawingProperties76);

            ShapeProperties shapeProperties68 = new ShapeProperties();

            A.Transform2D transform2D48 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset56 = new A.Offset(){ X = 10445823L, Y = 3131080L };
            A.Extents extents56 = new A.Extents(){ Cx = 1746177L, Cy = 1745720L };

            transform2D48.Append(offset56);
            transform2D48.Append(extents56);

            A.PresetGeometry presetGeometry36 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList36 = new A.AdjustValueList();

            presetGeometry36.Append(adjustValueList36);

            A.Outline outline35 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill130 = new A.SolidFill();
            A.SchemeColor schemeColor258 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill130.Append(schemeColor258);

            outline35.Append(solidFill130);

            shapeProperties68.Append(transform2D48);
            shapeProperties68.Append(presetGeometry36);
            shapeProperties68.Append(outline35);

            ShapeStyle shapeStyle29 = new ShapeStyle();

            A.LineReference lineReference29 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor259 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference29.Append(schemeColor259);

            A.FillReference fillReference29 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor260 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference29.Append(schemeColor260);

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

            effectReference29.Append(schemeColor261);

            A.FontReference fontReference29 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor262 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference29.Append(schemeColor262);

            shapeStyle29.Append(lineReference29);
            shapeStyle29.Append(fillReference29);
            shapeStyle29.Append(effectReference29);
            shapeStyle29.Append(fontReference29);

            connectionShape29.Append(nonVisualConnectionShapeProperties29);
            connectionShape29.Append(shapeProperties68);
            connectionShape29.Append(shapeStyle29);

            ConnectionShape connectionShape30 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties30 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties77 = new NonVisualDrawingProperties(){ Id = (UInt32Value)27U, Name = "Straight Connector 26" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties30 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties77 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties30.Append(nonVisualDrawingProperties77);
            nonVisualConnectionShapeProperties30.Append(nonVisualConnectorShapeDrawingProperties30);
            nonVisualConnectionShapeProperties30.Append(applicationNonVisualDrawingProperties77);

            ShapeProperties shapeProperties69 = new ShapeProperties();

            A.Transform2D transform2D49 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset57 = new A.Offset(){ X = 10921671L, Y = 3683002L };
            A.Extents extents57 = new A.Extents(){ Cx = 1270332L, Cy = 1269999L };

            transform2D49.Append(offset57);
            transform2D49.Append(extents57);

            A.PresetGeometry presetGeometry37 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList37 = new A.AdjustValueList();

            presetGeometry37.Append(adjustValueList37);

            A.Outline outline36 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill131 = new A.SolidFill();
            A.SchemeColor schemeColor263 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill131.Append(schemeColor263);

            outline36.Append(solidFill131);

            shapeProperties69.Append(transform2D49);
            shapeProperties69.Append(presetGeometry37);
            shapeProperties69.Append(outline36);

            ShapeStyle shapeStyle30 = new ShapeStyle();

            A.LineReference lineReference30 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor264 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference30.Append(schemeColor264);

            A.FillReference fillReference30 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor265 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference30.Append(schemeColor265);

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

            effectReference30.Append(schemeColor266);

            A.FontReference fontReference30 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor267 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference30.Append(schemeColor267);

            shapeStyle30.Append(lineReference30);
            shapeStyle30.Append(fillReference30);
            shapeStyle30.Append(effectReference30);
            shapeStyle30.Append(fontReference30);

            connectionShape30.Append(nonVisualConnectionShapeProperties30);
            connectionShape30.Append(shapeProperties69);
            connectionShape30.Append(shapeStyle30);

            shapeTree8.Append(nonVisualGroupShapeProperties8);
            shapeTree8.Append(groupShapeProperties8);
            shapeTree8.Append(shape32);
            shapeTree8.Append(shape33);
            shapeTree8.Append(shape34);
            shapeTree8.Append(shape35);
            shapeTree8.Append(shape36);
            shapeTree8.Append(shape37);
            shapeTree8.Append(shape38);
            shapeTree8.Append(shape39);
            shapeTree8.Append(connectionShape26);
            shapeTree8.Append(connectionShape27);
            shapeTree8.Append(connectionShape28);
            shapeTree8.Append(connectionShape29);
            shapeTree8.Append(connectionShape30);

            CommonSlideDataExtensionList commonSlideDataExtensionList8 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension8.Append(creationId8);

            commonSlideDataExtensionList8.Append(commonSlideDataExtension8);

            commonSlideData8.Append(shapeTree8);
            commonSlideData8.Append(commonSlideDataExtensionList8);

            ColorMapOverride colorMapOverride7 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping7 = new A.MasterColorMapping();

            colorMapOverride7.Append(masterColorMapping7);

            Timing timing8 = new Timing();

            TimeNodeList timeNodeList8 = new TimeNodeList();

            ParallelTimeNode parallelTimeNode8 = new ParallelTimeNode();
            CommonTimeNode commonTimeNode8 = new CommonTimeNode(){ Id = (UInt32Value)1U, Duration = "indefinite", Restart = TimeNodeRestartValues.Never, NodeType = TimeNodeValues.TmingRoot };

            parallelTimeNode8.Append(commonTimeNode8);

            timeNodeList8.Append(parallelTimeNode8);

            timing8.Append(timeNodeList8);

            slideLayout6.Append(commonSlideData8);
            slideLayout6.Append(colorMapOverride7);
            slideLayout6.Append(timing8);

            slideLayoutPart6.SlideLayout = slideLayout6;
        }
Example #10
0
        // Generates content of slideLayoutPart17.
        private void GenerateSlideLayoutPart17Content(SlideLayoutPart slideLayoutPart17)
        {
            SlideLayout slideLayout17 = new SlideLayout(){ Preserve = true };
            slideLayout17.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout17.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout17.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData19 = new CommonSlideData(){ Name = "Quote Name Card" };

            ShapeTree shapeTree19 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties19 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties194 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties19 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties194 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties19.Append(nonVisualDrawingProperties194);
            nonVisualGroupShapeProperties19.Append(nonVisualGroupShapeDrawingProperties19);
            nonVisualGroupShapeProperties19.Append(applicationNonVisualDrawingProperties194);

            GroupShapeProperties groupShapeProperties19 = new GroupShapeProperties();

            A.TransformGroup transformGroup19 = new A.TransformGroup();
            A.Offset offset136 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents136 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset19 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents19 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup19.Append(offset136);
            transformGroup19.Append(extents136);
            transformGroup19.Append(childOffset19);
            transformGroup19.Append(childExtents19);

            groupShapeProperties19.Append(transformGroup19);

            Shape shape96 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties96 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks94 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties96.Append(shapeLocks94);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties195 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape94 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties195.Append(placeholderShape94);

            nonVisualShapeProperties96.Append(nonVisualDrawingProperties195);
            nonVisualShapeProperties96.Append(nonVisualShapeDrawingProperties96);
            nonVisualShapeProperties96.Append(applicationNonVisualDrawingProperties195);

            ShapeProperties shapeProperties176 = new ShapeProperties();

            A.Transform2D transform2D118 = new A.Transform2D();
            A.Offset offset137 = new A.Offset(){ X = 1141710L, Y = 685800L };
            A.Extents extents137 = new A.Extents(){ Cx = 9146382L, Cy = 2743200L };

            transform2D118.Append(offset137);
            transform2D118.Append(extents137);

            shapeProperties176.Append(transform2D118);

            TextBody textBody96 = new TextBody();

            A.BodyProperties bodyProperties96 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit28 = new A.NormalAutoFit();

            bodyProperties96.Append(normalAutoFit28);

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

            A.Level1ParagraphProperties level1ParagraphProperties41 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };

            A.DefaultRunProperties defaultRunProperties239 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.SolidFill solidFill205 = new A.SolidFill();
            A.SchemeColor schemeColor541 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill205.Append(schemeColor541);

            defaultRunProperties239.Append(solidFill205);

            level1ParagraphProperties41.Append(defaultRunProperties239);

            listStyle96.Append(level1ParagraphProperties41);

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

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

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

            run82.Append(runProperties116);
            run82.Append(text116);
            A.EndParagraphRunProperties endParagraphRunProperties84 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph132.Append(run82);
            paragraph132.Append(endParagraphRunProperties84);

            textBody96.Append(bodyProperties96);
            textBody96.Append(listStyle96);
            textBody96.Append(paragraph132);

            shape96.Append(nonVisualShapeProperties96);
            shape96.Append(shapeProperties176);
            shape96.Append(textBody96);

            Shape shape97 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties97 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks95 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties97.Append(shapeLocks95);

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

            applicationNonVisualDrawingProperties196.Append(placeholderShape95);

            nonVisualShapeProperties97.Append(nonVisualDrawingProperties196);
            nonVisualShapeProperties97.Append(nonVisualShapeDrawingProperties97);
            nonVisualShapeProperties97.Append(applicationNonVisualDrawingProperties196);

            ShapeProperties shapeProperties177 = new ShapeProperties();

            A.Transform2D transform2D119 = new A.Transform2D();
            A.Offset offset138 = new A.Offset(){ X = 684390L, Y = 4978400L };
            A.Extents extents138 = new A.Extents(){ Cx = 8536624L, Cy = 1016000L };

            transform2D119.Append(offset138);
            transform2D119.Append(extents138);

            shapeProperties177.Append(transform2D119);

            TextBody textBody97 = new TextBody();

            A.BodyProperties bodyProperties97 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit29 = new A.NormalAutoFit();

            bodyProperties97.Append(normalAutoFit29);

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

            A.Level1ParagraphProperties level1ParagraphProperties42 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left };
            A.NoBullet noBullet123 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor542 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation24 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor542.Append(luminanceModulation24);

            solidFill206.Append(schemeColor542);

            defaultRunProperties240.Append(solidFill206);

            level1ParagraphProperties42.Append(noBullet123);
            level1ParagraphProperties42.Append(defaultRunProperties240);

            A.Level2ParagraphProperties level2ParagraphProperties27 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet124 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor543 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint55 = new A.Tint(){ Val = 75000 };

            schemeColor543.Append(tint55);

            solidFill207.Append(schemeColor543);

            defaultRunProperties241.Append(solidFill207);

            level2ParagraphProperties27.Append(noBullet124);
            level2ParagraphProperties27.Append(defaultRunProperties241);

            A.Level3ParagraphProperties level3ParagraphProperties27 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet125 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor544 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint56 = new A.Tint(){ Val = 75000 };

            schemeColor544.Append(tint56);

            solidFill208.Append(schemeColor544);

            defaultRunProperties242.Append(solidFill208);

            level3ParagraphProperties27.Append(noBullet125);
            level3ParagraphProperties27.Append(defaultRunProperties242);

            A.Level4ParagraphProperties level4ParagraphProperties27 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet126 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor545 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint57 = new A.Tint(){ Val = 75000 };

            schemeColor545.Append(tint57);

            solidFill209.Append(schemeColor545);

            defaultRunProperties243.Append(solidFill209);

            level4ParagraphProperties27.Append(noBullet126);
            level4ParagraphProperties27.Append(defaultRunProperties243);

            A.Level5ParagraphProperties level5ParagraphProperties27 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet127 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor546 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint58 = new A.Tint(){ Val = 75000 };

            schemeColor546.Append(tint58);

            solidFill210.Append(schemeColor546);

            defaultRunProperties244.Append(solidFill210);

            level5ParagraphProperties27.Append(noBullet127);
            level5ParagraphProperties27.Append(defaultRunProperties244);

            A.Level6ParagraphProperties level6ParagraphProperties24 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet128 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor547 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint59 = new A.Tint(){ Val = 75000 };

            schemeColor547.Append(tint59);

            solidFill211.Append(schemeColor547);

            defaultRunProperties245.Append(solidFill211);

            level6ParagraphProperties24.Append(noBullet128);
            level6ParagraphProperties24.Append(defaultRunProperties245);

            A.Level7ParagraphProperties level7ParagraphProperties24 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet129 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor548 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint60 = new A.Tint(){ Val = 75000 };

            schemeColor548.Append(tint60);

            solidFill212.Append(schemeColor548);

            defaultRunProperties246.Append(solidFill212);

            level7ParagraphProperties24.Append(noBullet129);
            level7ParagraphProperties24.Append(defaultRunProperties246);

            A.Level8ParagraphProperties level8ParagraphProperties24 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet130 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor549 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint61 = new A.Tint(){ Val = 75000 };

            schemeColor549.Append(tint61);

            solidFill213.Append(schemeColor549);

            defaultRunProperties247.Append(solidFill213);

            level8ParagraphProperties24.Append(noBullet130);
            level8ParagraphProperties24.Append(defaultRunProperties247);

            A.Level9ParagraphProperties level9ParagraphProperties24 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet131 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor550 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint62 = new A.Tint(){ Val = 75000 };

            schemeColor550.Append(tint62);

            solidFill214.Append(schemeColor550);

            defaultRunProperties248.Append(solidFill214);

            level9ParagraphProperties24.Append(noBullet131);
            level9ParagraphProperties24.Append(defaultRunProperties248);

            listStyle97.Append(level1ParagraphProperties42);
            listStyle97.Append(level2ParagraphProperties27);
            listStyle97.Append(level3ParagraphProperties27);
            listStyle97.Append(level4ParagraphProperties27);
            listStyle97.Append(level5ParagraphProperties27);
            listStyle97.Append(level6ParagraphProperties24);
            listStyle97.Append(level7ParagraphProperties24);
            listStyle97.Append(level8ParagraphProperties24);
            listStyle97.Append(level9ParagraphProperties24);

            A.Paragraph paragraph133 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties61 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run83.Append(runProperties117);
            run83.Append(text117);

            paragraph133.Append(paragraphProperties61);
            paragraph133.Append(run83);

            textBody97.Append(bodyProperties97);
            textBody97.Append(listStyle97);
            textBody97.Append(paragraph133);

            shape97.Append(nonVisualShapeProperties97);
            shape97.Append(shapeProperties177);
            shape97.Append(textBody97);

            Shape shape98 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties98 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks96 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties98.Append(shapeLocks96);

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

            applicationNonVisualDrawingProperties197.Append(placeholderShape96);

            nonVisualShapeProperties98.Append(nonVisualDrawingProperties197);
            nonVisualShapeProperties98.Append(nonVisualShapeDrawingProperties98);
            nonVisualShapeProperties98.Append(applicationNonVisualDrawingProperties197);
            ShapeProperties shapeProperties178 = new ShapeProperties();

            TextBody textBody98 = new TextBody();
            A.BodyProperties bodyProperties98 = new A.BodyProperties();
            A.ListStyle listStyle98 = new A.ListStyle();

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

            A.Field field35 = new A.Field(){ Id = "{CE1A2D98-1BBD-4706-A118-AAC2A16BEAD3}", Type = "datetimeFigureOut" };

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

            field35.Append(runProperties118);
            field35.Append(text118);
            A.EndParagraphRunProperties endParagraphRunProperties85 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph134.Append(field35);
            paragraph134.Append(endParagraphRunProperties85);

            textBody98.Append(bodyProperties98);
            textBody98.Append(listStyle98);
            textBody98.Append(paragraph134);

            shape98.Append(nonVisualShapeProperties98);
            shape98.Append(shapeProperties178);
            shape98.Append(textBody98);

            Shape shape99 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties99 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks97 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties99.Append(shapeLocks97);

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

            applicationNonVisualDrawingProperties198.Append(placeholderShape97);

            nonVisualShapeProperties99.Append(nonVisualDrawingProperties198);
            nonVisualShapeProperties99.Append(nonVisualShapeDrawingProperties99);
            nonVisualShapeProperties99.Append(applicationNonVisualDrawingProperties198);
            ShapeProperties shapeProperties179 = new ShapeProperties();

            TextBody textBody99 = new TextBody();
            A.BodyProperties bodyProperties99 = new A.BodyProperties();
            A.ListStyle listStyle99 = new A.ListStyle();

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

            paragraph135.Append(endParagraphRunProperties86);

            textBody99.Append(bodyProperties99);
            textBody99.Append(listStyle99);
            textBody99.Append(paragraph135);

            shape99.Append(nonVisualShapeProperties99);
            shape99.Append(shapeProperties179);
            shape99.Append(textBody99);

            Shape shape100 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties100 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks98 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties100.Append(shapeLocks98);

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

            applicationNonVisualDrawingProperties199.Append(placeholderShape98);

            nonVisualShapeProperties100.Append(nonVisualDrawingProperties199);
            nonVisualShapeProperties100.Append(nonVisualShapeDrawingProperties100);
            nonVisualShapeProperties100.Append(applicationNonVisualDrawingProperties199);
            ShapeProperties shapeProperties180 = new ShapeProperties();

            TextBody textBody100 = new TextBody();
            A.BodyProperties bodyProperties100 = new A.BodyProperties();
            A.ListStyle listStyle100 = new A.ListStyle();

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

            A.Field field36 = new A.Field(){ Id = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field36.Append(runProperties119);
            field36.Append(text119);
            A.EndParagraphRunProperties endParagraphRunProperties87 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph136.Append(field36);
            paragraph136.Append(endParagraphRunProperties87);

            textBody100.Append(bodyProperties100);
            textBody100.Append(listStyle100);
            textBody100.Append(paragraph136);

            shape100.Append(nonVisualShapeProperties100);
            shape100.Append(shapeProperties180);
            shape100.Append(textBody100);

            Shape shape101 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties101 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties200 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Text Placeholder 9" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties101 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks99 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties101.Append(shapeLocks99);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties200 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape99 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)13U };

            applicationNonVisualDrawingProperties200.Append(placeholderShape99);

            nonVisualShapeProperties101.Append(nonVisualDrawingProperties200);
            nonVisualShapeProperties101.Append(nonVisualShapeDrawingProperties101);
            nonVisualShapeProperties101.Append(applicationNonVisualDrawingProperties200);

            ShapeProperties shapeProperties181 = new ShapeProperties();

            A.Transform2D transform2D120 = new A.Transform2D();
            A.Offset offset139 = new A.Offset(){ X = 684391L, Y = 3928534L };
            A.Extents extents139 = new A.Extents(){ Cx = 8536624L, Cy = 1049866L };

            transform2D120.Append(offset139);
            transform2D120.Append(extents139);

            shapeProperties181.Append(transform2D120);

            TextBody textBody101 = new TextBody();

            A.BodyProperties bodyProperties101 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit30 = new A.NormalAutoFit();

            bodyProperties101.Append(normalAutoFit30);

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

            A.Level1ParagraphProperties level1ParagraphProperties43 = new A.Level1ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties249 = new A.DefaultRunProperties(){ Language = "en-US", FontSize = 2400, Bold = false, Capital = A.TextCapsValues.All, Dirty = false };
            defaultRunProperties249.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.Outline outline90 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill5 = new A.NoFill();

            outline90.Append(noFill5);

            A.SolidFill solidFill215 = new A.SolidFill();
            A.SchemeColor schemeColor551 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill215.Append(schemeColor551);
            A.EffectList effectList24 = new A.EffectList();
            A.LatinFont latinFont37 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont34 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont34 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties249.Append(outline90);
            defaultRunProperties249.Append(solidFill215);
            defaultRunProperties249.Append(effectList24);
            defaultRunProperties249.Append(latinFont37);
            defaultRunProperties249.Append(eastAsianFont34);
            defaultRunProperties249.Append(complexScriptFont34);

            level1ParagraphProperties43.Append(defaultRunProperties249);

            listStyle101.Append(level1ParagraphProperties43);

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

            A.ParagraphProperties paragraphProperties62 = new A.ParagraphProperties(){ LeftMargin = 0, Level = 0 };

            A.SpaceBefore spaceBefore14 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent14 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore14.Append(spacingPercent14);
            A.NoBullet noBullet132 = new A.NoBullet();

            paragraphProperties62.Append(spaceBefore14);
            paragraphProperties62.Append(noBullet132);

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

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

            run84.Append(runProperties120);
            run84.Append(text120);

            paragraph137.Append(paragraphProperties62);
            paragraph137.Append(run84);

            textBody101.Append(bodyProperties101);
            textBody101.Append(listStyle101);
            textBody101.Append(paragraph137);

            shape101.Append(nonVisualShapeProperties101);
            shape101.Append(shapeProperties181);
            shape101.Append(textBody101);

            Shape shape102 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties102 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties201 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "TextBox 10" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties102 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties201 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties102.Append(nonVisualDrawingProperties201);
            nonVisualShapeProperties102.Append(nonVisualShapeDrawingProperties102);
            nonVisualShapeProperties102.Append(applicationNonVisualDrawingProperties201);

            ShapeProperties shapeProperties182 = new ShapeProperties();

            A.Transform2D transform2D121 = new A.Transform2D();
            A.Offset offset140 = new A.Offset(){ X = 531950L, Y = 812222L };
            A.Extents extents140 = new A.Extents(){ Cx = 609759L, Cy = 584776L };

            transform2D121.Append(offset140);
            transform2D121.Append(extents140);

            A.PresetGeometry presetGeometry90 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList90 = new A.AdjustValueList();

            presetGeometry90.Append(adjustValueList90);

            shapeProperties182.Append(transform2D121);
            shapeProperties182.Append(presetGeometry90);

            TextBody textBody102 = new TextBody();

            A.BodyProperties bodyProperties102 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NoAutoFit noAutoFit5 = new A.NoAutoFit();

            bodyProperties102.Append(noAutoFit5);

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

            A.Level1ParagraphProperties level1ParagraphProperties44 = new A.Level1ParagraphProperties();

            A.SpaceBefore spaceBefore15 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent15 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore15.Append(spacingPercent15);
            A.NoBullet noBullet133 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties250 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.Outline outline91 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill6 = new A.NoFill();

            outline91.Append(noFill6);

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

            A.Glow glow3 = new A.Glow(){ Radius = 38100L };

            A.SchemeColor schemeColor552 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };
            A.LuminanceModulation luminanceModulation25 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset3 = new A.LuminanceOffset(){ Val = 35000 };
            A.Alpha alpha12 = new A.Alpha(){ Val = 40000 };

            schemeColor552.Append(luminanceModulation25);
            schemeColor552.Append(luminanceOffset3);
            schemeColor552.Append(alpha12);

            glow3.Append(schemeColor552);

            A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 28575L, Distance = 38100L, Direction = 14040000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha13 = new A.Alpha(){ Val = 25000 };

            rgbColorModelHex17.Append(alpha13);

            outerShadow4.Append(rgbColorModelHex17);

            effectList25.Append(glow3);
            effectList25.Append(outerShadow4);
            A.LatinFont latinFont38 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont35 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont35 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties250.Append(outline91);
            defaultRunProperties250.Append(effectList25);
            defaultRunProperties250.Append(latinFont38);
            defaultRunProperties250.Append(eastAsianFont35);
            defaultRunProperties250.Append(complexScriptFont35);

            level1ParagraphProperties44.Append(spaceBefore15);
            level1ParagraphProperties44.Append(noBullet133);
            level1ParagraphProperties44.Append(defaultRunProperties250);

            A.Level2ParagraphProperties level2ParagraphProperties28 = new A.Level2ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties251 = new A.DefaultRunProperties();

            A.SolidFill solidFill216 = new A.SolidFill();
            A.SchemeColor schemeColor553 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill216.Append(schemeColor553);

            defaultRunProperties251.Append(solidFill216);

            level2ParagraphProperties28.Append(defaultRunProperties251);

            A.Level3ParagraphProperties level3ParagraphProperties28 = new A.Level3ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties252 = new A.DefaultRunProperties();

            A.SolidFill solidFill217 = new A.SolidFill();
            A.SchemeColor schemeColor554 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill217.Append(schemeColor554);

            defaultRunProperties252.Append(solidFill217);

            level3ParagraphProperties28.Append(defaultRunProperties252);

            A.Level4ParagraphProperties level4ParagraphProperties28 = new A.Level4ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties253 = new A.DefaultRunProperties();

            A.SolidFill solidFill218 = new A.SolidFill();
            A.SchemeColor schemeColor555 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill218.Append(schemeColor555);

            defaultRunProperties253.Append(solidFill218);

            level4ParagraphProperties28.Append(defaultRunProperties253);

            A.Level5ParagraphProperties level5ParagraphProperties28 = new A.Level5ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties254 = new A.DefaultRunProperties();

            A.SolidFill solidFill219 = new A.SolidFill();
            A.SchemeColor schemeColor556 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill219.Append(schemeColor556);

            defaultRunProperties254.Append(solidFill219);

            level5ParagraphProperties28.Append(defaultRunProperties254);

            A.Level6ParagraphProperties level6ParagraphProperties25 = new A.Level6ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties255 = new A.DefaultRunProperties();

            A.SolidFill solidFill220 = new A.SolidFill();
            A.SchemeColor schemeColor557 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill220.Append(schemeColor557);

            defaultRunProperties255.Append(solidFill220);

            level6ParagraphProperties25.Append(defaultRunProperties255);

            A.Level7ParagraphProperties level7ParagraphProperties25 = new A.Level7ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties256 = new A.DefaultRunProperties();

            A.SolidFill solidFill221 = new A.SolidFill();
            A.SchemeColor schemeColor558 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill221.Append(schemeColor558);

            defaultRunProperties256.Append(solidFill221);

            level7ParagraphProperties25.Append(defaultRunProperties256);

            A.Level8ParagraphProperties level8ParagraphProperties25 = new A.Level8ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties257 = new A.DefaultRunProperties();

            A.SolidFill solidFill222 = new A.SolidFill();
            A.SchemeColor schemeColor559 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill222.Append(schemeColor559);

            defaultRunProperties257.Append(solidFill222);

            level8ParagraphProperties25.Append(defaultRunProperties257);

            A.Level9ParagraphProperties level9ParagraphProperties25 = new A.Level9ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties258 = new A.DefaultRunProperties();

            A.SolidFill solidFill223 = new A.SolidFill();
            A.SchemeColor schemeColor560 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill223.Append(schemeColor560);

            defaultRunProperties258.Append(solidFill223);

            level9ParagraphProperties25.Append(defaultRunProperties258);

            listStyle102.Append(level1ParagraphProperties44);
            listStyle102.Append(level2ParagraphProperties28);
            listStyle102.Append(level3ParagraphProperties28);
            listStyle102.Append(level4ParagraphProperties28);
            listStyle102.Append(level5ParagraphProperties28);
            listStyle102.Append(level6ParagraphProperties25);
            listStyle102.Append(level7ParagraphProperties25);
            listStyle102.Append(level8ParagraphProperties25);
            listStyle102.Append(level9ParagraphProperties25);

            A.Paragraph paragraph138 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties63 = new A.ParagraphProperties(){ Level = 0 };

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

            A.RunProperties runProperties121 = new A.RunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };
            runProperties121.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill224 = new A.SolidFill();
            A.SchemeColor schemeColor561 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill224.Append(schemeColor561);
            A.EffectList effectList26 = new A.EffectList();

            runProperties121.Append(solidFill224);
            runProperties121.Append(effectList26);
            A.Text text121 = new A.Text();
            text121.Text = "“";

            run85.Append(runProperties121);
            run85.Append(text121);

            A.EndParagraphRunProperties endParagraphRunProperties88 = new A.EndParagraphRunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };

            A.SolidFill solidFill225 = new A.SolidFill();
            A.SchemeColor schemeColor562 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill225.Append(schemeColor562);
            A.EffectList effectList27 = new A.EffectList();

            endParagraphRunProperties88.Append(solidFill225);
            endParagraphRunProperties88.Append(effectList27);

            paragraph138.Append(paragraphProperties63);
            paragraph138.Append(run85);
            paragraph138.Append(endParagraphRunProperties88);

            textBody102.Append(bodyProperties102);
            textBody102.Append(listStyle102);
            textBody102.Append(paragraph138);

            shape102.Append(nonVisualShapeProperties102);
            shape102.Append(shapeProperties182);
            shape102.Append(textBody102);

            Shape shape103 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties103 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties202 = new NonVisualDrawingProperties(){ Id = (UInt32Value)12U, Name = "TextBox 11" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties103 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties202 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties103.Append(nonVisualDrawingProperties202);
            nonVisualShapeProperties103.Append(nonVisualShapeDrawingProperties103);
            nonVisualShapeProperties103.Append(applicationNonVisualDrawingProperties202);

            ShapeProperties shapeProperties183 = new ShapeProperties();

            A.Transform2D transform2D122 = new A.Transform2D();
            A.Offset offset141 = new A.Offset(){ X = 10288091L, Y = 2768601L };
            A.Extents extents141 = new A.Extents(){ Cx = 609759L, Cy = 584776L };

            transform2D122.Append(offset141);
            transform2D122.Append(extents141);

            A.PresetGeometry presetGeometry91 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList91 = new A.AdjustValueList();

            presetGeometry91.Append(adjustValueList91);

            shapeProperties183.Append(transform2D122);
            shapeProperties183.Append(presetGeometry91);

            TextBody textBody103 = new TextBody();

            A.BodyProperties bodyProperties103 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NoAutoFit noAutoFit6 = new A.NoAutoFit();

            bodyProperties103.Append(noAutoFit6);

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

            A.Level1ParagraphProperties level1ParagraphProperties45 = new A.Level1ParagraphProperties();

            A.SpaceBefore spaceBefore16 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent16 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore16.Append(spacingPercent16);
            A.NoBullet noBullet134 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties259 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            A.Outline outline92 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill7 = new A.NoFill();

            outline92.Append(noFill7);

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

            A.Glow glow4 = new A.Glow(){ Radius = 38100L };

            A.SchemeColor schemeColor563 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };
            A.LuminanceModulation luminanceModulation26 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset4 = new A.LuminanceOffset(){ Val = 35000 };
            A.Alpha alpha14 = new A.Alpha(){ Val = 40000 };

            schemeColor563.Append(luminanceModulation26);
            schemeColor563.Append(luminanceOffset4);
            schemeColor563.Append(alpha14);

            glow4.Append(schemeColor563);

            A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 28575L, Distance = 38100L, Direction = 14040000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

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

            rgbColorModelHex18.Append(alpha15);

            outerShadow5.Append(rgbColorModelHex18);

            effectList28.Append(glow4);
            effectList28.Append(outerShadow5);
            A.LatinFont latinFont39 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont36 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont36 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties259.Append(outline92);
            defaultRunProperties259.Append(effectList28);
            defaultRunProperties259.Append(latinFont39);
            defaultRunProperties259.Append(eastAsianFont36);
            defaultRunProperties259.Append(complexScriptFont36);

            level1ParagraphProperties45.Append(spaceBefore16);
            level1ParagraphProperties45.Append(noBullet134);
            level1ParagraphProperties45.Append(defaultRunProperties259);

            A.Level2ParagraphProperties level2ParagraphProperties29 = new A.Level2ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties260 = new A.DefaultRunProperties();

            A.SolidFill solidFill226 = new A.SolidFill();
            A.SchemeColor schemeColor564 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill226.Append(schemeColor564);

            defaultRunProperties260.Append(solidFill226);

            level2ParagraphProperties29.Append(defaultRunProperties260);

            A.Level3ParagraphProperties level3ParagraphProperties29 = new A.Level3ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties261 = new A.DefaultRunProperties();

            A.SolidFill solidFill227 = new A.SolidFill();
            A.SchemeColor schemeColor565 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill227.Append(schemeColor565);

            defaultRunProperties261.Append(solidFill227);

            level3ParagraphProperties29.Append(defaultRunProperties261);

            A.Level4ParagraphProperties level4ParagraphProperties29 = new A.Level4ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties262 = new A.DefaultRunProperties();

            A.SolidFill solidFill228 = new A.SolidFill();
            A.SchemeColor schemeColor566 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill228.Append(schemeColor566);

            defaultRunProperties262.Append(solidFill228);

            level4ParagraphProperties29.Append(defaultRunProperties262);

            A.Level5ParagraphProperties level5ParagraphProperties29 = new A.Level5ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties263 = new A.DefaultRunProperties();

            A.SolidFill solidFill229 = new A.SolidFill();
            A.SchemeColor schemeColor567 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill229.Append(schemeColor567);

            defaultRunProperties263.Append(solidFill229);

            level5ParagraphProperties29.Append(defaultRunProperties263);

            A.Level6ParagraphProperties level6ParagraphProperties26 = new A.Level6ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties264 = new A.DefaultRunProperties();

            A.SolidFill solidFill230 = new A.SolidFill();
            A.SchemeColor schemeColor568 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill230.Append(schemeColor568);

            defaultRunProperties264.Append(solidFill230);

            level6ParagraphProperties26.Append(defaultRunProperties264);

            A.Level7ParagraphProperties level7ParagraphProperties26 = new A.Level7ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties265 = new A.DefaultRunProperties();

            A.SolidFill solidFill231 = new A.SolidFill();
            A.SchemeColor schemeColor569 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill231.Append(schemeColor569);

            defaultRunProperties265.Append(solidFill231);

            level7ParagraphProperties26.Append(defaultRunProperties265);

            A.Level8ParagraphProperties level8ParagraphProperties26 = new A.Level8ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties266 = new A.DefaultRunProperties();

            A.SolidFill solidFill232 = new A.SolidFill();
            A.SchemeColor schemeColor570 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill232.Append(schemeColor570);

            defaultRunProperties266.Append(solidFill232);

            level8ParagraphProperties26.Append(defaultRunProperties266);

            A.Level9ParagraphProperties level9ParagraphProperties26 = new A.Level9ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties267 = new A.DefaultRunProperties();

            A.SolidFill solidFill233 = new A.SolidFill();
            A.SchemeColor schemeColor571 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill233.Append(schemeColor571);

            defaultRunProperties267.Append(solidFill233);

            level9ParagraphProperties26.Append(defaultRunProperties267);

            listStyle103.Append(level1ParagraphProperties45);
            listStyle103.Append(level2ParagraphProperties29);
            listStyle103.Append(level3ParagraphProperties29);
            listStyle103.Append(level4ParagraphProperties29);
            listStyle103.Append(level5ParagraphProperties29);
            listStyle103.Append(level6ParagraphProperties26);
            listStyle103.Append(level7ParagraphProperties26);
            listStyle103.Append(level8ParagraphProperties26);
            listStyle103.Append(level9ParagraphProperties26);

            A.Paragraph paragraph139 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties64 = new A.ParagraphProperties(){ Level = 0, Alignment = A.TextAlignmentTypeValues.Right };

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

            A.RunProperties runProperties122 = new A.RunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };
            runProperties122.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill234 = new A.SolidFill();
            A.SchemeColor schemeColor572 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill234.Append(schemeColor572);
            A.EffectList effectList29 = new A.EffectList();

            runProperties122.Append(solidFill234);
            runProperties122.Append(effectList29);
            A.Text text122 = new A.Text();
            text122.Text = "”";

            run86.Append(runProperties122);
            run86.Append(text122);

            A.EndParagraphRunProperties endParagraphRunProperties89 = new A.EndParagraphRunProperties(){ Language = "en-US", FontSize = 8000, Dirty = false };

            A.SolidFill solidFill235 = new A.SolidFill();
            A.SchemeColor schemeColor573 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill235.Append(schemeColor573);
            A.EffectList effectList30 = new A.EffectList();

            endParagraphRunProperties89.Append(solidFill235);
            endParagraphRunProperties89.Append(effectList30);

            paragraph139.Append(paragraphProperties64);
            paragraph139.Append(run86);
            paragraph139.Append(endParagraphRunProperties89);

            textBody103.Append(bodyProperties103);
            textBody103.Append(listStyle103);
            textBody103.Append(paragraph139);

            shape103.Append(nonVisualShapeProperties103);
            shape103.Append(shapeProperties183);
            shape103.Append(textBody103);

            ConnectionShape connectionShape81 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties81 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties203 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Straight Connector 12" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties81 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties203 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties81.Append(nonVisualDrawingProperties203);
            nonVisualConnectionShapeProperties81.Append(nonVisualConnectorShapeDrawingProperties81);
            nonVisualConnectionShapeProperties81.Append(applicationNonVisualDrawingProperties203);

            ShapeProperties shapeProperties184 = new ShapeProperties();

            A.Transform2D transform2D123 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset142 = new A.Offset(){ X = 11278949L, Y = 2963333L };
            A.Extents extents142 = new A.Extents(){ Cx = 913052L, Cy = 912812L };

            transform2D123.Append(offset142);
            transform2D123.Append(extents142);

            A.PresetGeometry presetGeometry92 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList92 = new A.AdjustValueList();

            presetGeometry92.Append(adjustValueList92);

            A.Outline outline93 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill236 = new A.SolidFill();
            A.SchemeColor schemeColor574 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill236.Append(schemeColor574);

            outline93.Append(solidFill236);

            shapeProperties184.Append(transform2D123);
            shapeProperties184.Append(presetGeometry92);
            shapeProperties184.Append(outline93);

            ShapeStyle shapeStyle81 = new ShapeStyle();

            A.LineReference lineReference81 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor575 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference81.Append(schemeColor575);

            A.FillReference fillReference81 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor576 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference81.Append(schemeColor576);

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

            effectReference81.Append(schemeColor577);

            A.FontReference fontReference81 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor578 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference81.Append(schemeColor578);

            shapeStyle81.Append(lineReference81);
            shapeStyle81.Append(fillReference81);
            shapeStyle81.Append(effectReference81);
            shapeStyle81.Append(fontReference81);

            connectionShape81.Append(nonVisualConnectionShapeProperties81);
            connectionShape81.Append(shapeProperties184);
            connectionShape81.Append(shapeStyle81);

            ConnectionShape connectionShape82 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties82 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties204 = new NonVisualDrawingProperties(){ Id = (UInt32Value)16U, Name = "Straight Connector 15" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties82 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties204 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties82.Append(nonVisualDrawingProperties204);
            nonVisualConnectionShapeProperties82.Append(nonVisualConnectorShapeDrawingProperties82);
            nonVisualConnectionShapeProperties82.Append(applicationNonVisualDrawingProperties204);

            ShapeProperties shapeProperties185 = new ShapeProperties();

            A.Transform2D transform2D124 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset143 = new A.Offset(){ X = 9209368L, Y = 3190344L };
            A.Extents extents143 = new A.Extents(){ Cx = 2982634L, Cy = 2981856L };

            transform2D124.Append(offset143);
            transform2D124.Append(extents143);

            A.PresetGeometry presetGeometry93 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList93 = new A.AdjustValueList();

            presetGeometry93.Append(adjustValueList93);

            A.Outline outline94 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill237 = new A.SolidFill();
            A.SchemeColor schemeColor579 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill237.Append(schemeColor579);

            outline94.Append(solidFill237);

            shapeProperties185.Append(transform2D124);
            shapeProperties185.Append(presetGeometry93);
            shapeProperties185.Append(outline94);

            ShapeStyle shapeStyle82 = new ShapeStyle();

            A.LineReference lineReference82 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor580 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference82.Append(schemeColor580);

            A.FillReference fillReference82 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor581 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference82.Append(schemeColor581);

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

            effectReference82.Append(schemeColor582);

            A.FontReference fontReference82 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor583 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference82.Append(schemeColor583);

            shapeStyle82.Append(lineReference82);
            shapeStyle82.Append(fillReference82);
            shapeStyle82.Append(effectReference82);
            shapeStyle82.Append(fontReference82);

            connectionShape82.Append(nonVisualConnectionShapeProperties82);
            connectionShape82.Append(shapeProperties185);
            connectionShape82.Append(shapeStyle82);

            ConnectionShape connectionShape83 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties83 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties205 = new NonVisualDrawingProperties(){ Id = (UInt32Value)17U, Name = "Straight Connector 16" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties83 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties205 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties83.Append(nonVisualDrawingProperties205);
            nonVisualConnectionShapeProperties83.Append(nonVisualConnectorShapeDrawingProperties83);
            nonVisualConnectionShapeProperties83.Append(applicationNonVisualDrawingProperties205);

            ShapeProperties shapeProperties186 = new ShapeProperties();

            A.Transform2D transform2D125 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset144 = new A.Offset(){ X = 10294973L, Y = 3285068L };
            A.Extents extents144 = new A.Extents(){ Cx = 1897028L, Cy = 1896533L };

            transform2D125.Append(offset144);
            transform2D125.Append(extents144);

            A.PresetGeometry presetGeometry94 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList94 = new A.AdjustValueList();

            presetGeometry94.Append(adjustValueList94);

            A.Outline outline95 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill238 = new A.SolidFill();
            A.SchemeColor schemeColor584 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill238.Append(schemeColor584);

            outline95.Append(solidFill238);

            shapeProperties186.Append(transform2D125);
            shapeProperties186.Append(presetGeometry94);
            shapeProperties186.Append(outline95);

            ShapeStyle shapeStyle83 = new ShapeStyle();

            A.LineReference lineReference83 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor585 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference83.Append(schemeColor585);

            A.FillReference fillReference83 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor586 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference83.Append(schemeColor586);

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

            effectReference83.Append(schemeColor587);

            A.FontReference fontReference83 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor588 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference83.Append(schemeColor588);

            shapeStyle83.Append(lineReference83);
            shapeStyle83.Append(fillReference83);
            shapeStyle83.Append(effectReference83);
            shapeStyle83.Append(fontReference83);

            connectionShape83.Append(nonVisualConnectionShapeProperties83);
            connectionShape83.Append(shapeProperties186);
            connectionShape83.Append(shapeStyle83);

            ConnectionShape connectionShape84 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties84 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties206 = new NonVisualDrawingProperties(){ Id = (UInt32Value)18U, Name = "Straight Connector 17" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties84 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties206 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties84.Append(nonVisualDrawingProperties206);
            nonVisualConnectionShapeProperties84.Append(nonVisualConnectorShapeDrawingProperties84);
            nonVisualConnectionShapeProperties84.Append(applicationNonVisualDrawingProperties206);

            ShapeProperties shapeProperties187 = new ShapeProperties();

            A.Transform2D transform2D126 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset145 = new A.Offset(){ X = 10445823L, Y = 3131080L };
            A.Extents extents145 = new A.Extents(){ Cx = 1746177L, Cy = 1745720L };

            transform2D126.Append(offset145);
            transform2D126.Append(extents145);

            A.PresetGeometry presetGeometry95 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList95 = new A.AdjustValueList();

            presetGeometry95.Append(adjustValueList95);

            A.Outline outline96 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill239 = new A.SolidFill();
            A.SchemeColor schemeColor589 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill239.Append(schemeColor589);

            outline96.Append(solidFill239);

            shapeProperties187.Append(transform2D126);
            shapeProperties187.Append(presetGeometry95);
            shapeProperties187.Append(outline96);

            ShapeStyle shapeStyle84 = new ShapeStyle();

            A.LineReference lineReference84 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor590 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference84.Append(schemeColor590);

            A.FillReference fillReference84 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor591 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference84.Append(schemeColor591);

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

            effectReference84.Append(schemeColor592);

            A.FontReference fontReference84 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor593 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference84.Append(schemeColor593);

            shapeStyle84.Append(lineReference84);
            shapeStyle84.Append(fillReference84);
            shapeStyle84.Append(effectReference84);
            shapeStyle84.Append(fontReference84);

            connectionShape84.Append(nonVisualConnectionShapeProperties84);
            connectionShape84.Append(shapeProperties187);
            connectionShape84.Append(shapeStyle84);

            ConnectionShape connectionShape85 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties85 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties207 = new NonVisualDrawingProperties(){ Id = (UInt32Value)19U, Name = "Straight Connector 18" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties85 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties207 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties85.Append(nonVisualDrawingProperties207);
            nonVisualConnectionShapeProperties85.Append(nonVisualConnectorShapeDrawingProperties85);
            nonVisualConnectionShapeProperties85.Append(applicationNonVisualDrawingProperties207);

            ShapeProperties shapeProperties188 = new ShapeProperties();

            A.Transform2D transform2D127 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset146 = new A.Offset(){ X = 10921671L, Y = 3683002L };
            A.Extents extents146 = new A.Extents(){ Cx = 1270332L, Cy = 1269999L };

            transform2D127.Append(offset146);
            transform2D127.Append(extents146);

            A.PresetGeometry presetGeometry96 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList96 = new A.AdjustValueList();

            presetGeometry96.Append(adjustValueList96);

            A.Outline outline97 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill240 = new A.SolidFill();
            A.SchemeColor schemeColor594 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill240.Append(schemeColor594);

            outline97.Append(solidFill240);

            shapeProperties188.Append(transform2D127);
            shapeProperties188.Append(presetGeometry96);
            shapeProperties188.Append(outline97);

            ShapeStyle shapeStyle85 = new ShapeStyle();

            A.LineReference lineReference85 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor595 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference85.Append(schemeColor595);

            A.FillReference fillReference85 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor596 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference85.Append(schemeColor596);

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

            effectReference85.Append(schemeColor597);

            A.FontReference fontReference85 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor598 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference85.Append(schemeColor598);

            shapeStyle85.Append(lineReference85);
            shapeStyle85.Append(fillReference85);
            shapeStyle85.Append(effectReference85);
            shapeStyle85.Append(fontReference85);

            connectionShape85.Append(nonVisualConnectionShapeProperties85);
            connectionShape85.Append(shapeProperties188);
            connectionShape85.Append(shapeStyle85);

            shapeTree19.Append(nonVisualGroupShapeProperties19);
            shapeTree19.Append(groupShapeProperties19);
            shapeTree19.Append(shape96);
            shapeTree19.Append(shape97);
            shapeTree19.Append(shape98);
            shapeTree19.Append(shape99);
            shapeTree19.Append(shape100);
            shapeTree19.Append(shape101);
            shapeTree19.Append(shape102);
            shapeTree19.Append(shape103);
            shapeTree19.Append(connectionShape81);
            shapeTree19.Append(connectionShape82);
            shapeTree19.Append(connectionShape83);
            shapeTree19.Append(connectionShape84);
            shapeTree19.Append(connectionShape85);

            CommonSlideDataExtensionList commonSlideDataExtensionList19 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension19.Append(creationId19);

            commonSlideDataExtensionList19.Append(commonSlideDataExtension19);

            commonSlideData19.Append(shapeTree19);
            commonSlideData19.Append(commonSlideDataExtensionList19);

            ColorMapOverride colorMapOverride18 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping18 = new A.MasterColorMapping();

            colorMapOverride18.Append(masterColorMapping18);

            Timing timing19 = new Timing();

            TimeNodeList timeNodeList19 = new TimeNodeList();

            ParallelTimeNode parallelTimeNode19 = new ParallelTimeNode();
            CommonTimeNode commonTimeNode19 = new CommonTimeNode(){ Id = (UInt32Value)1U, Duration = "indefinite", Restart = TimeNodeRestartValues.Never, NodeType = TimeNodeValues.TmingRoot };

            parallelTimeNode19.Append(commonTimeNode19);

            timeNodeList19.Append(parallelTimeNode19);

            timing19.Append(timeNodeList19);

            slideLayout17.Append(commonSlideData19);
            slideLayout17.Append(colorMapOverride18);
            slideLayout17.Append(timing19);

            slideLayoutPart17.SlideLayout = slideLayout17;
        }
Example #11
0
        // Generates content of chartPart2.
        private void GenerateChartPart2Content(ChartPart chartPart2)
        {
            C.ChartSpace chartSpace2 = new C.ChartSpace();
            chartSpace2.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date19042 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage2 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners2 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent5 = new AlternateContent();
            alternateContent5.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice5 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice5.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style3 = new C14.Style(){ Val = 101 };

            alternateContentChoice5.Append(style3);

            AlternateContentFallback alternateContentFallback4 = new AlternateContentFallback();
            C.Style style4 = new C.Style(){ Val = 1 };

            alternateContentFallback4.Append(style4);

            alternateContent5.Append(alternateContentChoice5);
            alternateContent5.Append(alternateContentFallback4);

            C.PivotSource pivotSource2 = new C.PivotSource();
            C.PivotTableName pivotTableName2 = new C.PivotTableName();
            pivotTableName2.Text = "[GeneratedDocument.xlsx]ShowTimeLevel!PivotTable1";
            C.FormatId formatId2 = new C.FormatId(){ Val = (UInt32Value)13U };

            pivotSource2.Append(pivotTableName2);
            pivotSource2.Append(formatId2);

            C.Chart chart2 = new C.Chart();

            C.Title title2 = new C.Title();
            C.Overlay overlay3 = new C.Overlay(){ Val = false };

            title2.Append(overlay3);
            C.AutoTitleDeleted autoTitleDeleted2 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats2 = new C.PivotFormats();

            C.PivotFormat pivotFormat6 = new C.PivotFormat();
            C.Index index7 = new C.Index(){ Val = (UInt32Value)0U };

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

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

            A.SchemeColor schemeColor1 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint1 = new A.Tint(){ Val = 100000 };

            schemeColor1.Append(tint1);

            solidFill5.Append(schemeColor1);

            A.Outline outline3 = new A.Outline();
            A.NoFill noFill1 = new A.NoFill();

            outline3.Append(noFill1);
            A.EffectList effectList1 = new A.EffectList();

            shapeProperties3.Append(solidFill5);
            shapeProperties3.Append(outline3);
            shapeProperties3.Append(effectList1);

            C.Marker marker6 = new C.Marker();
            C.Symbol symbol6 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker6.Append(symbol6);

            pivotFormat6.Append(index7);
            pivotFormat6.Append(shapeProperties3);
            pivotFormat6.Append(marker6);

            C.PivotFormat pivotFormat7 = new C.PivotFormat();
            C.Index index8 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties4 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint2 = new A.Tint(){ Val = 100000 };

            schemeColor2.Append(tint2);

            solidFill6.Append(schemeColor2);

            A.Outline outline4 = new A.Outline();
            A.NoFill noFill2 = new A.NoFill();

            outline4.Append(noFill2);
            A.EffectList effectList2 = new A.EffectList();

            shapeProperties4.Append(solidFill6);
            shapeProperties4.Append(outline4);
            shapeProperties4.Append(effectList2);

            C.Marker marker7 = new C.Marker();
            C.Symbol symbol7 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker7.Append(symbol7);

            pivotFormat7.Append(index8);
            pivotFormat7.Append(shapeProperties4);
            pivotFormat7.Append(marker7);

            C.PivotFormat pivotFormat8 = new C.PivotFormat();
            C.Index index9 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker8 = new C.Marker();
            C.Symbol symbol8 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker8.Append(symbol8);

            pivotFormat8.Append(index9);
            pivotFormat8.Append(marker8);

            C.PivotFormat pivotFormat9 = new C.PivotFormat();
            C.Index index10 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker9 = new C.Marker();
            C.Symbol symbol9 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker9.Append(symbol9);

            pivotFormat9.Append(index10);
            pivotFormat9.Append(marker9);

            C.PivotFormat pivotFormat10 = new C.PivotFormat();
            C.Index index11 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker10 = new C.Marker();
            C.Symbol symbol10 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker10.Append(symbol10);

            pivotFormat10.Append(index11);
            pivotFormat10.Append(marker10);

            C.PivotFormat pivotFormat11 = new C.PivotFormat();
            C.Index index12 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker11 = new C.Marker();
            C.Symbol symbol11 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker11.Append(symbol11);

            pivotFormat11.Append(index12);
            pivotFormat11.Append(marker11);

            C.PivotFormat pivotFormat12 = new C.PivotFormat();
            C.Index index13 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker12 = new C.Marker();
            C.Symbol symbol12 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker12.Append(symbol12);

            pivotFormat12.Append(index13);
            pivotFormat12.Append(marker12);

            C.PivotFormat pivotFormat13 = new C.PivotFormat();
            C.Index index14 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker13 = new C.Marker();
            C.Symbol symbol13 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker13.Append(symbol13);

            pivotFormat13.Append(index14);
            pivotFormat13.Append(marker13);

            C.PivotFormat pivotFormat14 = new C.PivotFormat();
            C.Index index15 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker14 = new C.Marker();
            C.Symbol symbol14 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker14.Append(symbol14);

            pivotFormat14.Append(index15);
            pivotFormat14.Append(marker14);

            C.PivotFormat pivotFormat15 = new C.PivotFormat();
            C.Index index16 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker15 = new C.Marker();
            C.Symbol symbol15 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker15.Append(symbol15);

            pivotFormat15.Append(index16);
            pivotFormat15.Append(marker15);

            C.PivotFormat pivotFormat16 = new C.PivotFormat();
            C.Index index17 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker16 = new C.Marker();
            C.Symbol symbol16 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker16.Append(symbol16);

            pivotFormat16.Append(index17);
            pivotFormat16.Append(marker16);

            C.PivotFormat pivotFormat17 = new C.PivotFormat();
            C.Index index18 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker17 = new C.Marker();
            C.Symbol symbol17 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker17.Append(symbol17);

            pivotFormat17.Append(index18);
            pivotFormat17.Append(marker17);

            C.PivotFormat pivotFormat18 = new C.PivotFormat();
            C.Index index19 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker18 = new C.Marker();
            C.Symbol symbol18 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker18.Append(symbol18);

            pivotFormat18.Append(index19);
            pivotFormat18.Append(marker18);

            C.PivotFormat pivotFormat19 = new C.PivotFormat();
            C.Index index20 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker19 = new C.Marker();
            C.Symbol symbol19 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker19.Append(symbol19);

            pivotFormat19.Append(index20);
            pivotFormat19.Append(marker19);

            C.PivotFormat pivotFormat20 = new C.PivotFormat();
            C.Index index21 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties5 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint3 = new A.Tint(){ Val = 100000 };

            schemeColor3.Append(tint3);

            solidFill7.Append(schemeColor3);

            A.Outline outline5 = new A.Outline();
            A.NoFill noFill3 = new A.NoFill();

            outline5.Append(noFill3);
            A.EffectList effectList3 = new A.EffectList();

            shapeProperties5.Append(solidFill7);
            shapeProperties5.Append(outline5);
            shapeProperties5.Append(effectList3);

            C.Marker marker20 = new C.Marker();
            C.Symbol symbol20 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker20.Append(symbol20);

            pivotFormat20.Append(index21);
            pivotFormat20.Append(shapeProperties5);
            pivotFormat20.Append(marker20);

            C.PivotFormat pivotFormat21 = new C.PivotFormat();
            C.Index index22 = new C.Index(){ Val = (UInt32Value)15U };

            C.ShapeProperties shapeProperties6 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint4 = new A.Tint(){ Val = 100000 };

            schemeColor4.Append(tint4);

            solidFill8.Append(schemeColor4);

            A.Outline outline6 = new A.Outline();
            A.NoFill noFill4 = new A.NoFill();

            outline6.Append(noFill4);
            A.EffectList effectList4 = new A.EffectList();

            shapeProperties6.Append(solidFill8);
            shapeProperties6.Append(outline6);
            shapeProperties6.Append(effectList4);

            C.Marker marker21 = new C.Marker();
            C.Symbol symbol21 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker21.Append(symbol21);

            pivotFormat21.Append(index22);
            pivotFormat21.Append(shapeProperties6);
            pivotFormat21.Append(marker21);

            C.PivotFormat pivotFormat22 = new C.PivotFormat();
            C.Index index23 = new C.Index(){ Val = (UInt32Value)16U };

            C.ShapeProperties shapeProperties7 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint5 = new A.Tint(){ Val = 100000 };

            schemeColor5.Append(tint5);

            solidFill9.Append(schemeColor5);

            A.Outline outline7 = new A.Outline();
            A.NoFill noFill5 = new A.NoFill();

            outline7.Append(noFill5);
            A.EffectList effectList5 = new A.EffectList();

            shapeProperties7.Append(solidFill9);
            shapeProperties7.Append(outline7);
            shapeProperties7.Append(effectList5);

            C.Marker marker22 = new C.Marker();
            C.Symbol symbol22 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker22.Append(symbol22);

            pivotFormat22.Append(index23);
            pivotFormat22.Append(shapeProperties7);
            pivotFormat22.Append(marker22);

            C.PivotFormat pivotFormat23 = new C.PivotFormat();
            C.Index index24 = new C.Index(){ Val = (UInt32Value)17U };

            C.ShapeProperties shapeProperties8 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint6 = new A.Tint(){ Val = 100000 };

            schemeColor6.Append(tint6);

            solidFill10.Append(schemeColor6);

            A.Outline outline8 = new A.Outline();
            A.NoFill noFill6 = new A.NoFill();

            outline8.Append(noFill6);
            A.EffectList effectList6 = new A.EffectList();

            shapeProperties8.Append(solidFill10);
            shapeProperties8.Append(outline8);
            shapeProperties8.Append(effectList6);

            C.Marker marker23 = new C.Marker();
            C.Symbol symbol23 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker23.Append(symbol23);

            pivotFormat23.Append(index24);
            pivotFormat23.Append(shapeProperties8);
            pivotFormat23.Append(marker23);

            pivotFormats2.Append(pivotFormat6);
            pivotFormats2.Append(pivotFormat7);
            pivotFormats2.Append(pivotFormat8);
            pivotFormats2.Append(pivotFormat9);
            pivotFormats2.Append(pivotFormat10);
            pivotFormats2.Append(pivotFormat11);
            pivotFormats2.Append(pivotFormat12);
            pivotFormats2.Append(pivotFormat13);
            pivotFormats2.Append(pivotFormat14);
            pivotFormats2.Append(pivotFormat15);
            pivotFormats2.Append(pivotFormat16);
            pivotFormats2.Append(pivotFormat17);
            pivotFormats2.Append(pivotFormat18);
            pivotFormats2.Append(pivotFormat19);
            pivotFormats2.Append(pivotFormat20);
            pivotFormats2.Append(pivotFormat21);
            pivotFormats2.Append(pivotFormat22);
            pivotFormats2.Append(pivotFormat23);

            C.PlotArea plotArea2 = new C.PlotArea();
            C.Layout layout2 = new C.Layout();

            C.BarChart barChart1 = new C.BarChart();
            C.BarDirection barDirection1 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping1 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors2 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries1 = new C.BarChartSeries();
            C.Index index25 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order2 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText2 = new C.SeriesText();

            C.StringReference stringReference3 = new C.StringReference();
            C.Formula formula4 = new C.Formula();
            formula4.Text = "ShowTimeLevel!$B$1";

            C.StringCache stringCache3 = new C.StringCache();
            C.PointCount pointCount4 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint5 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue8 = new C.NumericValue();
            numericValue8.Text = "Total";

            stringPoint5.Append(numericValue8);

            stringCache3.Append(pointCount4);
            stringCache3.Append(stringPoint5);

            stringReference3.Append(formula4);
            stringReference3.Append(stringCache3);

            seriesText2.Append(stringReference3);

            C.ChartShapeProperties chartShapeProperties1 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint7 = new A.Tint(){ Val = 100000 };

            schemeColor7.Append(tint7);

            solidFill11.Append(schemeColor7);

            A.Outline outline9 = new A.Outline();
            A.NoFill noFill7 = new A.NoFill();

            outline9.Append(noFill7);
            A.EffectList effectList7 = new A.EffectList();

            chartShapeProperties1.Append(solidFill11);
            chartShapeProperties1.Append(outline9);
            chartShapeProperties1.Append(effectList7);
            C.InvertIfNegative invertIfNegative1 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData2 = new C.CategoryAxisData();

            C.StringReference stringReference4 = new C.StringReference();
            C.Formula formula5 = new C.Formula();
            formula5.Text = "ShowTimeLevel!$A$2:$A$5";

            C.StringCache stringCache4 = new C.StringCache();
            C.PointCount pointCount5 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint6 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue9 = new C.NumericValue();
            numericValue9.Text = "product_A";

            stringPoint6.Append(numericValue9);

            C.StringPoint stringPoint7 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue10 = new C.NumericValue();
            numericValue10.Text = "product_D";

            stringPoint7.Append(numericValue10);

            C.StringPoint stringPoint8 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue11 = new C.NumericValue();
            numericValue11.Text = "product_E";

            stringPoint8.Append(numericValue11);

            stringCache4.Append(pointCount5);
            stringCache4.Append(stringPoint6);
            stringCache4.Append(stringPoint7);
            stringCache4.Append(stringPoint8);

            stringReference4.Append(formula5);
            stringReference4.Append(stringCache4);

            categoryAxisData2.Append(stringReference4);

            C.Values values2 = new C.Values();

            C.NumberReference numberReference2 = new C.NumberReference();
            C.Formula formula6 = new C.Formula();
            formula6.Text = "ShowTimeLevel!$B$2:$B$5";

            C.NumberingCache numberingCache2 = new C.NumberingCache();
            C.FormatCode formatCode2 = new C.FormatCode();
            formatCode2.Text = "General";
            C.PointCount pointCount6 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint4 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue12 = new C.NumericValue();
            numericValue12.Text = "19";

            numericPoint4.Append(numericValue12);

            C.NumericPoint numericPoint5 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue13 = new C.NumericValue();
            numericValue13.Text = "13";

            numericPoint5.Append(numericValue13);

            C.NumericPoint numericPoint6 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue14 = new C.NumericValue();
            numericValue14.Text = "33";

            numericPoint6.Append(numericValue14);

            numberingCache2.Append(formatCode2);
            numberingCache2.Append(pointCount6);
            numberingCache2.Append(numericPoint4);
            numberingCache2.Append(numericPoint5);
            numberingCache2.Append(numericPoint6);

            numberReference2.Append(formula6);
            numberReference2.Append(numberingCache2);

            values2.Append(numberReference2);

            barChartSeries1.Append(index25);
            barChartSeries1.Append(order2);
            barChartSeries1.Append(seriesText2);
            barChartSeries1.Append(chartShapeProperties1);
            barChartSeries1.Append(invertIfNegative1);
            barChartSeries1.Append(categoryAxisData2);
            barChartSeries1.Append(values2);

            C.DataLabels dataLabels2 = new C.DataLabels();
            C.ShowLegendKey showLegendKey2 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue2 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName2 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName2 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent2 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize2 = new C.ShowBubbleSize(){ Val = false };

            dataLabels2.Append(showLegendKey2);
            dataLabels2.Append(showValue2);
            dataLabels2.Append(showCategoryName2);
            dataLabels2.Append(showSeriesName2);
            dataLabels2.Append(showPercent2);
            dataLabels2.Append(showBubbleSize2);
            C.GapWidth gapWidth1 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap1 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId1 = new C.AxisId(){ Val = (UInt32Value)209981120U };
            C.AxisId axisId2 = new C.AxisId(){ Val = (UInt32Value)209981512U };

            barChart1.Append(barDirection1);
            barChart1.Append(barGrouping1);
            barChart1.Append(varyColors2);
            barChart1.Append(barChartSeries1);
            barChart1.Append(dataLabels2);
            barChart1.Append(gapWidth1);
            barChart1.Append(overlap1);
            barChart1.Append(axisId1);
            barChart1.Append(axisId2);

            C.CategoryAxis categoryAxis1 = new C.CategoryAxis();
            C.AxisId axisId3 = new C.AxisId(){ Val = (UInt32Value)209981120U };

            C.Scaling scaling1 = new C.Scaling();
            C.Orientation orientation1 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling1.Append(orientation1);
            C.Delete delete1 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition1 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat1 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark1 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark1 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition1 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties2 = new C.ChartShapeProperties();
            A.NoFill noFill8 = new A.NoFill();

            A.Outline outline10 = new A.Outline();
            A.NoFill noFill9 = new A.NoFill();

            outline10.Append(noFill9);
            A.EffectList effectList8 = new A.EffectList();

            chartShapeProperties2.Append(noFill8);
            chartShapeProperties2.Append(outline10);
            chartShapeProperties2.Append(effectList8);

            C.TextProperties textProperties1 = new C.TextProperties();
            A.BodyProperties bodyProperties3 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle3 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset1 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor8.Append(luminanceModulation1);
            schemeColor8.Append(luminanceOffset1);

            solidFill12.Append(schemeColor8);
            A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties1.Append(solidFill12);
            defaultRunProperties1.Append(latinFont1);
            defaultRunProperties1.Append(eastAsianFont1);
            defaultRunProperties1.Append(complexScriptFont1);

            paragraphProperties1.Append(defaultRunProperties1);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph3.Append(paragraphProperties1);
            paragraph3.Append(endParagraphRunProperties1);

            textProperties1.Append(bodyProperties3);
            textProperties1.Append(listStyle3);
            textProperties1.Append(paragraph3);
            C.CrossingAxis crossingAxis1 = new C.CrossingAxis(){ Val = (UInt32Value)209981512U };
            C.Crosses crosses1 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled1 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment1 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset1 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels1 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis1.Append(axisId3);
            categoryAxis1.Append(scaling1);
            categoryAxis1.Append(delete1);
            categoryAxis1.Append(axisPosition1);
            categoryAxis1.Append(numberingFormat1);
            categoryAxis1.Append(majorTickMark1);
            categoryAxis1.Append(minorTickMark1);
            categoryAxis1.Append(tickLabelPosition1);
            categoryAxis1.Append(chartShapeProperties2);
            categoryAxis1.Append(textProperties1);
            categoryAxis1.Append(crossingAxis1);
            categoryAxis1.Append(crosses1);
            categoryAxis1.Append(autoLabeled1);
            categoryAxis1.Append(labelAlignment1);
            categoryAxis1.Append(labelOffset1);
            categoryAxis1.Append(noMultiLevelLabels1);

            C.ValueAxis valueAxis1 = new C.ValueAxis();
            C.AxisId axisId4 = new C.AxisId(){ Val = (UInt32Value)209981512U };

            C.Scaling scaling2 = new C.Scaling();
            C.Orientation orientation2 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling2.Append(orientation2);
            C.Delete delete2 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition2 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines1 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties3 = new C.ChartShapeProperties();

            A.Outline outline11 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor9 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset2 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor9.Append(luminanceModulation2);
            schemeColor9.Append(luminanceOffset2);

            solidFill13.Append(schemeColor9);
            A.Round round1 = new A.Round();

            outline11.Append(solidFill13);
            outline11.Append(round1);
            A.EffectList effectList9 = new A.EffectList();

            chartShapeProperties3.Append(outline11);
            chartShapeProperties3.Append(effectList9);

            majorGridlines1.Append(chartShapeProperties3);
            C.NumberingFormat numberingFormat2 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark2 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark2 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition2 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties4 = new C.ChartShapeProperties();
            A.NoFill noFill10 = new A.NoFill();

            A.Outline outline12 = new A.Outline();
            A.NoFill noFill11 = new A.NoFill();

            outline12.Append(noFill11);
            A.EffectList effectList10 = new A.EffectList();

            chartShapeProperties4.Append(noFill10);
            chartShapeProperties4.Append(outline12);
            chartShapeProperties4.Append(effectList10);

            C.TextProperties textProperties2 = new C.TextProperties();
            A.BodyProperties bodyProperties4 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle4 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset3 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor10.Append(luminanceModulation3);
            schemeColor10.Append(luminanceOffset3);

            solidFill14.Append(schemeColor10);
            A.LatinFont latinFont2 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties2.Append(solidFill14);
            defaultRunProperties2.Append(latinFont2);
            defaultRunProperties2.Append(eastAsianFont2);
            defaultRunProperties2.Append(complexScriptFont2);

            paragraphProperties2.Append(defaultRunProperties2);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph4.Append(paragraphProperties2);
            paragraph4.Append(endParagraphRunProperties2);

            textProperties2.Append(bodyProperties4);
            textProperties2.Append(listStyle4);
            textProperties2.Append(paragraph4);
            C.CrossingAxis crossingAxis2 = new C.CrossingAxis(){ Val = (UInt32Value)209981120U };
            C.Crosses crosses2 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween1 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis1.Append(axisId4);
            valueAxis1.Append(scaling2);
            valueAxis1.Append(delete2);
            valueAxis1.Append(axisPosition2);
            valueAxis1.Append(majorGridlines1);
            valueAxis1.Append(numberingFormat2);
            valueAxis1.Append(majorTickMark2);
            valueAxis1.Append(minorTickMark2);
            valueAxis1.Append(tickLabelPosition2);
            valueAxis1.Append(chartShapeProperties4);
            valueAxis1.Append(textProperties2);
            valueAxis1.Append(crossingAxis2);
            valueAxis1.Append(crosses2);
            valueAxis1.Append(crossBetween1);

            C.ShapeProperties shapeProperties9 = new C.ShapeProperties();

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill15.Append(schemeColor11);

            A.Outline outline13 = new A.Outline();
            A.NoFill noFill12 = new A.NoFill();

            outline13.Append(noFill12);
            A.EffectList effectList11 = new A.EffectList();

            shapeProperties9.Append(solidFill15);
            shapeProperties9.Append(outline13);
            shapeProperties9.Append(effectList11);

            plotArea2.Append(layout2);
            plotArea2.Append(barChart1);
            plotArea2.Append(categoryAxis1);
            plotArea2.Append(valueAxis1);
            plotArea2.Append(shapeProperties9);

            C.Legend legend2 = new C.Legend();
            C.LegendPosition legendPosition2 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay4 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties5 = new C.ChartShapeProperties();
            A.NoFill noFill13 = new A.NoFill();

            A.Outline outline14 = new A.Outline();
            A.NoFill noFill14 = new A.NoFill();

            outline14.Append(noFill14);
            A.EffectList effectList12 = new A.EffectList();

            chartShapeProperties5.Append(noFill13);
            chartShapeProperties5.Append(outline14);
            chartShapeProperties5.Append(effectList12);

            C.TextProperties textProperties3 = new C.TextProperties();
            A.BodyProperties bodyProperties5 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle5 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset4 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor12.Append(luminanceModulation4);
            schemeColor12.Append(luminanceOffset4);

            solidFill16.Append(schemeColor12);
            A.LatinFont latinFont3 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont3 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont3 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties3.Append(solidFill16);
            defaultRunProperties3.Append(latinFont3);
            defaultRunProperties3.Append(eastAsianFont3);
            defaultRunProperties3.Append(complexScriptFont3);

            paragraphProperties3.Append(defaultRunProperties3);
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph5.Append(paragraphProperties3);
            paragraph5.Append(endParagraphRunProperties3);

            textProperties3.Append(bodyProperties5);
            textProperties3.Append(listStyle5);
            textProperties3.Append(paragraph5);

            legend2.Append(legendPosition2);
            legend2.Append(overlay4);
            legend2.Append(chartShapeProperties5);
            legend2.Append(textProperties3);
            C.PlotVisibleOnly plotVisibleOnly2 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs2 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum2 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart2.Append(title2);
            chart2.Append(autoTitleDeleted2);
            chart2.Append(pivotFormats2);
            chart2.Append(plotArea2);
            chart2.Append(legend2);
            chart2.Append(plotVisibleOnly2);
            chart2.Append(displayBlanksAs2);
            chart2.Append(showDataLabelsOverMaximum2);

            C.ShapeProperties shapeProperties10 = new C.ShapeProperties();

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill17.Append(schemeColor13);

            A.Outline outline15 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset5 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor14.Append(luminanceModulation5);
            schemeColor14.Append(luminanceOffset5);

            solidFill18.Append(schemeColor14);
            A.Round round2 = new A.Round();

            outline15.Append(solidFill18);
            outline15.Append(round2);
            A.EffectList effectList13 = new A.EffectList();

            shapeProperties10.Append(solidFill17);
            shapeProperties10.Append(outline15);
            shapeProperties10.Append(effectList13);

            C.TextProperties textProperties4 = new C.TextProperties();
            A.BodyProperties bodyProperties6 = new A.BodyProperties();
            A.ListStyle listStyle6 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties();

            paragraphProperties4.Append(defaultRunProperties4);
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph6.Append(paragraphProperties4);
            paragraph6.Append(endParagraphRunProperties4);

            textProperties4.Append(bodyProperties6);
            textProperties4.Append(listStyle6);
            textProperties4.Append(paragraph6);

            C.PrintSettings printSettings2 = new C.PrintSettings();
            C.HeaderFooter headerFooter2 = new C.HeaderFooter();
            C.PageMargins pageMargins3 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup2 = new C.PageSetup();

            printSettings2.Append(headerFooter2);
            printSettings2.Append(pageMargins3);
            printSettings2.Append(pageSetup2);

            C.ChartSpaceExtensionList chartSpaceExtensionList2 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList2.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension2 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension2.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions2 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter2 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories2 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData2 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries2 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible2 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions2.Append(dropZoneFilter2);
            pivotOptions2.Append(dropZoneCategories2);
            pivotOptions2.Append(dropZoneData2);
            pivotOptions2.Append(dropZoneSeries2);
            pivotOptions2.Append(dropZonesVisible2);

            chartSpaceExtension2.Append(pivotOptions2);

            chartSpaceExtensionList2.Append(chartSpaceExtension2);

            chartSpace2.Append(date19042);
            chartSpace2.Append(editingLanguage2);
            chartSpace2.Append(roundedCorners2);
            chartSpace2.Append(alternateContent5);
            chartSpace2.Append(pivotSource2);
            chartSpace2.Append(chart2);
            chartSpace2.Append(shapeProperties10);
            chartSpace2.Append(textProperties4);
            chartSpace2.Append(printSettings2);
            chartSpace2.Append(chartSpaceExtensionList2);

            chartPart2.ChartSpace = chartSpace2;
        }
Example #12
0
        // Generates content of chartPart12.
        private void GenerateChartPart12Content(ChartPart chartPart12)
        {
            C.ChartSpace chartSpace12 = new C.ChartSpace();
            chartSpace12.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace12.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace12.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date190412 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage12 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners12 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent25 = new AlternateContent();
            alternateContent25.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice25 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice25.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style23 = new C14.Style(){ Val = 101 };

            alternateContentChoice25.Append(style23);

            AlternateContentFallback alternateContentFallback24 = new AlternateContentFallback();
            C.Style style24 = new C.Style(){ Val = 1 };

            alternateContentFallback24.Append(style24);

            alternateContent25.Append(alternateContentChoice25);
            alternateContent25.Append(alternateContentFallback24);

            C.PivotSource pivotSource12 = new C.PivotSource();
            C.PivotTableName pivotTableName12 = new C.PivotTableName();
            pivotTableName12.Text = "[GeneratedDocument.xlsx]Caption!PivotTable1";
            C.FormatId formatId12 = new C.FormatId(){ Val = (UInt32Value)7U };

            pivotSource12.Append(pivotTableName12);
            pivotSource12.Append(formatId12);

            C.Chart chart12 = new C.Chart();

            C.Title title12 = new C.Title();
            C.Overlay overlay23 = new C.Overlay(){ Val = false };

            title12.Append(overlay23);
            C.AutoTitleDeleted autoTitleDeleted12 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats12 = new C.PivotFormats();

            C.PivotFormat pivotFormat97 = new C.PivotFormat();
            C.Index index108 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties45 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint29 = new A.Tint(){ Val = 100000 };

            schemeColor57.Append(tint29);

            solidFill81.Append(schemeColor57);

            A.Outline outline65 = new A.Outline();
            A.NoFill noFill57 = new A.NoFill();

            outline65.Append(noFill57);
            A.EffectList effectList53 = new A.EffectList();

            shapeProperties45.Append(solidFill81);
            shapeProperties45.Append(outline65);
            shapeProperties45.Append(effectList53);

            C.Marker marker97 = new C.Marker();
            C.Symbol symbol97 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker97.Append(symbol97);

            pivotFormat97.Append(index108);
            pivotFormat97.Append(shapeProperties45);
            pivotFormat97.Append(marker97);

            C.PivotFormat pivotFormat98 = new C.PivotFormat();
            C.Index index109 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties46 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint30 = new A.Tint(){ Val = 100000 };

            schemeColor58.Append(tint30);

            solidFill82.Append(schemeColor58);

            A.Outline outline66 = new A.Outline();
            A.NoFill noFill58 = new A.NoFill();

            outline66.Append(noFill58);
            A.EffectList effectList54 = new A.EffectList();

            shapeProperties46.Append(solidFill82);
            shapeProperties46.Append(outline66);
            shapeProperties46.Append(effectList54);

            C.Marker marker98 = new C.Marker();
            C.Symbol symbol98 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker98.Append(symbol98);

            pivotFormat98.Append(index109);
            pivotFormat98.Append(shapeProperties46);
            pivotFormat98.Append(marker98);

            C.PivotFormat pivotFormat99 = new C.PivotFormat();
            C.Index index110 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker99 = new C.Marker();
            C.Symbol symbol99 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker99.Append(symbol99);

            pivotFormat99.Append(index110);
            pivotFormat99.Append(marker99);

            C.PivotFormat pivotFormat100 = new C.PivotFormat();
            C.Index index111 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker100 = new C.Marker();
            C.Symbol symbol100 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker100.Append(symbol100);

            pivotFormat100.Append(index111);
            pivotFormat100.Append(marker100);

            C.PivotFormat pivotFormat101 = new C.PivotFormat();
            C.Index index112 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker101 = new C.Marker();
            C.Symbol symbol101 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker101.Append(symbol101);

            pivotFormat101.Append(index112);
            pivotFormat101.Append(marker101);

            C.PivotFormat pivotFormat102 = new C.PivotFormat();
            C.Index index113 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker102 = new C.Marker();
            C.Symbol symbol102 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker102.Append(symbol102);

            pivotFormat102.Append(index113);
            pivotFormat102.Append(marker102);

            C.PivotFormat pivotFormat103 = new C.PivotFormat();
            C.Index index114 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker103 = new C.Marker();
            C.Symbol symbol103 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker103.Append(symbol103);

            pivotFormat103.Append(index114);
            pivotFormat103.Append(marker103);

            C.PivotFormat pivotFormat104 = new C.PivotFormat();
            C.Index index115 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker104 = new C.Marker();
            C.Symbol symbol104 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker104.Append(symbol104);

            pivotFormat104.Append(index115);
            pivotFormat104.Append(marker104);

            C.PivotFormat pivotFormat105 = new C.PivotFormat();
            C.Index index116 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker105 = new C.Marker();
            C.Symbol symbol105 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker105.Append(symbol105);

            pivotFormat105.Append(index116);
            pivotFormat105.Append(marker105);

            C.PivotFormat pivotFormat106 = new C.PivotFormat();
            C.Index index117 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker106 = new C.Marker();
            C.Symbol symbol106 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker106.Append(symbol106);

            pivotFormat106.Append(index117);
            pivotFormat106.Append(marker106);

            C.PivotFormat pivotFormat107 = new C.PivotFormat();
            C.Index index118 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker107 = new C.Marker();
            C.Symbol symbol107 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker107.Append(symbol107);

            pivotFormat107.Append(index118);
            pivotFormat107.Append(marker107);

            C.PivotFormat pivotFormat108 = new C.PivotFormat();
            C.Index index119 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker108 = new C.Marker();
            C.Symbol symbol108 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker108.Append(symbol108);

            pivotFormat108.Append(index119);
            pivotFormat108.Append(marker108);

            C.PivotFormat pivotFormat109 = new C.PivotFormat();
            C.Index index120 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker109 = new C.Marker();
            C.Symbol symbol109 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker109.Append(symbol109);

            pivotFormat109.Append(index120);
            pivotFormat109.Append(marker109);

            C.PivotFormat pivotFormat110 = new C.PivotFormat();
            C.Index index121 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker110 = new C.Marker();
            C.Symbol symbol110 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker110.Append(symbol110);

            pivotFormat110.Append(index121);
            pivotFormat110.Append(marker110);

            C.PivotFormat pivotFormat111 = new C.PivotFormat();
            C.Index index122 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties47 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint31 = new A.Tint(){ Val = 100000 };

            schemeColor59.Append(tint31);

            solidFill83.Append(schemeColor59);

            A.Outline outline67 = new A.Outline();
            A.NoFill noFill59 = new A.NoFill();

            outline67.Append(noFill59);
            A.EffectList effectList55 = new A.EffectList();

            shapeProperties47.Append(solidFill83);
            shapeProperties47.Append(outline67);
            shapeProperties47.Append(effectList55);

            C.Marker marker111 = new C.Marker();
            C.Symbol symbol111 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker111.Append(symbol111);

            pivotFormat111.Append(index122);
            pivotFormat111.Append(shapeProperties47);
            pivotFormat111.Append(marker111);

            pivotFormats12.Append(pivotFormat97);
            pivotFormats12.Append(pivotFormat98);
            pivotFormats12.Append(pivotFormat99);
            pivotFormats12.Append(pivotFormat100);
            pivotFormats12.Append(pivotFormat101);
            pivotFormats12.Append(pivotFormat102);
            pivotFormats12.Append(pivotFormat103);
            pivotFormats12.Append(pivotFormat104);
            pivotFormats12.Append(pivotFormat105);
            pivotFormats12.Append(pivotFormat106);
            pivotFormats12.Append(pivotFormat107);
            pivotFormats12.Append(pivotFormat108);
            pivotFormats12.Append(pivotFormat109);
            pivotFormats12.Append(pivotFormat110);
            pivotFormats12.Append(pivotFormat111);

            C.PlotArea plotArea12 = new C.PlotArea();
            C.Layout layout12 = new C.Layout();

            C.BarChart barChart6 = new C.BarChart();
            C.BarDirection barDirection6 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping6 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors12 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries6 = new C.BarChartSeries();
            C.Index index123 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order12 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText12 = new C.SeriesText();

            C.StringReference stringReference23 = new C.StringReference();
            C.Formula formula34 = new C.Formula();
            formula34.Text = "Caption!$B$1";

            C.StringCache stringCache23 = new C.StringCache();
            C.PointCount pointCount34 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint45 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue78 = new C.NumericValue();
            numericValue78.Text = "Total";

            stringPoint45.Append(numericValue78);

            stringCache23.Append(pointCount34);
            stringCache23.Append(stringPoint45);

            stringReference23.Append(formula34);
            stringReference23.Append(stringCache23);

            seriesText12.Append(stringReference23);

            C.ChartShapeProperties chartShapeProperties21 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint32 = new A.Tint(){ Val = 100000 };

            schemeColor60.Append(tint32);

            solidFill84.Append(schemeColor60);

            A.Outline outline68 = new A.Outline();
            A.NoFill noFill60 = new A.NoFill();

            outline68.Append(noFill60);
            A.EffectList effectList56 = new A.EffectList();

            chartShapeProperties21.Append(solidFill84);
            chartShapeProperties21.Append(outline68);
            chartShapeProperties21.Append(effectList56);
            C.InvertIfNegative invertIfNegative6 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData12 = new C.CategoryAxisData();

            C.StringReference stringReference24 = new C.StringReference();
            C.Formula formula35 = new C.Formula();
            formula35.Text = "Caption!$A$2:$A$5";

            C.StringCache stringCache24 = new C.StringCache();
            C.PointCount pointCount35 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint46 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue79 = new C.NumericValue();
            numericValue79.Text = "product_A";

            stringPoint46.Append(numericValue79);

            C.StringPoint stringPoint47 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue80 = new C.NumericValue();
            numericValue80.Text = "product_D";

            stringPoint47.Append(numericValue80);

            C.StringPoint stringPoint48 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue81 = new C.NumericValue();
            numericValue81.Text = "product_E";

            stringPoint48.Append(numericValue81);

            stringCache24.Append(pointCount35);
            stringCache24.Append(stringPoint46);
            stringCache24.Append(stringPoint47);
            stringCache24.Append(stringPoint48);

            stringReference24.Append(formula35);
            stringReference24.Append(stringCache24);

            categoryAxisData12.Append(stringReference24);

            C.Values values12 = new C.Values();

            C.NumberReference numberReference12 = new C.NumberReference();
            C.Formula formula36 = new C.Formula();
            formula36.Text = "Caption!$B$2:$B$5";

            C.NumberingCache numberingCache12 = new C.NumberingCache();
            C.FormatCode formatCode12 = new C.FormatCode();
            formatCode12.Text = "General";
            C.PointCount pointCount36 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint34 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue82 = new C.NumericValue();
            numericValue82.Text = "19";

            numericPoint34.Append(numericValue82);

            C.NumericPoint numericPoint35 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue83 = new C.NumericValue();
            numericValue83.Text = "13";

            numericPoint35.Append(numericValue83);

            C.NumericPoint numericPoint36 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue84 = new C.NumericValue();
            numericValue84.Text = "33";

            numericPoint36.Append(numericValue84);

            numberingCache12.Append(formatCode12);
            numberingCache12.Append(pointCount36);
            numberingCache12.Append(numericPoint34);
            numberingCache12.Append(numericPoint35);
            numberingCache12.Append(numericPoint36);

            numberReference12.Append(formula36);
            numberReference12.Append(numberingCache12);

            values12.Append(numberReference12);

            barChartSeries6.Append(index123);
            barChartSeries6.Append(order12);
            barChartSeries6.Append(seriesText12);
            barChartSeries6.Append(chartShapeProperties21);
            barChartSeries6.Append(invertIfNegative6);
            barChartSeries6.Append(categoryAxisData12);
            barChartSeries6.Append(values12);

            C.DataLabels dataLabels12 = new C.DataLabels();
            C.ShowLegendKey showLegendKey12 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue12 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName12 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName12 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent12 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize12 = new C.ShowBubbleSize(){ Val = false };

            dataLabels12.Append(showLegendKey12);
            dataLabels12.Append(showValue12);
            dataLabels12.Append(showCategoryName12);
            dataLabels12.Append(showSeriesName12);
            dataLabels12.Append(showPercent12);
            dataLabels12.Append(showBubbleSize12);
            C.GapWidth gapWidth6 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap5 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId21 = new C.AxisId(){ Val = (UInt32Value)164321080U };
            C.AxisId axisId22 = new C.AxisId(){ Val = (UInt32Value)209664384U };

            barChart6.Append(barDirection6);
            barChart6.Append(barGrouping6);
            barChart6.Append(varyColors12);
            barChart6.Append(barChartSeries6);
            barChart6.Append(dataLabels12);
            barChart6.Append(gapWidth6);
            barChart6.Append(overlap5);
            barChart6.Append(axisId21);
            barChart6.Append(axisId22);

            C.CategoryAxis categoryAxis6 = new C.CategoryAxis();
            C.AxisId axisId23 = new C.AxisId(){ Val = (UInt32Value)164321080U };

            C.Scaling scaling11 = new C.Scaling();
            C.Orientation orientation11 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling11.Append(orientation11);
            C.Delete delete11 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition11 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat22 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark11 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark11 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition11 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties22 = new C.ChartShapeProperties();
            A.NoFill noFill61 = new A.NoFill();

            A.Outline outline69 = new A.Outline();
            A.NoFill noFill62 = new A.NoFill();

            outline69.Append(noFill62);
            A.EffectList effectList57 = new A.EffectList();

            chartShapeProperties22.Append(noFill61);
            chartShapeProperties22.Append(outline69);
            chartShapeProperties22.Append(effectList57);

            C.TextProperties textProperties17 = new C.TextProperties();
            A.BodyProperties bodyProperties29 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle29 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties17 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties17 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation21 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset21 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor61.Append(luminanceModulation21);
            schemeColor61.Append(luminanceOffset21);

            solidFill85.Append(schemeColor61);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill85);
            defaultRunProperties17.Append(latinFont13);
            defaultRunProperties17.Append(eastAsianFont13);
            defaultRunProperties17.Append(complexScriptFont13);

            paragraphProperties17.Append(defaultRunProperties17);
            A.EndParagraphRunProperties endParagraphRunProperties17 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph29.Append(paragraphProperties17);
            paragraph29.Append(endParagraphRunProperties17);

            textProperties17.Append(bodyProperties29);
            textProperties17.Append(listStyle29);
            textProperties17.Append(paragraph29);
            C.CrossingAxis crossingAxis11 = new C.CrossingAxis(){ Val = (UInt32Value)209664384U };
            C.Crosses crosses11 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled6 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment6 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset6 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels6 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis6.Append(axisId23);
            categoryAxis6.Append(scaling11);
            categoryAxis6.Append(delete11);
            categoryAxis6.Append(axisPosition11);
            categoryAxis6.Append(numberingFormat22);
            categoryAxis6.Append(majorTickMark11);
            categoryAxis6.Append(minorTickMark11);
            categoryAxis6.Append(tickLabelPosition11);
            categoryAxis6.Append(chartShapeProperties22);
            categoryAxis6.Append(textProperties17);
            categoryAxis6.Append(crossingAxis11);
            categoryAxis6.Append(crosses11);
            categoryAxis6.Append(autoLabeled6);
            categoryAxis6.Append(labelAlignment6);
            categoryAxis6.Append(labelOffset6);
            categoryAxis6.Append(noMultiLevelLabels6);

            C.ValueAxis valueAxis6 = new C.ValueAxis();
            C.AxisId axisId24 = new C.AxisId(){ Val = (UInt32Value)209664384U };

            C.Scaling scaling12 = new C.Scaling();
            C.Orientation orientation12 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling12.Append(orientation12);
            C.Delete delete12 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition12 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines6 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties23 = new C.ChartShapeProperties();

            A.Outline outline70 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation22 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset22 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor62.Append(luminanceModulation22);
            schemeColor62.Append(luminanceOffset22);

            solidFill86.Append(schemeColor62);
            A.Round round9 = new A.Round();

            outline70.Append(solidFill86);
            outline70.Append(round9);
            A.EffectList effectList58 = new A.EffectList();

            chartShapeProperties23.Append(outline70);
            chartShapeProperties23.Append(effectList58);

            majorGridlines6.Append(chartShapeProperties23);
            C.NumberingFormat numberingFormat23 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark12 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark12 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition12 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties24 = new C.ChartShapeProperties();
            A.NoFill noFill63 = new A.NoFill();

            A.Outline outline71 = new A.Outline();
            A.NoFill noFill64 = new A.NoFill();

            outline71.Append(noFill64);
            A.EffectList effectList59 = new A.EffectList();

            chartShapeProperties24.Append(noFill63);
            chartShapeProperties24.Append(outline71);
            chartShapeProperties24.Append(effectList59);

            C.TextProperties textProperties18 = new C.TextProperties();
            A.BodyProperties bodyProperties30 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle30 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties18 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties18 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation23 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset23 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor63.Append(luminanceModulation23);
            schemeColor63.Append(luminanceOffset23);

            solidFill87.Append(schemeColor63);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill87);
            defaultRunProperties18.Append(latinFont14);
            defaultRunProperties18.Append(eastAsianFont14);
            defaultRunProperties18.Append(complexScriptFont14);

            paragraphProperties18.Append(defaultRunProperties18);
            A.EndParagraphRunProperties endParagraphRunProperties18 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph30.Append(paragraphProperties18);
            paragraph30.Append(endParagraphRunProperties18);

            textProperties18.Append(bodyProperties30);
            textProperties18.Append(listStyle30);
            textProperties18.Append(paragraph30);
            C.CrossingAxis crossingAxis12 = new C.CrossingAxis(){ Val = (UInt32Value)164321080U };
            C.Crosses crosses12 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween6 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis6.Append(axisId24);
            valueAxis6.Append(scaling12);
            valueAxis6.Append(delete12);
            valueAxis6.Append(axisPosition12);
            valueAxis6.Append(majorGridlines6);
            valueAxis6.Append(numberingFormat23);
            valueAxis6.Append(majorTickMark12);
            valueAxis6.Append(minorTickMark12);
            valueAxis6.Append(tickLabelPosition12);
            valueAxis6.Append(chartShapeProperties24);
            valueAxis6.Append(textProperties18);
            valueAxis6.Append(crossingAxis12);
            valueAxis6.Append(crosses12);
            valueAxis6.Append(crossBetween6);

            C.ShapeProperties shapeProperties48 = new C.ShapeProperties();

            A.SolidFill solidFill88 = new A.SolidFill();
            A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill88.Append(schemeColor64);

            A.Outline outline72 = new A.Outline();
            A.NoFill noFill65 = new A.NoFill();

            outline72.Append(noFill65);
            A.EffectList effectList60 = new A.EffectList();

            shapeProperties48.Append(solidFill88);
            shapeProperties48.Append(outline72);
            shapeProperties48.Append(effectList60);

            plotArea12.Append(layout12);
            plotArea12.Append(barChart6);
            plotArea12.Append(categoryAxis6);
            plotArea12.Append(valueAxis6);
            plotArea12.Append(shapeProperties48);

            C.Legend legend12 = new C.Legend();
            C.LegendPosition legendPosition12 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay24 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties25 = new C.ChartShapeProperties();
            A.NoFill noFill66 = new A.NoFill();

            A.Outline outline73 = new A.Outline();
            A.NoFill noFill67 = new A.NoFill();

            outline73.Append(noFill67);
            A.EffectList effectList61 = new A.EffectList();

            chartShapeProperties25.Append(noFill66);
            chartShapeProperties25.Append(outline73);
            chartShapeProperties25.Append(effectList61);

            C.TextProperties textProperties19 = new C.TextProperties();
            A.BodyProperties bodyProperties31 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle31 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties19 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties19 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation24 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset24 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor65.Append(luminanceModulation24);
            schemeColor65.Append(luminanceOffset24);

            solidFill89.Append(schemeColor65);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill89);
            defaultRunProperties19.Append(latinFont15);
            defaultRunProperties19.Append(eastAsianFont15);
            defaultRunProperties19.Append(complexScriptFont15);

            paragraphProperties19.Append(defaultRunProperties19);
            A.EndParagraphRunProperties endParagraphRunProperties19 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph31.Append(paragraphProperties19);
            paragraph31.Append(endParagraphRunProperties19);

            textProperties19.Append(bodyProperties31);
            textProperties19.Append(listStyle31);
            textProperties19.Append(paragraph31);

            legend12.Append(legendPosition12);
            legend12.Append(overlay24);
            legend12.Append(chartShapeProperties25);
            legend12.Append(textProperties19);
            C.PlotVisibleOnly plotVisibleOnly12 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs12 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum12 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart12.Append(title12);
            chart12.Append(autoTitleDeleted12);
            chart12.Append(pivotFormats12);
            chart12.Append(plotArea12);
            chart12.Append(legend12);
            chart12.Append(plotVisibleOnly12);
            chart12.Append(displayBlanksAs12);
            chart12.Append(showDataLabelsOverMaximum12);

            C.ShapeProperties shapeProperties49 = new C.ShapeProperties();

            A.SolidFill solidFill90 = new A.SolidFill();
            A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill90.Append(schemeColor66);

            A.Outline outline74 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation25 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset25 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor67.Append(luminanceModulation25);
            schemeColor67.Append(luminanceOffset25);

            solidFill91.Append(schemeColor67);
            A.Round round10 = new A.Round();

            outline74.Append(solidFill91);
            outline74.Append(round10);
            A.EffectList effectList62 = new A.EffectList();

            shapeProperties49.Append(solidFill90);
            shapeProperties49.Append(outline74);
            shapeProperties49.Append(effectList62);

            C.TextProperties textProperties20 = new C.TextProperties();
            A.BodyProperties bodyProperties32 = new A.BodyProperties();
            A.ListStyle listStyle32 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties20 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties20 = new A.DefaultRunProperties();

            paragraphProperties20.Append(defaultRunProperties20);
            A.EndParagraphRunProperties endParagraphRunProperties20 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph32.Append(paragraphProperties20);
            paragraph32.Append(endParagraphRunProperties20);

            textProperties20.Append(bodyProperties32);
            textProperties20.Append(listStyle32);
            textProperties20.Append(paragraph32);

            C.PrintSettings printSettings12 = new C.PrintSettings();
            C.HeaderFooter headerFooter12 = new C.HeaderFooter();
            C.PageMargins pageMargins20 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup12 = new C.PageSetup();

            printSettings12.Append(headerFooter12);
            printSettings12.Append(pageMargins20);
            printSettings12.Append(pageSetup12);

            C.ChartSpaceExtensionList chartSpaceExtensionList12 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList12.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList12.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension12 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension12.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions12 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter12 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories12 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData12 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries12 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible12 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions12.Append(dropZoneFilter12);
            pivotOptions12.Append(dropZoneCategories12);
            pivotOptions12.Append(dropZoneData12);
            pivotOptions12.Append(dropZoneSeries12);
            pivotOptions12.Append(dropZonesVisible12);

            chartSpaceExtension12.Append(pivotOptions12);

            chartSpaceExtensionList12.Append(chartSpaceExtension12);

            chartSpace12.Append(date190412);
            chartSpace12.Append(editingLanguage12);
            chartSpace12.Append(roundedCorners12);
            chartSpace12.Append(alternateContent25);
            chartSpace12.Append(pivotSource12);
            chartSpace12.Append(chart12);
            chartSpace12.Append(shapeProperties49);
            chartSpace12.Append(textProperties20);
            chartSpace12.Append(printSettings12);
            chartSpace12.Append(chartSpaceExtensionList12);

            chartPart12.ChartSpace = chartSpace12;
        }
Example #13
0
        // Generates content of chartPart10.
        private void GenerateChartPart10Content(ChartPart chartPart10)
        {
            C.ChartSpace chartSpace10 = new C.ChartSpace();
            chartSpace10.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace10.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace10.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date190410 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage10 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners10 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent21 = new AlternateContent();
            alternateContent21.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice21 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice21.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style19 = new C14.Style(){ Val = 101 };

            alternateContentChoice21.Append(style19);

            AlternateContentFallback alternateContentFallback20 = new AlternateContentFallback();
            C.Style style20 = new C.Style(){ Val = 1 };

            alternateContentFallback20.Append(style20);

            alternateContent21.Append(alternateContentChoice21);
            alternateContent21.Append(alternateContentFallback20);

            C.PivotSource pivotSource10 = new C.PivotSource();
            C.PivotTableName pivotTableName10 = new C.PivotTableName();
            pivotTableName10.Text = "[GeneratedDocument.xlsx]Style!PivotTable1";
            C.FormatId formatId10 = new C.FormatId(){ Val = (UInt32Value)19U };

            pivotSource10.Append(pivotTableName10);
            pivotSource10.Append(formatId10);

            C.Chart chart10 = new C.Chart();

            C.Title title10 = new C.Title();
            C.Overlay overlay19 = new C.Overlay(){ Val = false };

            title10.Append(overlay19);
            C.AutoTitleDeleted autoTitleDeleted10 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats10 = new C.PivotFormats();

            C.PivotFormat pivotFormat74 = new C.PivotFormat();
            C.Index index83 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties32 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor40 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint19 = new A.Tint(){ Val = 100000 };

            schemeColor40.Append(tint19);

            solidFill60.Append(schemeColor40);

            A.Outline outline47 = new A.Outline();
            A.NoFill noFill40 = new A.NoFill();

            outline47.Append(noFill40);
            A.EffectList effectList37 = new A.EffectList();

            shapeProperties32.Append(solidFill60);
            shapeProperties32.Append(outline47);
            shapeProperties32.Append(effectList37);

            C.Marker marker74 = new C.Marker();
            C.Symbol symbol74 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker74.Append(symbol74);

            pivotFormat74.Append(index83);
            pivotFormat74.Append(shapeProperties32);
            pivotFormat74.Append(marker74);

            C.PivotFormat pivotFormat75 = new C.PivotFormat();
            C.Index index84 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties33 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor41 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint20 = new A.Tint(){ Val = 100000 };

            schemeColor41.Append(tint20);

            solidFill61.Append(schemeColor41);

            A.Outline outline48 = new A.Outline();
            A.NoFill noFill41 = new A.NoFill();

            outline48.Append(noFill41);
            A.EffectList effectList38 = new A.EffectList();

            shapeProperties33.Append(solidFill61);
            shapeProperties33.Append(outline48);
            shapeProperties33.Append(effectList38);

            C.Marker marker75 = new C.Marker();
            C.Symbol symbol75 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker75.Append(symbol75);

            pivotFormat75.Append(index84);
            pivotFormat75.Append(shapeProperties33);
            pivotFormat75.Append(marker75);

            C.PivotFormat pivotFormat76 = new C.PivotFormat();
            C.Index index85 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker76 = new C.Marker();
            C.Symbol symbol76 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker76.Append(symbol76);

            pivotFormat76.Append(index85);
            pivotFormat76.Append(marker76);

            C.PivotFormat pivotFormat77 = new C.PivotFormat();
            C.Index index86 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker77 = new C.Marker();
            C.Symbol symbol77 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker77.Append(symbol77);

            pivotFormat77.Append(index86);
            pivotFormat77.Append(marker77);

            C.PivotFormat pivotFormat78 = new C.PivotFormat();
            C.Index index87 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker78 = new C.Marker();
            C.Symbol symbol78 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker78.Append(symbol78);

            pivotFormat78.Append(index87);
            pivotFormat78.Append(marker78);

            C.PivotFormat pivotFormat79 = new C.PivotFormat();
            C.Index index88 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker79 = new C.Marker();
            C.Symbol symbol79 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker79.Append(symbol79);

            pivotFormat79.Append(index88);
            pivotFormat79.Append(marker79);

            C.PivotFormat pivotFormat80 = new C.PivotFormat();
            C.Index index89 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker80 = new C.Marker();
            C.Symbol symbol80 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker80.Append(symbol80);

            pivotFormat80.Append(index89);
            pivotFormat80.Append(marker80);

            C.PivotFormat pivotFormat81 = new C.PivotFormat();
            C.Index index90 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker81 = new C.Marker();
            C.Symbol symbol81 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker81.Append(symbol81);

            pivotFormat81.Append(index90);
            pivotFormat81.Append(marker81);

            C.PivotFormat pivotFormat82 = new C.PivotFormat();
            C.Index index91 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker82 = new C.Marker();
            C.Symbol symbol82 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker82.Append(symbol82);

            pivotFormat82.Append(index91);
            pivotFormat82.Append(marker82);

            C.PivotFormat pivotFormat83 = new C.PivotFormat();
            C.Index index92 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker83 = new C.Marker();
            C.Symbol symbol83 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker83.Append(symbol83);

            pivotFormat83.Append(index92);
            pivotFormat83.Append(marker83);

            C.PivotFormat pivotFormat84 = new C.PivotFormat();
            C.Index index93 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker84 = new C.Marker();
            C.Symbol symbol84 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker84.Append(symbol84);

            pivotFormat84.Append(index93);
            pivotFormat84.Append(marker84);

            C.PivotFormat pivotFormat85 = new C.PivotFormat();
            C.Index index94 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker85 = new C.Marker();
            C.Symbol symbol85 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker85.Append(symbol85);

            pivotFormat85.Append(index94);
            pivotFormat85.Append(marker85);

            C.PivotFormat pivotFormat86 = new C.PivotFormat();
            C.Index index95 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker86 = new C.Marker();
            C.Symbol symbol86 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker86.Append(symbol86);

            pivotFormat86.Append(index95);
            pivotFormat86.Append(marker86);

            C.PivotFormat pivotFormat87 = new C.PivotFormat();
            C.Index index96 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker87 = new C.Marker();
            C.Symbol symbol87 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker87.Append(symbol87);

            pivotFormat87.Append(index96);
            pivotFormat87.Append(marker87);

            C.PivotFormat pivotFormat88 = new C.PivotFormat();
            C.Index index97 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties34 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor42 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint21 = new A.Tint(){ Val = 100000 };

            schemeColor42.Append(tint21);

            solidFill62.Append(schemeColor42);

            A.Outline outline49 = new A.Outline();
            A.NoFill noFill42 = new A.NoFill();

            outline49.Append(noFill42);
            A.EffectList effectList39 = new A.EffectList();

            shapeProperties34.Append(solidFill62);
            shapeProperties34.Append(outline49);
            shapeProperties34.Append(effectList39);

            C.Marker marker88 = new C.Marker();
            C.Symbol symbol88 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker88.Append(symbol88);

            pivotFormat88.Append(index97);
            pivotFormat88.Append(shapeProperties34);
            pivotFormat88.Append(marker88);

            C.PivotFormat pivotFormat89 = new C.PivotFormat();
            C.Index index98 = new C.Index(){ Val = (UInt32Value)15U };

            C.ShapeProperties shapeProperties35 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor43 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint22 = new A.Tint(){ Val = 100000 };

            schemeColor43.Append(tint22);

            solidFill63.Append(schemeColor43);

            A.Outline outline50 = new A.Outline();
            A.NoFill noFill43 = new A.NoFill();

            outline50.Append(noFill43);
            A.EffectList effectList40 = new A.EffectList();

            shapeProperties35.Append(solidFill63);
            shapeProperties35.Append(outline50);
            shapeProperties35.Append(effectList40);

            C.Marker marker89 = new C.Marker();
            C.Symbol symbol89 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker89.Append(symbol89);

            pivotFormat89.Append(index98);
            pivotFormat89.Append(shapeProperties35);
            pivotFormat89.Append(marker89);

            C.PivotFormat pivotFormat90 = new C.PivotFormat();
            C.Index index99 = new C.Index(){ Val = (UInt32Value)16U };

            C.ShapeProperties shapeProperties36 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint23 = new A.Tint(){ Val = 100000 };

            schemeColor44.Append(tint23);

            solidFill64.Append(schemeColor44);

            A.Outline outline51 = new A.Outline();
            A.NoFill noFill44 = new A.NoFill();

            outline51.Append(noFill44);
            A.EffectList effectList41 = new A.EffectList();

            shapeProperties36.Append(solidFill64);
            shapeProperties36.Append(outline51);
            shapeProperties36.Append(effectList41);

            C.Marker marker90 = new C.Marker();
            C.Symbol symbol90 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker90.Append(symbol90);

            pivotFormat90.Append(index99);
            pivotFormat90.Append(shapeProperties36);
            pivotFormat90.Append(marker90);

            C.PivotFormat pivotFormat91 = new C.PivotFormat();
            C.Index index100 = new C.Index(){ Val = (UInt32Value)17U };

            C.ShapeProperties shapeProperties37 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint24 = new A.Tint(){ Val = 100000 };

            schemeColor45.Append(tint24);

            solidFill65.Append(schemeColor45);

            A.Outline outline52 = new A.Outline();
            A.NoFill noFill45 = new A.NoFill();

            outline52.Append(noFill45);
            A.EffectList effectList42 = new A.EffectList();

            shapeProperties37.Append(solidFill65);
            shapeProperties37.Append(outline52);
            shapeProperties37.Append(effectList42);

            C.Marker marker91 = new C.Marker();
            C.Symbol symbol91 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker91.Append(symbol91);

            pivotFormat91.Append(index100);
            pivotFormat91.Append(shapeProperties37);
            pivotFormat91.Append(marker91);

            C.PivotFormat pivotFormat92 = new C.PivotFormat();
            C.Index index101 = new C.Index(){ Val = (UInt32Value)18U };

            C.ShapeProperties shapeProperties38 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint25 = new A.Tint(){ Val = 100000 };

            schemeColor46.Append(tint25);

            solidFill66.Append(schemeColor46);

            A.Outline outline53 = new A.Outline();
            A.NoFill noFill46 = new A.NoFill();

            outline53.Append(noFill46);
            A.EffectList effectList43 = new A.EffectList();

            shapeProperties38.Append(solidFill66);
            shapeProperties38.Append(outline53);
            shapeProperties38.Append(effectList43);

            C.Marker marker92 = new C.Marker();
            C.Symbol symbol92 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker92.Append(symbol92);

            pivotFormat92.Append(index101);
            pivotFormat92.Append(shapeProperties38);
            pivotFormat92.Append(marker92);

            C.PivotFormat pivotFormat93 = new C.PivotFormat();
            C.Index index102 = new C.Index(){ Val = (UInt32Value)19U };

            C.ShapeProperties shapeProperties39 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint26 = new A.Tint(){ Val = 100000 };

            schemeColor47.Append(tint26);

            solidFill67.Append(schemeColor47);

            A.Outline outline54 = new A.Outline();
            A.NoFill noFill47 = new A.NoFill();

            outline54.Append(noFill47);
            A.EffectList effectList44 = new A.EffectList();

            shapeProperties39.Append(solidFill67);
            shapeProperties39.Append(outline54);
            shapeProperties39.Append(effectList44);

            C.Marker marker93 = new C.Marker();
            C.Symbol symbol93 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker93.Append(symbol93);

            pivotFormat93.Append(index102);
            pivotFormat93.Append(shapeProperties39);
            pivotFormat93.Append(marker93);

            C.PivotFormat pivotFormat94 = new C.PivotFormat();
            C.Index index103 = new C.Index(){ Val = (UInt32Value)20U };

            C.ShapeProperties shapeProperties40 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor48 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint27 = new A.Tint(){ Val = 100000 };

            schemeColor48.Append(tint27);

            solidFill68.Append(schemeColor48);

            A.Outline outline55 = new A.Outline();
            A.NoFill noFill48 = new A.NoFill();

            outline55.Append(noFill48);
            A.EffectList effectList45 = new A.EffectList();

            shapeProperties40.Append(solidFill68);
            shapeProperties40.Append(outline55);
            shapeProperties40.Append(effectList45);

            C.Marker marker94 = new C.Marker();
            C.Symbol symbol94 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker94.Append(symbol94);

            pivotFormat94.Append(index103);
            pivotFormat94.Append(shapeProperties40);
            pivotFormat94.Append(marker94);

            pivotFormats10.Append(pivotFormat74);
            pivotFormats10.Append(pivotFormat75);
            pivotFormats10.Append(pivotFormat76);
            pivotFormats10.Append(pivotFormat77);
            pivotFormats10.Append(pivotFormat78);
            pivotFormats10.Append(pivotFormat79);
            pivotFormats10.Append(pivotFormat80);
            pivotFormats10.Append(pivotFormat81);
            pivotFormats10.Append(pivotFormat82);
            pivotFormats10.Append(pivotFormat83);
            pivotFormats10.Append(pivotFormat84);
            pivotFormats10.Append(pivotFormat85);
            pivotFormats10.Append(pivotFormat86);
            pivotFormats10.Append(pivotFormat87);
            pivotFormats10.Append(pivotFormat88);
            pivotFormats10.Append(pivotFormat89);
            pivotFormats10.Append(pivotFormat90);
            pivotFormats10.Append(pivotFormat91);
            pivotFormats10.Append(pivotFormat92);
            pivotFormats10.Append(pivotFormat93);
            pivotFormats10.Append(pivotFormat94);

            C.PlotArea plotArea10 = new C.PlotArea();
            C.Layout layout10 = new C.Layout();

            C.BarChart barChart5 = new C.BarChart();
            C.BarDirection barDirection5 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping5 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors10 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries5 = new C.BarChartSeries();
            C.Index index104 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order10 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText10 = new C.SeriesText();

            C.StringReference stringReference19 = new C.StringReference();
            C.Formula formula28 = new C.Formula();
            formula28.Text = "Style!$B$1";

            C.StringCache stringCache19 = new C.StringCache();
            C.PointCount pointCount28 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint37 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue64 = new C.NumericValue();
            numericValue64.Text = "Total";

            stringPoint37.Append(numericValue64);

            stringCache19.Append(pointCount28);
            stringCache19.Append(stringPoint37);

            stringReference19.Append(formula28);
            stringReference19.Append(stringCache19);

            seriesText10.Append(stringReference19);

            C.ChartShapeProperties chartShapeProperties16 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor49 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint28 = new A.Tint(){ Val = 100000 };

            schemeColor49.Append(tint28);

            solidFill69.Append(schemeColor49);

            A.Outline outline56 = new A.Outline();
            A.NoFill noFill49 = new A.NoFill();

            outline56.Append(noFill49);
            A.EffectList effectList46 = new A.EffectList();

            chartShapeProperties16.Append(solidFill69);
            chartShapeProperties16.Append(outline56);
            chartShapeProperties16.Append(effectList46);
            C.InvertIfNegative invertIfNegative5 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData10 = new C.CategoryAxisData();

            C.StringReference stringReference20 = new C.StringReference();
            C.Formula formula29 = new C.Formula();
            formula29.Text = "Style!$A$2:$A$5";

            C.StringCache stringCache20 = new C.StringCache();
            C.PointCount pointCount29 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint38 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue65 = new C.NumericValue();
            numericValue65.Text = "product_A";

            stringPoint38.Append(numericValue65);

            C.StringPoint stringPoint39 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue66 = new C.NumericValue();
            numericValue66.Text = "product_D";

            stringPoint39.Append(numericValue66);

            C.StringPoint stringPoint40 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue67 = new C.NumericValue();
            numericValue67.Text = "product_E";

            stringPoint40.Append(numericValue67);

            stringCache20.Append(pointCount29);
            stringCache20.Append(stringPoint38);
            stringCache20.Append(stringPoint39);
            stringCache20.Append(stringPoint40);

            stringReference20.Append(formula29);
            stringReference20.Append(stringCache20);

            categoryAxisData10.Append(stringReference20);

            C.Values values10 = new C.Values();

            C.NumberReference numberReference10 = new C.NumberReference();
            C.Formula formula30 = new C.Formula();
            formula30.Text = "Style!$B$2:$B$5";

            C.NumberingCache numberingCache10 = new C.NumberingCache();
            C.FormatCode formatCode10 = new C.FormatCode();
            formatCode10.Text = "General";
            C.PointCount pointCount30 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint28 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue68 = new C.NumericValue();
            numericValue68.Text = "19";

            numericPoint28.Append(numericValue68);

            C.NumericPoint numericPoint29 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue69 = new C.NumericValue();
            numericValue69.Text = "13";

            numericPoint29.Append(numericValue69);

            C.NumericPoint numericPoint30 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue70 = new C.NumericValue();
            numericValue70.Text = "33";

            numericPoint30.Append(numericValue70);

            numberingCache10.Append(formatCode10);
            numberingCache10.Append(pointCount30);
            numberingCache10.Append(numericPoint28);
            numberingCache10.Append(numericPoint29);
            numberingCache10.Append(numericPoint30);

            numberReference10.Append(formula30);
            numberReference10.Append(numberingCache10);

            values10.Append(numberReference10);

            barChartSeries5.Append(index104);
            barChartSeries5.Append(order10);
            barChartSeries5.Append(seriesText10);
            barChartSeries5.Append(chartShapeProperties16);
            barChartSeries5.Append(invertIfNegative5);
            barChartSeries5.Append(categoryAxisData10);
            barChartSeries5.Append(values10);

            C.DataLabels dataLabels10 = new C.DataLabels();
            C.ShowLegendKey showLegendKey10 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue10 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName10 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName10 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent10 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize10 = new C.ShowBubbleSize(){ Val = false };

            dataLabels10.Append(showLegendKey10);
            dataLabels10.Append(showValue10);
            dataLabels10.Append(showCategoryName10);
            dataLabels10.Append(showSeriesName10);
            dataLabels10.Append(showPercent10);
            dataLabels10.Append(showBubbleSize10);
            C.GapWidth gapWidth5 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap4 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId17 = new C.AxisId(){ Val = (UInt32Value)208842560U };
            C.AxisId axisId18 = new C.AxisId(){ Val = (UInt32Value)208842952U };

            barChart5.Append(barDirection5);
            barChart5.Append(barGrouping5);
            barChart5.Append(varyColors10);
            barChart5.Append(barChartSeries5);
            barChart5.Append(dataLabels10);
            barChart5.Append(gapWidth5);
            barChart5.Append(overlap4);
            barChart5.Append(axisId17);
            barChart5.Append(axisId18);

            C.CategoryAxis categoryAxis5 = new C.CategoryAxis();
            C.AxisId axisId19 = new C.AxisId(){ Val = (UInt32Value)208842560U };

            C.Scaling scaling9 = new C.Scaling();
            C.Orientation orientation9 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling9.Append(orientation9);
            C.Delete delete9 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition9 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat9 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark9 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark9 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition9 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties17 = new C.ChartShapeProperties();
            A.NoFill noFill50 = new A.NoFill();

            A.Outline outline57 = new A.Outline();
            A.NoFill noFill51 = new A.NoFill();

            outline57.Append(noFill51);
            A.EffectList effectList47 = new A.EffectList();

            chartShapeProperties17.Append(noFill50);
            chartShapeProperties17.Append(outline57);
            chartShapeProperties17.Append(effectList47);

            C.TextProperties textProperties13 = new C.TextProperties();
            A.BodyProperties bodyProperties23 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle23 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties13 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor50 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation16 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset16 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor50.Append(luminanceModulation16);
            schemeColor50.Append(luminanceOffset16);

            solidFill70.Append(schemeColor50);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties13.Append(solidFill70);
            defaultRunProperties13.Append(latinFont10);
            defaultRunProperties13.Append(eastAsianFont10);
            defaultRunProperties13.Append(complexScriptFont10);

            paragraphProperties13.Append(defaultRunProperties13);
            A.EndParagraphRunProperties endParagraphRunProperties13 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph23.Append(paragraphProperties13);
            paragraph23.Append(endParagraphRunProperties13);

            textProperties13.Append(bodyProperties23);
            textProperties13.Append(listStyle23);
            textProperties13.Append(paragraph23);
            C.CrossingAxis crossingAxis9 = new C.CrossingAxis(){ Val = (UInt32Value)208842952U };
            C.Crosses crosses9 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled5 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment5 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset5 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels5 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis5.Append(axisId19);
            categoryAxis5.Append(scaling9);
            categoryAxis5.Append(delete9);
            categoryAxis5.Append(axisPosition9);
            categoryAxis5.Append(numberingFormat9);
            categoryAxis5.Append(majorTickMark9);
            categoryAxis5.Append(minorTickMark9);
            categoryAxis5.Append(tickLabelPosition9);
            categoryAxis5.Append(chartShapeProperties17);
            categoryAxis5.Append(textProperties13);
            categoryAxis5.Append(crossingAxis9);
            categoryAxis5.Append(crosses9);
            categoryAxis5.Append(autoLabeled5);
            categoryAxis5.Append(labelAlignment5);
            categoryAxis5.Append(labelOffset5);
            categoryAxis5.Append(noMultiLevelLabels5);

            C.ValueAxis valueAxis5 = new C.ValueAxis();
            C.AxisId axisId20 = new C.AxisId(){ Val = (UInt32Value)208842952U };

            C.Scaling scaling10 = new C.Scaling();
            C.Orientation orientation10 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling10.Append(orientation10);
            C.Delete delete10 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition10 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines5 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties18 = new C.ChartShapeProperties();

            A.Outline outline58 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor51 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation17 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset17 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor51.Append(luminanceModulation17);
            schemeColor51.Append(luminanceOffset17);

            solidFill71.Append(schemeColor51);
            A.Round round7 = new A.Round();

            outline58.Append(solidFill71);
            outline58.Append(round7);
            A.EffectList effectList48 = new A.EffectList();

            chartShapeProperties18.Append(outline58);
            chartShapeProperties18.Append(effectList48);

            majorGridlines5.Append(chartShapeProperties18);
            C.NumberingFormat numberingFormat10 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark10 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark10 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition10 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties19 = new C.ChartShapeProperties();
            A.NoFill noFill52 = new A.NoFill();

            A.Outline outline59 = new A.Outline();
            A.NoFill noFill53 = new A.NoFill();

            outline59.Append(noFill53);
            A.EffectList effectList49 = new A.EffectList();

            chartShapeProperties19.Append(noFill52);
            chartShapeProperties19.Append(outline59);
            chartShapeProperties19.Append(effectList49);

            C.TextProperties textProperties14 = new C.TextProperties();
            A.BodyProperties bodyProperties24 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle24 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties14 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor52 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation18 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset18 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor52.Append(luminanceModulation18);
            schemeColor52.Append(luminanceOffset18);

            solidFill72.Append(schemeColor52);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties14.Append(solidFill72);
            defaultRunProperties14.Append(latinFont11);
            defaultRunProperties14.Append(eastAsianFont11);
            defaultRunProperties14.Append(complexScriptFont11);

            paragraphProperties14.Append(defaultRunProperties14);
            A.EndParagraphRunProperties endParagraphRunProperties14 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph24.Append(paragraphProperties14);
            paragraph24.Append(endParagraphRunProperties14);

            textProperties14.Append(bodyProperties24);
            textProperties14.Append(listStyle24);
            textProperties14.Append(paragraph24);
            C.CrossingAxis crossingAxis10 = new C.CrossingAxis(){ Val = (UInt32Value)208842560U };
            C.Crosses crosses10 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween5 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis5.Append(axisId20);
            valueAxis5.Append(scaling10);
            valueAxis5.Append(delete10);
            valueAxis5.Append(axisPosition10);
            valueAxis5.Append(majorGridlines5);
            valueAxis5.Append(numberingFormat10);
            valueAxis5.Append(majorTickMark10);
            valueAxis5.Append(minorTickMark10);
            valueAxis5.Append(tickLabelPosition10);
            valueAxis5.Append(chartShapeProperties19);
            valueAxis5.Append(textProperties14);
            valueAxis5.Append(crossingAxis10);
            valueAxis5.Append(crosses10);
            valueAxis5.Append(crossBetween5);

            C.ShapeProperties shapeProperties41 = new C.ShapeProperties();

            A.SolidFill solidFill73 = new A.SolidFill();
            A.SchemeColor schemeColor53 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill73.Append(schemeColor53);

            A.Outline outline60 = new A.Outline();
            A.NoFill noFill54 = new A.NoFill();

            outline60.Append(noFill54);
            A.EffectList effectList50 = new A.EffectList();

            shapeProperties41.Append(solidFill73);
            shapeProperties41.Append(outline60);
            shapeProperties41.Append(effectList50);

            plotArea10.Append(layout10);
            plotArea10.Append(barChart5);
            plotArea10.Append(categoryAxis5);
            plotArea10.Append(valueAxis5);
            plotArea10.Append(shapeProperties41);

            C.Legend legend10 = new C.Legend();
            C.LegendPosition legendPosition10 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay20 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties20 = new C.ChartShapeProperties();
            A.NoFill noFill55 = new A.NoFill();

            A.Outline outline61 = new A.Outline();
            A.NoFill noFill56 = new A.NoFill();

            outline61.Append(noFill56);
            A.EffectList effectList51 = new A.EffectList();

            chartShapeProperties20.Append(noFill55);
            chartShapeProperties20.Append(outline61);
            chartShapeProperties20.Append(effectList51);

            C.TextProperties textProperties15 = new C.TextProperties();
            A.BodyProperties bodyProperties25 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle25 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties15 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties15 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor54 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation19 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset19 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor54.Append(luminanceModulation19);
            schemeColor54.Append(luminanceOffset19);

            solidFill74.Append(schemeColor54);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties15.Append(solidFill74);
            defaultRunProperties15.Append(latinFont12);
            defaultRunProperties15.Append(eastAsianFont12);
            defaultRunProperties15.Append(complexScriptFont12);

            paragraphProperties15.Append(defaultRunProperties15);
            A.EndParagraphRunProperties endParagraphRunProperties15 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph25.Append(paragraphProperties15);
            paragraph25.Append(endParagraphRunProperties15);

            textProperties15.Append(bodyProperties25);
            textProperties15.Append(listStyle25);
            textProperties15.Append(paragraph25);

            legend10.Append(legendPosition10);
            legend10.Append(overlay20);
            legend10.Append(chartShapeProperties20);
            legend10.Append(textProperties15);
            C.PlotVisibleOnly plotVisibleOnly10 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs10 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum10 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart10.Append(title10);
            chart10.Append(autoTitleDeleted10);
            chart10.Append(pivotFormats10);
            chart10.Append(plotArea10);
            chart10.Append(legend10);
            chart10.Append(plotVisibleOnly10);
            chart10.Append(displayBlanksAs10);
            chart10.Append(showDataLabelsOverMaximum10);

            C.ShapeProperties shapeProperties42 = new C.ShapeProperties();

            A.SolidFill solidFill75 = new A.SolidFill();
            A.SchemeColor schemeColor55 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill75.Append(schemeColor55);

            A.Outline outline62 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor56 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation20 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset20 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor56.Append(luminanceModulation20);
            schemeColor56.Append(luminanceOffset20);

            solidFill76.Append(schemeColor56);
            A.Round round8 = new A.Round();

            outline62.Append(solidFill76);
            outline62.Append(round8);
            A.EffectList effectList52 = new A.EffectList();

            shapeProperties42.Append(solidFill75);
            shapeProperties42.Append(outline62);
            shapeProperties42.Append(effectList52);

            C.TextProperties textProperties16 = new C.TextProperties();
            A.BodyProperties bodyProperties26 = new A.BodyProperties();
            A.ListStyle listStyle26 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties16 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties16 = new A.DefaultRunProperties();

            paragraphProperties16.Append(defaultRunProperties16);
            A.EndParagraphRunProperties endParagraphRunProperties16 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph26.Append(paragraphProperties16);
            paragraph26.Append(endParagraphRunProperties16);

            textProperties16.Append(bodyProperties26);
            textProperties16.Append(listStyle26);
            textProperties16.Append(paragraph26);

            C.PrintSettings printSettings10 = new C.PrintSettings();
            C.HeaderFooter headerFooter10 = new C.HeaderFooter();
            C.PageMargins pageMargins17 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup10 = new C.PageSetup();

            printSettings10.Append(headerFooter10);
            printSettings10.Append(pageMargins17);
            printSettings10.Append(pageSetup10);

            C.ChartSpaceExtensionList chartSpaceExtensionList10 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList10.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList10.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension10 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension10.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions10 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter10 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories10 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData10 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries10 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible10 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions10.Append(dropZoneFilter10);
            pivotOptions10.Append(dropZoneCategories10);
            pivotOptions10.Append(dropZoneData10);
            pivotOptions10.Append(dropZoneSeries10);
            pivotOptions10.Append(dropZonesVisible10);

            chartSpaceExtension10.Append(pivotOptions10);

            chartSpaceExtensionList10.Append(chartSpaceExtension10);

            chartSpace10.Append(date190410);
            chartSpace10.Append(editingLanguage10);
            chartSpace10.Append(roundedCorners10);
            chartSpace10.Append(alternateContent21);
            chartSpace10.Append(pivotSource10);
            chartSpace10.Append(chart10);
            chartSpace10.Append(shapeProperties42);
            chartSpace10.Append(textProperties16);
            chartSpace10.Append(printSettings10);
            chartSpace10.Append(chartSpaceExtensionList10);

            chartPart10.ChartSpace = chartSpace10;
        }
Example #14
0
        // Generates content of slideLayoutPart11.
        private void GenerateSlideLayoutPart11Content(SlideLayoutPart slideLayoutPart11)
        {
            SlideLayout slideLayout11 = new SlideLayout(){ Type = SlideLayoutValues.PictureText, Preserve = true };
            slideLayout11.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout11.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout11.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

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

            ShapeTree shapeTree13 = new ShapeTree();

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

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

            GroupShapeProperties groupShapeProperties13 = new GroupShapeProperties();

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

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

            groupShapeProperties13.Append(transformGroup13);

            Shape shape60 = new Shape();

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

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

            nonVisualShapeDrawingProperties60.Append(shapeLocks60);

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

            applicationNonVisualDrawingProperties73.Append(placeholderShape60);

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

            ShapeProperties shapeProperties60 = new ShapeProperties();

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

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

            shapeProperties60.Append(transform2D23);

            TextBody textBody60 = new TextBody();

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

            bodyProperties60.Append(shape3DType6);

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

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

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

            listStyle60.Append(level1ParagraphProperties22);

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

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

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

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

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

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

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

            Shape shape61 = new Shape();

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

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

            nonVisualShapeDrawingProperties61.Append(shapeLocks61);

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

            applicationNonVisualDrawingProperties74.Append(placeholderShape61);

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

            ShapeProperties shapeProperties61 = new ShapeProperties();

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

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

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

            solidFill46.Append(schemeColor76);

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

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

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

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

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

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

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

            rgbColorModelHex18.Append(alpha7);

            outerShadow7.Append(rgbColorModelHex18);

            effectList7.Append(outerShadow7);

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

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

            camera5.Append(rotation6);

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

            lightRig5.Append(rotation7);

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

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

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

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

            schemeColor77.Append(shade11);

            contourColor2.Append(schemeColor77);

            shape3DType7.Append(contourColor2);

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

            ShapeStyle shapeStyle1 = new ShapeStyle();

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

            lineReference1.Append(schemeColor78);

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

            fillReference1.Append(schemeColor79);

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

            effectReference1.Append(schemeColor80);

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

            fontReference1.Append(schemeColor81);

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

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

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

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

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

            listStyle61.Append(level1ParagraphProperties23);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Shape shape62 = new Shape();

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

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

            nonVisualShapeDrawingProperties62.Append(shapeLocks62);

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

            applicationNonVisualDrawingProperties75.Append(placeholderShape62);

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

            ShapeProperties shapeProperties62 = new ShapeProperties();

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

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

            shapeProperties62.Append(transform2D25);

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

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

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

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

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

            level2ParagraphProperties14.Append(defaultRunProperties86);

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

            level3ParagraphProperties14.Append(defaultRunProperties87);

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

            level4ParagraphProperties14.Append(defaultRunProperties88);

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

            level5ParagraphProperties14.Append(defaultRunProperties89);

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

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

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

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

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

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

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

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

            Shape shape63 = new Shape();

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

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

            nonVisualShapeDrawingProperties63.Append(shapeLocks63);

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

            applicationNonVisualDrawingProperties76.Append(placeholderShape63);

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

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

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

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

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

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

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

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

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

            Shape shape64 = new Shape();

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

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

            nonVisualShapeDrawingProperties64.Append(shapeLocks64);

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

            applicationNonVisualDrawingProperties77.Append(placeholderShape64);

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

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

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

            paragraph100.Append(endParagraphRunProperties59);

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

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

            Shape shape65 = new Shape();

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

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

            nonVisualShapeDrawingProperties65.Append(shapeLocks65);

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

            applicationNonVisualDrawingProperties78.Append(placeholderShape65);

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

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

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

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

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

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

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

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

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

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

            CommonSlideDataExtensionList commonSlideDataExtensionList13 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension13.Append(creationId13);

            commonSlideDataExtensionList13.Append(commonSlideDataExtension13);

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

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

            colorMapOverride12.Append(masterColorMapping11);

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

            slideLayoutPart11.SlideLayout = slideLayout11;
        }
Example #15
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Apex" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Apex" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "69676D" };

            dark2Color1.Append(rgbColorModelHex4);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "C9C2D1" };

            light2Color1.Append(rgbColorModelHex5);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "CEB966" };

            accent1Color1.Append(rgbColorModelHex6);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "9CB084" };

            accent2Color1.Append(rgbColorModelHex7);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "6BB1C9" };

            accent3Color1.Append(rgbColorModelHex8);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "6585CF" };

            accent4Color1.Append(rgbColorModelHex9);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "7E6BC9" };

            accent5Color1.Append(rgbColorModelHex10);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "A379BB" };

            accent6Color1.Append(rgbColorModelHex11);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "410082" };

            hyperlink1.Append(rgbColorModelHex12);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "932968" };

            followedHyperlinkColor1.Append(rgbColorModelHex13);

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

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Apex" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont30 = new A.LatinFont(){ Typeface = "Lucida Sans" };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Arial" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Arial" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG丸ゴシックM-PRO" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hang", Typeface = "휴먼옛체" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Hans", Typeface = "黑体" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Levenim MT" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Thai", Typeface = "FreesiaUPC" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            majorFont1.Append(latinFont30);
            majorFont1.Append(eastAsianFont30);
            majorFont1.Append(complexScriptFont30);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);
            majorFont1.Append(supplementalFont31);
            majorFont1.Append(supplementalFont32);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont31 = new A.LatinFont(){ Typeface = "Book Antiqua" };
            A.EastAsianFont eastAsianFont31 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont31 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG明朝B" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Hang", Typeface = "돋움" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "David" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Thai", Typeface = "EucrosiaUPC" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            minorFont1.Append(latinFont31);
            minorFont1.Append(eastAsianFont31);
            minorFont1.Append(complexScriptFont31);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);
            minorFont1.Append(supplementalFont61);
            minorFont1.Append(supplementalFont62);
            minorFont1.Append(supplementalFont63);
            minorFont1.Append(supplementalFont64);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Apex" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill39 = new A.SolidFill();
            A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill39.Append(schemeColor57);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 20000 };

            A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint13 = new A.Tint(){ Val = 9000 };

            schemeColor58.Append(tint13);

            gradientStop7.Append(schemeColor58);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint14 = new A.Tint(){ Val = 70000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 100000 };

            schemeColor59.Append(tint14);
            schemeColor59.Append(saturationModulation9);

            gradientStop8.Append(schemeColor59);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = -15000, Top = -15000, Right = 115000, Bottom = 115000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade6 = new A.Shade(){ Val = 60000 };

            schemeColor60.Append(shade6);

            gradientStop9.Append(schemeColor60);

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 33000 };

            A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint15 = new A.Tint(){ Val = 86500 };

            schemeColor61.Append(tint15);

            gradientStop10.Append(schemeColor61);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 46750 };

            A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint16 = new A.Tint(){ Val = 71000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 112000 };

            schemeColor62.Append(tint16);
            schemeColor62.Append(saturationModulation10);

            gradientStop11.Append(schemeColor62);

            A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 53000 };

            A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint17 = new A.Tint(){ Val = 71000 };
            A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 112000 };

            schemeColor63.Append(tint17);
            schemeColor63.Append(saturationModulation11);

            gradientStop12.Append(schemeColor63);

            A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 68000 };

            A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint18 = new A.Tint(){ Val = 86000 };

            schemeColor64.Append(tint18);

            gradientStop13.Append(schemeColor64);

            A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade7 = new A.Shade(){ Val = 60000 };

            schemeColor65.Append(shade7);

            gradientStop14.Append(schemeColor65);

            gradientStopList4.Append(gradientStop9);
            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);
            gradientStopList4.Append(gradientStop12);
            gradientStopList4.Append(gradientStop13);
            gradientStopList4.Append(gradientStop14);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 8350000, Scaled = true };

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(linearGradientFill3);

            fillStyleList1.Append(solidFill39);
            fillStyleList1.Append(gradientFill3);
            fillStyleList1.Append(gradientFill4);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade8 = new A.Shade(){ Val = 48000 };
            A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 110000 };

            schemeColor66.Append(shade8);
            schemeColor66.Append(saturationModulation12);

            solidFill40.Append(schemeColor66);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline5.Append(solidFill40);
            outline5.Append(presetDash1);

            A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill41 = new A.SolidFill();
            A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill41.Append(schemeColor67);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline6.Append(solidFill41);
            outline6.Append(presetDash2);

            A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill42 = new A.SolidFill();
            A.SchemeColor schemeColor68 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill42.Append(schemeColor68);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline7.Append(solidFill42);
            outline7.Append(presetDash3);

            lineStyleList1.Append(outline5);
            lineStyleList1.Append(outline6);
            lineStyleList1.Append(outline7);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();

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

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

            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha4 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex14.Append(alpha4);

            outerShadow4.Append(rgbColorModelHex14);

            effectList4.Append(outerShadow4);

            effectStyle1.Append(effectList4);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

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

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

            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha5 = new A.Alpha(){ Val = 25500 };

            rgbColorModelHex15.Append(alpha5);

            outerShadow5.Append(rgbColorModelHex15);

            effectList5.Append(outerShadow5);

            effectStyle2.Append(effectList5);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

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

            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha6 = new A.Alpha(){ Val = 25500 };

            rgbColorModelHex16.Append(alpha6);

            outerShadow6.Append(rgbColorModelHex16);

            effectList6.Append(outerShadow6);

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

            A.Camera camera4 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront, FieldOfView = 0 };
            A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera4.Append(rotation4);

            A.LightRig lightRig4 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.TopLeft };
            A.Rotation rotation5 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 20100000 };

            lightRig4.Append(rotation5);

            scene3DType4.Append(camera4);
            scene3DType4.Append(lightRig4);

            A.Shape3DType shape3DType5 = new A.Shape3DType();
            A.BevelTop bevelTop4 = new A.BevelTop(){ Width = 50800L, Height = 50800L };

            shape3DType5.Append(bevelTop4);

            effectStyle3.Append(effectList6);
            effectStyle3.Append(scene3DType4);
            effectStyle3.Append(shape3DType5);

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

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill43 = new A.SolidFill();
            A.SchemeColor schemeColor69 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill43.Append(schemeColor69);

            A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList5 = new A.GradientStopList();

            A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor70 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint19 = new A.Tint(){ Val = 50000 };
            A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 180000 };

            schemeColor70.Append(tint19);
            schemeColor70.Append(saturationModulation13);

            gradientStop15.Append(schemeColor70);

            A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor71 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade9 = new A.Shade(){ Val = 45000 };
            A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 120000 };

            schemeColor71.Append(shade9);
            schemeColor71.Append(saturationModulation14);

            gradientStop16.Append(schemeColor71);

            gradientStopList5.Append(gradientStop15);
            gradientStopList5.Append(gradientStop16);

            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Right = 100000, Bottom = 100000 };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill5.Append(gradientStopList5);
            gradientFill5.Append(pathGradientFill2);

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

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

            A.Duotone duotone1 = new A.Duotone();

            A.SchemeColor schemeColor72 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade10 = new A.Shade(){ Val = 3000 };
            A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 110000 };

            schemeColor72.Append(shade10);
            schemeColor72.Append(saturationModulation15);

            A.SchemeColor schemeColor73 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint20 = new A.Tint(){ Val = 60000 };
            A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 425000 };

            schemeColor73.Append(tint20);
            schemeColor73.Append(saturationModulation16);

            duotone1.Append(schemeColor72);
            duotone1.Append(schemeColor73);

            blip1.Append(duotone1);

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

            stretch1.Append(fillRectangle1);

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

            backgroundFillStyleList1.Append(solidFill43);
            backgroundFillStyleList1.Append(gradientFill5);
            backgroundFillStyleList1.Append(blipFill1);

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

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

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

            themePart1.Theme = theme1;
        }
        // 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;
        }
Example #17
0
        // Generates content of part.
        private void GeneratePartContent_4x3(PresentationPart part)
        {
            Presentation presentation1 = new Presentation()
            {
                SaveSubsetFonts = true
            };

            presentation1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            presentation1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            presentation1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            SlideMasterIdList slideMasterIdList1 = new SlideMasterIdList();
            SlideMasterId     slideMasterId1     = new SlideMasterId()
            {
                Id = (UInt32Value)2147483660U, RelationshipId = "rId1"
            };

            slideMasterIdList1.Append(slideMasterId1);

            SlideIdList slideIdList1 = new SlideIdList();
            SlideId     slideId1     = new SlideId()
            {
                Id = (UInt32Value)256U, RelationshipId = "rId2"
            };

            slideIdList1.Append(slideId1);
            SlideSize slideSize1 = new SlideSize()
            {
                Cx = 9144000, Cy = 6858000, Type = SlideSizeValues.Screen4x3
            };
            NotesSize notesSize1 = new NotesSize()
            {
                Cx = 6858000L, Cy = 9144000L
            };

            DefaultTextStyle defaultTextStyle1 = new DefaultTextStyle();

            A.DefaultParagraphProperties defaultParagraphProperties2 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties       defaultRunProperties100     = new A.DefaultRunProperties()
            {
                Language = "en-US"
            };

            defaultParagraphProperties2.Append(defaultRunProperties100);

            A.Level1ParagraphProperties level1ParagraphProperties19 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties101 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill38   = new A.SolidFill();
            A.SchemeColor schemeColor48 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill38.Append(schemeColor48);
            A.LatinFont latinFont22 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties101.Append(solidFill38);
            defaultRunProperties101.Append(latinFont22);
            defaultRunProperties101.Append(eastAsianFont22);
            defaultRunProperties101.Append(complexScriptFont22);

            level1ParagraphProperties19.Append(defaultRunProperties101);

            A.Level2ParagraphProperties level2ParagraphProperties11 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties102 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill39   = new A.SolidFill();
            A.SchemeColor schemeColor49 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill39.Append(schemeColor49);
            A.LatinFont latinFont23 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties102.Append(solidFill39);
            defaultRunProperties102.Append(latinFont23);
            defaultRunProperties102.Append(eastAsianFont23);
            defaultRunProperties102.Append(complexScriptFont23);

            level2ParagraphProperties11.Append(defaultRunProperties102);

            A.Level3ParagraphProperties level3ParagraphProperties11 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties103 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill40   = new A.SolidFill();
            A.SchemeColor schemeColor50 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill40.Append(schemeColor50);
            A.LatinFont latinFont24 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties103.Append(solidFill40);
            defaultRunProperties103.Append(latinFont24);
            defaultRunProperties103.Append(eastAsianFont24);
            defaultRunProperties103.Append(complexScriptFont24);

            level3ParagraphProperties11.Append(defaultRunProperties103);

            A.Level4ParagraphProperties level4ParagraphProperties11 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties104 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill41   = new A.SolidFill();
            A.SchemeColor schemeColor51 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill41.Append(schemeColor51);
            A.LatinFont latinFont25 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties104.Append(solidFill41);
            defaultRunProperties104.Append(latinFont25);
            defaultRunProperties104.Append(eastAsianFont25);
            defaultRunProperties104.Append(complexScriptFont25);

            level4ParagraphProperties11.Append(defaultRunProperties104);

            A.Level5ParagraphProperties level5ParagraphProperties11 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties105 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

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

            solidFill42.Append(schemeColor52);
            A.LatinFont latinFont26 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties105.Append(solidFill42);
            defaultRunProperties105.Append(latinFont26);
            defaultRunProperties105.Append(eastAsianFont26);
            defaultRunProperties105.Append(complexScriptFont26);

            level5ParagraphProperties11.Append(defaultRunProperties105);

            A.Level6ParagraphProperties level6ParagraphProperties11 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties106 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill43   = new A.SolidFill();
            A.SchemeColor schemeColor53 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill43.Append(schemeColor53);
            A.LatinFont latinFont27 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties106.Append(solidFill43);
            defaultRunProperties106.Append(latinFont27);
            defaultRunProperties106.Append(eastAsianFont27);
            defaultRunProperties106.Append(complexScriptFont27);

            level6ParagraphProperties11.Append(defaultRunProperties106);

            A.Level7ParagraphProperties level7ParagraphProperties11 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties107 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill44   = new A.SolidFill();
            A.SchemeColor schemeColor54 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill44.Append(schemeColor54);
            A.LatinFont latinFont28 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties107.Append(solidFill44);
            defaultRunProperties107.Append(latinFont28);
            defaultRunProperties107.Append(eastAsianFont28);
            defaultRunProperties107.Append(complexScriptFont28);

            level7ParagraphProperties11.Append(defaultRunProperties107);

            A.Level8ParagraphProperties level8ParagraphProperties11 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties108 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill45   = new A.SolidFill();
            A.SchemeColor schemeColor55 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill45.Append(schemeColor55);
            A.LatinFont latinFont29 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties108.Append(solidFill45);
            defaultRunProperties108.Append(latinFont29);
            defaultRunProperties108.Append(eastAsianFont29);
            defaultRunProperties108.Append(complexScriptFont29);

            level8ParagraphProperties11.Append(defaultRunProperties108);

            A.Level9ParagraphProperties level9ParagraphProperties11 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties109 = new A.DefaultRunProperties()
            {
                FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill46   = new A.SolidFill();
            A.SchemeColor schemeColor56 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill46.Append(schemeColor56);
            A.LatinFont latinFont30 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties109.Append(solidFill46);
            defaultRunProperties109.Append(latinFont30);
            defaultRunProperties109.Append(eastAsianFont30);
            defaultRunProperties109.Append(complexScriptFont30);

            level9ParagraphProperties11.Append(defaultRunProperties109);

            defaultTextStyle1.Append(defaultParagraphProperties2);
            defaultTextStyle1.Append(level1ParagraphProperties19);
            defaultTextStyle1.Append(level2ParagraphProperties11);
            defaultTextStyle1.Append(level3ParagraphProperties11);
            defaultTextStyle1.Append(level4ParagraphProperties11);
            defaultTextStyle1.Append(level5ParagraphProperties11);
            defaultTextStyle1.Append(level6ParagraphProperties11);
            defaultTextStyle1.Append(level7ParagraphProperties11);
            defaultTextStyle1.Append(level8ParagraphProperties11);
            defaultTextStyle1.Append(level9ParagraphProperties11);

            PresentationExtensionList presentationExtensionList1 = new PresentationExtensionList();

            PresentationExtension presentationExtension1 = new PresentationExtension()
            {
                Uri = "{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"
            };

            P15.SlideGuideList slideGuideList1 = new P15.SlideGuideList();
            slideGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            presentationExtension1.Append(slideGuideList1);

            presentationExtensionList1.Append(presentationExtension1);

            presentation1.Append(slideMasterIdList1);
            presentation1.Append(slideIdList1);
            presentation1.Append(slideSize1);
            presentation1.Append(notesSize1);
            presentation1.Append(defaultTextStyle1);
            presentation1.Append(presentationExtensionList1);

            part.Presentation = presentation1;
        }
Example #18
0
        // Generates content of chartPart16.
        private void GenerateChartPart16Content(ChartPart chartPart16)
        {
            C.ChartSpace chartSpace16 = new C.ChartSpace();
            chartSpace16.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace16.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace16.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date190416 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage16 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners16 = new C.RoundedCorners(){ Val = false };
            C.Style style31 = new C.Style(){ Val = 1 };

            C.PivotSource pivotSource16 = new C.PivotSource();
            C.PivotTableName pivotTableName16 = new C.PivotTableName();
            pivotTableName16.Text = "[GeneratedDocument.xlsx]Level!PivotTable1";
            C.FormatId formatId16 = new C.FormatId(){ Val = (UInt32Value)4U };

            pivotSource16.Append(pivotTableName16);
            pivotSource16.Append(formatId16);

            C.Chart chart16 = new C.Chart();

            C.Title title16 = new C.Title();
            C.Overlay overlay31 = new C.Overlay(){ Val = false };

            title16.Append(overlay31);
            C.AutoTitleDeleted autoTitleDeleted16 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats16 = new C.PivotFormats();

            C.PivotFormat pivotFormat140 = new C.PivotFormat();
            C.Index index155 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties66 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor99 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint44 = new A.Tint(){ Val = 100000 };

            schemeColor99.Append(tint44);

            solidFill125.Append(schemeColor99);

            A.Outline outline99 = new A.Outline();
            A.NoFill noFill84 = new A.NoFill();

            outline99.Append(noFill84);
            A.EffectList effectList81 = new A.EffectList();

            shapeProperties66.Append(solidFill125);
            shapeProperties66.Append(outline99);
            shapeProperties66.Append(effectList81);

            C.Marker marker140 = new C.Marker();
            C.Symbol symbol140 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker140.Append(symbol140);

            pivotFormat140.Append(index155);
            pivotFormat140.Append(shapeProperties66);
            pivotFormat140.Append(marker140);

            C.PivotFormat pivotFormat141 = new C.PivotFormat();
            C.Index index156 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties67 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor100 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint45 = new A.Tint(){ Val = 100000 };

            schemeColor100.Append(tint45);

            solidFill126.Append(schemeColor100);

            A.Outline outline100 = new A.Outline();
            A.NoFill noFill85 = new A.NoFill();

            outline100.Append(noFill85);
            A.EffectList effectList82 = new A.EffectList();

            shapeProperties67.Append(solidFill126);
            shapeProperties67.Append(outline100);
            shapeProperties67.Append(effectList82);

            C.Marker marker141 = new C.Marker();
            C.Symbol symbol141 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker141.Append(symbol141);

            pivotFormat141.Append(index156);
            pivotFormat141.Append(shapeProperties67);
            pivotFormat141.Append(marker141);

            C.PivotFormat pivotFormat142 = new C.PivotFormat();
            C.Index index157 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker142 = new C.Marker();
            C.Symbol symbol142 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker142.Append(symbol142);

            pivotFormat142.Append(index157);
            pivotFormat142.Append(marker142);

            C.PivotFormat pivotFormat143 = new C.PivotFormat();
            C.Index index158 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker143 = new C.Marker();
            C.Symbol symbol143 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker143.Append(symbol143);

            pivotFormat143.Append(index158);
            pivotFormat143.Append(marker143);

            C.PivotFormat pivotFormat144 = new C.PivotFormat();
            C.Index index159 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker144 = new C.Marker();
            C.Symbol symbol144 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker144.Append(symbol144);

            pivotFormat144.Append(index159);
            pivotFormat144.Append(marker144);

            C.PivotFormat pivotFormat145 = new C.PivotFormat();
            C.Index index160 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker145 = new C.Marker();
            C.Symbol symbol145 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker145.Append(symbol145);

            pivotFormat145.Append(index160);
            pivotFormat145.Append(marker145);

            C.PivotFormat pivotFormat146 = new C.PivotFormat();
            C.Index index161 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker146 = new C.Marker();
            C.Symbol symbol146 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker146.Append(symbol146);

            pivotFormat146.Append(index161);
            pivotFormat146.Append(marker146);

            C.PivotFormat pivotFormat147 = new C.PivotFormat();
            C.Index index162 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker147 = new C.Marker();
            C.Symbol symbol147 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker147.Append(symbol147);

            pivotFormat147.Append(index162);
            pivotFormat147.Append(marker147);

            C.PivotFormat pivotFormat148 = new C.PivotFormat();
            C.Index index163 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker148 = new C.Marker();
            C.Symbol symbol148 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker148.Append(symbol148);

            pivotFormat148.Append(index163);
            pivotFormat148.Append(marker148);

            C.PivotFormat pivotFormat149 = new C.PivotFormat();
            C.Index index164 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker149 = new C.Marker();
            C.Symbol symbol149 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker149.Append(symbol149);

            pivotFormat149.Append(index164);
            pivotFormat149.Append(marker149);

            C.PivotFormat pivotFormat150 = new C.PivotFormat();
            C.Index index165 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker150 = new C.Marker();
            C.Symbol symbol150 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker150.Append(symbol150);

            pivotFormat150.Append(index165);
            pivotFormat150.Append(marker150);

            C.PivotFormat pivotFormat151 = new C.PivotFormat();
            C.Index index166 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker151 = new C.Marker();
            C.Symbol symbol151 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker151.Append(symbol151);

            pivotFormat151.Append(index166);
            pivotFormat151.Append(marker151);

            C.PivotFormat pivotFormat152 = new C.PivotFormat();
            C.Index index167 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker152 = new C.Marker();
            C.Symbol symbol152 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker152.Append(symbol152);

            pivotFormat152.Append(index167);
            pivotFormat152.Append(marker152);

            C.PivotFormat pivotFormat153 = new C.PivotFormat();
            C.Index index168 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker153 = new C.Marker();
            C.Symbol symbol153 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker153.Append(symbol153);

            pivotFormat153.Append(index168);
            pivotFormat153.Append(marker153);

            pivotFormats16.Append(pivotFormat140);
            pivotFormats16.Append(pivotFormat141);
            pivotFormats16.Append(pivotFormat142);
            pivotFormats16.Append(pivotFormat143);
            pivotFormats16.Append(pivotFormat144);
            pivotFormats16.Append(pivotFormat145);
            pivotFormats16.Append(pivotFormat146);
            pivotFormats16.Append(pivotFormat147);
            pivotFormats16.Append(pivotFormat148);
            pivotFormats16.Append(pivotFormat149);
            pivotFormats16.Append(pivotFormat150);
            pivotFormats16.Append(pivotFormat151);
            pivotFormats16.Append(pivotFormat152);
            pivotFormats16.Append(pivotFormat153);

            C.PlotArea plotArea16 = new C.PlotArea();
            C.Layout layout16 = new C.Layout();

            C.BarChart barChart8 = new C.BarChart();
            C.BarDirection barDirection8 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping8 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors16 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries8 = new C.BarChartSeries();
            C.Index index169 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order16 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText16 = new C.SeriesText();

            C.StringReference stringReference31 = new C.StringReference();
            C.Formula formula46 = new C.Formula();
            formula46.Text = "Level!$B$1";

            C.StringCache stringCache31 = new C.StringCache();
            C.PointCount pointCount46 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint61 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue106 = new C.NumericValue();
            numericValue106.Text = "Total";

            stringPoint61.Append(numericValue106);

            stringCache31.Append(pointCount46);
            stringCache31.Append(stringPoint61);

            stringReference31.Append(formula46);
            stringReference31.Append(stringCache31);

            seriesText16.Append(stringReference31);

            C.ChartShapeProperties chartShapeProperties31 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor101 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint46 = new A.Tint(){ Val = 100000 };

            schemeColor101.Append(tint46);

            solidFill127.Append(schemeColor101);

            A.Outline outline101 = new A.Outline();
            A.NoFill noFill86 = new A.NoFill();

            outline101.Append(noFill86);
            A.EffectList effectList83 = new A.EffectList();

            chartShapeProperties31.Append(solidFill127);
            chartShapeProperties31.Append(outline101);
            chartShapeProperties31.Append(effectList83);
            C.InvertIfNegative invertIfNegative8 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData16 = new C.CategoryAxisData();

            C.StringReference stringReference32 = new C.StringReference();
            C.Formula formula47 = new C.Formula();
            formula47.Text = "Level!$A$2:$A$5";

            C.StringCache stringCache32 = new C.StringCache();
            C.PointCount pointCount47 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint62 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue107 = new C.NumericValue();
            numericValue107.Text = "product_A";

            stringPoint62.Append(numericValue107);

            C.StringPoint stringPoint63 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue108 = new C.NumericValue();
            numericValue108.Text = "product_D";

            stringPoint63.Append(numericValue108);

            C.StringPoint stringPoint64 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue109 = new C.NumericValue();
            numericValue109.Text = "product_E";

            stringPoint64.Append(numericValue109);

            stringCache32.Append(pointCount47);
            stringCache32.Append(stringPoint62);
            stringCache32.Append(stringPoint63);
            stringCache32.Append(stringPoint64);

            stringReference32.Append(formula47);
            stringReference32.Append(stringCache32);

            categoryAxisData16.Append(stringReference32);

            C.Values values16 = new C.Values();

            C.NumberReference numberReference16 = new C.NumberReference();
            C.Formula formula48 = new C.Formula();
            formula48.Text = "Level!$B$2:$B$5";

            C.NumberingCache numberingCache16 = new C.NumberingCache();
            C.FormatCode formatCode16 = new C.FormatCode();
            formatCode16.Text = "General";
            C.PointCount pointCount48 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint46 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue110 = new C.NumericValue();
            numericValue110.Text = "19";

            numericPoint46.Append(numericValue110);

            C.NumericPoint numericPoint47 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue111 = new C.NumericValue();
            numericValue111.Text = "13";

            numericPoint47.Append(numericValue111);

            C.NumericPoint numericPoint48 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue112 = new C.NumericValue();
            numericValue112.Text = "33";

            numericPoint48.Append(numericValue112);

            numberingCache16.Append(formatCode16);
            numberingCache16.Append(pointCount48);
            numberingCache16.Append(numericPoint46);
            numberingCache16.Append(numericPoint47);
            numberingCache16.Append(numericPoint48);

            numberReference16.Append(formula48);
            numberReference16.Append(numberingCache16);

            values16.Append(numberReference16);

            barChartSeries8.Append(index169);
            barChartSeries8.Append(order16);
            barChartSeries8.Append(seriesText16);
            barChartSeries8.Append(chartShapeProperties31);
            barChartSeries8.Append(invertIfNegative8);
            barChartSeries8.Append(categoryAxisData16);
            barChartSeries8.Append(values16);

            C.DataLabels dataLabels16 = new C.DataLabels();
            C.ShowLegendKey showLegendKey16 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue16 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName16 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName16 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent16 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize16 = new C.ShowBubbleSize(){ Val = false };

            dataLabels16.Append(showLegendKey16);
            dataLabels16.Append(showValue16);
            dataLabels16.Append(showCategoryName16);
            dataLabels16.Append(showSeriesName16);
            dataLabels16.Append(showPercent16);
            dataLabels16.Append(showBubbleSize16);
            C.GapWidth gapWidth8 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap7 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId29 = new C.AxisId(){ Val = (UInt32Value)209240832U };
            C.AxisId axisId30 = new C.AxisId(){ Val = (UInt32Value)209693768U };

            barChart8.Append(barDirection8);
            barChart8.Append(barGrouping8);
            barChart8.Append(varyColors16);
            barChart8.Append(barChartSeries8);
            barChart8.Append(dataLabels16);
            barChart8.Append(gapWidth8);
            barChart8.Append(overlap7);
            barChart8.Append(axisId29);
            barChart8.Append(axisId30);

            C.CategoryAxis categoryAxis8 = new C.CategoryAxis();
            C.AxisId axisId31 = new C.AxisId(){ Val = (UInt32Value)209240832U };

            C.Scaling scaling15 = new C.Scaling();
            C.Orientation orientation15 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling15.Append(orientation15);
            C.Delete delete15 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition15 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat26 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark15 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark15 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition15 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties32 = new C.ChartShapeProperties();
            A.NoFill noFill87 = new A.NoFill();

            A.Outline outline102 = new A.Outline();
            A.NoFill noFill88 = new A.NoFill();

            outline102.Append(noFill88);
            A.EffectList effectList84 = new A.EffectList();

            chartShapeProperties32.Append(noFill87);
            chartShapeProperties32.Append(outline102);
            chartShapeProperties32.Append(effectList84);

            C.TextProperties textProperties25 = new C.TextProperties();
            A.BodyProperties bodyProperties43 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle43 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties25 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties25 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor102 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation37 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset31 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor102.Append(luminanceModulation37);
            schemeColor102.Append(luminanceOffset31);

            solidFill128.Append(schemeColor102);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties25.Append(solidFill128);
            defaultRunProperties25.Append(latinFont21);
            defaultRunProperties25.Append(eastAsianFont21);
            defaultRunProperties25.Append(complexScriptFont21);

            paragraphProperties25.Append(defaultRunProperties25);
            A.EndParagraphRunProperties endParagraphRunProperties25 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph43.Append(paragraphProperties25);
            paragraph43.Append(endParagraphRunProperties25);

            textProperties25.Append(bodyProperties43);
            textProperties25.Append(listStyle43);
            textProperties25.Append(paragraph43);
            C.CrossingAxis crossingAxis15 = new C.CrossingAxis(){ Val = (UInt32Value)209693768U };
            C.Crosses crosses15 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled8 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment8 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset8 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels8 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis8.Append(axisId31);
            categoryAxis8.Append(scaling15);
            categoryAxis8.Append(delete15);
            categoryAxis8.Append(axisPosition15);
            categoryAxis8.Append(numberingFormat26);
            categoryAxis8.Append(majorTickMark15);
            categoryAxis8.Append(minorTickMark15);
            categoryAxis8.Append(tickLabelPosition15);
            categoryAxis8.Append(chartShapeProperties32);
            categoryAxis8.Append(textProperties25);
            categoryAxis8.Append(crossingAxis15);
            categoryAxis8.Append(crosses15);
            categoryAxis8.Append(autoLabeled8);
            categoryAxis8.Append(labelAlignment8);
            categoryAxis8.Append(labelOffset8);
            categoryAxis8.Append(noMultiLevelLabels8);

            C.ValueAxis valueAxis8 = new C.ValueAxis();
            C.AxisId axisId32 = new C.AxisId(){ Val = (UInt32Value)209693768U };

            C.Scaling scaling16 = new C.Scaling();
            C.Orientation orientation16 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling16.Append(orientation16);
            C.Delete delete16 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition16 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines8 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties33 = new C.ChartShapeProperties();

            A.Outline outline103 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor103 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation38 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset32 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor103.Append(luminanceModulation38);
            schemeColor103.Append(luminanceOffset32);

            solidFill129.Append(schemeColor103);
            A.Round round13 = new A.Round();

            outline103.Append(solidFill129);
            outline103.Append(round13);
            A.EffectList effectList85 = new A.EffectList();

            chartShapeProperties33.Append(outline103);
            chartShapeProperties33.Append(effectList85);

            majorGridlines8.Append(chartShapeProperties33);
            C.NumberingFormat numberingFormat27 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark16 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark16 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition16 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties34 = new C.ChartShapeProperties();
            A.NoFill noFill89 = new A.NoFill();

            A.Outline outline104 = new A.Outline();
            A.NoFill noFill90 = new A.NoFill();

            outline104.Append(noFill90);
            A.EffectList effectList86 = new A.EffectList();

            chartShapeProperties34.Append(noFill89);
            chartShapeProperties34.Append(outline104);
            chartShapeProperties34.Append(effectList86);

            C.TextProperties textProperties26 = new C.TextProperties();
            A.BodyProperties bodyProperties44 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle44 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties26 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties26 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor104 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation39 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset33 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor104.Append(luminanceModulation39);
            schemeColor104.Append(luminanceOffset33);

            solidFill130.Append(schemeColor104);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties26.Append(solidFill130);
            defaultRunProperties26.Append(latinFont22);
            defaultRunProperties26.Append(eastAsianFont22);
            defaultRunProperties26.Append(complexScriptFont22);

            paragraphProperties26.Append(defaultRunProperties26);
            A.EndParagraphRunProperties endParagraphRunProperties26 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph44.Append(paragraphProperties26);
            paragraph44.Append(endParagraphRunProperties26);

            textProperties26.Append(bodyProperties44);
            textProperties26.Append(listStyle44);
            textProperties26.Append(paragraph44);
            C.CrossingAxis crossingAxis16 = new C.CrossingAxis(){ Val = (UInt32Value)209240832U };
            C.Crosses crosses16 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween8 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis8.Append(axisId32);
            valueAxis8.Append(scaling16);
            valueAxis8.Append(delete16);
            valueAxis8.Append(axisPosition16);
            valueAxis8.Append(majorGridlines8);
            valueAxis8.Append(numberingFormat27);
            valueAxis8.Append(majorTickMark16);
            valueAxis8.Append(minorTickMark16);
            valueAxis8.Append(tickLabelPosition16);
            valueAxis8.Append(chartShapeProperties34);
            valueAxis8.Append(textProperties26);
            valueAxis8.Append(crossingAxis16);
            valueAxis8.Append(crosses16);
            valueAxis8.Append(crossBetween8);

            C.ShapeProperties shapeProperties68 = new C.ShapeProperties();

            A.SolidFill solidFill131 = new A.SolidFill();
            A.SchemeColor schemeColor105 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill131.Append(schemeColor105);

            A.Outline outline105 = new A.Outline();
            A.NoFill noFill91 = new A.NoFill();

            outline105.Append(noFill91);
            A.EffectList effectList87 = new A.EffectList();

            shapeProperties68.Append(solidFill131);
            shapeProperties68.Append(outline105);
            shapeProperties68.Append(effectList87);

            plotArea16.Append(layout16);
            plotArea16.Append(barChart8);
            plotArea16.Append(categoryAxis8);
            plotArea16.Append(valueAxis8);
            plotArea16.Append(shapeProperties68);

            C.Legend legend16 = new C.Legend();
            C.LegendPosition legendPosition16 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay32 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties35 = new C.ChartShapeProperties();
            A.NoFill noFill92 = new A.NoFill();

            A.Outline outline106 = new A.Outline();
            A.NoFill noFill93 = new A.NoFill();

            outline106.Append(noFill93);
            A.EffectList effectList88 = new A.EffectList();

            chartShapeProperties35.Append(noFill92);
            chartShapeProperties35.Append(outline106);
            chartShapeProperties35.Append(effectList88);

            C.TextProperties textProperties27 = new C.TextProperties();
            A.BodyProperties bodyProperties45 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle45 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties27 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties27 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor106 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation40 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset34 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor106.Append(luminanceModulation40);
            schemeColor106.Append(luminanceOffset34);

            solidFill132.Append(schemeColor106);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties27.Append(solidFill132);
            defaultRunProperties27.Append(latinFont23);
            defaultRunProperties27.Append(eastAsianFont23);
            defaultRunProperties27.Append(complexScriptFont23);

            paragraphProperties27.Append(defaultRunProperties27);
            A.EndParagraphRunProperties endParagraphRunProperties27 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph45.Append(paragraphProperties27);
            paragraph45.Append(endParagraphRunProperties27);

            textProperties27.Append(bodyProperties45);
            textProperties27.Append(listStyle45);
            textProperties27.Append(paragraph45);

            legend16.Append(legendPosition16);
            legend16.Append(overlay32);
            legend16.Append(chartShapeProperties35);
            legend16.Append(textProperties27);
            C.PlotVisibleOnly plotVisibleOnly16 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs16 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum16 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart16.Append(title16);
            chart16.Append(autoTitleDeleted16);
            chart16.Append(pivotFormats16);
            chart16.Append(plotArea16);
            chart16.Append(legend16);
            chart16.Append(plotVisibleOnly16);
            chart16.Append(displayBlanksAs16);
            chart16.Append(showDataLabelsOverMaximum16);

            C.ShapeProperties shapeProperties69 = new C.ShapeProperties();

            A.SolidFill solidFill133 = new A.SolidFill();
            A.SchemeColor schemeColor107 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill133.Append(schemeColor107);

            A.Outline outline107 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor108 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation41 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset35 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor108.Append(luminanceModulation41);
            schemeColor108.Append(luminanceOffset35);

            solidFill134.Append(schemeColor108);
            A.Round round14 = new A.Round();

            outline107.Append(solidFill134);
            outline107.Append(round14);
            A.EffectList effectList89 = new A.EffectList();

            shapeProperties69.Append(solidFill133);
            shapeProperties69.Append(outline107);
            shapeProperties69.Append(effectList89);

            C.TextProperties textProperties28 = new C.TextProperties();
            A.BodyProperties bodyProperties46 = new A.BodyProperties();
            A.ListStyle listStyle46 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties28 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties28 = new A.DefaultRunProperties();

            paragraphProperties28.Append(defaultRunProperties28);
            A.EndParagraphRunProperties endParagraphRunProperties28 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph46.Append(paragraphProperties28);
            paragraph46.Append(endParagraphRunProperties28);

            textProperties28.Append(bodyProperties46);
            textProperties28.Append(listStyle46);
            textProperties28.Append(paragraph46);

            C.PrintSettings printSettings16 = new C.PrintSettings();
            C.HeaderFooter headerFooter16 = new C.HeaderFooter();
            C.PageMargins pageMargins26 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup16 = new C.PageSetup();

            printSettings16.Append(headerFooter16);
            printSettings16.Append(pageMargins26);
            printSettings16.Append(pageSetup16);

            C.ChartSpaceExtensionList chartSpaceExtensionList16 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList16.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C.ChartSpaceExtension chartSpaceExtension16 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension16.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions16 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter16 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories16 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData16 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries16 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible16 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions16.Append(dropZoneFilter16);
            pivotOptions16.Append(dropZoneCategories16);
            pivotOptions16.Append(dropZoneData16);
            pivotOptions16.Append(dropZoneSeries16);
            pivotOptions16.Append(dropZonesVisible16);

            chartSpaceExtension16.Append(pivotOptions16);

            chartSpaceExtensionList16.Append(chartSpaceExtension16);

            chartSpace16.Append(date190416);
            chartSpace16.Append(editingLanguage16);
            chartSpace16.Append(roundedCorners16);
            chartSpace16.Append(style31);
            chartSpace16.Append(pivotSource16);
            chartSpace16.Append(chart16);
            chartSpace16.Append(shapeProperties69);
            chartSpace16.Append(textProperties28);
            chartSpace16.Append(printSettings16);
            chartSpace16.Append(chartSpaceExtensionList16);

            chartPart16.ChartSpace = chartSpace16;
        }
Example #19
0
        // Generates content of slideLayoutPart3.
        private void GenerateSlideLayoutPart3Content(SlideLayoutPart slideLayoutPart3)
        {
            SlideLayout slideLayout3 = new SlideLayout(){ Type = SlideLayoutValues.SectionHeader, Preserve = true };
            slideLayout3.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout3.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

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

            Background background2 = new Background();

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

            backgroundStyleReference2.Append(schemeColor49);

            background2.Append(backgroundStyleReference2);

            ShapeTree shapeTree5 = new ShapeTree();

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

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

            GroupShapeProperties groupShapeProperties5 = new GroupShapeProperties();

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

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

            groupShapeProperties5.Append(transformGroup5);

            Shape shape19 = new Shape();

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

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

            nonVisualShapeDrawingProperties19.Append(shapeLocks19);

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

            applicationNonVisualDrawingProperties24.Append(placeholderShape19);

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

            ShapeProperties shapeProperties19 = new ShapeProperties();

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

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

            shapeProperties19.Append(transform2D11);

            TextBody textBody19 = new TextBody();

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

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

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

            lightRig3.Append(rotation3);

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

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

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

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

            schemeColor50.Append(shade5);

            contourColor1.Append(schemeColor50);

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

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

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

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

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

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

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

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

            outline4.Append(noFill4);

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

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

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

            solidFill33.Append(schemeColor51);

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

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

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

            rgbColorModelHex3.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex3);

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

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

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

            listStyle19.Append(level1ParagraphProperties13);

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

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

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

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

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

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

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

            Shape shape20 = new Shape();

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

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

            nonVisualShapeDrawingProperties20.Append(shapeLocks20);

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

            applicationNonVisualDrawingProperties25.Append(placeholderShape20);

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

            ShapeProperties shapeProperties20 = new ShapeProperties();

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

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

            shapeProperties20.Append(transform2D12);

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

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

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

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

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

            solidFill34.Append(schemeColor52);

            defaultRunProperties47.Append(solidFill34);

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

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

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

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

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

            schemeColor53.Append(tint9);

            solidFill35.Append(schemeColor53);

            defaultRunProperties48.Append(solidFill35);

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

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

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

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

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

            schemeColor54.Append(tint10);

            solidFill36.Append(schemeColor54);

            defaultRunProperties49.Append(solidFill36);

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

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

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

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

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

            schemeColor55.Append(tint11);

            solidFill37.Append(schemeColor55);

            defaultRunProperties50.Append(solidFill37);

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

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

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

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

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

            schemeColor56.Append(tint12);

            solidFill38.Append(schemeColor56);

            defaultRunProperties51.Append(solidFill38);

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

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

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

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

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

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

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

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

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

            Shape shape21 = new Shape();

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

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

            nonVisualShapeDrawingProperties21.Append(shapeLocks21);

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

            applicationNonVisualDrawingProperties26.Append(placeholderShape21);

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

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

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

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

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

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

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

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

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

            Shape shape22 = new Shape();

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

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

            nonVisualShapeDrawingProperties22.Append(shapeLocks22);

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

            applicationNonVisualDrawingProperties27.Append(placeholderShape22);

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

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

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

            paragraph30.Append(endParagraphRunProperties20);

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

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

            Shape shape23 = new Shape();

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

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

            nonVisualShapeDrawingProperties23.Append(shapeLocks23);

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

            applicationNonVisualDrawingProperties28.Append(placeholderShape23);

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

            ShapeProperties shapeProperties23 = new ShapeProperties();

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

            transform2D13.Append(offset18);
            transform2D13.Append(extents18);

            shapeProperties23.Append(transform2D13);

            TextBody textBody23 = new TextBody();
            A.BodyProperties bodyProperties23 = new A.BodyProperties();
            A.ListStyle listStyle23 = new A.ListStyle();

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

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

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

            field8.Append(runProperties25);
            field8.Append(text25);
            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph31.Append(field8);
            paragraph31.Append(endParagraphRunProperties21);

            textBody23.Append(bodyProperties23);
            textBody23.Append(listStyle23);
            textBody23.Append(paragraph31);

            shape23.Append(nonVisualShapeProperties23);
            shape23.Append(shapeProperties23);
            shape23.Append(textBody23);

            shapeTree5.Append(nonVisualGroupShapeProperties5);
            shapeTree5.Append(groupShapeProperties5);
            shapeTree5.Append(shape19);
            shapeTree5.Append(shape20);
            shapeTree5.Append(shape21);
            shapeTree5.Append(shape22);
            shapeTree5.Append(shape23);

            CommonSlideDataExtensionList commonSlideDataExtensionList5 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension5.Append(creationId5);

            commonSlideDataExtensionList5.Append(commonSlideDataExtension5);

            commonSlideData5.Append(background2);
            commonSlideData5.Append(shapeTree5);
            commonSlideData5.Append(commonSlideDataExtensionList5);

            ColorMapOverride colorMapOverride4 = new ColorMapOverride();
            A.OverrideColorMapping overrideColorMapping1 = new A.OverrideColorMapping(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            colorMapOverride4.Append(overrideColorMapping1);

            slideLayout3.Append(commonSlideData5);
            slideLayout3.Append(colorMapOverride4);

            slideLayoutPart3.SlideLayout = slideLayout3;
        }
Example #20
0
        // Generates content of chartPart18.
        private void GenerateChartPart18Content(ChartPart chartPart18)
        {
            C.ChartSpace chartSpace18 = new C.ChartSpace();
            chartSpace18.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace18.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace18.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date190418 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage18 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners18 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent38 = new AlternateContent();
            alternateContent38.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice38 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice38.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style34 = new C14.Style(){ Val = 101 };

            alternateContentChoice38.Append(style34);

            AlternateContentFallback alternateContentFallback37 = new AlternateContentFallback();
            C.Style style35 = new C.Style(){ Val = 1 };

            alternateContentFallback37.Append(style35);

            alternateContent38.Append(alternateContentChoice38);
            alternateContent38.Append(alternateContentFallback37);

            C.PivotSource pivotSource18 = new C.PivotSource();
            C.PivotTableName pivotTableName18 = new C.PivotTableName();
            pivotTableName18.Text = "[GeneratedDocument.xlsx]ShowHorizontalScrollbar!PivotTable1";
            C.FormatId formatId18 = new C.FormatId(){ Val = (UInt32Value)15U };

            pivotSource18.Append(pivotTableName18);
            pivotSource18.Append(formatId18);

            C.Chart chart18 = new C.Chart();

            C.Title title18 = new C.Title();
            C.Overlay overlay35 = new C.Overlay(){ Val = false };

            title18.Append(overlay35);
            C.AutoTitleDeleted autoTitleDeleted18 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats18 = new C.PivotFormats();

            C.PivotFormat pivotFormat160 = new C.PivotFormat();
            C.Index index177 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties72 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor109 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint47 = new A.Tint(){ Val = 100000 };

            schemeColor109.Append(tint47);

            solidFill139.Append(schemeColor109);

            A.Outline outline110 = new A.Outline();
            A.NoFill noFill94 = new A.NoFill();

            outline110.Append(noFill94);
            A.EffectList effectList90 = new A.EffectList();

            shapeProperties72.Append(solidFill139);
            shapeProperties72.Append(outline110);
            shapeProperties72.Append(effectList90);

            C.Marker marker160 = new C.Marker();
            C.Symbol symbol160 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker160.Append(symbol160);

            pivotFormat160.Append(index177);
            pivotFormat160.Append(shapeProperties72);
            pivotFormat160.Append(marker160);

            C.PivotFormat pivotFormat161 = new C.PivotFormat();
            C.Index index178 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties73 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor110 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint48 = new A.Tint(){ Val = 100000 };

            schemeColor110.Append(tint48);

            solidFill140.Append(schemeColor110);

            A.Outline outline111 = new A.Outline();
            A.NoFill noFill95 = new A.NoFill();

            outline111.Append(noFill95);
            A.EffectList effectList91 = new A.EffectList();

            shapeProperties73.Append(solidFill140);
            shapeProperties73.Append(outline111);
            shapeProperties73.Append(effectList91);

            C.Marker marker161 = new C.Marker();
            C.Symbol symbol161 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker161.Append(symbol161);

            pivotFormat161.Append(index178);
            pivotFormat161.Append(shapeProperties73);
            pivotFormat161.Append(marker161);

            C.PivotFormat pivotFormat162 = new C.PivotFormat();
            C.Index index179 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker162 = new C.Marker();
            C.Symbol symbol162 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker162.Append(symbol162);

            pivotFormat162.Append(index179);
            pivotFormat162.Append(marker162);

            C.PivotFormat pivotFormat163 = new C.PivotFormat();
            C.Index index180 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker163 = new C.Marker();
            C.Symbol symbol163 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker163.Append(symbol163);

            pivotFormat163.Append(index180);
            pivotFormat163.Append(marker163);

            C.PivotFormat pivotFormat164 = new C.PivotFormat();
            C.Index index181 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker164 = new C.Marker();
            C.Symbol symbol164 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker164.Append(symbol164);

            pivotFormat164.Append(index181);
            pivotFormat164.Append(marker164);

            C.PivotFormat pivotFormat165 = new C.PivotFormat();
            C.Index index182 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker165 = new C.Marker();
            C.Symbol symbol165 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker165.Append(symbol165);

            pivotFormat165.Append(index182);
            pivotFormat165.Append(marker165);

            C.PivotFormat pivotFormat166 = new C.PivotFormat();
            C.Index index183 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker166 = new C.Marker();
            C.Symbol symbol166 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker166.Append(symbol166);

            pivotFormat166.Append(index183);
            pivotFormat166.Append(marker166);

            C.PivotFormat pivotFormat167 = new C.PivotFormat();
            C.Index index184 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker167 = new C.Marker();
            C.Symbol symbol167 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker167.Append(symbol167);

            pivotFormat167.Append(index184);
            pivotFormat167.Append(marker167);

            C.PivotFormat pivotFormat168 = new C.PivotFormat();
            C.Index index185 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker168 = new C.Marker();
            C.Symbol symbol168 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker168.Append(symbol168);

            pivotFormat168.Append(index185);
            pivotFormat168.Append(marker168);

            C.PivotFormat pivotFormat169 = new C.PivotFormat();
            C.Index index186 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker169 = new C.Marker();
            C.Symbol symbol169 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker169.Append(symbol169);

            pivotFormat169.Append(index186);
            pivotFormat169.Append(marker169);

            C.PivotFormat pivotFormat170 = new C.PivotFormat();
            C.Index index187 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker170 = new C.Marker();
            C.Symbol symbol170 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker170.Append(symbol170);

            pivotFormat170.Append(index187);
            pivotFormat170.Append(marker170);

            C.PivotFormat pivotFormat171 = new C.PivotFormat();
            C.Index index188 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker171 = new C.Marker();
            C.Symbol symbol171 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker171.Append(symbol171);

            pivotFormat171.Append(index188);
            pivotFormat171.Append(marker171);

            C.PivotFormat pivotFormat172 = new C.PivotFormat();
            C.Index index189 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker172 = new C.Marker();
            C.Symbol symbol172 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker172.Append(symbol172);

            pivotFormat172.Append(index189);
            pivotFormat172.Append(marker172);

            C.PivotFormat pivotFormat173 = new C.PivotFormat();
            C.Index index190 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker173 = new C.Marker();
            C.Symbol symbol173 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker173.Append(symbol173);

            pivotFormat173.Append(index190);
            pivotFormat173.Append(marker173);

            C.PivotFormat pivotFormat174 = new C.PivotFormat();
            C.Index index191 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties74 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor111 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint49 = new A.Tint(){ Val = 100000 };

            schemeColor111.Append(tint49);

            solidFill141.Append(schemeColor111);

            A.Outline outline112 = new A.Outline();
            A.NoFill noFill96 = new A.NoFill();

            outline112.Append(noFill96);
            A.EffectList effectList92 = new A.EffectList();

            shapeProperties74.Append(solidFill141);
            shapeProperties74.Append(outline112);
            shapeProperties74.Append(effectList92);

            C.Marker marker174 = new C.Marker();
            C.Symbol symbol174 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker174.Append(symbol174);

            pivotFormat174.Append(index191);
            pivotFormat174.Append(shapeProperties74);
            pivotFormat174.Append(marker174);

            C.PivotFormat pivotFormat175 = new C.PivotFormat();
            C.Index index192 = new C.Index(){ Val = (UInt32Value)15U };

            C.ShapeProperties shapeProperties75 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor112 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint50 = new A.Tint(){ Val = 100000 };

            schemeColor112.Append(tint50);

            solidFill142.Append(schemeColor112);

            A.Outline outline113 = new A.Outline();
            A.NoFill noFill97 = new A.NoFill();

            outline113.Append(noFill97);
            A.EffectList effectList93 = new A.EffectList();

            shapeProperties75.Append(solidFill142);
            shapeProperties75.Append(outline113);
            shapeProperties75.Append(effectList93);

            C.Marker marker175 = new C.Marker();
            C.Symbol symbol175 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker175.Append(symbol175);

            pivotFormat175.Append(index192);
            pivotFormat175.Append(shapeProperties75);
            pivotFormat175.Append(marker175);

            C.PivotFormat pivotFormat176 = new C.PivotFormat();
            C.Index index193 = new C.Index(){ Val = (UInt32Value)16U };

            C.ShapeProperties shapeProperties76 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor113 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint51 = new A.Tint(){ Val = 100000 };

            schemeColor113.Append(tint51);

            solidFill143.Append(schemeColor113);

            A.Outline outline114 = new A.Outline();
            A.NoFill noFill98 = new A.NoFill();

            outline114.Append(noFill98);
            A.EffectList effectList94 = new A.EffectList();

            shapeProperties76.Append(solidFill143);
            shapeProperties76.Append(outline114);
            shapeProperties76.Append(effectList94);

            C.Marker marker176 = new C.Marker();
            C.Symbol symbol176 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker176.Append(symbol176);

            pivotFormat176.Append(index193);
            pivotFormat176.Append(shapeProperties76);
            pivotFormat176.Append(marker176);

            C.PivotFormat pivotFormat177 = new C.PivotFormat();
            C.Index index194 = new C.Index(){ Val = (UInt32Value)17U };

            C.ShapeProperties shapeProperties77 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor114 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint52 = new A.Tint(){ Val = 100000 };

            schemeColor114.Append(tint52);

            solidFill144.Append(schemeColor114);

            A.Outline outline115 = new A.Outline();
            A.NoFill noFill99 = new A.NoFill();

            outline115.Append(noFill99);
            A.EffectList effectList95 = new A.EffectList();

            shapeProperties77.Append(solidFill144);
            shapeProperties77.Append(outline115);
            shapeProperties77.Append(effectList95);

            C.Marker marker177 = new C.Marker();
            C.Symbol symbol177 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker177.Append(symbol177);

            pivotFormat177.Append(index194);
            pivotFormat177.Append(shapeProperties77);
            pivotFormat177.Append(marker177);

            C.PivotFormat pivotFormat178 = new C.PivotFormat();
            C.Index index195 = new C.Index(){ Val = (UInt32Value)18U };

            C.ShapeProperties shapeProperties78 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor115 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint53 = new A.Tint(){ Val = 100000 };

            schemeColor115.Append(tint53);

            solidFill145.Append(schemeColor115);

            A.Outline outline116 = new A.Outline();
            A.NoFill noFill100 = new A.NoFill();

            outline116.Append(noFill100);
            A.EffectList effectList96 = new A.EffectList();

            shapeProperties78.Append(solidFill145);
            shapeProperties78.Append(outline116);
            shapeProperties78.Append(effectList96);

            C.Marker marker178 = new C.Marker();
            C.Symbol symbol178 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker178.Append(symbol178);

            pivotFormat178.Append(index195);
            pivotFormat178.Append(shapeProperties78);
            pivotFormat178.Append(marker178);

            pivotFormats18.Append(pivotFormat160);
            pivotFormats18.Append(pivotFormat161);
            pivotFormats18.Append(pivotFormat162);
            pivotFormats18.Append(pivotFormat163);
            pivotFormats18.Append(pivotFormat164);
            pivotFormats18.Append(pivotFormat165);
            pivotFormats18.Append(pivotFormat166);
            pivotFormats18.Append(pivotFormat167);
            pivotFormats18.Append(pivotFormat168);
            pivotFormats18.Append(pivotFormat169);
            pivotFormats18.Append(pivotFormat170);
            pivotFormats18.Append(pivotFormat171);
            pivotFormats18.Append(pivotFormat172);
            pivotFormats18.Append(pivotFormat173);
            pivotFormats18.Append(pivotFormat174);
            pivotFormats18.Append(pivotFormat175);
            pivotFormats18.Append(pivotFormat176);
            pivotFormats18.Append(pivotFormat177);
            pivotFormats18.Append(pivotFormat178);

            C.PlotArea plotArea18 = new C.PlotArea();
            C.Layout layout18 = new C.Layout();

            C.BarChart barChart9 = new C.BarChart();
            C.BarDirection barDirection9 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping9 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors18 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries9 = new C.BarChartSeries();
            C.Index index196 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order18 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText18 = new C.SeriesText();

            C.StringReference stringReference35 = new C.StringReference();
            C.Formula formula52 = new C.Formula();
            formula52.Text = "ShowHorizontalScrollbar!$B$1";

            C.StringCache stringCache35 = new C.StringCache();
            C.PointCount pointCount52 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint69 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue120 = new C.NumericValue();
            numericValue120.Text = "Total";

            stringPoint69.Append(numericValue120);

            stringCache35.Append(pointCount52);
            stringCache35.Append(stringPoint69);

            stringReference35.Append(formula52);
            stringReference35.Append(stringCache35);

            seriesText18.Append(stringReference35);

            C.ChartShapeProperties chartShapeProperties36 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor116 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint54 = new A.Tint(){ Val = 100000 };

            schemeColor116.Append(tint54);

            solidFill146.Append(schemeColor116);

            A.Outline outline117 = new A.Outline();
            A.NoFill noFill101 = new A.NoFill();

            outline117.Append(noFill101);
            A.EffectList effectList97 = new A.EffectList();

            chartShapeProperties36.Append(solidFill146);
            chartShapeProperties36.Append(outline117);
            chartShapeProperties36.Append(effectList97);
            C.InvertIfNegative invertIfNegative9 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData18 = new C.CategoryAxisData();

            C.StringReference stringReference36 = new C.StringReference();
            C.Formula formula53 = new C.Formula();
            formula53.Text = "ShowHorizontalScrollbar!$A$2:$A$5";

            C.StringCache stringCache36 = new C.StringCache();
            C.PointCount pointCount53 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint70 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue121 = new C.NumericValue();
            numericValue121.Text = "product_A";

            stringPoint70.Append(numericValue121);

            C.StringPoint stringPoint71 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue122 = new C.NumericValue();
            numericValue122.Text = "product_D";

            stringPoint71.Append(numericValue122);

            C.StringPoint stringPoint72 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue123 = new C.NumericValue();
            numericValue123.Text = "product_E";

            stringPoint72.Append(numericValue123);

            stringCache36.Append(pointCount53);
            stringCache36.Append(stringPoint70);
            stringCache36.Append(stringPoint71);
            stringCache36.Append(stringPoint72);

            stringReference36.Append(formula53);
            stringReference36.Append(stringCache36);

            categoryAxisData18.Append(stringReference36);

            C.Values values18 = new C.Values();

            C.NumberReference numberReference18 = new C.NumberReference();
            C.Formula formula54 = new C.Formula();
            formula54.Text = "ShowHorizontalScrollbar!$B$2:$B$5";

            C.NumberingCache numberingCache18 = new C.NumberingCache();
            C.FormatCode formatCode18 = new C.FormatCode();
            formatCode18.Text = "General";
            C.PointCount pointCount54 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint52 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue124 = new C.NumericValue();
            numericValue124.Text = "19";

            numericPoint52.Append(numericValue124);

            C.NumericPoint numericPoint53 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue125 = new C.NumericValue();
            numericValue125.Text = "13";

            numericPoint53.Append(numericValue125);

            C.NumericPoint numericPoint54 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue126 = new C.NumericValue();
            numericValue126.Text = "33";

            numericPoint54.Append(numericValue126);

            numberingCache18.Append(formatCode18);
            numberingCache18.Append(pointCount54);
            numberingCache18.Append(numericPoint52);
            numberingCache18.Append(numericPoint53);
            numberingCache18.Append(numericPoint54);

            numberReference18.Append(formula54);
            numberReference18.Append(numberingCache18);

            values18.Append(numberReference18);

            barChartSeries9.Append(index196);
            barChartSeries9.Append(order18);
            barChartSeries9.Append(seriesText18);
            barChartSeries9.Append(chartShapeProperties36);
            barChartSeries9.Append(invertIfNegative9);
            barChartSeries9.Append(categoryAxisData18);
            barChartSeries9.Append(values18);

            C.DataLabels dataLabels18 = new C.DataLabels();
            C.ShowLegendKey showLegendKey18 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue18 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName18 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName18 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent18 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize18 = new C.ShowBubbleSize(){ Val = false };

            dataLabels18.Append(showLegendKey18);
            dataLabels18.Append(showValue18);
            dataLabels18.Append(showCategoryName18);
            dataLabels18.Append(showSeriesName18);
            dataLabels18.Append(showPercent18);
            dataLabels18.Append(showBubbleSize18);
            C.GapWidth gapWidth9 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap8 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId33 = new C.AxisId(){ Val = (UInt32Value)209982688U };
            C.AxisId axisId34 = new C.AxisId(){ Val = (UInt32Value)208839816U };

            barChart9.Append(barDirection9);
            barChart9.Append(barGrouping9);
            barChart9.Append(varyColors18);
            barChart9.Append(barChartSeries9);
            barChart9.Append(dataLabels18);
            barChart9.Append(gapWidth9);
            barChart9.Append(overlap8);
            barChart9.Append(axisId33);
            barChart9.Append(axisId34);

            C.CategoryAxis categoryAxis9 = new C.CategoryAxis();
            C.AxisId axisId35 = new C.AxisId(){ Val = (UInt32Value)209982688U };

            C.Scaling scaling17 = new C.Scaling();
            C.Orientation orientation17 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling17.Append(orientation17);
            C.Delete delete17 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition17 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat28 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark17 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark17 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition17 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties37 = new C.ChartShapeProperties();
            A.NoFill noFill102 = new A.NoFill();

            A.Outline outline118 = new A.Outline();
            A.NoFill noFill103 = new A.NoFill();

            outline118.Append(noFill103);
            A.EffectList effectList98 = new A.EffectList();

            chartShapeProperties37.Append(noFill102);
            chartShapeProperties37.Append(outline118);
            chartShapeProperties37.Append(effectList98);

            C.TextProperties textProperties29 = new C.TextProperties();
            A.BodyProperties bodyProperties49 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle49 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties29 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties29 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor117 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation42 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset36 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor117.Append(luminanceModulation42);
            schemeColor117.Append(luminanceOffset36);

            solidFill147.Append(schemeColor117);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties29.Append(solidFill147);
            defaultRunProperties29.Append(latinFont24);
            defaultRunProperties29.Append(eastAsianFont24);
            defaultRunProperties29.Append(complexScriptFont24);

            paragraphProperties29.Append(defaultRunProperties29);
            A.EndParagraphRunProperties endParagraphRunProperties29 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph49.Append(paragraphProperties29);
            paragraph49.Append(endParagraphRunProperties29);

            textProperties29.Append(bodyProperties49);
            textProperties29.Append(listStyle49);
            textProperties29.Append(paragraph49);
            C.CrossingAxis crossingAxis17 = new C.CrossingAxis(){ Val = (UInt32Value)208839816U };
            C.Crosses crosses17 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled9 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment9 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset9 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels9 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis9.Append(axisId35);
            categoryAxis9.Append(scaling17);
            categoryAxis9.Append(delete17);
            categoryAxis9.Append(axisPosition17);
            categoryAxis9.Append(numberingFormat28);
            categoryAxis9.Append(majorTickMark17);
            categoryAxis9.Append(minorTickMark17);
            categoryAxis9.Append(tickLabelPosition17);
            categoryAxis9.Append(chartShapeProperties37);
            categoryAxis9.Append(textProperties29);
            categoryAxis9.Append(crossingAxis17);
            categoryAxis9.Append(crosses17);
            categoryAxis9.Append(autoLabeled9);
            categoryAxis9.Append(labelAlignment9);
            categoryAxis9.Append(labelOffset9);
            categoryAxis9.Append(noMultiLevelLabels9);

            C.ValueAxis valueAxis9 = new C.ValueAxis();
            C.AxisId axisId36 = new C.AxisId(){ Val = (UInt32Value)208839816U };

            C.Scaling scaling18 = new C.Scaling();
            C.Orientation orientation18 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling18.Append(orientation18);
            C.Delete delete18 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition18 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines9 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties38 = new C.ChartShapeProperties();

            A.Outline outline119 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor118 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation43 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset37 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor118.Append(luminanceModulation43);
            schemeColor118.Append(luminanceOffset37);

            solidFill148.Append(schemeColor118);
            A.Round round15 = new A.Round();

            outline119.Append(solidFill148);
            outline119.Append(round15);
            A.EffectList effectList99 = new A.EffectList();

            chartShapeProperties38.Append(outline119);
            chartShapeProperties38.Append(effectList99);

            majorGridlines9.Append(chartShapeProperties38);
            C.NumberingFormat numberingFormat29 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark18 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark18 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition18 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties39 = new C.ChartShapeProperties();
            A.NoFill noFill104 = new A.NoFill();

            A.Outline outline120 = new A.Outline();
            A.NoFill noFill105 = new A.NoFill();

            outline120.Append(noFill105);
            A.EffectList effectList100 = new A.EffectList();

            chartShapeProperties39.Append(noFill104);
            chartShapeProperties39.Append(outline120);
            chartShapeProperties39.Append(effectList100);

            C.TextProperties textProperties30 = new C.TextProperties();
            A.BodyProperties bodyProperties50 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle50 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties30 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties30 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor119 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation44 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset38 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor119.Append(luminanceModulation44);
            schemeColor119.Append(luminanceOffset38);

            solidFill149.Append(schemeColor119);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties30.Append(solidFill149);
            defaultRunProperties30.Append(latinFont25);
            defaultRunProperties30.Append(eastAsianFont25);
            defaultRunProperties30.Append(complexScriptFont25);

            paragraphProperties30.Append(defaultRunProperties30);
            A.EndParagraphRunProperties endParagraphRunProperties30 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph50.Append(paragraphProperties30);
            paragraph50.Append(endParagraphRunProperties30);

            textProperties30.Append(bodyProperties50);
            textProperties30.Append(listStyle50);
            textProperties30.Append(paragraph50);
            C.CrossingAxis crossingAxis18 = new C.CrossingAxis(){ Val = (UInt32Value)209982688U };
            C.Crosses crosses18 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween9 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis9.Append(axisId36);
            valueAxis9.Append(scaling18);
            valueAxis9.Append(delete18);
            valueAxis9.Append(axisPosition18);
            valueAxis9.Append(majorGridlines9);
            valueAxis9.Append(numberingFormat29);
            valueAxis9.Append(majorTickMark18);
            valueAxis9.Append(minorTickMark18);
            valueAxis9.Append(tickLabelPosition18);
            valueAxis9.Append(chartShapeProperties39);
            valueAxis9.Append(textProperties30);
            valueAxis9.Append(crossingAxis18);
            valueAxis9.Append(crosses18);
            valueAxis9.Append(crossBetween9);

            C.ShapeProperties shapeProperties79 = new C.ShapeProperties();

            A.SolidFill solidFill150 = new A.SolidFill();
            A.SchemeColor schemeColor120 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill150.Append(schemeColor120);

            A.Outline outline121 = new A.Outline();
            A.NoFill noFill106 = new A.NoFill();

            outline121.Append(noFill106);
            A.EffectList effectList101 = new A.EffectList();

            shapeProperties79.Append(solidFill150);
            shapeProperties79.Append(outline121);
            shapeProperties79.Append(effectList101);

            plotArea18.Append(layout18);
            plotArea18.Append(barChart9);
            plotArea18.Append(categoryAxis9);
            plotArea18.Append(valueAxis9);
            plotArea18.Append(shapeProperties79);

            C.Legend legend18 = new C.Legend();
            C.LegendPosition legendPosition18 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay36 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties40 = new C.ChartShapeProperties();
            A.NoFill noFill107 = new A.NoFill();

            A.Outline outline122 = new A.Outline();
            A.NoFill noFill108 = new A.NoFill();

            outline122.Append(noFill108);
            A.EffectList effectList102 = new A.EffectList();

            chartShapeProperties40.Append(noFill107);
            chartShapeProperties40.Append(outline122);
            chartShapeProperties40.Append(effectList102);

            C.TextProperties textProperties31 = new C.TextProperties();
            A.BodyProperties bodyProperties51 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle51 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties31 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties31 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor121 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation45 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset39 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor121.Append(luminanceModulation45);
            schemeColor121.Append(luminanceOffset39);

            solidFill151.Append(schemeColor121);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties31.Append(solidFill151);
            defaultRunProperties31.Append(latinFont26);
            defaultRunProperties31.Append(eastAsianFont26);
            defaultRunProperties31.Append(complexScriptFont26);

            paragraphProperties31.Append(defaultRunProperties31);
            A.EndParagraphRunProperties endParagraphRunProperties31 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph51.Append(paragraphProperties31);
            paragraph51.Append(endParagraphRunProperties31);

            textProperties31.Append(bodyProperties51);
            textProperties31.Append(listStyle51);
            textProperties31.Append(paragraph51);

            legend18.Append(legendPosition18);
            legend18.Append(overlay36);
            legend18.Append(chartShapeProperties40);
            legend18.Append(textProperties31);
            C.PlotVisibleOnly plotVisibleOnly18 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs18 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum18 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart18.Append(title18);
            chart18.Append(autoTitleDeleted18);
            chart18.Append(pivotFormats18);
            chart18.Append(plotArea18);
            chart18.Append(legend18);
            chart18.Append(plotVisibleOnly18);
            chart18.Append(displayBlanksAs18);
            chart18.Append(showDataLabelsOverMaximum18);

            C.ShapeProperties shapeProperties80 = new C.ShapeProperties();

            A.SolidFill solidFill152 = new A.SolidFill();
            A.SchemeColor schemeColor122 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill152.Append(schemeColor122);

            A.Outline outline123 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor123 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation46 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset40 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor123.Append(luminanceModulation46);
            schemeColor123.Append(luminanceOffset40);

            solidFill153.Append(schemeColor123);
            A.Round round16 = new A.Round();

            outline123.Append(solidFill153);
            outline123.Append(round16);
            A.EffectList effectList103 = new A.EffectList();

            shapeProperties80.Append(solidFill152);
            shapeProperties80.Append(outline123);
            shapeProperties80.Append(effectList103);

            C.TextProperties textProperties32 = new C.TextProperties();
            A.BodyProperties bodyProperties52 = new A.BodyProperties();
            A.ListStyle listStyle52 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties32 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties();

            paragraphProperties32.Append(defaultRunProperties32);
            A.EndParagraphRunProperties endParagraphRunProperties32 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph52.Append(paragraphProperties32);
            paragraph52.Append(endParagraphRunProperties32);

            textProperties32.Append(bodyProperties52);
            textProperties32.Append(listStyle52);
            textProperties32.Append(paragraph52);

            C.PrintSettings printSettings18 = new C.PrintSettings();
            C.HeaderFooter headerFooter18 = new C.HeaderFooter();
            C.PageMargins pageMargins29 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup18 = new C.PageSetup();

            printSettings18.Append(headerFooter18);
            printSettings18.Append(pageMargins29);
            printSettings18.Append(pageSetup18);

            C.ChartSpaceExtensionList chartSpaceExtensionList18 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList18.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList18.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension18 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension18.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions18 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter18 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories18 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData18 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries18 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible18 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions18.Append(dropZoneFilter18);
            pivotOptions18.Append(dropZoneCategories18);
            pivotOptions18.Append(dropZoneData18);
            pivotOptions18.Append(dropZoneSeries18);
            pivotOptions18.Append(dropZonesVisible18);

            chartSpaceExtension18.Append(pivotOptions18);

            chartSpaceExtensionList18.Append(chartSpaceExtension18);

            chartSpace18.Append(date190418);
            chartSpace18.Append(editingLanguage18);
            chartSpace18.Append(roundedCorners18);
            chartSpace18.Append(alternateContent38);
            chartSpace18.Append(pivotSource18);
            chartSpace18.Append(chart18);
            chartSpace18.Append(shapeProperties80);
            chartSpace18.Append(textProperties32);
            chartSpace18.Append(printSettings18);
            chartSpace18.Append(chartSpaceExtensionList18);

            chartPart18.ChartSpace = chartSpace18;
        }
Example #21
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Slice" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Slice HD-RCA" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "537D0B" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "A9E257" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "38540A" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "31A274" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "236073" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "6C4D90" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "983C27" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "CD811F" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "293F06" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "68883A" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

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

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Slice HD-RCA" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "" };

            majorFont1.Append(latinFont32);
            majorFont1.Append(eastAsianFont29);
            majorFont1.Append(complexScriptFont29);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" };

            minorFont1.Append(latinFont33);
            minorFont1.Append(eastAsianFont30);
            minorFont1.Append(complexScriptFont30);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Slice HD-RCA" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill73 = new A.SolidFill();
            A.SchemeColor schemeColor139 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill73.Append(schemeColor139);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor140 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint17 = new A.Tint(){ Val = 62000 };
            A.HueModulation hueModulation1 = new A.HueModulation(){ Val = 94000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 140000 };
            A.LuminanceModulation luminanceModulation11 = new A.LuminanceModulation(){ Val = 110000 };

            schemeColor140.Append(tint17);
            schemeColor140.Append(hueModulation1);
            schemeColor140.Append(saturationModulation1);
            schemeColor140.Append(luminanceModulation11);

            gradientStop1.Append(schemeColor140);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor141 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint18 = new A.Tint(){ Val = 84000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 160000 };

            schemeColor141.Append(tint18);
            schemeColor141.Append(saturationModulation2);

            gradientStop2.Append(schemeColor141);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor142 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint19 = new A.Tint(){ Val = 98000 };
            A.HueModulation hueModulation2 = new A.HueModulation(){ Val = 94000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 130000 };
            A.LuminanceModulation luminanceModulation12 = new A.LuminanceModulation(){ Val = 128000 };

            schemeColor142.Append(tint19);
            schemeColor142.Append(hueModulation2);
            schemeColor142.Append(saturationModulation3);
            schemeColor142.Append(luminanceModulation12);

            gradientStop3.Append(schemeColor142);

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor143 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade1 = new A.Shade(){ Val = 94000 };
            A.LuminanceModulation luminanceModulation13 = new A.LuminanceModulation(){ Val = 88000 };

            schemeColor143.Append(shade1);
            schemeColor143.Append(luminanceModulation13);

            gradientStop4.Append(schemeColor143);

            gradientStopList2.Append(gradientStop3);
            gradientStopList2.Append(gradientStop4);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill73);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline17 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor144 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint20 = new A.Tint(){ Val = 76000 };
            A.Alpha alpha1 = new A.Alpha(){ Val = 60000 };
            A.HueModulation hueModulation3 = new A.HueModulation(){ Val = 94000 };

            schemeColor144.Append(tint20);
            schemeColor144.Append(alpha1);
            schemeColor144.Append(hueModulation3);

            solidFill74.Append(schemeColor144);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline17.Append(solidFill74);
            outline17.Append(presetDash1);

            A.Outline outline18 = new A.Outline(){ Width = 15875, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor145 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.HueModulation hueModulation4 = new A.HueModulation(){ Val = 94000 };

            schemeColor145.Append(hueModulation4);

            solidFill75.Append(schemeColor145);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline18.Append(solidFill75);
            outline18.Append(presetDash2);

            A.Outline outline19 = new A.Outline(){ Width = 28575, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill76 = new A.SolidFill();
            A.SchemeColor schemeColor146 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill76.Append(schemeColor146);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline19.Append(solidFill76);
            outline19.Append(presetDash3);

            lineStyleList1.Append(outline17);
            lineStyleList1.Append(outline18);
            lineStyleList1.Append(outline19);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList12 = new A.EffectList();

            effectStyle1.Append(effectList12);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

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

            A.InnerShadow innerShadow1 = new A.InnerShadow(){ BlurRadius = 25400L, Distance = 12700L, Direction = 13500000 };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 45000 };

            rgbColorModelHex11.Append(alpha2);

            innerShadow1.Append(rgbColorModelHex11);

            effectList13.Append(innerShadow1);

            effectStyle2.Append(effectList13);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 50800L, Distance = 38100L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 46000 };

            rgbColorModelHex12.Append(alpha3);

            outerShadow1.Append(rgbColorModelHex12);

            effectList14.Append(outerShadow1);

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

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

            camera1.Append(rotation1);
            A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Plastic };
            A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 25400L, Height = 25400L };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList14);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

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

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill77 = new A.SolidFill();
            A.SchemeColor schemeColor147 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill77.Append(schemeColor147);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 10000 };

            A.SchemeColor schemeColor148 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint21 = new A.Tint(){ Val = 97000 };
            A.HueModulation hueModulation5 = new A.HueModulation(){ Val = 92000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 169000 };
            A.LuminanceModulation luminanceModulation14 = new A.LuminanceModulation(){ Val = 164000 };

            schemeColor148.Append(tint21);
            schemeColor148.Append(hueModulation5);
            schemeColor148.Append(saturationModulation4);
            schemeColor148.Append(luminanceModulation14);

            gradientStop5.Append(schemeColor148);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor149 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 96000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 120000 };
            A.LuminanceModulation luminanceModulation15 = new A.LuminanceModulation(){ Val = 90000 };

            schemeColor149.Append(shade2);
            schemeColor149.Append(saturationModulation5);
            schemeColor149.Append(luminanceModulation15);

            gradientStop6.Append(schemeColor149);

            gradientStopList3.Append(gradientStop5);
            gradientStopList3.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 6120000, Scaled = true };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor150 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint22 = new A.Tint(){ Val = 97000 };
            A.HueModulation hueModulation6 = new A.HueModulation(){ Val = 92000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 169000 };
            A.LuminanceModulation luminanceModulation16 = new A.LuminanceModulation(){ Val = 164000 };

            schemeColor150.Append(tint22);
            schemeColor150.Append(hueModulation6);
            schemeColor150.Append(saturationModulation6);
            schemeColor150.Append(luminanceModulation16);

            gradientStop7.Append(schemeColor150);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor151 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 96000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 120000 };
            A.LuminanceModulation luminanceModulation17 = new A.LuminanceModulation(){ Val = 90000 };

            schemeColor151.Append(shade3);
            schemeColor151.Append(saturationModulation7);
            schemeColor151.Append(luminanceModulation17);

            gradientStop8.Append(schemeColor151);

            gradientStopList4.Append(gradientStop7);
            gradientStopList4.Append(gradientStop8);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Bottom = 100000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill1);

            backgroundFillStyleList1.Append(solidFill77);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

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

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList();

            A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension(){ Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" };

            Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily(){ Name = "Slice", Id = "{0507925B-6AC9-4358-8E18-C330545D08F8}", Vid = "{24C90B2D-6D41-4755-90A4-ED86E7EA9F03}" };
            themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            officeStyleSheetExtension1.Append(themeFamily1);

            officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(officeStyleSheetExtensionList1);

            themePart1.Theme = theme1;
        }
Example #22
0
        // Generates content of chartPart6.
        private void GenerateChartPart6Content(ChartPart chartPart6)
        {
            C.ChartSpace chartSpace6 = new C.ChartSpace();
            chartSpace6.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace6.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date19046 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage6 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners6 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent13 = new AlternateContent();
            alternateContent13.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice13 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice13.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style11 = new C14.Style(){ Val = 101 };

            alternateContentChoice13.Append(style11);

            AlternateContentFallback alternateContentFallback12 = new AlternateContentFallback();
            C.Style style12 = new C.Style(){ Val = 1 };

            alternateContentFallback12.Append(style12);

            alternateContent13.Append(alternateContentChoice13);
            alternateContent13.Append(alternateContentFallback12);

            C.PivotSource pivotSource6 = new C.PivotSource();
            C.PivotTableName pivotTableName6 = new C.PivotTableName();
            pivotTableName6.Text = "[GeneratedDocument.xlsx]ShowSelectionLabel!PivotTable1";
            C.FormatId formatId6 = new C.FormatId(){ Val = (UInt32Value)11U };

            pivotSource6.Append(pivotTableName6);
            pivotSource6.Append(formatId6);

            C.Chart chart6 = new C.Chart();

            C.Title title6 = new C.Title();
            C.Overlay overlay11 = new C.Overlay(){ Val = false };

            title6.Append(overlay11);
            C.AutoTitleDeleted autoTitleDeleted6 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats6 = new C.PivotFormats();

            C.PivotFormat pivotFormat30 = new C.PivotFormat();
            C.Index index35 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties15 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint8 = new A.Tint(){ Val = 100000 };

            schemeColor15.Append(tint8);

            solidFill27.Append(schemeColor15);

            A.Outline outline20 = new A.Outline();
            A.NoFill noFill15 = new A.NoFill();

            outline20.Append(noFill15);
            A.EffectList effectList14 = new A.EffectList();

            shapeProperties15.Append(solidFill27);
            shapeProperties15.Append(outline20);
            shapeProperties15.Append(effectList14);

            C.Marker marker30 = new C.Marker();
            C.Symbol symbol30 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker30.Append(symbol30);

            pivotFormat30.Append(index35);
            pivotFormat30.Append(shapeProperties15);
            pivotFormat30.Append(marker30);

            C.PivotFormat pivotFormat31 = new C.PivotFormat();
            C.Index index36 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties16 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint9 = new A.Tint(){ Val = 100000 };

            schemeColor16.Append(tint9);

            solidFill28.Append(schemeColor16);

            A.Outline outline21 = new A.Outline();
            A.NoFill noFill16 = new A.NoFill();

            outline21.Append(noFill16);
            A.EffectList effectList15 = new A.EffectList();

            shapeProperties16.Append(solidFill28);
            shapeProperties16.Append(outline21);
            shapeProperties16.Append(effectList15);

            C.Marker marker31 = new C.Marker();
            C.Symbol symbol31 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker31.Append(symbol31);

            pivotFormat31.Append(index36);
            pivotFormat31.Append(shapeProperties16);
            pivotFormat31.Append(marker31);

            C.PivotFormat pivotFormat32 = new C.PivotFormat();
            C.Index index37 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker32 = new C.Marker();
            C.Symbol symbol32 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker32.Append(symbol32);

            pivotFormat32.Append(index37);
            pivotFormat32.Append(marker32);

            C.PivotFormat pivotFormat33 = new C.PivotFormat();
            C.Index index38 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker33 = new C.Marker();
            C.Symbol symbol33 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker33.Append(symbol33);

            pivotFormat33.Append(index38);
            pivotFormat33.Append(marker33);

            C.PivotFormat pivotFormat34 = new C.PivotFormat();
            C.Index index39 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker34 = new C.Marker();
            C.Symbol symbol34 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker34.Append(symbol34);

            pivotFormat34.Append(index39);
            pivotFormat34.Append(marker34);

            C.PivotFormat pivotFormat35 = new C.PivotFormat();
            C.Index index40 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker35 = new C.Marker();
            C.Symbol symbol35 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker35.Append(symbol35);

            pivotFormat35.Append(index40);
            pivotFormat35.Append(marker35);

            C.PivotFormat pivotFormat36 = new C.PivotFormat();
            C.Index index41 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker36 = new C.Marker();
            C.Symbol symbol36 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker36.Append(symbol36);

            pivotFormat36.Append(index41);
            pivotFormat36.Append(marker36);

            C.PivotFormat pivotFormat37 = new C.PivotFormat();
            C.Index index42 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker37 = new C.Marker();
            C.Symbol symbol37 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker37.Append(symbol37);

            pivotFormat37.Append(index42);
            pivotFormat37.Append(marker37);

            C.PivotFormat pivotFormat38 = new C.PivotFormat();
            C.Index index43 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker38 = new C.Marker();
            C.Symbol symbol38 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker38.Append(symbol38);

            pivotFormat38.Append(index43);
            pivotFormat38.Append(marker38);

            C.PivotFormat pivotFormat39 = new C.PivotFormat();
            C.Index index44 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker39 = new C.Marker();
            C.Symbol symbol39 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker39.Append(symbol39);

            pivotFormat39.Append(index44);
            pivotFormat39.Append(marker39);

            C.PivotFormat pivotFormat40 = new C.PivotFormat();
            C.Index index45 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker40 = new C.Marker();
            C.Symbol symbol40 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker40.Append(symbol40);

            pivotFormat40.Append(index45);
            pivotFormat40.Append(marker40);

            C.PivotFormat pivotFormat41 = new C.PivotFormat();
            C.Index index46 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker41 = new C.Marker();
            C.Symbol symbol41 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker41.Append(symbol41);

            pivotFormat41.Append(index46);
            pivotFormat41.Append(marker41);

            C.PivotFormat pivotFormat42 = new C.PivotFormat();
            C.Index index47 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker42 = new C.Marker();
            C.Symbol symbol42 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker42.Append(symbol42);

            pivotFormat42.Append(index47);
            pivotFormat42.Append(marker42);

            C.PivotFormat pivotFormat43 = new C.PivotFormat();
            C.Index index48 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker43 = new C.Marker();
            C.Symbol symbol43 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker43.Append(symbol43);

            pivotFormat43.Append(index48);
            pivotFormat43.Append(marker43);

            C.PivotFormat pivotFormat44 = new C.PivotFormat();
            C.Index index49 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties17 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint10 = new A.Tint(){ Val = 100000 };

            schemeColor17.Append(tint10);

            solidFill29.Append(schemeColor17);

            A.Outline outline22 = new A.Outline();
            A.NoFill noFill17 = new A.NoFill();

            outline22.Append(noFill17);
            A.EffectList effectList16 = new A.EffectList();

            shapeProperties17.Append(solidFill29);
            shapeProperties17.Append(outline22);
            shapeProperties17.Append(effectList16);

            C.Marker marker44 = new C.Marker();
            C.Symbol symbol44 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker44.Append(symbol44);

            pivotFormat44.Append(index49);
            pivotFormat44.Append(shapeProperties17);
            pivotFormat44.Append(marker44);

            C.PivotFormat pivotFormat45 = new C.PivotFormat();
            C.Index index50 = new C.Index(){ Val = (UInt32Value)15U };

            C.ShapeProperties shapeProperties18 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint11 = new A.Tint(){ Val = 100000 };

            schemeColor18.Append(tint11);

            solidFill30.Append(schemeColor18);

            A.Outline outline23 = new A.Outline();
            A.NoFill noFill18 = new A.NoFill();

            outline23.Append(noFill18);
            A.EffectList effectList17 = new A.EffectList();

            shapeProperties18.Append(solidFill30);
            shapeProperties18.Append(outline23);
            shapeProperties18.Append(effectList17);

            C.Marker marker45 = new C.Marker();
            C.Symbol symbol45 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker45.Append(symbol45);

            pivotFormat45.Append(index50);
            pivotFormat45.Append(shapeProperties18);
            pivotFormat45.Append(marker45);

            C.PivotFormat pivotFormat46 = new C.PivotFormat();
            C.Index index51 = new C.Index(){ Val = (UInt32Value)16U };

            C.ShapeProperties shapeProperties19 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint12 = new A.Tint(){ Val = 100000 };

            schemeColor19.Append(tint12);

            solidFill31.Append(schemeColor19);

            A.Outline outline24 = new A.Outline();
            A.NoFill noFill19 = new A.NoFill();

            outline24.Append(noFill19);
            A.EffectList effectList18 = new A.EffectList();

            shapeProperties19.Append(solidFill31);
            shapeProperties19.Append(outline24);
            shapeProperties19.Append(effectList18);

            C.Marker marker46 = new C.Marker();
            C.Symbol symbol46 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker46.Append(symbol46);

            pivotFormat46.Append(index51);
            pivotFormat46.Append(shapeProperties19);
            pivotFormat46.Append(marker46);

            pivotFormats6.Append(pivotFormat30);
            pivotFormats6.Append(pivotFormat31);
            pivotFormats6.Append(pivotFormat32);
            pivotFormats6.Append(pivotFormat33);
            pivotFormats6.Append(pivotFormat34);
            pivotFormats6.Append(pivotFormat35);
            pivotFormats6.Append(pivotFormat36);
            pivotFormats6.Append(pivotFormat37);
            pivotFormats6.Append(pivotFormat38);
            pivotFormats6.Append(pivotFormat39);
            pivotFormats6.Append(pivotFormat40);
            pivotFormats6.Append(pivotFormat41);
            pivotFormats6.Append(pivotFormat42);
            pivotFormats6.Append(pivotFormat43);
            pivotFormats6.Append(pivotFormat44);
            pivotFormats6.Append(pivotFormat45);
            pivotFormats6.Append(pivotFormat46);

            C.PlotArea plotArea6 = new C.PlotArea();
            C.Layout layout6 = new C.Layout();

            C.BarChart barChart3 = new C.BarChart();
            C.BarDirection barDirection3 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping3 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors6 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries3 = new C.BarChartSeries();
            C.Index index52 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order6 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText6 = new C.SeriesText();

            C.StringReference stringReference11 = new C.StringReference();
            C.Formula formula16 = new C.Formula();
            formula16.Text = "ShowSelectionLabel!$B$1";

            C.StringCache stringCache11 = new C.StringCache();
            C.PointCount pointCount16 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint21 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue36 = new C.NumericValue();
            numericValue36.Text = "Total";

            stringPoint21.Append(numericValue36);

            stringCache11.Append(pointCount16);
            stringCache11.Append(stringPoint21);

            stringReference11.Append(formula16);
            stringReference11.Append(stringCache11);

            seriesText6.Append(stringReference11);

            C.ChartShapeProperties chartShapeProperties6 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint13 = new A.Tint(){ Val = 100000 };

            schemeColor20.Append(tint13);

            solidFill32.Append(schemeColor20);

            A.Outline outline25 = new A.Outline();
            A.NoFill noFill20 = new A.NoFill();

            outline25.Append(noFill20);
            A.EffectList effectList19 = new A.EffectList();

            chartShapeProperties6.Append(solidFill32);
            chartShapeProperties6.Append(outline25);
            chartShapeProperties6.Append(effectList19);
            C.InvertIfNegative invertIfNegative3 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData6 = new C.CategoryAxisData();

            C.StringReference stringReference12 = new C.StringReference();
            C.Formula formula17 = new C.Formula();
            formula17.Text = "ShowSelectionLabel!$A$2:$A$5";

            C.StringCache stringCache12 = new C.StringCache();
            C.PointCount pointCount17 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint22 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue37 = new C.NumericValue();
            numericValue37.Text = "product_A";

            stringPoint22.Append(numericValue37);

            C.StringPoint stringPoint23 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue38 = new C.NumericValue();
            numericValue38.Text = "product_D";

            stringPoint23.Append(numericValue38);

            C.StringPoint stringPoint24 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue39 = new C.NumericValue();
            numericValue39.Text = "product_E";

            stringPoint24.Append(numericValue39);

            stringCache12.Append(pointCount17);
            stringCache12.Append(stringPoint22);
            stringCache12.Append(stringPoint23);
            stringCache12.Append(stringPoint24);

            stringReference12.Append(formula17);
            stringReference12.Append(stringCache12);

            categoryAxisData6.Append(stringReference12);

            C.Values values6 = new C.Values();

            C.NumberReference numberReference6 = new C.NumberReference();
            C.Formula formula18 = new C.Formula();
            formula18.Text = "ShowSelectionLabel!$B$2:$B$5";

            C.NumberingCache numberingCache6 = new C.NumberingCache();
            C.FormatCode formatCode6 = new C.FormatCode();
            formatCode6.Text = "General";
            C.PointCount pointCount18 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint16 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue40 = new C.NumericValue();
            numericValue40.Text = "19";

            numericPoint16.Append(numericValue40);

            C.NumericPoint numericPoint17 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue41 = new C.NumericValue();
            numericValue41.Text = "13";

            numericPoint17.Append(numericValue41);

            C.NumericPoint numericPoint18 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue42 = new C.NumericValue();
            numericValue42.Text = "33";

            numericPoint18.Append(numericValue42);

            numberingCache6.Append(formatCode6);
            numberingCache6.Append(pointCount18);
            numberingCache6.Append(numericPoint16);
            numberingCache6.Append(numericPoint17);
            numberingCache6.Append(numericPoint18);

            numberReference6.Append(formula18);
            numberReference6.Append(numberingCache6);

            values6.Append(numberReference6);

            barChartSeries3.Append(index52);
            barChartSeries3.Append(order6);
            barChartSeries3.Append(seriesText6);
            barChartSeries3.Append(chartShapeProperties6);
            barChartSeries3.Append(invertIfNegative3);
            barChartSeries3.Append(categoryAxisData6);
            barChartSeries3.Append(values6);

            C.DataLabels dataLabels6 = new C.DataLabels();
            C.ShowLegendKey showLegendKey6 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue6 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName6 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName6 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent6 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize6 = new C.ShowBubbleSize(){ Val = false };

            dataLabels6.Append(showLegendKey6);
            dataLabels6.Append(showValue6);
            dataLabels6.Append(showCategoryName6);
            dataLabels6.Append(showSeriesName6);
            dataLabels6.Append(showPercent6);
            dataLabels6.Append(showBubbleSize6);
            C.GapWidth gapWidth3 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap2 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId9 = new C.AxisId(){ Val = (UInt32Value)209979552U };
            C.AxisId axisId10 = new C.AxisId(){ Val = (UInt32Value)209979944U };

            barChart3.Append(barDirection3);
            barChart3.Append(barGrouping3);
            barChart3.Append(varyColors6);
            barChart3.Append(barChartSeries3);
            barChart3.Append(dataLabels6);
            barChart3.Append(gapWidth3);
            barChart3.Append(overlap2);
            barChart3.Append(axisId9);
            barChart3.Append(axisId10);

            C.CategoryAxis categoryAxis3 = new C.CategoryAxis();
            C.AxisId axisId11 = new C.AxisId(){ Val = (UInt32Value)209979552U };

            C.Scaling scaling5 = new C.Scaling();
            C.Orientation orientation5 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling5.Append(orientation5);
            C.Delete delete5 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition5 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat5 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark5 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark5 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition5 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties7 = new C.ChartShapeProperties();
            A.NoFill noFill21 = new A.NoFill();

            A.Outline outline26 = new A.Outline();
            A.NoFill noFill22 = new A.NoFill();

            outline26.Append(noFill22);
            A.EffectList effectList20 = new A.EffectList();

            chartShapeProperties7.Append(noFill21);
            chartShapeProperties7.Append(outline26);
            chartShapeProperties7.Append(effectList20);

            C.TextProperties textProperties5 = new C.TextProperties();
            A.BodyProperties bodyProperties11 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle11 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset6 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor21.Append(luminanceModulation6);
            schemeColor21.Append(luminanceOffset6);

            solidFill33.Append(schemeColor21);
            A.LatinFont latinFont4 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont4 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont4 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties5.Append(solidFill33);
            defaultRunProperties5.Append(latinFont4);
            defaultRunProperties5.Append(eastAsianFont4);
            defaultRunProperties5.Append(complexScriptFont4);

            paragraphProperties5.Append(defaultRunProperties5);
            A.EndParagraphRunProperties endParagraphRunProperties5 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph11.Append(paragraphProperties5);
            paragraph11.Append(endParagraphRunProperties5);

            textProperties5.Append(bodyProperties11);
            textProperties5.Append(listStyle11);
            textProperties5.Append(paragraph11);
            C.CrossingAxis crossingAxis5 = new C.CrossingAxis(){ Val = (UInt32Value)209979944U };
            C.Crosses crosses5 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled3 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment3 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset3 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels3 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis3.Append(axisId11);
            categoryAxis3.Append(scaling5);
            categoryAxis3.Append(delete5);
            categoryAxis3.Append(axisPosition5);
            categoryAxis3.Append(numberingFormat5);
            categoryAxis3.Append(majorTickMark5);
            categoryAxis3.Append(minorTickMark5);
            categoryAxis3.Append(tickLabelPosition5);
            categoryAxis3.Append(chartShapeProperties7);
            categoryAxis3.Append(textProperties5);
            categoryAxis3.Append(crossingAxis5);
            categoryAxis3.Append(crosses5);
            categoryAxis3.Append(autoLabeled3);
            categoryAxis3.Append(labelAlignment3);
            categoryAxis3.Append(labelOffset3);
            categoryAxis3.Append(noMultiLevelLabels3);

            C.ValueAxis valueAxis3 = new C.ValueAxis();
            C.AxisId axisId12 = new C.AxisId(){ Val = (UInt32Value)209979944U };

            C.Scaling scaling6 = new C.Scaling();
            C.Orientation orientation6 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling6.Append(orientation6);
            C.Delete delete6 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition6 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines3 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties8 = new C.ChartShapeProperties();

            A.Outline outline27 = 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 schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset7 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor22.Append(luminanceModulation7);
            schemeColor22.Append(luminanceOffset7);

            solidFill34.Append(schemeColor22);
            A.Round round3 = new A.Round();

            outline27.Append(solidFill34);
            outline27.Append(round3);
            A.EffectList effectList21 = new A.EffectList();

            chartShapeProperties8.Append(outline27);
            chartShapeProperties8.Append(effectList21);

            majorGridlines3.Append(chartShapeProperties8);
            C.NumberingFormat numberingFormat6 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark6 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark6 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition6 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties9 = new C.ChartShapeProperties();
            A.NoFill noFill23 = new A.NoFill();

            A.Outline outline28 = new A.Outline();
            A.NoFill noFill24 = new A.NoFill();

            outline28.Append(noFill24);
            A.EffectList effectList22 = new A.EffectList();

            chartShapeProperties9.Append(noFill23);
            chartShapeProperties9.Append(outline28);
            chartShapeProperties9.Append(effectList22);

            C.TextProperties textProperties6 = new C.TextProperties();
            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle12 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties6 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset8 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor23.Append(luminanceModulation8);
            schemeColor23.Append(luminanceOffset8);

            solidFill35.Append(schemeColor23);
            A.LatinFont latinFont5 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont5 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont5 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties6.Append(solidFill35);
            defaultRunProperties6.Append(latinFont5);
            defaultRunProperties6.Append(eastAsianFont5);
            defaultRunProperties6.Append(complexScriptFont5);

            paragraphProperties6.Append(defaultRunProperties6);
            A.EndParagraphRunProperties endParagraphRunProperties6 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph12.Append(paragraphProperties6);
            paragraph12.Append(endParagraphRunProperties6);

            textProperties6.Append(bodyProperties12);
            textProperties6.Append(listStyle12);
            textProperties6.Append(paragraph12);
            C.CrossingAxis crossingAxis6 = new C.CrossingAxis(){ Val = (UInt32Value)209979552U };
            C.Crosses crosses6 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween3 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis3.Append(axisId12);
            valueAxis3.Append(scaling6);
            valueAxis3.Append(delete6);
            valueAxis3.Append(axisPosition6);
            valueAxis3.Append(majorGridlines3);
            valueAxis3.Append(numberingFormat6);
            valueAxis3.Append(majorTickMark6);
            valueAxis3.Append(minorTickMark6);
            valueAxis3.Append(tickLabelPosition6);
            valueAxis3.Append(chartShapeProperties9);
            valueAxis3.Append(textProperties6);
            valueAxis3.Append(crossingAxis6);
            valueAxis3.Append(crosses6);
            valueAxis3.Append(crossBetween3);

            C.ShapeProperties shapeProperties20 = new C.ShapeProperties();

            A.SolidFill solidFill36 = new A.SolidFill();
            A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill36.Append(schemeColor24);

            A.Outline outline29 = new A.Outline();
            A.NoFill noFill25 = new A.NoFill();

            outline29.Append(noFill25);
            A.EffectList effectList23 = new A.EffectList();

            shapeProperties20.Append(solidFill36);
            shapeProperties20.Append(outline29);
            shapeProperties20.Append(effectList23);

            plotArea6.Append(layout6);
            plotArea6.Append(barChart3);
            plotArea6.Append(categoryAxis3);
            plotArea6.Append(valueAxis3);
            plotArea6.Append(shapeProperties20);

            C.Legend legend6 = new C.Legend();
            C.LegendPosition legendPosition6 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay12 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties10 = new C.ChartShapeProperties();
            A.NoFill noFill26 = new A.NoFill();

            A.Outline outline30 = new A.Outline();
            A.NoFill noFill27 = new A.NoFill();

            outline30.Append(noFill27);
            A.EffectList effectList24 = new A.EffectList();

            chartShapeProperties10.Append(noFill26);
            chartShapeProperties10.Append(outline30);
            chartShapeProperties10.Append(effectList24);

            C.TextProperties textProperties7 = new C.TextProperties();
            A.BodyProperties bodyProperties13 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle13 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation9 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset9 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor25.Append(luminanceModulation9);
            schemeColor25.Append(luminanceOffset9);

            solidFill37.Append(schemeColor25);
            A.LatinFont latinFont6 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont6 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont6 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties7.Append(solidFill37);
            defaultRunProperties7.Append(latinFont6);
            defaultRunProperties7.Append(eastAsianFont6);
            defaultRunProperties7.Append(complexScriptFont6);

            paragraphProperties7.Append(defaultRunProperties7);
            A.EndParagraphRunProperties endParagraphRunProperties7 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph13.Append(paragraphProperties7);
            paragraph13.Append(endParagraphRunProperties7);

            textProperties7.Append(bodyProperties13);
            textProperties7.Append(listStyle13);
            textProperties7.Append(paragraph13);

            legend6.Append(legendPosition6);
            legend6.Append(overlay12);
            legend6.Append(chartShapeProperties10);
            legend6.Append(textProperties7);
            C.PlotVisibleOnly plotVisibleOnly6 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs6 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum6 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart6.Append(title6);
            chart6.Append(autoTitleDeleted6);
            chart6.Append(pivotFormats6);
            chart6.Append(plotArea6);
            chart6.Append(legend6);
            chart6.Append(plotVisibleOnly6);
            chart6.Append(displayBlanksAs6);
            chart6.Append(showDataLabelsOverMaximum6);

            C.ShapeProperties shapeProperties21 = new C.ShapeProperties();

            A.SolidFill solidFill38 = new A.SolidFill();
            A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill38.Append(schemeColor26);

            A.Outline outline31 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation10 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset10 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor27.Append(luminanceModulation10);
            schemeColor27.Append(luminanceOffset10);

            solidFill39.Append(schemeColor27);
            A.Round round4 = new A.Round();

            outline31.Append(solidFill39);
            outline31.Append(round4);
            A.EffectList effectList25 = new A.EffectList();

            shapeProperties21.Append(solidFill38);
            shapeProperties21.Append(outline31);
            shapeProperties21.Append(effectList25);

            C.TextProperties textProperties8 = new C.TextProperties();
            A.BodyProperties bodyProperties14 = new A.BodyProperties();
            A.ListStyle listStyle14 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties8 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties();

            paragraphProperties8.Append(defaultRunProperties8);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph14.Append(paragraphProperties8);
            paragraph14.Append(endParagraphRunProperties8);

            textProperties8.Append(bodyProperties14);
            textProperties8.Append(listStyle14);
            textProperties8.Append(paragraph14);

            C.PrintSettings printSettings6 = new C.PrintSettings();
            C.HeaderFooter headerFooter6 = new C.HeaderFooter();
            C.PageMargins pageMargins9 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup6 = new C.PageSetup();

            printSettings6.Append(headerFooter6);
            printSettings6.Append(pageMargins9);
            printSettings6.Append(pageSetup6);

            C.ChartSpaceExtensionList chartSpaceExtensionList6 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList6.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList6.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension6 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension6.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions6 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter6 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories6 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData6 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries6 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible6 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions6.Append(dropZoneFilter6);
            pivotOptions6.Append(dropZoneCategories6);
            pivotOptions6.Append(dropZoneData6);
            pivotOptions6.Append(dropZoneSeries6);
            pivotOptions6.Append(dropZonesVisible6);

            chartSpaceExtension6.Append(pivotOptions6);

            chartSpaceExtensionList6.Append(chartSpaceExtension6);

            chartSpace6.Append(date19046);
            chartSpace6.Append(editingLanguage6);
            chartSpace6.Append(roundedCorners6);
            chartSpace6.Append(alternateContent13);
            chartSpace6.Append(pivotSource6);
            chartSpace6.Append(chart6);
            chartSpace6.Append(shapeProperties21);
            chartSpace6.Append(textProperties8);
            chartSpace6.Append(printSettings6);
            chartSpace6.Append(chartSpaceExtensionList6);

            chartPart6.ChartSpace = chartSpace6;
        }
Example #23
0
        private static void GeneratePartContent(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme()
            {
                Name = "Office テーマ"
            };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme()
            {
                Name = "Office テーマ"
            };

            A.Dark1Color  dark1Color1  = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor()
            {
                Val = A.SystemColorValues.WindowText, LastColor = "000000"
            };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor()
            {
                Val = A.SystemColorValues.Window, LastColor = "FFFFFF"
            };

            light1Color1.Append(systemColor2);

            A.Dark2Color       dark2Color1       = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "44546A"
            };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color      light2Color1      = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex()
            {
                Val = "E7E6E6"
            };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color     accent1Color1     = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex()
            {
                Val = "4472C4"
            };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color     accent2Color1     = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex()
            {
                Val = "ED7D31"
            };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color     accent3Color1     = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex()
            {
                Val = "A5A5A5"
            };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color     accent4Color1     = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex()
            {
                Val = "FFC000"
            };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color     accent5Color1     = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex()
            {
                Val = "5B9BD5"
            };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color     accent6Color1     = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex()
            {
                Val = "70AD47"
            };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink        hyperlink1        = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex()
            {
                Val = "0563C1"
            };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex       rgbColorModelHex10      = new A.RgbColorModelHex()
            {
                Val = "954F72"
            };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

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

            A.FontScheme fontScheme1 = new A.FontScheme()
            {
                Name = "Office テーマ"
            };

            A.MajorFont majorFont1  = new A.MajorFont();
            A.LatinFont latinFont20 = new A.LatinFont()
            {
                Typeface = "Calibri Light", Panose = "020F0302020204030204"
            };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont()
            {
                Typeface = ""
            };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont()
            {
                Typeface = ""
            };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont()
            {
                Script = "Jpan", Typeface = "游ゴシック Light"
            };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont()
            {
                Script = "Hang", Typeface = "맑은 고딕"
            };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont()
            {
                Script = "Hans", Typeface = "等线 Light"
            };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont()
            {
                Script = "Hant", Typeface = "新細明體"
            };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont()
            {
                Script = "Arab", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont()
            {
                Script = "Hebr", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont()
            {
                Script = "Thai", Typeface = "Angsana New"
            };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont()
            {
                Script = "Ethi", Typeface = "Nyala"
            };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont()
            {
                Script = "Beng", Typeface = "Vrinda"
            };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont()
            {
                Script = "Gujr", Typeface = "Shruti"
            };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont()
            {
                Script = "Khmr", Typeface = "MoolBoran"
            };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont()
            {
                Script = "Knda", Typeface = "Tunga"
            };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont()
            {
                Script = "Guru", Typeface = "Raavi"
            };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont()
            {
                Script = "Cans", Typeface = "Euphemia"
            };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont()
            {
                Script = "Cher", Typeface = "Plantagenet Cherokee"
            };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont()
            {
                Script = "Yiii", Typeface = "Microsoft Yi Baiti"
            };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont()
            {
                Script = "Tibt", Typeface = "Microsoft Himalaya"
            };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont()
            {
                Script = "Thaa", Typeface = "MV Boli"
            };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont()
            {
                Script = "Deva", Typeface = "Mangal"
            };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont()
            {
                Script = "Telu", Typeface = "Gautami"
            };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont()
            {
                Script = "Taml", Typeface = "Latha"
            };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont()
            {
                Script = "Syrc", Typeface = "Estrangelo Edessa"
            };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont()
            {
                Script = "Orya", Typeface = "Kalinga"
            };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont()
            {
                Script = "Mlym", Typeface = "Kartika"
            };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont()
            {
                Script = "Laoo", Typeface = "DokChampa"
            };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont()
            {
                Script = "Sinh", Typeface = "Iskoola Pota"
            };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont()
            {
                Script = "Mong", Typeface = "Mongolian Baiti"
            };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont()
            {
                Script = "Viet", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont()
            {
                Script = "Uigh", Typeface = "Microsoft Uighur"
            };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont()
            {
                Script = "Geor", Typeface = "Sylfaen"
            };

            majorFont1.Append(latinFont20);
            majorFont1.Append(eastAsianFont20);
            majorFont1.Append(complexScriptFont20);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);

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

            minorFont1.Append(latinFont21);
            minorFont1.Append(eastAsianFont21);
            minorFont1.Append(complexScriptFont21);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme()
            {
                Name = "Office テーマ"
            };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill   solidFill32   = new A.SolidFill();
            A.SchemeColor schemeColor33 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill32.Append(schemeColor33);

            A.GradientFill gradientFill1 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor34 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation()
            {
                Val = 110000
            };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation()
            {
                Val = 105000
            };
            A.Tint tint12 = new A.Tint()
            {
                Val = 67000
            };

            schemeColor34.Append(luminanceModulation1);
            schemeColor34.Append(saturationModulation1);
            schemeColor34.Append(tint12);

            gradientStop1.Append(schemeColor34);

            A.GradientStop gradientStop2 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor35 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation()
            {
                Val = 105000
            };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation()
            {
                Val = 103000
            };
            A.Tint tint13 = new A.Tint()
            {
                Val = 73000
            };

            schemeColor35.Append(luminanceModulation2);
            schemeColor35.Append(saturationModulation2);
            schemeColor35.Append(tint13);

            gradientStop2.Append(schemeColor35);

            A.GradientStop gradientStop3 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor36 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation()
            {
                Val = 105000
            };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation()
            {
                Val = 109000
            };
            A.Tint tint14 = new A.Tint()
            {
                Val = 81000
            };

            schemeColor36.Append(luminanceModulation3);
            schemeColor36.Append(saturationModulation3);
            schemeColor36.Append(tint14);

            gradientStop3.Append(schemeColor36);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor37 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation()
            {
                Val = 103000
            };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation()
            {
                Val = 102000
            };
            A.Tint tint15 = new A.Tint()
            {
                Val = 94000
            };

            schemeColor37.Append(saturationModulation4);
            schemeColor37.Append(luminanceModulation4);
            schemeColor37.Append(tint15);

            gradientStop4.Append(schemeColor37);

            A.GradientStop gradientStop5 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor38 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation()
            {
                Val = 110000
            };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation()
            {
                Val = 100000
            };
            A.Shade shade1 = new A.Shade()
            {
                Val = 100000
            };

            schemeColor38.Append(saturationModulation5);
            schemeColor38.Append(luminanceModulation5);
            schemeColor38.Append(shade1);

            gradientStop5.Append(schemeColor38);

            A.GradientStop gradientStop6 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor39 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation()
            {
                Val = 99000
            };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation()
            {
                Val = 120000
            };
            A.Shade shade2 = new A.Shade()
            {
                Val = 78000
            };

            schemeColor39.Append(luminanceModulation6);
            schemeColor39.Append(saturationModulation6);
            schemeColor39.Append(shade2);

            gradientStop6.Append(schemeColor39);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill32);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline()
            {
                Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill33   = new A.SolidFill();
            A.SchemeColor schemeColor40 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill33.Append(schemeColor40);
            A.PresetDash presetDash1 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter1 = new A.Miter()
            {
                Limit = 800000
            };

            outline1.Append(solidFill33);
            outline1.Append(presetDash1);
            outline1.Append(miter1);

            A.Outline outline2 = new A.Outline()
            {
                Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill34   = new A.SolidFill();
            A.SchemeColor schemeColor41 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill34.Append(schemeColor41);
            A.PresetDash presetDash2 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter2 = new A.Miter()
            {
                Limit = 800000
            };

            outline2.Append(solidFill34);
            outline2.Append(presetDash2);
            outline2.Append(miter2);

            A.Outline outline3 = new A.Outline()
            {
                Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill35   = new A.SolidFill();
            A.SchemeColor schemeColor42 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill35.Append(schemeColor42);
            A.PresetDash presetDash3 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter3 = new A.Miter()
            {
                Limit = 800000
            };

            outline3.Append(solidFill35);
            outline3.Append(presetDash3);
            outline3.Append(miter3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList  effectList1  = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList  effectList2  = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow()
            {
                BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false
            };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = 63000
            };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

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

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill   solidFill36   = new A.SolidFill();
            A.SchemeColor schemeColor43 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill36.Append(schemeColor43);

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

            A.SchemeColor schemeColor44 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint16 = new A.Tint()
            {
                Val = 95000
            };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation()
            {
                Val = 170000
            };

            schemeColor44.Append(tint16);
            schemeColor44.Append(saturationModulation7);

            solidFill37.Append(schemeColor44);

            A.GradientFill gradientFill3 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor45 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint17 = new A.Tint()
            {
                Val = 93000
            };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation()
            {
                Val = 150000
            };
            A.Shade shade3 = new A.Shade()
            {
                Val = 98000
            };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation()
            {
                Val = 102000
            };

            schemeColor45.Append(tint17);
            schemeColor45.Append(saturationModulation8);
            schemeColor45.Append(shade3);
            schemeColor45.Append(luminanceModulation7);

            gradientStop7.Append(schemeColor45);

            A.GradientStop gradientStop8 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor46 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint18 = new A.Tint()
            {
                Val = 98000
            };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation()
            {
                Val = 130000
            };
            A.Shade shade4 = new A.Shade()
            {
                Val = 90000
            };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation()
            {
                Val = 103000
            };

            schemeColor46.Append(tint18);
            schemeColor46.Append(saturationModulation9);
            schemeColor46.Append(shade4);
            schemeColor46.Append(luminanceModulation8);

            gradientStop8.Append(schemeColor46);

            A.GradientStop gradientStop9 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor47 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Shade shade5 = new A.Shade()
            {
                Val = 63000
            };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation()
            {
                Val = 120000
            };

            schemeColor47.Append(shade5);
            schemeColor47.Append(saturationModulation10);

            gradientStop9.Append(schemeColor47);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            backgroundFillStyleList1.Append(solidFill36);
            backgroundFillStyleList1.Append(solidFill37);
            backgroundFillStyleList1.Append(gradientFill3);

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

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults       objectDefaults1       = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList();

            A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension()
            {
                Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}"
            };

            Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily()
            {
                Name = "Office Theme", Id = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", Vid = "{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"
            };
            themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            officeStyleSheetExtension1.Append(themeFamily1);

            officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(officeStyleSheetExtensionList1);

            themePart1.Theme = theme1;
        }
Example #24
0
        // Generates content of chartPart8.
        private void GenerateChartPart8Content(ChartPart chartPart8)
        {
            C.ChartSpace chartSpace8 = new C.ChartSpace();
            chartSpace8.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace8.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace8.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date19048 = new C.Date1904(){ Val = false };
            C.EditingLanguage editingLanguage8 = new C.EditingLanguage(){ Val = "en-US" };
            C.RoundedCorners roundedCorners8 = new C.RoundedCorners(){ Val = false };

            AlternateContent alternateContent17 = new AlternateContent();
            alternateContent17.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice17 = new AlternateContentChoice(){ Requires = "c14" };
            alternateContentChoice17.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style15 = new C14.Style(){ Val = 101 };

            alternateContentChoice17.Append(style15);

            AlternateContentFallback alternateContentFallback16 = new AlternateContentFallback();
            C.Style style16 = new C.Style(){ Val = 1 };

            alternateContentFallback16.Append(style16);

            alternateContent17.Append(alternateContentChoice17);
            alternateContent17.Append(alternateContentFallback16);

            C.PivotSource pivotSource8 = new C.PivotSource();
            C.PivotTableName pivotTableName8 = new C.PivotTableName();
            pivotTableName8.Text = "[GeneratedDocument.xlsx]ShowHeader!PivotTable1";
            C.FormatId formatId8 = new C.FormatId(){ Val = (UInt32Value)9U };

            pivotSource8.Append(pivotTableName8);
            pivotSource8.Append(formatId8);

            C.Chart chart8 = new C.Chart();

            C.Title title8 = new C.Title();
            C.Overlay overlay15 = new C.Overlay(){ Val = false };

            title8.Append(overlay15);
            C.AutoTitleDeleted autoTitleDeleted8 = new C.AutoTitleDeleted(){ Val = false };

            C.PivotFormats pivotFormats8 = new C.PivotFormats();

            C.PivotFormat pivotFormat50 = new C.PivotFormat();
            C.Index index57 = new C.Index(){ Val = (UInt32Value)0U };

            C.ShapeProperties shapeProperties24 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint14 = new A.Tint(){ Val = 100000 };

            schemeColor28.Append(tint14);

            solidFill44.Append(schemeColor28);

            A.Outline outline34 = new A.Outline();
            A.NoFill noFill28 = new A.NoFill();

            outline34.Append(noFill28);
            A.EffectList effectList26 = new A.EffectList();

            shapeProperties24.Append(solidFill44);
            shapeProperties24.Append(outline34);
            shapeProperties24.Append(effectList26);

            C.Marker marker50 = new C.Marker();
            C.Symbol symbol50 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker50.Append(symbol50);

            pivotFormat50.Append(index57);
            pivotFormat50.Append(shapeProperties24);
            pivotFormat50.Append(marker50);

            C.PivotFormat pivotFormat51 = new C.PivotFormat();
            C.Index index58 = new C.Index(){ Val = (UInt32Value)1U };

            C.ShapeProperties shapeProperties25 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent2 };
            A.Tint tint15 = new A.Tint(){ Val = 100000 };

            schemeColor29.Append(tint15);

            solidFill45.Append(schemeColor29);

            A.Outline outline35 = new A.Outline();
            A.NoFill noFill29 = new A.NoFill();

            outline35.Append(noFill29);
            A.EffectList effectList27 = new A.EffectList();

            shapeProperties25.Append(solidFill45);
            shapeProperties25.Append(outline35);
            shapeProperties25.Append(effectList27);

            C.Marker marker51 = new C.Marker();
            C.Symbol symbol51 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker51.Append(symbol51);

            pivotFormat51.Append(index58);
            pivotFormat51.Append(shapeProperties25);
            pivotFormat51.Append(marker51);

            C.PivotFormat pivotFormat52 = new C.PivotFormat();
            C.Index index59 = new C.Index(){ Val = (UInt32Value)2U };

            C.Marker marker52 = new C.Marker();
            C.Symbol symbol52 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker52.Append(symbol52);

            pivotFormat52.Append(index59);
            pivotFormat52.Append(marker52);

            C.PivotFormat pivotFormat53 = new C.PivotFormat();
            C.Index index60 = new C.Index(){ Val = (UInt32Value)3U };

            C.Marker marker53 = new C.Marker();
            C.Symbol symbol53 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker53.Append(symbol53);

            pivotFormat53.Append(index60);
            pivotFormat53.Append(marker53);

            C.PivotFormat pivotFormat54 = new C.PivotFormat();
            C.Index index61 = new C.Index(){ Val = (UInt32Value)4U };

            C.Marker marker54 = new C.Marker();
            C.Symbol symbol54 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker54.Append(symbol54);

            pivotFormat54.Append(index61);
            pivotFormat54.Append(marker54);

            C.PivotFormat pivotFormat55 = new C.PivotFormat();
            C.Index index62 = new C.Index(){ Val = (UInt32Value)5U };

            C.Marker marker55 = new C.Marker();
            C.Symbol symbol55 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker55.Append(symbol55);

            pivotFormat55.Append(index62);
            pivotFormat55.Append(marker55);

            C.PivotFormat pivotFormat56 = new C.PivotFormat();
            C.Index index63 = new C.Index(){ Val = (UInt32Value)6U };

            C.Marker marker56 = new C.Marker();
            C.Symbol symbol56 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker56.Append(symbol56);

            pivotFormat56.Append(index63);
            pivotFormat56.Append(marker56);

            C.PivotFormat pivotFormat57 = new C.PivotFormat();
            C.Index index64 = new C.Index(){ Val = (UInt32Value)7U };

            C.Marker marker57 = new C.Marker();
            C.Symbol symbol57 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker57.Append(symbol57);

            pivotFormat57.Append(index64);
            pivotFormat57.Append(marker57);

            C.PivotFormat pivotFormat58 = new C.PivotFormat();
            C.Index index65 = new C.Index(){ Val = (UInt32Value)8U };

            C.Marker marker58 = new C.Marker();
            C.Symbol symbol58 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker58.Append(symbol58);

            pivotFormat58.Append(index65);
            pivotFormat58.Append(marker58);

            C.PivotFormat pivotFormat59 = new C.PivotFormat();
            C.Index index66 = new C.Index(){ Val = (UInt32Value)9U };

            C.Marker marker59 = new C.Marker();
            C.Symbol symbol59 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker59.Append(symbol59);

            pivotFormat59.Append(index66);
            pivotFormat59.Append(marker59);

            C.PivotFormat pivotFormat60 = new C.PivotFormat();
            C.Index index67 = new C.Index(){ Val = (UInt32Value)10U };

            C.Marker marker60 = new C.Marker();
            C.Symbol symbol60 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker60.Append(symbol60);

            pivotFormat60.Append(index67);
            pivotFormat60.Append(marker60);

            C.PivotFormat pivotFormat61 = new C.PivotFormat();
            C.Index index68 = new C.Index(){ Val = (UInt32Value)11U };

            C.Marker marker61 = new C.Marker();
            C.Symbol symbol61 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker61.Append(symbol61);

            pivotFormat61.Append(index68);
            pivotFormat61.Append(marker61);

            C.PivotFormat pivotFormat62 = new C.PivotFormat();
            C.Index index69 = new C.Index(){ Val = (UInt32Value)12U };

            C.Marker marker62 = new C.Marker();
            C.Symbol symbol62 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker62.Append(symbol62);

            pivotFormat62.Append(index69);
            pivotFormat62.Append(marker62);

            C.PivotFormat pivotFormat63 = new C.PivotFormat();
            C.Index index70 = new C.Index(){ Val = (UInt32Value)13U };

            C.Marker marker63 = new C.Marker();
            C.Symbol symbol63 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker63.Append(symbol63);

            pivotFormat63.Append(index70);
            pivotFormat63.Append(marker63);

            C.PivotFormat pivotFormat64 = new C.PivotFormat();
            C.Index index71 = new C.Index(){ Val = (UInt32Value)14U };

            C.ShapeProperties shapeProperties26 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint16 = new A.Tint(){ Val = 100000 };

            schemeColor30.Append(tint16);

            solidFill46.Append(schemeColor30);

            A.Outline outline36 = new A.Outline();
            A.NoFill noFill30 = new A.NoFill();

            outline36.Append(noFill30);
            A.EffectList effectList28 = new A.EffectList();

            shapeProperties26.Append(solidFill46);
            shapeProperties26.Append(outline36);
            shapeProperties26.Append(effectList28);

            C.Marker marker64 = new C.Marker();
            C.Symbol symbol64 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker64.Append(symbol64);

            pivotFormat64.Append(index71);
            pivotFormat64.Append(shapeProperties26);
            pivotFormat64.Append(marker64);

            C.PivotFormat pivotFormat65 = new C.PivotFormat();
            C.Index index72 = new C.Index(){ Val = (UInt32Value)15U };

            C.ShapeProperties shapeProperties27 = new C.ShapeProperties();

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

            A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint17 = new A.Tint(){ Val = 100000 };

            schemeColor31.Append(tint17);

            solidFill47.Append(schemeColor31);

            A.Outline outline37 = new A.Outline();
            A.NoFill noFill31 = new A.NoFill();

            outline37.Append(noFill31);
            A.EffectList effectList29 = new A.EffectList();

            shapeProperties27.Append(solidFill47);
            shapeProperties27.Append(outline37);
            shapeProperties27.Append(effectList29);

            C.Marker marker65 = new C.Marker();
            C.Symbol symbol65 = new C.Symbol(){ Val = C.MarkerStyleValues.None };

            marker65.Append(symbol65);

            pivotFormat65.Append(index72);
            pivotFormat65.Append(shapeProperties27);
            pivotFormat65.Append(marker65);

            pivotFormats8.Append(pivotFormat50);
            pivotFormats8.Append(pivotFormat51);
            pivotFormats8.Append(pivotFormat52);
            pivotFormats8.Append(pivotFormat53);
            pivotFormats8.Append(pivotFormat54);
            pivotFormats8.Append(pivotFormat55);
            pivotFormats8.Append(pivotFormat56);
            pivotFormats8.Append(pivotFormat57);
            pivotFormats8.Append(pivotFormat58);
            pivotFormats8.Append(pivotFormat59);
            pivotFormats8.Append(pivotFormat60);
            pivotFormats8.Append(pivotFormat61);
            pivotFormats8.Append(pivotFormat62);
            pivotFormats8.Append(pivotFormat63);
            pivotFormats8.Append(pivotFormat64);
            pivotFormats8.Append(pivotFormat65);

            C.PlotArea plotArea8 = new C.PlotArea();
            C.Layout layout8 = new C.Layout();

            C.BarChart barChart4 = new C.BarChart();
            C.BarDirection barDirection4 = new C.BarDirection(){ Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping4 = new C.BarGrouping(){ Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors8 = new C.VaryColors(){ Val = false };

            C.BarChartSeries barChartSeries4 = new C.BarChartSeries();
            C.Index index73 = new C.Index(){ Val = (UInt32Value)0U };
            C.Order order8 = new C.Order(){ Val = (UInt32Value)0U };

            C.SeriesText seriesText8 = new C.SeriesText();

            C.StringReference stringReference15 = new C.StringReference();
            C.Formula formula22 = new C.Formula();
            formula22.Text = "ShowHeader!$B$1";

            C.StringCache stringCache15 = new C.StringCache();
            C.PointCount pointCount22 = new C.PointCount(){ Val = (UInt32Value)1U };

            C.StringPoint stringPoint29 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue50 = new C.NumericValue();
            numericValue50.Text = "Total";

            stringPoint29.Append(numericValue50);

            stringCache15.Append(pointCount22);
            stringCache15.Append(stringPoint29);

            stringReference15.Append(formula22);
            stringReference15.Append(stringCache15);

            seriesText8.Append(stringReference15);

            C.ChartShapeProperties chartShapeProperties11 = new C.ChartShapeProperties();

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

            A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint18 = new A.Tint(){ Val = 100000 };

            schemeColor32.Append(tint18);

            solidFill48.Append(schemeColor32);

            A.Outline outline38 = new A.Outline();
            A.NoFill noFill32 = new A.NoFill();

            outline38.Append(noFill32);
            A.EffectList effectList30 = new A.EffectList();

            chartShapeProperties11.Append(solidFill48);
            chartShapeProperties11.Append(outline38);
            chartShapeProperties11.Append(effectList30);
            C.InvertIfNegative invertIfNegative4 = new C.InvertIfNegative(){ Val = false };

            C.CategoryAxisData categoryAxisData8 = new C.CategoryAxisData();

            C.StringReference stringReference16 = new C.StringReference();
            C.Formula formula23 = new C.Formula();
            formula23.Text = "ShowHeader!$A$2:$A$5";

            C.StringCache stringCache16 = new C.StringCache();
            C.PointCount pointCount23 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.StringPoint stringPoint30 = new C.StringPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue51 = new C.NumericValue();
            numericValue51.Text = "product_A";

            stringPoint30.Append(numericValue51);

            C.StringPoint stringPoint31 = new C.StringPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue52 = new C.NumericValue();
            numericValue52.Text = "product_D";

            stringPoint31.Append(numericValue52);

            C.StringPoint stringPoint32 = new C.StringPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue53 = new C.NumericValue();
            numericValue53.Text = "product_E";

            stringPoint32.Append(numericValue53);

            stringCache16.Append(pointCount23);
            stringCache16.Append(stringPoint30);
            stringCache16.Append(stringPoint31);
            stringCache16.Append(stringPoint32);

            stringReference16.Append(formula23);
            stringReference16.Append(stringCache16);

            categoryAxisData8.Append(stringReference16);

            C.Values values8 = new C.Values();

            C.NumberReference numberReference8 = new C.NumberReference();
            C.Formula formula24 = new C.Formula();
            formula24.Text = "ShowHeader!$B$2:$B$5";

            C.NumberingCache numberingCache8 = new C.NumberingCache();
            C.FormatCode formatCode8 = new C.FormatCode();
            formatCode8.Text = "General";
            C.PointCount pointCount24 = new C.PointCount(){ Val = (UInt32Value)3U };

            C.NumericPoint numericPoint22 = new C.NumericPoint(){ Index = (UInt32Value)0U };
            C.NumericValue numericValue54 = new C.NumericValue();
            numericValue54.Text = "19";

            numericPoint22.Append(numericValue54);

            C.NumericPoint numericPoint23 = new C.NumericPoint(){ Index = (UInt32Value)1U };
            C.NumericValue numericValue55 = new C.NumericValue();
            numericValue55.Text = "13";

            numericPoint23.Append(numericValue55);

            C.NumericPoint numericPoint24 = new C.NumericPoint(){ Index = (UInt32Value)2U };
            C.NumericValue numericValue56 = new C.NumericValue();
            numericValue56.Text = "33";

            numericPoint24.Append(numericValue56);

            numberingCache8.Append(formatCode8);
            numberingCache8.Append(pointCount24);
            numberingCache8.Append(numericPoint22);
            numberingCache8.Append(numericPoint23);
            numberingCache8.Append(numericPoint24);

            numberReference8.Append(formula24);
            numberReference8.Append(numberingCache8);

            values8.Append(numberReference8);

            barChartSeries4.Append(index73);
            barChartSeries4.Append(order8);
            barChartSeries4.Append(seriesText8);
            barChartSeries4.Append(chartShapeProperties11);
            barChartSeries4.Append(invertIfNegative4);
            barChartSeries4.Append(categoryAxisData8);
            barChartSeries4.Append(values8);

            C.DataLabels dataLabels8 = new C.DataLabels();
            C.ShowLegendKey showLegendKey8 = new C.ShowLegendKey(){ Val = false };
            C.ShowValue showValue8 = new C.ShowValue(){ Val = false };
            C.ShowCategoryName showCategoryName8 = new C.ShowCategoryName(){ Val = false };
            C.ShowSeriesName showSeriesName8 = new C.ShowSeriesName(){ Val = false };
            C.ShowPercent showPercent8 = new C.ShowPercent(){ Val = false };
            C.ShowBubbleSize showBubbleSize8 = new C.ShowBubbleSize(){ Val = false };

            dataLabels8.Append(showLegendKey8);
            dataLabels8.Append(showValue8);
            dataLabels8.Append(showCategoryName8);
            dataLabels8.Append(showSeriesName8);
            dataLabels8.Append(showPercent8);
            dataLabels8.Append(showBubbleSize8);
            C.GapWidth gapWidth4 = new C.GapWidth(){ Val = (UInt16Value)219U };
            C.Overlap overlap3 = new C.Overlap(){ Val = -27 };
            C.AxisId axisId13 = new C.AxisId(){ Val = (UInt32Value)209618640U };
            C.AxisId axisId14 = new C.AxisId(){ Val = (UInt32Value)209382248U };

            barChart4.Append(barDirection4);
            barChart4.Append(barGrouping4);
            barChart4.Append(varyColors8);
            barChart4.Append(barChartSeries4);
            barChart4.Append(dataLabels8);
            barChart4.Append(gapWidth4);
            barChart4.Append(overlap3);
            barChart4.Append(axisId13);
            barChart4.Append(axisId14);

            C.CategoryAxis categoryAxis4 = new C.CategoryAxis();
            C.AxisId axisId15 = new C.AxisId(){ Val = (UInt32Value)209618640U };

            C.Scaling scaling7 = new C.Scaling();
            C.Orientation orientation7 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling7.Append(orientation7);
            C.Delete delete7 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition7 = new C.AxisPosition(){ Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat7 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = false };
            C.MajorTickMark majorTickMark7 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark7 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition7 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties12 = new C.ChartShapeProperties();
            A.NoFill noFill33 = new A.NoFill();

            A.Outline outline39 = new A.Outline();
            A.NoFill noFill34 = new A.NoFill();

            outline39.Append(noFill34);
            A.EffectList effectList31 = new A.EffectList();

            chartShapeProperties12.Append(noFill33);
            chartShapeProperties12.Append(outline39);
            chartShapeProperties12.Append(effectList31);

            C.TextProperties textProperties9 = new C.TextProperties();
            A.BodyProperties bodyProperties17 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle17 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties9 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation11 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset11 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor33.Append(luminanceModulation11);
            schemeColor33.Append(luminanceOffset11);

            solidFill49.Append(schemeColor33);
            A.LatinFont latinFont7 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont7 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont7 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties9.Append(solidFill49);
            defaultRunProperties9.Append(latinFont7);
            defaultRunProperties9.Append(eastAsianFont7);
            defaultRunProperties9.Append(complexScriptFont7);

            paragraphProperties9.Append(defaultRunProperties9);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph17.Append(paragraphProperties9);
            paragraph17.Append(endParagraphRunProperties9);

            textProperties9.Append(bodyProperties17);
            textProperties9.Append(listStyle17);
            textProperties9.Append(paragraph17);
            C.CrossingAxis crossingAxis7 = new C.CrossingAxis(){ Val = (UInt32Value)209382248U };
            C.Crosses crosses7 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled4 = new C.AutoLabeled(){ Val = true };
            C.LabelAlignment labelAlignment4 = new C.LabelAlignment(){ Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset4 = new C.LabelOffset(){ Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels4 = new C.NoMultiLevelLabels(){ Val = false };

            categoryAxis4.Append(axisId15);
            categoryAxis4.Append(scaling7);
            categoryAxis4.Append(delete7);
            categoryAxis4.Append(axisPosition7);
            categoryAxis4.Append(numberingFormat7);
            categoryAxis4.Append(majorTickMark7);
            categoryAxis4.Append(minorTickMark7);
            categoryAxis4.Append(tickLabelPosition7);
            categoryAxis4.Append(chartShapeProperties12);
            categoryAxis4.Append(textProperties9);
            categoryAxis4.Append(crossingAxis7);
            categoryAxis4.Append(crosses7);
            categoryAxis4.Append(autoLabeled4);
            categoryAxis4.Append(labelAlignment4);
            categoryAxis4.Append(labelOffset4);
            categoryAxis4.Append(noMultiLevelLabels4);

            C.ValueAxis valueAxis4 = new C.ValueAxis();
            C.AxisId axisId16 = new C.AxisId(){ Val = (UInt32Value)209382248U };

            C.Scaling scaling8 = new C.Scaling();
            C.Orientation orientation8 = new C.Orientation(){ Val = C.OrientationValues.MinMax };

            scaling8.Append(orientation8);
            C.Delete delete8 = new C.Delete(){ Val = false };
            C.AxisPosition axisPosition8 = new C.AxisPosition(){ Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines4 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties13 = new C.ChartShapeProperties();

            A.Outline outline40 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation12 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset12 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor34.Append(luminanceModulation12);
            schemeColor34.Append(luminanceOffset12);

            solidFill50.Append(schemeColor34);
            A.Round round5 = new A.Round();

            outline40.Append(solidFill50);
            outline40.Append(round5);
            A.EffectList effectList32 = new A.EffectList();

            chartShapeProperties13.Append(outline40);
            chartShapeProperties13.Append(effectList32);

            majorGridlines4.Append(chartShapeProperties13);
            C.NumberingFormat numberingFormat8 = new C.NumberingFormat(){ FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark8 = new C.MajorTickMark(){ Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark8 = new C.MinorTickMark(){ Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition8 = new C.TickLabelPosition(){ Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties14 = new C.ChartShapeProperties();
            A.NoFill noFill35 = new A.NoFill();

            A.Outline outline41 = new A.Outline();
            A.NoFill noFill36 = new A.NoFill();

            outline41.Append(noFill36);
            A.EffectList effectList33 = new A.EffectList();

            chartShapeProperties14.Append(noFill35);
            chartShapeProperties14.Append(outline41);
            chartShapeProperties14.Append(effectList33);

            C.TextProperties textProperties10 = new C.TextProperties();
            A.BodyProperties bodyProperties18 = new A.BodyProperties(){ Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle18 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties10 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation13 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset13 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor35.Append(luminanceModulation13);
            schemeColor35.Append(luminanceOffset13);

            solidFill51.Append(schemeColor35);
            A.LatinFont latinFont8 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont8 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont8 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties10.Append(solidFill51);
            defaultRunProperties10.Append(latinFont8);
            defaultRunProperties10.Append(eastAsianFont8);
            defaultRunProperties10.Append(complexScriptFont8);

            paragraphProperties10.Append(defaultRunProperties10);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph18.Append(paragraphProperties10);
            paragraph18.Append(endParagraphRunProperties10);

            textProperties10.Append(bodyProperties18);
            textProperties10.Append(listStyle18);
            textProperties10.Append(paragraph18);
            C.CrossingAxis crossingAxis8 = new C.CrossingAxis(){ Val = (UInt32Value)209618640U };
            C.Crosses crosses8 = new C.Crosses(){ Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween4 = new C.CrossBetween(){ Val = C.CrossBetweenValues.Between };

            valueAxis4.Append(axisId16);
            valueAxis4.Append(scaling8);
            valueAxis4.Append(delete8);
            valueAxis4.Append(axisPosition8);
            valueAxis4.Append(majorGridlines4);
            valueAxis4.Append(numberingFormat8);
            valueAxis4.Append(majorTickMark8);
            valueAxis4.Append(minorTickMark8);
            valueAxis4.Append(tickLabelPosition8);
            valueAxis4.Append(chartShapeProperties14);
            valueAxis4.Append(textProperties10);
            valueAxis4.Append(crossingAxis8);
            valueAxis4.Append(crosses8);
            valueAxis4.Append(crossBetween4);

            C.ShapeProperties shapeProperties28 = new C.ShapeProperties();

            A.SolidFill solidFill52 = new A.SolidFill();
            A.SchemeColor schemeColor36 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill52.Append(schemeColor36);

            A.Outline outline42 = new A.Outline();
            A.NoFill noFill37 = new A.NoFill();

            outline42.Append(noFill37);
            A.EffectList effectList34 = new A.EffectList();

            shapeProperties28.Append(solidFill52);
            shapeProperties28.Append(outline42);
            shapeProperties28.Append(effectList34);

            plotArea8.Append(layout8);
            plotArea8.Append(barChart4);
            plotArea8.Append(categoryAxis4);
            plotArea8.Append(valueAxis4);
            plotArea8.Append(shapeProperties28);

            C.Legend legend8 = new C.Legend();
            C.LegendPosition legendPosition8 = new C.LegendPosition(){ Val = C.LegendPositionValues.Bottom };
            C.Overlay overlay16 = new C.Overlay(){ Val = false };

            C.ChartShapeProperties chartShapeProperties15 = new C.ChartShapeProperties();
            A.NoFill noFill38 = new A.NoFill();

            A.Outline outline43 = new A.Outline();
            A.NoFill noFill39 = new A.NoFill();

            outline43.Append(noFill39);
            A.EffectList effectList35 = new A.EffectList();

            chartShapeProperties15.Append(noFill38);
            chartShapeProperties15.Append(outline43);
            chartShapeProperties15.Append(effectList35);

            C.TextProperties textProperties11 = new C.TextProperties();
            A.BodyProperties bodyProperties19 = new A.BodyProperties(){ Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle19 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties11 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties11 = new A.DefaultRunProperties(){ FontSize = 900, Kerning = 1200 };

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

            A.SchemeColor schemeColor37 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation14 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset14 = new A.LuminanceOffset(){ Val = 35000 };

            schemeColor37.Append(luminanceModulation14);
            schemeColor37.Append(luminanceOffset14);

            solidFill53.Append(schemeColor37);
            A.LatinFont latinFont9 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont9 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont9 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties11.Append(solidFill53);
            defaultRunProperties11.Append(latinFont9);
            defaultRunProperties11.Append(eastAsianFont9);
            defaultRunProperties11.Append(complexScriptFont9);

            paragraphProperties11.Append(defaultRunProperties11);
            A.EndParagraphRunProperties endParagraphRunProperties11 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph19.Append(paragraphProperties11);
            paragraph19.Append(endParagraphRunProperties11);

            textProperties11.Append(bodyProperties19);
            textProperties11.Append(listStyle19);
            textProperties11.Append(paragraph19);

            legend8.Append(legendPosition8);
            legend8.Append(overlay16);
            legend8.Append(chartShapeProperties15);
            legend8.Append(textProperties11);
            C.PlotVisibleOnly plotVisibleOnly8 = new C.PlotVisibleOnly(){ Val = true };
            C.DisplayBlanksAs displayBlanksAs8 = new C.DisplayBlanksAs(){ Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum8 = new C.ShowDataLabelsOverMaximum(){ Val = false };

            chart8.Append(title8);
            chart8.Append(autoTitleDeleted8);
            chart8.Append(pivotFormats8);
            chart8.Append(plotArea8);
            chart8.Append(legend8);
            chart8.Append(plotVisibleOnly8);
            chart8.Append(displayBlanksAs8);
            chart8.Append(showDataLabelsOverMaximum8);

            C.ShapeProperties shapeProperties29 = new C.ShapeProperties();

            A.SolidFill solidFill54 = new A.SolidFill();
            A.SchemeColor schemeColor38 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };

            solidFill54.Append(schemeColor38);

            A.Outline outline44 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor39 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation15 = new A.LuminanceModulation(){ Val = 15000 };
            A.LuminanceOffset luminanceOffset15 = new A.LuminanceOffset(){ Val = 85000 };

            schemeColor39.Append(luminanceModulation15);
            schemeColor39.Append(luminanceOffset15);

            solidFill55.Append(schemeColor39);
            A.Round round6 = new A.Round();

            outline44.Append(solidFill55);
            outline44.Append(round6);
            A.EffectList effectList36 = new A.EffectList();

            shapeProperties29.Append(solidFill54);
            shapeProperties29.Append(outline44);
            shapeProperties29.Append(effectList36);

            C.TextProperties textProperties12 = new C.TextProperties();
            A.BodyProperties bodyProperties20 = new A.BodyProperties();
            A.ListStyle listStyle20 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties12 = new A.DefaultRunProperties();

            paragraphProperties12.Append(defaultRunProperties12);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph20.Append(paragraphProperties12);
            paragraph20.Append(endParagraphRunProperties12);

            textProperties12.Append(bodyProperties20);
            textProperties12.Append(listStyle20);
            textProperties12.Append(paragraph20);

            C.PrintSettings printSettings8 = new C.PrintSettings();
            C.HeaderFooter headerFooter8 = new C.HeaderFooter();
            C.PageMargins pageMargins14 = new C.PageMargins(){ Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup8 = new C.PageSetup();

            printSettings8.Append(headerFooter8);
            printSettings8.Append(pageMargins14);
            printSettings8.Append(pageSetup8);

            C.ChartSpaceExtensionList chartSpaceExtensionList8 = new C.ChartSpaceExtensionList();
            chartSpaceExtensionList8.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            chartSpaceExtensionList8.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            C.ChartSpaceExtension chartSpaceExtension8 = new C.ChartSpaceExtension(){ Uri = "{781A3756-C4B2-4CAC-9D66-4F8BD8637D16}" };
            chartSpaceExtension8.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C14.PivotOptions pivotOptions8 = new C14.PivotOptions();
            C14.DropZoneFilter dropZoneFilter8 = new C14.DropZoneFilter(){ Val = true };
            C14.DropZoneCategories dropZoneCategories8 = new C14.DropZoneCategories(){ Val = true };
            C14.DropZoneData dropZoneData8 = new C14.DropZoneData(){ Val = true };
            C14.DropZoneSeries dropZoneSeries8 = new C14.DropZoneSeries(){ Val = true };
            C14.DropZonesVisible dropZonesVisible8 = new C14.DropZonesVisible(){ Val = true };

            pivotOptions8.Append(dropZoneFilter8);
            pivotOptions8.Append(dropZoneCategories8);
            pivotOptions8.Append(dropZoneData8);
            pivotOptions8.Append(dropZoneSeries8);
            pivotOptions8.Append(dropZonesVisible8);

            chartSpaceExtension8.Append(pivotOptions8);

            chartSpaceExtensionList8.Append(chartSpaceExtension8);

            chartSpace8.Append(date19048);
            chartSpace8.Append(editingLanguage8);
            chartSpace8.Append(roundedCorners8);
            chartSpace8.Append(alternateContent17);
            chartSpace8.Append(pivotSource8);
            chartSpace8.Append(chart8);
            chartSpace8.Append(shapeProperties29);
            chartSpace8.Append(textProperties12);
            chartSpace8.Append(printSettings8);
            chartSpace8.Append(chartSpaceExtensionList8);

            chartPart8.ChartSpace = chartSpace8;
        }
Example #25
0
        // Generates content of presentationPart1.
        private void GeneratePresentationPart1Content(PresentationPart presentationPart1)
        {
            P.Presentation presentation1 = new P.Presentation(){ SaveSubsetFonts = true };
            presentation1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            presentation1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            presentation1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            SlideMasterIdList slideMasterIdList1 = new SlideMasterIdList();
            SlideMasterId slideMasterId1 = new SlideMasterId(){ Id = (UInt32Value)2147483648U, RelationshipId = "rId1" };

            slideMasterIdList1.Append(slideMasterId1);

            NotesMasterIdList notesMasterIdList1 = new NotesMasterIdList();
            NotesMasterId notesMasterId1 = new NotesMasterId(){ Id = "rId3" };

            notesMasterIdList1.Append(notesMasterId1);

            SlideIdList slideIdList1 = new SlideIdList();
            SlideId slideId1 = new SlideId(){ Id = (UInt32Value)256U, RelationshipId = "rId2" };

            slideIdList1.Append(slideId1);
            SlideSize slideSize1 = new SlideSize(){ Cx = 9144000, Cy = 6858000, Type = SlideSizeValues.Screen4x3 };
            NotesSize notesSize1 = new NotesSize(){ Cx = 9144000L, Cy = 6858000L };

            DefaultTextStyle defaultTextStyle1 = new DefaultTextStyle();

            A.DefaultParagraphProperties defaultParagraphProperties1 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties(){ Language = "en-US" };

            defaultParagraphProperties1.Append(defaultRunProperties1);

            A.Level1ParagraphProperties level1ParagraphProperties1 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill1 = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill1.Append(schemeColor1);
            A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties2.Append(solidFill1);
            defaultRunProperties2.Append(latinFont1);
            defaultRunProperties2.Append(eastAsianFont1);
            defaultRunProperties2.Append(complexScriptFont1);

            level1ParagraphProperties1.Append(defaultRunProperties2);

            A.Level2ParagraphProperties level2ParagraphProperties1 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill2 = new A.SolidFill();
            A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill2.Append(schemeColor2);
            A.LatinFont latinFont2 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties3.Append(solidFill2);
            defaultRunProperties3.Append(latinFont2);
            defaultRunProperties3.Append(eastAsianFont2);
            defaultRunProperties3.Append(complexScriptFont2);

            level2ParagraphProperties1.Append(defaultRunProperties3);

            A.Level3ParagraphProperties level3ParagraphProperties1 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill3 = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill3.Append(schemeColor3);
            A.LatinFont latinFont3 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont3 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont3 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties4.Append(solidFill3);
            defaultRunProperties4.Append(latinFont3);
            defaultRunProperties4.Append(eastAsianFont3);
            defaultRunProperties4.Append(complexScriptFont3);

            level3ParagraphProperties1.Append(defaultRunProperties4);

            A.Level4ParagraphProperties level4ParagraphProperties1 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill4 = new A.SolidFill();
            A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill4.Append(schemeColor4);
            A.LatinFont latinFont4 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont4 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont4 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties5.Append(solidFill4);
            defaultRunProperties5.Append(latinFont4);
            defaultRunProperties5.Append(eastAsianFont4);
            defaultRunProperties5.Append(complexScriptFont4);

            level4ParagraphProperties1.Append(defaultRunProperties5);

            A.Level5ParagraphProperties level5ParagraphProperties1 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill5 = new A.SolidFill();
            A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill5.Append(schemeColor5);
            A.LatinFont latinFont5 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont5 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont5 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties6.Append(solidFill5);
            defaultRunProperties6.Append(latinFont5);
            defaultRunProperties6.Append(eastAsianFont5);
            defaultRunProperties6.Append(complexScriptFont5);

            level5ParagraphProperties1.Append(defaultRunProperties6);

            A.Level6ParagraphProperties level6ParagraphProperties1 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill6 = new A.SolidFill();
            A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill6.Append(schemeColor6);
            A.LatinFont latinFont6 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont6 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont6 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties7.Append(solidFill6);
            defaultRunProperties7.Append(latinFont6);
            defaultRunProperties7.Append(eastAsianFont6);
            defaultRunProperties7.Append(complexScriptFont6);

            level6ParagraphProperties1.Append(defaultRunProperties7);

            A.Level7ParagraphProperties level7ParagraphProperties1 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill7 = new A.SolidFill();
            A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill7.Append(schemeColor7);
            A.LatinFont latinFont7 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont7 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont7 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties8.Append(solidFill7);
            defaultRunProperties8.Append(latinFont7);
            defaultRunProperties8.Append(eastAsianFont7);
            defaultRunProperties8.Append(complexScriptFont7);

            level7ParagraphProperties1.Append(defaultRunProperties8);

            A.Level8ParagraphProperties level8ParagraphProperties1 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill8 = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill8.Append(schemeColor8);
            A.LatinFont latinFont8 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont8 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont8 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties9.Append(solidFill8);
            defaultRunProperties9.Append(latinFont8);
            defaultRunProperties9.Append(eastAsianFont8);
            defaultRunProperties9.Append(complexScriptFont8);

            level8ParagraphProperties1.Append(defaultRunProperties9);

            A.Level9ParagraphProperties level9ParagraphProperties1 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties(){ FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill9 = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill9.Append(schemeColor9);
            A.LatinFont latinFont9 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont9 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont9 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties10.Append(solidFill9);
            defaultRunProperties10.Append(latinFont9);
            defaultRunProperties10.Append(eastAsianFont9);
            defaultRunProperties10.Append(complexScriptFont9);

            level9ParagraphProperties1.Append(defaultRunProperties10);

            defaultTextStyle1.Append(defaultParagraphProperties1);
            defaultTextStyle1.Append(level1ParagraphProperties1);
            defaultTextStyle1.Append(level2ParagraphProperties1);
            defaultTextStyle1.Append(level3ParagraphProperties1);
            defaultTextStyle1.Append(level4ParagraphProperties1);
            defaultTextStyle1.Append(level5ParagraphProperties1);
            defaultTextStyle1.Append(level6ParagraphProperties1);
            defaultTextStyle1.Append(level7ParagraphProperties1);
            defaultTextStyle1.Append(level8ParagraphProperties1);
            defaultTextStyle1.Append(level9ParagraphProperties1);

            PresentationExtensionList presentationExtensionList1 = new PresentationExtensionList();

            PresentationExtension presentationExtension1 = new PresentationExtension(){ Uri = "{EFAFB233-063F-42B5-8137-9DF3F51BA10A}" };

            P15.SlideGuideList slideGuideList1 = new P15.SlideGuideList();
            slideGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            P15.ExtendedGuide extendedGuide1 = new P15.ExtendedGuide(){ Id = (UInt32Value)1U, Orientation = DirectionValues.Horizontal, Position = 2160 };

            P15.ColorType colorType1 = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "A4A3A4" };

            colorType1.Append(rgbColorModelHex1);

            extendedGuide1.Append(colorType1);

            P15.ExtendedGuide extendedGuide2 = new P15.ExtendedGuide(){ Id = (UInt32Value)2U, Position = 2880 };

            P15.ColorType colorType2 = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "A4A3A4" };

            colorType2.Append(rgbColorModelHex2);

            extendedGuide2.Append(colorType2);

            slideGuideList1.Append(extendedGuide1);
            slideGuideList1.Append(extendedGuide2);

            presentationExtension1.Append(slideGuideList1);

            PresentationExtension presentationExtension2 = new PresentationExtension(){ Uri = "{2D200454-40CA-4A62-9FC3-DE9A4176ACB9}" };

            P15.NotesGuideList notesGuideList1 = new P15.NotesGuideList();
            notesGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            P15.ExtendedGuide extendedGuide3 = new P15.ExtendedGuide(){ Id = (UInt32Value)1U, Orientation = DirectionValues.Horizontal, Position = 2160 };

            P15.ColorType colorType3 = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "A4A3A4" };

            colorType3.Append(rgbColorModelHex3);

            extendedGuide3.Append(colorType3);

            P15.ExtendedGuide extendedGuide4 = new P15.ExtendedGuide(){ Id = (UInt32Value)2U, Position = 2880 };

            P15.ColorType colorType4 = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "A4A3A4" };

            colorType4.Append(rgbColorModelHex4);

            extendedGuide4.Append(colorType4);

            notesGuideList1.Append(extendedGuide3);
            notesGuideList1.Append(extendedGuide4);

            presentationExtension2.Append(notesGuideList1);

            presentationExtensionList1.Append(presentationExtension1);
            presentationExtensionList1.Append(presentationExtension2);

            presentation1.Append(slideMasterIdList1);
            presentation1.Append(notesMasterIdList1);
            presentation1.Append(slideIdList1);
            presentation1.Append(slideSize1);
            presentation1.Append(notesSize1);
            presentation1.Append(defaultTextStyle1);
            presentation1.Append(presentationExtensionList1);

            presentationPart1.Presentation = presentation1;
        }
        // Generates content of chartPart1.
        private void GenerateChartPart1Content(ChartPart chartPart1)
        {
            C.ChartSpace chartSpace1 = new C.ChartSpace();
            chartSpace1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            C.Date1904 date19041 = new C.Date1904() { Val = false };
            C.EditingLanguage editingLanguage1 = new C.EditingLanguage() { Val = "en-US" };
            C.RoundedCorners roundedCorners1 = new C.RoundedCorners() { Val = false };

            AlternateContent alternateContent1 = new AlternateContent();
            alternateContent1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice1 = new AlternateContentChoice() { Requires = "c14" };
            alternateContentChoice1.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");
            C14.Style style50 = new C14.Style() { Val = 102 };

            alternateContentChoice1.Append(style50);

            AlternateContentFallback alternateContentFallback1 = new AlternateContentFallback();
            C.Style style51 = new C.Style() { Val = 2 };

            alternateContentFallback1.Append(style51);

            alternateContent1.Append(alternateContentChoice1);
            alternateContent1.Append(alternateContentFallback1);

            C.Chart chart1 = new C.Chart();

            C.Title title2 = new C.Title();
            C.Layout layout1 = new C.Layout();
            C.Overlay overlay1 = new C.Overlay() { Val = false };

            C.ChartShapeProperties chartShapeProperties1 = new C.ChartShapeProperties();
            A.NoFill noFill2 = new A.NoFill();

            A.Outline outline13 = new A.Outline();
            A.NoFill noFill3 = new A.NoFill();

            outline13.Append(noFill3);
            A.EffectList effectList12 = new A.EffectList();

            chartShapeProperties1.Append(noFill2);
            chartShapeProperties1.Append(outline13);
            chartShapeProperties1.Append(effectList12);

            C.TextProperties textProperties50 = new C.TextProperties();
            A.BodyProperties bodyProperties25 = new A.BodyProperties() { Rotation = 0, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle25 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties8 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties() { FontSize = 1400, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Kerning = 1200, Spacing = 0, Baseline = 0 };

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

            A.SchemeColor schemeColor197 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset14 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor197.Append(luminanceModulation4);
            schemeColor197.Append(luminanceOffset14);

            solidFill24.Append(schemeColor197);
            A.LatinFont latinFont3 = new A.LatinFont() { Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont3 = new A.EastAsianFont() { Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont3 = new A.ComplexScriptFont() { Typeface = "+mn-cs" };

            defaultRunProperties1.Append(solidFill24);
            defaultRunProperties1.Append(latinFont3);
            defaultRunProperties1.Append(eastAsianFont3);
            defaultRunProperties1.Append(complexScriptFont3);

            paragraphProperties8.Append(defaultRunProperties1);
            A.EndParagraphRunProperties endParagraphRunProperties14 = new A.EndParagraphRunProperties() { Language = "en-US" };

            paragraph25.Append(paragraphProperties8);
            paragraph25.Append(endParagraphRunProperties14);

            textProperties50.Append(bodyProperties25);
            textProperties50.Append(listStyle25);
            textProperties50.Append(paragraph25);

            title2.Append(layout1);
            title2.Append(overlay1);
            title2.Append(chartShapeProperties1);
            title2.Append(textProperties50);
            C.AutoTitleDeleted autoTitleDeleted1 = new C.AutoTitleDeleted() { Val = false };

            C.PlotArea plotArea1 = new C.PlotArea();
            C.Layout layout2 = new C.Layout();

            C.BarChart barChart1 = new C.BarChart();
            C.BarDirection barDirection1 = new C.BarDirection() { Val = C.BarDirectionValues.Column };
            C.BarGrouping barGrouping1 = new C.BarGrouping() { Val = C.BarGroupingValues.Clustered };
            C.VaryColors varyColors1 = new C.VaryColors() { Val = false };

            C.BarChartSeries barChartSeries1 = new C.BarChartSeries();
            C.Index index1 = new C.Index() { Val = (UInt32Value)0U };
            C.Order order1 = new C.Order() { Val = (UInt32Value)0U };

            C.ChartShapeProperties chartShapeProperties2 = new C.ChartShapeProperties();

            A.SolidFill solidFill25 = new A.SolidFill();
            A.SchemeColor schemeColor198 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            solidFill25.Append(schemeColor198);

            A.Outline outline14 = new A.Outline();
            A.NoFill noFill4 = new A.NoFill();

            outline14.Append(noFill4);
            A.EffectList effectList13 = new A.EffectList();

            chartShapeProperties2.Append(solidFill25);
            chartShapeProperties2.Append(outline14);
            chartShapeProperties2.Append(effectList13);
            C.InvertIfNegative invertIfNegative1 = new C.InvertIfNegative() { Val = false };

            C.Values values1 = new C.Values();

            C.NumberReference numberReference1 = new C.NumberReference();
            C.Formula formula1 = new C.Formula();
            formula1.Text = "Sheet1!$A$1:$A$5";

            C.NumberingCache numberingCache1 = new C.NumberingCache();
            C.FormatCode formatCode1 = new C.FormatCode();
            formatCode1.Text = "General";
            C.PointCount pointCount1 = new C.PointCount() { Val = (UInt32Value)5U };

            C.NumericPoint numericPoint1 = new C.NumericPoint() { Index = (UInt32Value)0U };
            C.NumericValue numericValue1 = new C.NumericValue();
            numericValue1.Text = "1";

            numericPoint1.Append(numericValue1);

            C.NumericPoint numericPoint2 = new C.NumericPoint() { Index = (UInt32Value)1U };
            C.NumericValue numericValue2 = new C.NumericValue();
            numericValue2.Text = "2";

            numericPoint2.Append(numericValue2);

            C.NumericPoint numericPoint3 = new C.NumericPoint() { Index = (UInt32Value)2U };
            C.NumericValue numericValue3 = new C.NumericValue();
            numericValue3.Text = "3";

            numericPoint3.Append(numericValue3);

            C.NumericPoint numericPoint4 = new C.NumericPoint() { Index = (UInt32Value)3U };
            C.NumericValue numericValue4 = new C.NumericValue();
            numericValue4.Text = "4";

            numericPoint4.Append(numericValue4);

            C.NumericPoint numericPoint5 = new C.NumericPoint() { Index = (UInt32Value)4U };
            C.NumericValue numericValue5 = new C.NumericValue();
            numericValue5.Text = "5";

            numericPoint5.Append(numericValue5);

            numberingCache1.Append(formatCode1);
            numberingCache1.Append(pointCount1);
            numberingCache1.Append(numericPoint1);
            numberingCache1.Append(numericPoint2);
            numberingCache1.Append(numericPoint3);
            numberingCache1.Append(numericPoint4);
            numberingCache1.Append(numericPoint5);

            numberReference1.Append(formula1);
            numberReference1.Append(numberingCache1);

            values1.Append(numberReference1);

            barChartSeries1.Append(index1);
            barChartSeries1.Append(order1);
            barChartSeries1.Append(chartShapeProperties2);
            barChartSeries1.Append(invertIfNegative1);
            barChartSeries1.Append(values1);

            C.DataLabels dataLabels1 = new C.DataLabels();
            C.ShowLegendKey showLegendKey1 = new C.ShowLegendKey() { Val = false };
            C.ShowValue showValue1 = new C.ShowValue() { Val = false };
            C.ShowCategoryName showCategoryName1 = new C.ShowCategoryName() { Val = false };
            C.ShowSeriesName showSeriesName1 = new C.ShowSeriesName() { Val = false };
            C.ShowPercent showPercent1 = new C.ShowPercent() { Val = false };
            C.ShowBubbleSize showBubbleSize1 = new C.ShowBubbleSize() { Val = false };

            dataLabels1.Append(showLegendKey1);
            dataLabels1.Append(showValue1);
            dataLabels1.Append(showCategoryName1);
            dataLabels1.Append(showSeriesName1);
            dataLabels1.Append(showPercent1);
            dataLabels1.Append(showBubbleSize1);
            C.GapWidth gapWidth1 = new C.GapWidth() { Val = (UInt16Value)219U };
            C.Overlap overlap1 = new C.Overlap() { Val = -27 };
            C.AxisId axisId1 = new C.AxisId() { Val = (UInt32Value)414168296U };
            C.AxisId axisId2 = new C.AxisId() { Val = (UInt32Value)415864936U };

            barChart1.Append(barDirection1);
            barChart1.Append(barGrouping1);
            barChart1.Append(varyColors1);
            barChart1.Append(barChartSeries1);
            barChart1.Append(dataLabels1);
            barChart1.Append(gapWidth1);
            barChart1.Append(overlap1);
            barChart1.Append(axisId1);
            barChart1.Append(axisId2);

            C.CategoryAxis categoryAxis1 = new C.CategoryAxis();
            C.AxisId axisId3 = new C.AxisId() { Val = (UInt32Value)414168296U };

            C.Scaling scaling1 = new C.Scaling();
            C.Orientation orientation1 = new C.Orientation() { Val = C.OrientationValues.MinMax };

            scaling1.Append(orientation1);
            C.Delete delete1 = new C.Delete() { Val = false };
            C.AxisPosition axisPosition1 = new C.AxisPosition() { Val = C.AxisPositionValues.Bottom };
            C.NumberingFormat numberingFormat1 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark1 = new C.MajorTickMark() { Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark1 = new C.MinorTickMark() { Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition1 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties3 = new C.ChartShapeProperties();
            A.NoFill noFill5 = new A.NoFill();

            A.Outline outline15 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor199 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset15 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor199.Append(luminanceModulation5);
            schemeColor199.Append(luminanceOffset15);

            solidFill26.Append(schemeColor199);
            A.Round round1 = new A.Round();

            outline15.Append(solidFill26);
            outline15.Append(round1);
            A.EffectList effectList14 = new A.EffectList();

            chartShapeProperties3.Append(noFill5);
            chartShapeProperties3.Append(outline15);
            chartShapeProperties3.Append(effectList14);

            C.TextProperties textProperties51 = new C.TextProperties();
            A.BodyProperties bodyProperties26 = new A.BodyProperties() { Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle26 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties9 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties() { FontSize = 900, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Kerning = 1200, Baseline = 0 };

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

            A.SchemeColor schemeColor200 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset16 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor200.Append(luminanceModulation6);
            schemeColor200.Append(luminanceOffset16);

            solidFill27.Append(schemeColor200);
            A.LatinFont latinFont4 = new A.LatinFont() { Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont4 = new A.EastAsianFont() { Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont4 = new A.ComplexScriptFont() { Typeface = "+mn-cs" };

            defaultRunProperties2.Append(solidFill27);
            defaultRunProperties2.Append(latinFont4);
            defaultRunProperties2.Append(eastAsianFont4);
            defaultRunProperties2.Append(complexScriptFont4);

            paragraphProperties9.Append(defaultRunProperties2);
            A.EndParagraphRunProperties endParagraphRunProperties15 = new A.EndParagraphRunProperties() { Language = "en-US" };

            paragraph26.Append(paragraphProperties9);
            paragraph26.Append(endParagraphRunProperties15);

            textProperties51.Append(bodyProperties26);
            textProperties51.Append(listStyle26);
            textProperties51.Append(paragraph26);
            C.CrossingAxis crossingAxis1 = new C.CrossingAxis() { Val = (UInt32Value)415864936U };
            C.Crosses crosses1 = new C.Crosses() { Val = C.CrossesValues.AutoZero };
            C.AutoLabeled autoLabeled1 = new C.AutoLabeled() { Val = true };
            C.LabelAlignment labelAlignment1 = new C.LabelAlignment() { Val = C.LabelAlignmentValues.Center };
            C.LabelOffset labelOffset1 = new C.LabelOffset() { Val = (UInt16Value)100U };
            C.NoMultiLevelLabels noMultiLevelLabels1 = new C.NoMultiLevelLabels() { Val = false };

            categoryAxis1.Append(axisId3);
            categoryAxis1.Append(scaling1);
            categoryAxis1.Append(delete1);
            categoryAxis1.Append(axisPosition1);
            categoryAxis1.Append(numberingFormat1);
            categoryAxis1.Append(majorTickMark1);
            categoryAxis1.Append(minorTickMark1);
            categoryAxis1.Append(tickLabelPosition1);
            categoryAxis1.Append(chartShapeProperties3);
            categoryAxis1.Append(textProperties51);
            categoryAxis1.Append(crossingAxis1);
            categoryAxis1.Append(crosses1);
            categoryAxis1.Append(autoLabeled1);
            categoryAxis1.Append(labelAlignment1);
            categoryAxis1.Append(labelOffset1);
            categoryAxis1.Append(noMultiLevelLabels1);

            C.ValueAxis valueAxis1 = new C.ValueAxis();
            C.AxisId axisId4 = new C.AxisId() { Val = (UInt32Value)415864936U };

            C.Scaling scaling2 = new C.Scaling();
            C.Orientation orientation2 = new C.Orientation() { Val = C.OrientationValues.MinMax };

            scaling2.Append(orientation2);
            C.Delete delete2 = new C.Delete() { Val = false };
            C.AxisPosition axisPosition2 = new C.AxisPosition() { Val = C.AxisPositionValues.Left };

            C.MajorGridlines majorGridlines1 = new C.MajorGridlines();

            C.ChartShapeProperties chartShapeProperties4 = new C.ChartShapeProperties();

            A.Outline outline16 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor201 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset17 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor201.Append(luminanceModulation7);
            schemeColor201.Append(luminanceOffset17);

            solidFill28.Append(schemeColor201);
            A.Round round2 = new A.Round();

            outline16.Append(solidFill28);
            outline16.Append(round2);
            A.EffectList effectList15 = new A.EffectList();

            chartShapeProperties4.Append(outline16);
            chartShapeProperties4.Append(effectList15);

            majorGridlines1.Append(chartShapeProperties4);
            C.NumberingFormat numberingFormat2 = new C.NumberingFormat() { FormatCode = "General", SourceLinked = true };
            C.MajorTickMark majorTickMark2 = new C.MajorTickMark() { Val = C.TickMarkValues.None };
            C.MinorTickMark minorTickMark2 = new C.MinorTickMark() { Val = C.TickMarkValues.None };
            C.TickLabelPosition tickLabelPosition2 = new C.TickLabelPosition() { Val = C.TickLabelPositionValues.NextTo };

            C.ChartShapeProperties chartShapeProperties5 = new C.ChartShapeProperties();
            A.NoFill noFill6 = new A.NoFill();

            A.Outline outline17 = new A.Outline();
            A.NoFill noFill7 = new A.NoFill();

            outline17.Append(noFill7);
            A.EffectList effectList16 = new A.EffectList();

            chartShapeProperties5.Append(noFill6);
            chartShapeProperties5.Append(outline17);
            chartShapeProperties5.Append(effectList16);

            C.TextProperties textProperties52 = new C.TextProperties();
            A.BodyProperties bodyProperties27 = new A.BodyProperties() { Rotation = -60000000, UseParagraphSpacing = true, VerticalOverflow = A.TextVerticalOverflowValues.Ellipsis, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, Anchor = A.TextAnchoringTypeValues.Center, AnchorCenter = true };
            A.ListStyle listStyle27 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties10 = new A.ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties() { FontSize = 900, Bold = false, Italic = false, Underline = A.TextUnderlineValues.None, Strike = A.TextStrikeValues.NoStrike, Kerning = 1200, Baseline = 0 };

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

            A.SchemeColor schemeColor202 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation() { Val = 65000 };
            A.LuminanceOffset luminanceOffset18 = new A.LuminanceOffset() { Val = 35000 };

            schemeColor202.Append(luminanceModulation8);
            schemeColor202.Append(luminanceOffset18);

            solidFill29.Append(schemeColor202);
            A.LatinFont latinFont5 = new A.LatinFont() { Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont5 = new A.EastAsianFont() { Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont5 = new A.ComplexScriptFont() { Typeface = "+mn-cs" };

            defaultRunProperties3.Append(solidFill29);
            defaultRunProperties3.Append(latinFont5);
            defaultRunProperties3.Append(eastAsianFont5);
            defaultRunProperties3.Append(complexScriptFont5);

            paragraphProperties10.Append(defaultRunProperties3);
            A.EndParagraphRunProperties endParagraphRunProperties16 = new A.EndParagraphRunProperties() { Language = "en-US" };

            paragraph27.Append(paragraphProperties10);
            paragraph27.Append(endParagraphRunProperties16);

            textProperties52.Append(bodyProperties27);
            textProperties52.Append(listStyle27);
            textProperties52.Append(paragraph27);
            C.CrossingAxis crossingAxis2 = new C.CrossingAxis() { Val = (UInt32Value)414168296U };
            C.Crosses crosses2 = new C.Crosses() { Val = C.CrossesValues.AutoZero };
            C.CrossBetween crossBetween1 = new C.CrossBetween() { Val = C.CrossBetweenValues.Between };

            valueAxis1.Append(axisId4);
            valueAxis1.Append(scaling2);
            valueAxis1.Append(delete2);
            valueAxis1.Append(axisPosition2);
            valueAxis1.Append(majorGridlines1);
            valueAxis1.Append(numberingFormat2);
            valueAxis1.Append(majorTickMark2);
            valueAxis1.Append(minorTickMark2);
            valueAxis1.Append(tickLabelPosition2);
            valueAxis1.Append(chartShapeProperties5);
            valueAxis1.Append(textProperties52);
            valueAxis1.Append(crossingAxis2);
            valueAxis1.Append(crosses2);
            valueAxis1.Append(crossBetween1);

            C.ShapeProperties shapeProperties36 = new C.ShapeProperties();
            A.NoFill noFill8 = new A.NoFill();

            A.Outline outline18 = new A.Outline();
            A.NoFill noFill9 = new A.NoFill();

            outline18.Append(noFill9);
            A.EffectList effectList17 = new A.EffectList();

            shapeProperties36.Append(noFill8);
            shapeProperties36.Append(outline18);
            shapeProperties36.Append(effectList17);

            plotArea1.Append(layout2);
            plotArea1.Append(barChart1);
            plotArea1.Append(categoryAxis1);
            plotArea1.Append(valueAxis1);
            plotArea1.Append(shapeProperties36);
            C.PlotVisibleOnly plotVisibleOnly1 = new C.PlotVisibleOnly() { Val = true };
            C.DisplayBlanksAs displayBlanksAs1 = new C.DisplayBlanksAs() { Val = C.DisplayBlanksAsValues.Gap };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum1 = new C.ShowDataLabelsOverMaximum() { Val = false };

            chart1.Append(title2);
            chart1.Append(autoTitleDeleted1);
            chart1.Append(plotArea1);
            chart1.Append(plotVisibleOnly1);
            chart1.Append(displayBlanksAs1);
            chart1.Append(showDataLabelsOverMaximum1);

            C.ShapeProperties shapeProperties37 = new C.ShapeProperties();

            A.SolidFill solidFill30 = new A.SolidFill();
            A.SchemeColor schemeColor203 = new A.SchemeColor() { Val = A.SchemeColorValues.Background1 };

            solidFill30.Append(schemeColor203);

            A.Outline outline19 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor204 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
            A.LuminanceModulation luminanceModulation9 = new A.LuminanceModulation() { Val = 15000 };
            A.LuminanceOffset luminanceOffset19 = new A.LuminanceOffset() { Val = 85000 };

            schemeColor204.Append(luminanceModulation9);
            schemeColor204.Append(luminanceOffset19);

            solidFill31.Append(schemeColor204);
            A.Round round3 = new A.Round();

            outline19.Append(solidFill31);
            outline19.Append(round3);
            A.EffectList effectList18 = new A.EffectList();

            shapeProperties37.Append(solidFill30);
            shapeProperties37.Append(outline19);
            shapeProperties37.Append(effectList18);

            C.TextProperties textProperties53 = new C.TextProperties();
            A.BodyProperties bodyProperties28 = new A.BodyProperties();
            A.ListStyle listStyle28 = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties11 = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties();

            paragraphProperties11.Append(defaultRunProperties4);
            A.EndParagraphRunProperties endParagraphRunProperties17 = new A.EndParagraphRunProperties() { Language = "en-US" };

            paragraph28.Append(paragraphProperties11);
            paragraph28.Append(endParagraphRunProperties17);

            textProperties53.Append(bodyProperties28);
            textProperties53.Append(listStyle28);
            textProperties53.Append(paragraph28);

            C.PrintSettings printSettings1 = new C.PrintSettings();
            C.HeaderFooter headerFooter1 = new C.HeaderFooter();
            C.PageMargins pageMargins3 = new C.PageMargins() { Left = 0.7D, Right = 0.7D, Top = 0.75D, Bottom = 0.75D, Header = 0.3D, Footer = 0.3D };
            C.PageSetup pageSetup2 = new C.PageSetup();

            printSettings1.Append(headerFooter1);
            printSettings1.Append(pageMargins3);
            printSettings1.Append(pageSetup2);

            chartSpace1.Append(date19041);
            chartSpace1.Append(editingLanguage1);
            chartSpace1.Append(roundedCorners1);
            chartSpace1.Append(alternateContent1);
            chartSpace1.Append(chart1);
            chartSpace1.Append(shapeProperties37);
            chartSpace1.Append(textProperties53);
            chartSpace1.Append(printSettings1);

            chartPart1.ChartSpace = chartSpace1;
        }
Example #27
0
        // Generates content of notesMasterPart1.
        private void GenerateNotesMasterPart1Content(NotesMasterPart notesMasterPart1)
        {
            NotesMaster notesMaster1 = new NotesMaster();
            notesMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            notesMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            notesMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData1 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference(){ Index = (UInt32Value)1002U };
            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference1.Append(schemeColor10);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree1 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties1 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties1 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties1 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties1 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties1.Append(nonVisualDrawingProperties1);
            nonVisualGroupShapeProperties1.Append(nonVisualGroupShapeDrawingProperties1);
            nonVisualGroupShapeProperties1.Append(applicationNonVisualDrawingProperties1);

            GroupShapeProperties groupShapeProperties1 = new GroupShapeProperties();

            A.TransformGroup transformGroup1 = new A.TransformGroup();
            A.Offset offset1 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset1 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents1 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup1.Append(offset1);
            transformGroup1.Append(extents1);
            transformGroup1.Append(childOffset1);
            transformGroup1.Append(childExtents1);

            groupShapeProperties1.Append(transformGroup1);

            Shape shape1 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties1 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties2 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Header Placeholder 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks1 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties1.Append(shapeLocks1);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties2 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape1 = new PlaceholderShape(){ Type = PlaceholderValues.Header, Size = PlaceholderSizeValues.Quarter };

            applicationNonVisualDrawingProperties2.Append(placeholderShape1);

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

            ShapeProperties shapeProperties1 = new ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset2 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents2 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

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

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

            presetGeometry1.Append(adjustValueList1);

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

            TextBody textBody1 = new TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };

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

            A.Level1ParagraphProperties level1ParagraphProperties2 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties11 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties2.Append(defaultRunProperties11);

            listStyle1.Append(level1ParagraphProperties2);

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

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

            A.RunProperties runProperties1 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties1.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text1 = new A.Text();
            text1.Text = "Adding Header to Notes ";

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

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

            A.RunProperties runProperties2 = new A.RunProperties(){ Language = "en-US", Dirty = false, SpellingError = true };
            runProperties2.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text2 = new A.Text();
            text2.Text = "MAster";

            run2.Append(runProperties2);
            run2.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(endParagraphRunProperties1);

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

            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties1);
            shape1.Append(textBody1);

            Shape shape2 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties2 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties3 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Date Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties2 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks2 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties2.Append(shapeLocks2);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties3 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape2 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties3.Append(placeholderShape2);

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

            ShapeProperties shapeProperties2 = new ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset3 = new A.Offset(){ X = 5179484L, Y = 0L };
            A.Extents extents3 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

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

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

            presetGeometry2.Append(adjustValueList2);

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

            TextBody textBody2 = new TextBody();
            A.BodyProperties bodyProperties2 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };

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

            A.Level1ParagraphProperties level1ParagraphProperties3 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right };
            A.DefaultRunProperties defaultRunProperties12 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties3.Append(defaultRunProperties12);

            listStyle2.Append(level1ParagraphProperties3);

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

            A.Field field1 = new A.Field(){ Id = "{CA3F9B49-9B0F-4F41-BDD8-B26D6525A1C4}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties3 = new A.RunProperties(){ Language = "en-US" };
            runProperties3.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text3 = new A.Text();
            text3.Text = "10/3/2012";

            field1.Append(runProperties3);
            field1.Append(text3);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph2.Append(field1);
            paragraph2.Append(endParagraphRunProperties2);

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

            shape2.Append(nonVisualShapeProperties2);
            shape2.Append(shapeProperties2);
            shape2.Append(textBody2);

            Shape shape3 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties3 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties4 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Slide Image Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks3 = new A.ShapeLocks(){ NoGrouping = true, NoRotation = true, NoChangeAspect = true };

            nonVisualShapeDrawingProperties3.Append(shapeLocks3);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties4 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape3 = new PlaceholderShape(){ Type = PlaceholderValues.SlideImage, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties4.Append(placeholderShape3);

            nonVisualShapeProperties3.Append(nonVisualDrawingProperties4);
            nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3);
            nonVisualShapeProperties3.Append(applicationNonVisualDrawingProperties4);

            ShapeProperties shapeProperties3 = new ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset4 = new A.Offset(){ X = 2857500L, Y = 514350L };
            A.Extents extents4 = new A.Extents(){ Cx = 3429000L, Cy = 2571750L };

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

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

            presetGeometry3.Append(adjustValueList3);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline1 = new A.Outline(){ Width = 12700 };

            A.SolidFill solidFill10 = new A.SolidFill();
            A.PresetColor presetColor1 = new A.PresetColor(){ Val = A.PresetColorValues.Black };

            solidFill10.Append(presetColor1);

            outline1.Append(solidFill10);

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

            TextBody textBody3 = new TextBody();
            A.BodyProperties bodyProperties3 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.ListStyle listStyle3 = new A.ListStyle();

            A.Paragraph paragraph3 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph3.Append(endParagraphRunProperties3);

            textBody3.Append(bodyProperties3);
            textBody3.Append(listStyle3);
            textBody3.Append(paragraph3);

            shape3.Append(nonVisualShapeProperties3);
            shape3.Append(shapeProperties3);
            shape3.Append(textBody3);

            Shape shape4 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties4 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties5 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Notes Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties4 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks4 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties4.Append(shapeLocks4);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties5 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape4 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties5.Append(placeholderShape4);

            nonVisualShapeProperties4.Append(nonVisualDrawingProperties5);
            nonVisualShapeProperties4.Append(nonVisualShapeDrawingProperties4);
            nonVisualShapeProperties4.Append(applicationNonVisualDrawingProperties5);

            ShapeProperties shapeProperties4 = new ShapeProperties();

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset5 = new A.Offset(){ X = 914400L, Y = 3257550L };
            A.Extents extents5 = new A.Extents(){ Cx = 7315200L, Cy = 3086100L };

            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);

            shapeProperties4.Append(transform2D4);
            shapeProperties4.Append(presetGeometry4);

            TextBody textBody4 = new TextBody();

            A.BodyProperties bodyProperties4 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };
            A.NormalAutoFit normalAutoFit1 = new A.NormalAutoFit();

            bodyProperties4.Append(normalAutoFit1);
            A.ListStyle listStyle4 = new A.ListStyle();

            A.Paragraph paragraph4 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties(){ Level = 0 };

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

            A.RunProperties runProperties4 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties4.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text4 = new A.Text();
            text4.Text = "Testing text on Notes Master";

            run3.Append(runProperties4);
            run3.Append(text4);

            paragraph4.Append(paragraphProperties1);
            paragraph4.Append(run3);

            A.Paragraph paragraph5 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties5 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties5.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text5 = new A.Text();
            text5.Text = "Second level";

            run4.Append(runProperties5);
            run4.Append(text5);

            paragraph5.Append(paragraphProperties2);
            paragraph5.Append(run4);

            A.Paragraph paragraph6 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties6 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties6.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text6 = new A.Text();
            text6.Text = "Third level";

            run5.Append(runProperties6);
            run5.Append(text6);

            paragraph6.Append(paragraphProperties3);
            paragraph6.Append(run5);

            A.Paragraph paragraph7 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties7 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties7.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text7 = new A.Text();
            text7.Text = "Fourth level";

            run6.Append(runProperties7);
            run6.Append(text7);

            paragraph7.Append(paragraphProperties4);
            paragraph7.Append(run6);

            A.Paragraph paragraph8 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties8 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties8.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text8 = new A.Text();
            text8.Text = "Fifth level";

            run7.Append(runProperties8);
            run7.Append(text8);
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph8.Append(paragraphProperties5);
            paragraph8.Append(run7);
            paragraph8.Append(endParagraphRunProperties4);

            textBody4.Append(bodyProperties4);
            textBody4.Append(listStyle4);
            textBody4.Append(paragraph4);
            textBody4.Append(paragraph5);
            textBody4.Append(paragraph6);
            textBody4.Append(paragraph7);
            textBody4.Append(paragraph8);

            shape4.Append(nonVisualShapeProperties4);
            shape4.Append(shapeProperties4);
            shape4.Append(textBody4);

            Shape shape5 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties5 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks5 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties5.Append(shapeLocks5);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties6 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape5 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties6.Append(placeholderShape5);

            nonVisualShapeProperties5.Append(nonVisualDrawingProperties6);
            nonVisualShapeProperties5.Append(nonVisualShapeDrawingProperties5);
            nonVisualShapeProperties5.Append(applicationNonVisualDrawingProperties6);

            ShapeProperties shapeProperties5 = new ShapeProperties();

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset6 = new A.Offset(){ X = 0L, Y = 6513910L };
            A.Extents extents6 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

            transform2D5.Append(offset6);
            transform2D5.Append(extents6);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);

            shapeProperties5.Append(transform2D5);
            shapeProperties5.Append(presetGeometry5);

            TextBody textBody5 = new TextBody();
            A.BodyProperties bodyProperties5 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle5.Append(level1ParagraphProperties4);

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

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

            A.RunProperties runProperties9 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties9.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text9 = new A.Text();
            text9.Text = "Adding Footer to Notes Master";

            run8.Append(runProperties9);
            run8.Append(text9);
            A.EndParagraphRunProperties endParagraphRunProperties5 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph9.Append(run8);
            paragraph9.Append(endParagraphRunProperties5);

            textBody5.Append(bodyProperties5);
            textBody5.Append(listStyle5);
            textBody5.Append(paragraph9);

            shape5.Append(nonVisualShapeProperties5);
            shape5.Append(shapeProperties5);
            shape5.Append(textBody5);

            shapeTree1.Append(nonVisualGroupShapeProperties1);
            shapeTree1.Append(groupShapeProperties1);
            shapeTree1.Append(shape1);
            shapeTree1.Append(shape2);
            shapeTree1.Append(shape3);
            shapeTree1.Append(shape4);
            shapeTree1.Append(shape5);

            CommonSlideDataExtensionList commonSlideDataExtensionList1 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension1.Append(creationId1);

            commonSlideDataExtensionList1.Append(commonSlideDataExtension1);

            commonSlideData1.Append(background1);
            commonSlideData1.Append(shapeTree1);
            commonSlideData1.Append(commonSlideDataExtensionList1);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            NotesStyle notesStyle1 = new NotesStyle();

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200, Baseline = 0 };

            A.SolidFill solidFill11 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill11.Append(schemeColor11);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties14.Append(solidFill11);
            defaultRunProperties14.Append(latinFont10);
            defaultRunProperties14.Append(eastAsianFont10);
            defaultRunProperties14.Append(complexScriptFont10);

            level1ParagraphProperties5.Append(defaultRunProperties14);

            A.Level2ParagraphProperties level2ParagraphProperties2 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties15 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill12 = new A.SolidFill();
            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill12.Append(schemeColor12);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties15.Append(solidFill12);
            defaultRunProperties15.Append(latinFont11);
            defaultRunProperties15.Append(eastAsianFont11);
            defaultRunProperties15.Append(complexScriptFont11);

            level2ParagraphProperties2.Append(defaultRunProperties15);

            A.Level3ParagraphProperties level3ParagraphProperties2 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties16 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill13 = new A.SolidFill();
            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill13.Append(schemeColor13);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties16.Append(solidFill13);
            defaultRunProperties16.Append(latinFont12);
            defaultRunProperties16.Append(eastAsianFont12);
            defaultRunProperties16.Append(complexScriptFont12);

            level3ParagraphProperties2.Append(defaultRunProperties16);

            A.Level4ParagraphProperties level4ParagraphProperties2 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties17 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill14 = new A.SolidFill();
            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill14.Append(schemeColor14);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill14);
            defaultRunProperties17.Append(latinFont13);
            defaultRunProperties17.Append(eastAsianFont13);
            defaultRunProperties17.Append(complexScriptFont13);

            level4ParagraphProperties2.Append(defaultRunProperties17);

            A.Level5ParagraphProperties level5ParagraphProperties2 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties18 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill15.Append(schemeColor15);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill15);
            defaultRunProperties18.Append(latinFont14);
            defaultRunProperties18.Append(eastAsianFont14);
            defaultRunProperties18.Append(complexScriptFont14);

            level5ParagraphProperties2.Append(defaultRunProperties18);

            A.Level6ParagraphProperties level6ParagraphProperties2 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties19 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill16 = new A.SolidFill();
            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill16.Append(schemeColor16);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill16);
            defaultRunProperties19.Append(latinFont15);
            defaultRunProperties19.Append(eastAsianFont15);
            defaultRunProperties19.Append(complexScriptFont15);

            level6ParagraphProperties2.Append(defaultRunProperties19);

            A.Level7ParagraphProperties level7ParagraphProperties2 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties20 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill17.Append(schemeColor17);
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties20.Append(solidFill17);
            defaultRunProperties20.Append(latinFont16);
            defaultRunProperties20.Append(eastAsianFont16);
            defaultRunProperties20.Append(complexScriptFont16);

            level7ParagraphProperties2.Append(defaultRunProperties20);

            A.Level8ParagraphProperties level8ParagraphProperties2 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties21 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill18.Append(schemeColor18);
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties21.Append(solidFill18);
            defaultRunProperties21.Append(latinFont17);
            defaultRunProperties21.Append(eastAsianFont17);
            defaultRunProperties21.Append(complexScriptFont17);

            level8ParagraphProperties2.Append(defaultRunProperties21);

            A.Level9ParagraphProperties level9ParagraphProperties2 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties22 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200 };

            A.SolidFill solidFill19 = new A.SolidFill();
            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill19.Append(schemeColor19);
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties22.Append(solidFill19);
            defaultRunProperties22.Append(latinFont18);
            defaultRunProperties22.Append(eastAsianFont18);
            defaultRunProperties22.Append(complexScriptFont18);

            level9ParagraphProperties2.Append(defaultRunProperties22);

            notesStyle1.Append(level1ParagraphProperties5);
            notesStyle1.Append(level2ParagraphProperties2);
            notesStyle1.Append(level3ParagraphProperties2);
            notesStyle1.Append(level4ParagraphProperties2);
            notesStyle1.Append(level5ParagraphProperties2);
            notesStyle1.Append(level6ParagraphProperties2);
            notesStyle1.Append(level7ParagraphProperties2);
            notesStyle1.Append(level8ParagraphProperties2);
            notesStyle1.Append(level9ParagraphProperties2);

            notesMaster1.Append(commonSlideData1);
            notesMaster1.Append(colorMap1);
            notesMaster1.Append(notesStyle1);

            notesMasterPart1.NotesMaster = notesMaster1;
        }
        public static void GeneratePresentationPart1Content(PresentationPart presentationPart1)
        {
            Presentation presentation1 = new Presentation()
            {
                ShowSpecialPlaceholderOnTitleSlide = false, RemovePersonalInfoOnSave = true, StrictFirstAndLastChars = false, SaveSubsetFonts = true
            };

            presentation1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            presentation1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            presentation1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            SlideMasterIdList slideMasterIdList1 = new SlideMasterIdList();
            SlideMasterId     slideMasterId1     = new SlideMasterId()
            {
                Id = (UInt32Value)2147483648U, RelationshipId = "rId4"
            };

            slideMasterIdList1.Append(slideMasterId1);

            NotesMasterIdList notesMasterIdList1 = new NotesMasterIdList();
            NotesMasterId     notesMasterId1     = new NotesMasterId()
            {
                Id = "rId6"
            };

            notesMasterIdList1.Append(notesMasterId1);

            HandoutMasterIdList handoutMasterIdList1 = new HandoutMasterIdList();
            HandoutMasterId     handoutMasterId1     = new HandoutMasterId()
            {
                Id = "rId7"
            };

            handoutMasterIdList1.Append(handoutMasterId1);

            SlideIdList slideIdList1 = new SlideIdList();
            SlideId     slideId1     = new SlideId()
            {
                Id = (UInt32Value)371U, RelationshipId = "rId5"
            };

            slideIdList1.Append(slideId1);
            SlideSize slideSize1 = new SlideSize()
            {
                Cx = 9906000, Cy = 6858000, Type = SlideSizeValues.A4
            };
            NotesSize notesSize1 = new NotesSize()
            {
                Cx = 6797675L, Cy = 9874250L
            };

            DefaultTextStyle defaultTextStyle1 = new DefaultTextStyle();

            A.DefaultParagraphProperties defaultParagraphProperties1 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties       defaultRunProperties1       = new A.DefaultRunProperties()
            {
                Language = "en-US"
            };

            defaultParagraphProperties1.Append(defaultRunProperties1);

            A.Level1ParagraphProperties level1ParagraphProperties1 = new A.Level1ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore1    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore1.Append(spacingPercent1);

            A.SpaceAfter     spaceAfter1     = new A.SpaceAfter();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter1.Append(spacingPercent2);

            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill1   = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill1.Append(schemeColor1);
            A.LatinFont latinFont1 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties2.Append(solidFill1);
            defaultRunProperties2.Append(latinFont1);
            defaultRunProperties2.Append(eastAsianFont1);
            defaultRunProperties2.Append(complexScriptFont1);

            level1ParagraphProperties1.Append(spaceBefore1);
            level1ParagraphProperties1.Append(spaceAfter1);
            level1ParagraphProperties1.Append(defaultRunProperties2);

            A.Level2ParagraphProperties level2ParagraphProperties1 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore2    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore2.Append(spacingPercent3);

            A.SpaceAfter     spaceAfter2     = new A.SpaceAfter();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter2.Append(spacingPercent4);

            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill2   = new A.SolidFill();
            A.SchemeColor schemeColor2 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill2.Append(schemeColor2);
            A.LatinFont latinFont2 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties3.Append(solidFill2);
            defaultRunProperties3.Append(latinFont2);
            defaultRunProperties3.Append(eastAsianFont2);
            defaultRunProperties3.Append(complexScriptFont2);

            level2ParagraphProperties1.Append(spaceBefore2);
            level2ParagraphProperties1.Append(spaceAfter2);
            level2ParagraphProperties1.Append(defaultRunProperties3);

            A.Level3ParagraphProperties level3ParagraphProperties1 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore3    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore3.Append(spacingPercent5);

            A.SpaceAfter     spaceAfter3     = new A.SpaceAfter();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter3.Append(spacingPercent6);

            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill3   = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill3.Append(schemeColor3);
            A.LatinFont latinFont3 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont3 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont3 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties4.Append(solidFill3);
            defaultRunProperties4.Append(latinFont3);
            defaultRunProperties4.Append(eastAsianFont3);
            defaultRunProperties4.Append(complexScriptFont3);

            level3ParagraphProperties1.Append(spaceBefore3);
            level3ParagraphProperties1.Append(spaceAfter3);
            level3ParagraphProperties1.Append(defaultRunProperties4);

            A.Level4ParagraphProperties level4ParagraphProperties1 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore4    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore4.Append(spacingPercent7);

            A.SpaceAfter     spaceAfter4     = new A.SpaceAfter();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter4.Append(spacingPercent8);

            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill4   = new A.SolidFill();
            A.SchemeColor schemeColor4 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill4.Append(schemeColor4);
            A.LatinFont latinFont4 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont4 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont4 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties5.Append(solidFill4);
            defaultRunProperties5.Append(latinFont4);
            defaultRunProperties5.Append(eastAsianFont4);
            defaultRunProperties5.Append(complexScriptFont4);

            level4ParagraphProperties1.Append(spaceBefore4);
            level4ParagraphProperties1.Append(spaceAfter4);
            level4ParagraphProperties1.Append(defaultRunProperties5);

            A.Level5ParagraphProperties level5ParagraphProperties1 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore5    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore5.Append(spacingPercent9);

            A.SpaceAfter     spaceAfter5      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter5.Append(spacingPercent10);

            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill5   = new A.SolidFill();
            A.SchemeColor schemeColor5 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill5.Append(schemeColor5);
            A.LatinFont latinFont5 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont5 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont5 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties6.Append(solidFill5);
            defaultRunProperties6.Append(latinFont5);
            defaultRunProperties6.Append(eastAsianFont5);
            defaultRunProperties6.Append(complexScriptFont5);

            level5ParagraphProperties1.Append(spaceBefore5);
            level5ParagraphProperties1.Append(spaceAfter5);
            level5ParagraphProperties1.Append(defaultRunProperties6);

            A.Level6ParagraphProperties level6ParagraphProperties1 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill6   = new A.SolidFill();
            A.SchemeColor schemeColor6 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill6.Append(schemeColor6);
            A.LatinFont latinFont6 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont6 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont6 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties7.Append(solidFill6);
            defaultRunProperties7.Append(latinFont6);
            defaultRunProperties7.Append(eastAsianFont6);
            defaultRunProperties7.Append(complexScriptFont6);

            level6ParagraphProperties1.Append(defaultRunProperties7);

            A.Level7ParagraphProperties level7ParagraphProperties1 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill7   = new A.SolidFill();
            A.SchemeColor schemeColor7 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill7.Append(schemeColor7);
            A.LatinFont latinFont7 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont7 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont7 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties8.Append(solidFill7);
            defaultRunProperties8.Append(latinFont7);
            defaultRunProperties8.Append(eastAsianFont7);
            defaultRunProperties8.Append(complexScriptFont7);

            level7ParagraphProperties1.Append(defaultRunProperties8);

            A.Level8ParagraphProperties level8ParagraphProperties1 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill8   = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill8.Append(schemeColor8);
            A.LatinFont latinFont8 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont8 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont8 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties9.Append(solidFill8);
            defaultRunProperties9.Append(latinFont8);
            defaultRunProperties9.Append(eastAsianFont8);
            defaultRunProperties9.Append(complexScriptFont8);

            level8ParagraphProperties1.Append(defaultRunProperties9);

            A.Level9ParagraphProperties level9ParagraphProperties1 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties()
            {
                FontSize = 2400, Kerning = 1200
            };

            A.SolidFill   solidFill9   = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill9.Append(schemeColor9);
            A.LatinFont latinFont9 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont9 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };
            A.ComplexScriptFont complexScriptFont9 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties10.Append(solidFill9);
            defaultRunProperties10.Append(latinFont9);
            defaultRunProperties10.Append(eastAsianFont9);
            defaultRunProperties10.Append(complexScriptFont9);

            level9ParagraphProperties1.Append(defaultRunProperties10);

            defaultTextStyle1.Append(defaultParagraphProperties1);
            defaultTextStyle1.Append(level1ParagraphProperties1);
            defaultTextStyle1.Append(level2ParagraphProperties1);
            defaultTextStyle1.Append(level3ParagraphProperties1);
            defaultTextStyle1.Append(level4ParagraphProperties1);
            defaultTextStyle1.Append(level5ParagraphProperties1);
            defaultTextStyle1.Append(level6ParagraphProperties1);
            defaultTextStyle1.Append(level7ParagraphProperties1);
            defaultTextStyle1.Append(level8ParagraphProperties1);
            defaultTextStyle1.Append(level9ParagraphProperties1);

            PresentationExtensionList presentationExtensionList1 = new PresentationExtensionList();

            PresentationExtension presentationExtension1 = new PresentationExtension()
            {
                Uri = "{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"
            };

            P15.SlideGuideList slideGuideList1 = new P15.SlideGuideList();
            slideGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            P15.ExtendedGuide extendedGuide1 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)1U, Orientation = DirectionValues.Horizontal, Position = 240
            };

            P15.ColorType      colorType1        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType1.Append(rgbColorModelHex1);

            extendedGuide1.Append(colorType1);

            P15.ExtendedGuide extendedGuide2 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)2U, Orientation = DirectionValues.Horizontal, Position = 3648, IsUserDrawn = true
            };

            P15.ColorType      colorType2        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType2.Append(rgbColorModelHex2);

            extendedGuide2.Append(colorType2);

            P15.ExtendedGuide extendedGuide3 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)4U, Position = 2736, IsUserDrawn = true
            };

            P15.ColorType      colorType3        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType3.Append(rgbColorModelHex3);

            extendedGuide3.Append(colorType3);

            P15.ExtendedGuide extendedGuide4 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)5U, Position = 5904
            };

            P15.ColorType      colorType4        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType4.Append(rgbColorModelHex4);

            extendedGuide4.Append(colorType4);

            P15.ExtendedGuide extendedGuide5 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)6U, Position = 336
            };

            P15.ColorType      colorType5        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType5.Append(rgbColorModelHex5);

            extendedGuide5.Append(colorType5);

            P15.ExtendedGuide extendedGuide6 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)7U, Orientation = DirectionValues.Horizontal, IsUserDrawn = true
            };

            P15.ColorType      colorType6        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType6.Append(rgbColorModelHex6);

            extendedGuide6.Append(colorType6);

            P15.ExtendedGuide extendedGuide7 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)8U, Orientation = DirectionValues.Horizontal, Position = 1152, IsUserDrawn = true
            };

            P15.ColorType      colorType7        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType7.Append(rgbColorModelHex7);

            extendedGuide7.Append(colorType7);

            P15.ExtendedGuide extendedGuide8 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)9U, Orientation = DirectionValues.Horizontal, Position = 1200, IsUserDrawn = true
            };

            P15.ColorType      colorType8        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType8.Append(rgbColorModelHex8);

            extendedGuide8.Append(colorType8);

            P15.ExtendedGuide extendedGuide9 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)10U, Position = 2784, IsUserDrawn = true
            };

            P15.ColorType      colorType9        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType9.Append(rgbColorModelHex9);

            extendedGuide9.Append(colorType9);

            P15.ExtendedGuide extendedGuide10 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)12U, Orientation = DirectionValues.Horizontal, Position = 2448, IsUserDrawn = true
            };

            P15.ColorType      colorType10        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType10.Append(rgbColorModelHex10);

            extendedGuide10.Append(colorType10);

            P15.ExtendedGuide extendedGuide11 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)13U, Orientation = DirectionValues.Horizontal, Position = 2496, IsUserDrawn = true
            };

            P15.ColorType      colorType11        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType11.Append(rgbColorModelHex11);

            extendedGuide11.Append(colorType11);

            P15.ExtendedGuide extendedGuide12 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)14U, Position = 1872, IsUserDrawn = true
            };

            P15.ColorType      colorType12        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType12.Append(rgbColorModelHex12);

            extendedGuide12.Append(colorType12);

            P15.ExtendedGuide extendedGuide13 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)15U, Position = 2688, IsUserDrawn = true
            };

            P15.ColorType      colorType13        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType13.Append(rgbColorModelHex13);

            extendedGuide13.Append(colorType13);

            P15.ExtendedGuide extendedGuide14 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)16U, Orientation = DirectionValues.Horizontal, Position = 288, IsUserDrawn = true
            };

            P15.ColorType      colorType14        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType14.Append(rgbColorModelHex14);

            extendedGuide14.Append(colorType14);

            P15.ExtendedGuide extendedGuide15 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)17U, Orientation = DirectionValues.Horizontal, Position = 1104, IsUserDrawn = true
            };

            P15.ColorType      colorType15        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType15.Append(rgbColorModelHex15);

            extendedGuide15.Append(colorType15);

            slideGuideList1.Append(extendedGuide1);
            slideGuideList1.Append(extendedGuide2);
            slideGuideList1.Append(extendedGuide3);
            slideGuideList1.Append(extendedGuide4);
            slideGuideList1.Append(extendedGuide5);
            slideGuideList1.Append(extendedGuide6);
            slideGuideList1.Append(extendedGuide7);
            slideGuideList1.Append(extendedGuide8);
            slideGuideList1.Append(extendedGuide9);
            slideGuideList1.Append(extendedGuide10);
            slideGuideList1.Append(extendedGuide11);
            slideGuideList1.Append(extendedGuide12);
            slideGuideList1.Append(extendedGuide13);
            slideGuideList1.Append(extendedGuide14);
            slideGuideList1.Append(extendedGuide15);

            presentationExtension1.Append(slideGuideList1);

            PresentationExtension presentationExtension2 = new PresentationExtension()
            {
                Uri = "{2D200454-40CA-4A62-9FC3-DE9A4176ACB9}"
            };

            P15.NotesGuideList notesGuideList1 = new P15.NotesGuideList();
            notesGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            P15.ExtendedGuide extendedGuide16 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)1U, Orientation = DirectionValues.Horizontal, Position = 3110, IsUserDrawn = true
            };

            P15.ColorType      colorType16        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType16.Append(rgbColorModelHex16);

            extendedGuide16.Append(colorType16);

            P15.ExtendedGuide extendedGuide17 = new P15.ExtendedGuide()
            {
                Id = (UInt32Value)2U, Position = 2140, IsUserDrawn = true
            };

            P15.ColorType      colorType17        = new P15.ColorType();
            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex()
            {
                Val = "A4A3A4"
            };

            colorType17.Append(rgbColorModelHex17);

            extendedGuide17.Append(colorType17);

            notesGuideList1.Append(extendedGuide16);
            notesGuideList1.Append(extendedGuide17);

            presentationExtension2.Append(notesGuideList1);

            presentationExtensionList1.Append(presentationExtension1);
            presentationExtensionList1.Append(presentationExtension2);

            presentation1.Append(slideMasterIdList1);
            presentation1.Append(notesMasterIdList1);
            presentation1.Append(handoutMasterIdList1);
            presentation1.Append(slideIdList1);
            presentation1.Append(slideSize1);
            presentation1.Append(notesSize1);
            presentation1.Append(defaultTextStyle1);
            presentation1.Append(presentationExtensionList1);

            presentationPart1.Presentation = presentation1;
        }
        // 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;
        }
        public static void GenerateNotesSlidePart1Content(NotesSlidePart notesSlidePart1)
        {
            NotesSlide notesSlide1 = new NotesSlide();

            notesSlide1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            notesSlide1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            notesSlide1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData4 = new CommonSlideData();

            ShapeTree shapeTree4 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties4 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties20   = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties4   = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties20 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties4.Append(nonVisualDrawingProperties20);
            nonVisualGroupShapeProperties4.Append(nonVisualGroupShapeDrawingProperties4);
            nonVisualGroupShapeProperties4.Append(applicationNonVisualDrawingProperties20);

            GroupShapeProperties groupShapeProperties4 = new GroupShapeProperties();

            A.TransformGroup transformGroup4 = new A.TransformGroup();
            A.Offset         offset22        = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents22 = new A.Extents()
            {
                Cx = 0L, Cy = 0L
            };
            A.ChildOffset childOffset4 = new A.ChildOffset()
            {
                X = 0L, Y = 0L
            };
            A.ChildExtents childExtents4 = new A.ChildExtents()
            {
                Cx = 0L, Cy = 0L
            };

            transformGroup4.Append(offset22);
            transformGroup4.Append(extents22);
            transformGroup4.Append(childOffset4);
            transformGroup4.Append(childExtents4);

            groupShapeProperties4.Append(transformGroup4);

            Shape shape16 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties16   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties21 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19458U, Name = "Rectangle 7"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties16 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks16 = new A.ShapeLocks()
            {
                NoGrouping = true, NoChangeArrowheads = true
            };

            nonVisualShapeDrawingProperties16.Append(shapeLocks16);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties21 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)5U
            };

            applicationNonVisualDrawingProperties21.Append(placeholderShape11);

            nonVisualShapeProperties16.Append(nonVisualDrawingProperties21);
            nonVisualShapeProperties16.Append(nonVisualShapeDrawingProperties16);
            nonVisualShapeProperties16.Append(applicationNonVisualDrawingProperties21);

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.NoFill  noFill19  = new A.NoFill();
            A.Outline outline33 = new A.Outline();

            A.ShapePropertiesExtensionList shapePropertiesExtensionList7 = new A.ShapePropertiesExtensionList();

            A.ShapePropertiesExtension shapePropertiesExtension7 = new A.ShapePropertiesExtension()
            {
                Uri = "{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}"
            };

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

            A.SolidFill        solidFill158        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex239 = new A.RgbColorModelHex()
            {
                Val = "FFFFFF"
            };

            solidFill158.Append(rgbColorModelHex239);

            hiddenFillProperties2.Append(solidFill158);

            shapePropertiesExtension7.Append(hiddenFillProperties2);

            A.ShapePropertiesExtension shapePropertiesExtension8 = new A.ShapePropertiesExtension()
            {
                Uri = "{91240B29-F687-4F45-9708-019B960494DF}"
            };

            A14.HiddenLineProperties hiddenLineProperties6 = new A14.HiddenLineProperties()
            {
                Width = 9525
            };
            hiddenLineProperties6.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill159        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex240 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };

            solidFill159.Append(rgbColorModelHex240);
            A.Miter miter15 = new A.Miter()
            {
                Limit = 800000
            };
            A.HeadEnd headEnd14 = new A.HeadEnd();
            A.TailEnd tailEnd14 = new A.TailEnd();

            hiddenLineProperties6.Append(solidFill159);
            hiddenLineProperties6.Append(miter15);
            hiddenLineProperties6.Append(headEnd14);
            hiddenLineProperties6.Append(tailEnd14);

            shapePropertiesExtension8.Append(hiddenLineProperties6);

            shapePropertiesExtensionList7.Append(shapePropertiesExtension7);
            shapePropertiesExtensionList7.Append(shapePropertiesExtension8);

            shapeProperties19.Append(noFill19);
            shapeProperties19.Append(outline33);
            shapeProperties19.Append(shapePropertiesExtensionList7);

            TextBody textBody15 = new TextBody();

            A.BodyProperties bodyProperties17 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties16 = new A.Level1ParagraphProperties();

            A.SpaceBefore    spaceBefore74    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent95 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore74.Append(spacingPercent95);

            A.DefaultRunProperties defaultRunProperties95 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill160   = new A.SolidFill();
            A.SchemeColor schemeColor221 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill160.Append(schemeColor221);
            A.LatinFont latinFont112 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont75 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties95.Append(solidFill160);
            defaultRunProperties95.Append(latinFont112);
            defaultRunProperties95.Append(eastAsianFont75);

            level1ParagraphProperties16.Append(spaceBefore74);
            level1ParagraphProperties16.Append(defaultRunProperties95);

            A.Level2ParagraphProperties level2ParagraphProperties8 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 735013, Indent = -280988
            };

            A.SpaceBefore    spaceBefore75    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent96 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore75.Append(spacingPercent96);

            A.DefaultRunProperties defaultRunProperties96 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill161   = new A.SolidFill();
            A.SchemeColor schemeColor222 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill161.Append(schemeColor222);
            A.LatinFont latinFont113 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont76 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties96.Append(solidFill161);
            defaultRunProperties96.Append(latinFont113);
            defaultRunProperties96.Append(eastAsianFont76);

            level2ParagraphProperties8.Append(spaceBefore75);
            level2ParagraphProperties8.Append(defaultRunProperties96);

            A.Level3ParagraphProperties level3ParagraphProperties8 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 1131888, Indent = -225425
            };

            A.SpaceBefore    spaceBefore76    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent97 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore76.Append(spacingPercent97);

            A.DefaultRunProperties defaultRunProperties97 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill162   = new A.SolidFill();
            A.SchemeColor schemeColor223 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill162.Append(schemeColor223);
            A.LatinFont latinFont114 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont77 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties97.Append(solidFill162);
            defaultRunProperties97.Append(latinFont114);
            defaultRunProperties97.Append(eastAsianFont77);

            level3ParagraphProperties8.Append(spaceBefore76);
            level3ParagraphProperties8.Append(defaultRunProperties97);

            A.Level4ParagraphProperties level4ParagraphProperties8 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1585913, Indent = -225425
            };

            A.SpaceBefore    spaceBefore77    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent98 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore77.Append(spacingPercent98);

            A.DefaultRunProperties defaultRunProperties98 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill163   = new A.SolidFill();
            A.SchemeColor schemeColor224 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill163.Append(schemeColor224);
            A.LatinFont latinFont115 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont78 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties98.Append(solidFill163);
            defaultRunProperties98.Append(latinFont115);
            defaultRunProperties98.Append(eastAsianFont78);

            level4ParagraphProperties8.Append(spaceBefore77);
            level4ParagraphProperties8.Append(defaultRunProperties98);

            A.Level5ParagraphProperties level5ParagraphProperties8 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 2038350, Indent = -225425
            };

            A.SpaceBefore    spaceBefore78    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent99 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore78.Append(spacingPercent99);

            A.DefaultRunProperties defaultRunProperties99 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill164   = new A.SolidFill();
            A.SchemeColor schemeColor225 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill164.Append(schemeColor225);
            A.LatinFont latinFont116 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont79 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties99.Append(solidFill164);
            defaultRunProperties99.Append(latinFont116);
            defaultRunProperties99.Append(eastAsianFont79);

            level5ParagraphProperties8.Append(spaceBefore78);
            level5ParagraphProperties8.Append(defaultRunProperties99);

            A.Level6ParagraphProperties level6ParagraphProperties8 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2495550, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore79     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent100 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore79.Append(spacingPercent100);

            A.SpaceAfter     spaceAfter59      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent101 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter59.Append(spacingPercent101);

            A.DefaultRunProperties defaultRunProperties100 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill165   = new A.SolidFill();
            A.SchemeColor schemeColor226 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill165.Append(schemeColor226);
            A.LatinFont latinFont117 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont80 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties100.Append(solidFill165);
            defaultRunProperties100.Append(latinFont117);
            defaultRunProperties100.Append(eastAsianFont80);

            level6ParagraphProperties8.Append(spaceBefore79);
            level6ParagraphProperties8.Append(spaceAfter59);
            level6ParagraphProperties8.Append(defaultRunProperties100);

            A.Level7ParagraphProperties level7ParagraphProperties8 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2952750, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore80     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent102 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore80.Append(spacingPercent102);

            A.SpaceAfter     spaceAfter60      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent103 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter60.Append(spacingPercent103);

            A.DefaultRunProperties defaultRunProperties101 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill166   = new A.SolidFill();
            A.SchemeColor schemeColor227 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill166.Append(schemeColor227);
            A.LatinFont latinFont118 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont81 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties101.Append(solidFill166);
            defaultRunProperties101.Append(latinFont118);
            defaultRunProperties101.Append(eastAsianFont81);

            level7ParagraphProperties8.Append(spaceBefore80);
            level7ParagraphProperties8.Append(spaceAfter60);
            level7ParagraphProperties8.Append(defaultRunProperties101);

            A.Level8ParagraphProperties level8ParagraphProperties8 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3409950, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore81     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent104 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore81.Append(spacingPercent104);

            A.SpaceAfter     spaceAfter61      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent105 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter61.Append(spacingPercent105);

            A.DefaultRunProperties defaultRunProperties102 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill167   = new A.SolidFill();
            A.SchemeColor schemeColor228 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill167.Append(schemeColor228);
            A.LatinFont latinFont119 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont82 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties102.Append(solidFill167);
            defaultRunProperties102.Append(latinFont119);
            defaultRunProperties102.Append(eastAsianFont82);

            level8ParagraphProperties8.Append(spaceBefore81);
            level8ParagraphProperties8.Append(spaceAfter61);
            level8ParagraphProperties8.Append(defaultRunProperties102);

            A.Level9ParagraphProperties level9ParagraphProperties8 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3867150, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore82     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent106 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore82.Append(spacingPercent106);

            A.SpaceAfter     spaceAfter62      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent107 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter62.Append(spacingPercent107);

            A.DefaultRunProperties defaultRunProperties103 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            A.SolidFill   solidFill168   = new A.SolidFill();
            A.SchemeColor schemeColor229 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill168.Append(schemeColor229);
            A.LatinFont latinFont120 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont83 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties103.Append(solidFill168);
            defaultRunProperties103.Append(latinFont120);
            defaultRunProperties103.Append(eastAsianFont83);

            level9ParagraphProperties8.Append(spaceBefore82);
            level9ParagraphProperties8.Append(spaceAfter62);
            level9ParagraphProperties8.Append(defaultRunProperties103);

            listStyle17.Append(level1ParagraphProperties16);
            listStyle17.Append(level2ParagraphProperties8);
            listStyle17.Append(level3ParagraphProperties8);
            listStyle17.Append(level4ParagraphProperties8);
            listStyle17.Append(level5ParagraphProperties8);
            listStyle17.Append(level6ParagraphProperties8);
            listStyle17.Append(level7ParagraphProperties8);
            listStyle17.Append(level8ParagraphProperties8);
            listStyle17.Append(level9ParagraphProperties8);

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

            A.ParagraphProperties paragraphProperties37 = new A.ParagraphProperties();

            A.SpaceBefore    spaceBefore83     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent108 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore83.Append(spacingPercent108);

            paragraphProperties37.Append(spaceBefore83);

            A.Field field4 = new A.Field()
            {
                Id = "{99BBE751-775A-442D-AED5-C8FC60817C7D}", Type = "slidenum"
            };

            A.RunProperties runProperties41 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "et-EE"
            };
            runProperties41.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.ComplexScriptFont complexScriptFont61 = new A.ComplexScriptFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            runProperties41.Append(complexScriptFont61);

            A.ParagraphProperties paragraphProperties38 = new A.ParagraphProperties();

            A.SpaceBefore    spaceBefore84     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent109 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore84.Append(spacingPercent109);

            paragraphProperties38.Append(spaceBefore84);
            A.Text text41 = new A.Text();
            text41.Text = "1";

            field4.Append(runProperties41);
            field4.Append(paragraphProperties38);
            field4.Append(text41);

            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", AlternativeLanguage = "et-EE"
            };
            A.ComplexScriptFont complexScriptFont62 = new A.ComplexScriptFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            endParagraphRunProperties21.Append(complexScriptFont62);

            paragraph40.Append(paragraphProperties37);
            paragraph40.Append(field4);
            paragraph40.Append(endParagraphRunProperties21);

            textBody15.Append(bodyProperties17);
            textBody15.Append(listStyle17);
            textBody15.Append(paragraph40);

            shape16.Append(nonVisualShapeProperties16);
            shape16.Append(shapeProperties19);
            shape16.Append(textBody15);

            Shape shape17 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties17   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties22 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19459U, Name = "Rectangle 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties17 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks17 = new A.ShapeLocks()
            {
                NoGrouping = true, NoRotation = true, NoChangeAspect = true, NoChangeArrowheads = true, NoTextEdit = true
            };

            nonVisualShapeDrawingProperties17.Append(shapeLocks17);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties22 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SlideImage
            };

            applicationNonVisualDrawingProperties22.Append(placeholderShape12);

            nonVisualShapeProperties17.Append(nonVisualDrawingProperties22);
            nonVisualShapeProperties17.Append(nonVisualShapeDrawingProperties17);
            nonVisualShapeProperties17.Append(applicationNonVisualDrawingProperties22);

            ShapeProperties shapeProperties20 = new ShapeProperties();

            A.Outline outline34 = new A.Outline();

            shapeProperties20.Append(outline34);

            shape17.Append(nonVisualShapeProperties17);
            shape17.Append(shapeProperties20);

            Shape shape18 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties18   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties23 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19460U, Name = "Rectangle 3"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties18 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks18 = new A.ShapeLocks()
            {
                NoGrouping = true, NoChangeArrowheads = true
            };

            nonVisualShapeDrawingProperties18.Append(shapeLocks18);

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

            applicationNonVisualDrawingProperties23.Append(placeholderShape13);

            nonVisualShapeProperties18.Append(nonVisualDrawingProperties23);
            nonVisualShapeProperties18.Append(nonVisualShapeDrawingProperties18);
            nonVisualShapeProperties18.Append(applicationNonVisualDrawingProperties23);

            ShapeProperties shapeProperties21 = new ShapeProperties();

            A.NoFill  noFill20  = new A.NoFill();
            A.Outline outline35 = new A.Outline();

            A.ShapePropertiesExtensionList shapePropertiesExtensionList8 = new A.ShapePropertiesExtensionList();

            A.ShapePropertiesExtension shapePropertiesExtension9 = new A.ShapePropertiesExtension()
            {
                Uri = "{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}"
            };

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

            A.SolidFill        solidFill169        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex241 = new A.RgbColorModelHex()
            {
                Val = "FFFFFF"
            };

            solidFill169.Append(rgbColorModelHex241);

            hiddenFillProperties3.Append(solidFill169);

            shapePropertiesExtension9.Append(hiddenFillProperties3);

            A.ShapePropertiesExtension shapePropertiesExtension10 = new A.ShapePropertiesExtension()
            {
                Uri = "{91240B29-F687-4F45-9708-019B960494DF}"
            };

            A14.HiddenLineProperties hiddenLineProperties7 = new A14.HiddenLineProperties()
            {
                Width = 9525
            };
            hiddenLineProperties7.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill170        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex242 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };

            solidFill170.Append(rgbColorModelHex242);
            A.Miter miter16 = new A.Miter()
            {
                Limit = 800000
            };
            A.HeadEnd headEnd15 = new A.HeadEnd();
            A.TailEnd tailEnd15 = new A.TailEnd();

            hiddenLineProperties7.Append(solidFill170);
            hiddenLineProperties7.Append(miter16);
            hiddenLineProperties7.Append(headEnd15);
            hiddenLineProperties7.Append(tailEnd15);

            shapePropertiesExtension10.Append(hiddenLineProperties7);

            shapePropertiesExtensionList8.Append(shapePropertiesExtension9);
            shapePropertiesExtensionList8.Append(shapePropertiesExtension10);

            shapeProperties21.Append(noFill20);
            shapeProperties21.Append(outline35);
            shapeProperties21.Append(shapePropertiesExtensionList8);

            TextBody textBody16 = new TextBody();

            A.BodyProperties bodyProperties18 = new A.BodyProperties();
            A.ListStyle      listStyle18      = new A.ListStyle();

            A.Paragraph           paragraph41           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties39 = new A.ParagraphProperties()
            {
                EastAsianLineBreak = true, Height = true
            };

            A.EndParagraphRunProperties endParagraphRunProperties22 = new A.EndParagraphRunProperties()
            {
                Language = "lv-LV", AlternativeLanguage = "et-EE"
            };
            A.LatinFont latinFont121 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            endParagraphRunProperties22.Append(latinFont121);

            paragraph41.Append(paragraphProperties39);
            paragraph41.Append(endParagraphRunProperties22);

            textBody16.Append(bodyProperties18);
            textBody16.Append(listStyle18);
            textBody16.Append(paragraph41);

            shape18.Append(nonVisualShapeProperties18);
            shape18.Append(shapeProperties21);
            shape18.Append(textBody16);

            shapeTree4.Append(nonVisualGroupShapeProperties4);
            shapeTree4.Append(groupShapeProperties4);
            shapeTree4.Append(shape16);
            shapeTree4.Append(shape17);
            shapeTree4.Append(shape18);

            CommonSlideDataExtensionList commonSlideDataExtensionList4 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension4.Append(creationId4);

            commonSlideDataExtensionList4.Append(commonSlideDataExtension4);

            commonSlideData4.Append(shapeTree4);
            commonSlideData4.Append(commonSlideDataExtensionList4);

            ColorMapOverride colorMapOverride2 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping2 = new A.MasterColorMapping();

            colorMapOverride2.Append(masterColorMapping2);

            notesSlide1.Append(commonSlideData4);
            notesSlide1.Append(colorMapOverride2);

            notesSlidePart1.NotesSlide = notesSlide1;
        }
        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;
        }
        /// <summary>
        /// Replaces a tag inside a paragraph (a:p) with parsed HTML
        /// </summary>
        /// <param name="p">The paragraph (a:p).</param>
        /// <param name="tag">The tag to replace by newText, if null or empty do nothing; tag is a regex string.</param>
        /// <param name="newText">The new text to replace the tag with, if null replaced by empty string and not visible.</param>
        /// <param name="fontName">Font name</param>
        /// <param name="fontSize">Font size. E.g. 800 is 8pt (small) font. If value is less than 100 it will be multiplied by 100 to keep up with PPT notation.</param>
        /// <param name="hyperlinks">URL Relationships dictionary. Relationship has to be defined on slide level.</param>
        /// <returns><c>true</c> if a tag has been found and replaced, <c>false</c> otherwise.</returns>
        internal static bool ReplaceTagWithHtml(A.Paragraph p, string tag, string newText, string fontName = null, int fontSize = 0, IDictionary <string, string> hyperlinks = null)
        {
            newText = CorrectUnhandledHtmlTags(newText); // e.g. deal with ul/li html tags
            bool isFirstLine = true;                     // avoiding unintentional empty line at the begining of the text
            bool replaced    = false;

            string[] closingTags = new string[] { "div", "p" }; // tags that force line break in PPTX paragraph

            if (string.IsNullOrEmpty(tag))
            {
                return(replaced);
            }

            if (newText == null)
            {
                newText = string.Empty;
            }
            newText = RemoveInvalidXMLChars(newText);

            while (true)
            {
                // Search for the tag
                Match match = Regex.Match(GetTexts(p), tag);
                if (!match.Success)
                {
                    break;
                }

                p.RemoveAllChildren(); // // remove exisitng children then add new

                HtmlParser hp = new HtmlParser(newText);
                MariGold.HtmlParser.IHtmlNode nodes = null;

                try
                {
                    nodes = hp.FindBodyOrFirstElement();
                }
                catch
                {
                    Console.WriteLine(String.Format("WARNING: HTML is empty or HTML schema has errors. Parsed HTML[]: [{0}]", newText));
                }

                while (nodes != null)
                {
                    foreach (var item in nodes.Children)
                    {
                        bool  skipLineBreak = false;
                        A.Run r             = new A.Run();
                        r.RunProperties = new A.RunProperties();

                        if (item.Html.Contains("<b>") || item.Html.Contains("<strong>"))
                        {
                            r.RunProperties.Bold = new DocumentFormat.OpenXml.BooleanValue(true);
                        }
                        if (item.Html.Contains("<i>") || item.Html.Contains("<em>"))
                        {
                            r.RunProperties.Italic = new DocumentFormat.OpenXml.BooleanValue(true);
                        }
                        if (item.Html.Contains("<u>") || item.Html.Contains("text-decoration: underline"))
                        {
                            r.RunProperties.Underline = new DocumentFormat.OpenXml.EnumValue <A.TextUnderlineValues>(A.TextUnderlineValues.Dash);
                        }
                        if (item.Html.Contains("<a"))
                        {
                            string uriId = null;
                            try
                            {
                                string url = PptxSlide.ParseHttpUrls(item.Html).First().Value;
                                uriId = hyperlinks.Where(q => q.Value == url).FirstOrDefault().Key;
                            }
                            catch (Exception ex)
                            {
                                Console.WriteLine("URL is no available");
                            }
                            if (uriId != null)
                            {
                                A.HyperlinkOnClick link = new A.HyperlinkOnClick()
                                {
                                    Id = uriId
                                };
                                r.RunProperties.AppendChild(link);
                            }
                        }

                        A.Text at = new A.Text(PptxTemplater.TextTransformationHelper.HtmlToPlainTxt(item.InnerHtml) + " "); // clear not interpreted html tags
                        if (at.InnerText.Trim() == "" && isFirstLine)
                        {
                            at          = new A.Text(); // avoid excessive new lines
                            isFirstLine = false;
                        }
                        r.AppendChild(at);
                        p.Append(r);

                        // LINE BREAK -- if outer tag is div add line break
                        if (closingTags.Contains(item.Parent.Tag) && skipLineBreak == false)
                        {
                            p.Append(new A.Break());
                        }
                    }

                    // remove parsed html part
                    newText = newText.Substring(nodes.Html.Length);
                    if (newText.Trim() == "")
                    {
                        break;
                    }
                    hp    = new HtmlParser(newText);
                    nodes = hp.FindBodyOrFirstElement();
                }

                var run = p.Descendants <A.Run>();
                foreach (var item in run)
                {
                    if (fontName != null)
                    {
                        item.RunProperties.RemoveAllChildren <A.LatinFont>();
                        var latinFont = new A.LatinFont();
                        latinFont.Typeface = fontName;
                        item.RunProperties.AppendChild(latinFont);
                    }
                    if (fontSize > 0)
                    {
                        item.RunProperties.FontSize = (fontSize > 99) ? fontSize : fontSize * 100; // e.g. translate value 8 (Power Point UI font size) to 800 for API
                    }
                }

                replaced = true;
            }

            return(replaced);
        }
Example #33
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme() { Name = "Office Theme" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "44546A" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "E7E6E6" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "5B9BD5" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "ED7D31" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "A5A5A5" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "FFC000" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4472C4" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "70AD47" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0563C1" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "954F72" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

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

            A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Calibri Light", Panose = "020F0302020204030204" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" };

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

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

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

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

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

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 110000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 105000 };
            A.Tint tint1 = new A.Tint() { Val = 67000 };

            schemeColor2.Append(luminanceModulation1);
            schemeColor2.Append(saturationModulation1);
            schemeColor2.Append(tint1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 105000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 103000 };
            A.Tint tint2 = new A.Tint() { Val = 73000 };

            schemeColor3.Append(luminanceModulation2);
            schemeColor3.Append(saturationModulation2);
            schemeColor3.Append(tint2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 105000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 109000 };
            A.Tint tint3 = new A.Tint() { Val = 81000 };

            schemeColor4.Append(luminanceModulation3);
            schemeColor4.Append(saturationModulation3);
            schemeColor4.Append(tint3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 103000 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 102000 };
            A.Tint tint4 = new A.Tint() { Val = 94000 };

            schemeColor5.Append(saturationModulation4);
            schemeColor5.Append(luminanceModulation4);
            schemeColor5.Append(tint4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 110000 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 100000 };
            A.Shade shade1 = new A.Shade() { Val = 100000 };

            schemeColor6.Append(saturationModulation5);
            schemeColor6.Append(luminanceModulation5);
            schemeColor6.Append(shade1);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 99000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 120000 };
            A.Shade shade2 = new A.Shade() { Val = 78000 };

            schemeColor7.Append(luminanceModulation6);
            schemeColor7.Append(saturationModulation6);
            schemeColor7.Append(shade2);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

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

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline() { Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter1 = new A.Miter() { Limit = 800000 };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);
            outline1.Append(miter1);

            A.Outline outline2 = new A.Outline() { Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter2 = new A.Miter() { Limit = 800000 };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);
            outline2.Append(miter2);

            A.Outline outline3 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter3 = new A.Miter() { Limit = 800000 };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);
            outline3.Append(miter3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList1 = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList effectList2 = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" };
            A.Alpha alpha1 = new A.Alpha() { Val = 63000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

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

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

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

            solidFill5.Append(schemeColor11);

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

            A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint5 = new A.Tint() { Val = 95000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 170000 };

            schemeColor12.Append(tint5);
            schemeColor12.Append(saturationModulation7);

            solidFill6.Append(schemeColor12);

            A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint6 = new A.Tint() { Val = 93000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 150000 };
            A.Shade shade3 = new A.Shade() { Val = 98000 };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 102000 };

            schemeColor13.Append(tint6);
            schemeColor13.Append(saturationModulation8);
            schemeColor13.Append(shade3);
            schemeColor13.Append(luminanceModulation7);

            gradientStop7.Append(schemeColor13);

            A.GradientStop gradientStop8 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint7 = new A.Tint() { Val = 98000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 130000 };
            A.Shade shade4 = new A.Shade() { Val = 90000 };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation() { Val = 103000 };

            schemeColor14.Append(tint7);
            schemeColor14.Append(saturationModulation9);
            schemeColor14.Append(shade4);
            schemeColor14.Append(luminanceModulation8);

            gradientStop8.Append(schemeColor14);

            A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade5 = new A.Shade() { Val = 63000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 120000 };

            schemeColor15.Append(shade5);
            schemeColor15.Append(saturationModulation10);

            gradientStop9.Append(schemeColor15);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(solidFill6);
            backgroundFillStyleList1.Append(gradientFill3);

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

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.ExtensionList extensionList1 = new A.ExtensionList();

            A.Extension extension1 = new A.Extension() { Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" };

            OpenXmlUnknownElement openXmlUnknownElement3 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<thm15:themeFamily xmlns:thm15=\"http://schemas.microsoft.com/office/thememl/2012/main\" name=\"Office Theme\" id=\"{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}\" vid=\"{4A3C46E8-61CC-4603-A589-7422A47A8E4A}\" />");

            extension1.Append(openXmlUnknownElement3);

            extensionList1.Append(extension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(extensionList1);

            themePart1.Theme = theme1;
        }
Example #34
0
        // Generates content of slideLayoutPart13.
        private void GenerateSlideLayoutPart13Content(SlideLayoutPart slideLayoutPart13)
        {
            SlideLayout slideLayout13 = new SlideLayout(){ Preserve = true };
            slideLayout13.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout13.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout13.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData15 = new CommonSlideData(){ Name = "True or False" };

            ShapeTree shapeTree15 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties15 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties146 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties15 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties146 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties15.Append(nonVisualDrawingProperties146);
            nonVisualGroupShapeProperties15.Append(nonVisualGroupShapeDrawingProperties15);
            nonVisualGroupShapeProperties15.Append(applicationNonVisualDrawingProperties146);

            GroupShapeProperties groupShapeProperties15 = new GroupShapeProperties();

            A.TransformGroup transformGroup15 = new A.TransformGroup();
            A.Offset offset102 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents102 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset15 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents15 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup15.Append(offset102);
            transformGroup15.Append(extents102);
            transformGroup15.Append(childOffset15);
            transformGroup15.Append(childExtents15);

            groupShapeProperties15.Append(transformGroup15);

            Shape shape72 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties72 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks70 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties72.Append(shapeLocks70);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties147 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape70 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties147.Append(placeholderShape70);

            nonVisualShapeProperties72.Append(nonVisualDrawingProperties147);
            nonVisualShapeProperties72.Append(nonVisualShapeDrawingProperties72);
            nonVisualShapeProperties72.Append(applicationNonVisualDrawingProperties147);

            ShapeProperties shapeProperties132 = new ShapeProperties();

            A.Transform2D transform2D88 = new A.Transform2D();
            A.Offset offset103 = new A.Offset(){ X = 684391L, Y = 685800L };
            A.Extents extents103 = new A.Extents(){ Cx = 10061020L, Cy = 2743200L };

            transform2D88.Append(offset103);
            transform2D88.Append(extents103);

            shapeProperties132.Append(transform2D88);

            TextBody textBody72 = new TextBody();

            A.BodyProperties bodyProperties72 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit18 = new A.NormalAutoFit();

            bodyProperties72.Append(normalAutoFit18);

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

            A.Level1ParagraphProperties level1ParagraphProperties31 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties177 = new A.DefaultRunProperties(){ Language = "en-US", Bold = false, Dirty = false };

            level1ParagraphProperties31.Append(defaultRunProperties177);

            listStyle72.Append(level1ParagraphProperties31);

            A.Paragraph paragraph100 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties46 = new A.ParagraphProperties(){ LeftMargin = 0, Level = 0 };

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

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

            run62.Append(runProperties88);
            run62.Append(text88);
            A.EndParagraphRunProperties endParagraphRunProperties64 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph100.Append(paragraphProperties46);
            paragraph100.Append(run62);
            paragraph100.Append(endParagraphRunProperties64);

            textBody72.Append(bodyProperties72);
            textBody72.Append(listStyle72);
            textBody72.Append(paragraph100);

            shape72.Append(nonVisualShapeProperties72);
            shape72.Append(shapeProperties132);
            shape72.Append(textBody72);

            Shape shape73 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties73 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks71 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties73.Append(shapeLocks71);

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

            applicationNonVisualDrawingProperties148.Append(placeholderShape71);

            nonVisualShapeProperties73.Append(nonVisualDrawingProperties148);
            nonVisualShapeProperties73.Append(nonVisualShapeDrawingProperties73);
            nonVisualShapeProperties73.Append(applicationNonVisualDrawingProperties148);

            ShapeProperties shapeProperties133 = new ShapeProperties();

            A.Transform2D transform2D89 = new A.Transform2D();
            A.Offset offset104 = new A.Offset(){ X = 684390L, Y = 4766733L };
            A.Extents extents104 = new A.Extents(){ Cx = 8536624L, Cy = 1227667L };

            transform2D89.Append(offset104);
            transform2D89.Append(extents104);

            shapeProperties133.Append(transform2D89);

            TextBody textBody73 = new TextBody();

            A.BodyProperties bodyProperties73 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit19 = new A.NormalAutoFit();

            bodyProperties73.Append(normalAutoFit19);

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

            A.Level1ParagraphProperties level1ParagraphProperties32 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left };
            A.NoBullet noBullet81 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor429 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation23 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor429.Append(luminanceModulation23);

            solidFill173.Append(schemeColor429);

            defaultRunProperties178.Append(solidFill173);

            level1ParagraphProperties32.Append(noBullet81);
            level1ParagraphProperties32.Append(defaultRunProperties178);

            A.Level2ParagraphProperties level2ParagraphProperties20 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet82 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor430 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint47 = new A.Tint(){ Val = 75000 };

            schemeColor430.Append(tint47);

            solidFill174.Append(schemeColor430);

            defaultRunProperties179.Append(solidFill174);

            level2ParagraphProperties20.Append(noBullet82);
            level2ParagraphProperties20.Append(defaultRunProperties179);

            A.Level3ParagraphProperties level3ParagraphProperties20 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet83 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor431 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint48 = new A.Tint(){ Val = 75000 };

            schemeColor431.Append(tint48);

            solidFill175.Append(schemeColor431);

            defaultRunProperties180.Append(solidFill175);

            level3ParagraphProperties20.Append(noBullet83);
            level3ParagraphProperties20.Append(defaultRunProperties180);

            A.Level4ParagraphProperties level4ParagraphProperties20 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet84 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor432 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint49 = new A.Tint(){ Val = 75000 };

            schemeColor432.Append(tint49);

            solidFill176.Append(schemeColor432);

            defaultRunProperties181.Append(solidFill176);

            level4ParagraphProperties20.Append(noBullet84);
            level4ParagraphProperties20.Append(defaultRunProperties181);

            A.Level5ParagraphProperties level5ParagraphProperties20 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet85 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor433 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint50 = new A.Tint(){ Val = 75000 };

            schemeColor433.Append(tint50);

            solidFill177.Append(schemeColor433);

            defaultRunProperties182.Append(solidFill177);

            level5ParagraphProperties20.Append(noBullet85);
            level5ParagraphProperties20.Append(defaultRunProperties182);

            A.Level6ParagraphProperties level6ParagraphProperties18 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet86 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor434 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint51 = new A.Tint(){ Val = 75000 };

            schemeColor434.Append(tint51);

            solidFill178.Append(schemeColor434);

            defaultRunProperties183.Append(solidFill178);

            level6ParagraphProperties18.Append(noBullet86);
            level6ParagraphProperties18.Append(defaultRunProperties183);

            A.Level7ParagraphProperties level7ParagraphProperties18 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet87 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor435 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint52 = new A.Tint(){ Val = 75000 };

            schemeColor435.Append(tint52);

            solidFill179.Append(schemeColor435);

            defaultRunProperties184.Append(solidFill179);

            level7ParagraphProperties18.Append(noBullet87);
            level7ParagraphProperties18.Append(defaultRunProperties184);

            A.Level8ParagraphProperties level8ParagraphProperties18 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet88 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor436 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint53 = new A.Tint(){ Val = 75000 };

            schemeColor436.Append(tint53);

            solidFill180.Append(schemeColor436);

            defaultRunProperties185.Append(solidFill180);

            level8ParagraphProperties18.Append(noBullet88);
            level8ParagraphProperties18.Append(defaultRunProperties185);

            A.Level9ParagraphProperties level9ParagraphProperties18 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet89 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor437 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint54 = new A.Tint(){ Val = 75000 };

            schemeColor437.Append(tint54);

            solidFill181.Append(schemeColor437);

            defaultRunProperties186.Append(solidFill181);

            level9ParagraphProperties18.Append(noBullet89);
            level9ParagraphProperties18.Append(defaultRunProperties186);

            listStyle73.Append(level1ParagraphProperties32);
            listStyle73.Append(level2ParagraphProperties20);
            listStyle73.Append(level3ParagraphProperties20);
            listStyle73.Append(level4ParagraphProperties20);
            listStyle73.Append(level5ParagraphProperties20);
            listStyle73.Append(level6ParagraphProperties18);
            listStyle73.Append(level7ParagraphProperties18);
            listStyle73.Append(level8ParagraphProperties18);
            listStyle73.Append(level9ParagraphProperties18);

            A.Paragraph paragraph101 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties47 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run63.Append(runProperties89);
            run63.Append(text89);

            paragraph101.Append(paragraphProperties47);
            paragraph101.Append(run63);

            textBody73.Append(bodyProperties73);
            textBody73.Append(listStyle73);
            textBody73.Append(paragraph101);

            shape73.Append(nonVisualShapeProperties73);
            shape73.Append(shapeProperties133);
            shape73.Append(textBody73);

            Shape shape74 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties74 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks72 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties74.Append(shapeLocks72);

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

            applicationNonVisualDrawingProperties149.Append(placeholderShape72);

            nonVisualShapeProperties74.Append(nonVisualDrawingProperties149);
            nonVisualShapeProperties74.Append(nonVisualShapeDrawingProperties74);
            nonVisualShapeProperties74.Append(applicationNonVisualDrawingProperties149);
            ShapeProperties shapeProperties134 = new ShapeProperties();

            TextBody textBody74 = new TextBody();
            A.BodyProperties bodyProperties74 = new A.BodyProperties();
            A.ListStyle listStyle74 = new A.ListStyle();

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

            A.Field field27 = new A.Field(){ Id = "{CE1A2D98-1BBD-4706-A118-AAC2A16BEAD3}", Type = "datetimeFigureOut" };

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

            field27.Append(runProperties90);
            field27.Append(text90);
            A.EndParagraphRunProperties endParagraphRunProperties65 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph102.Append(field27);
            paragraph102.Append(endParagraphRunProperties65);

            textBody74.Append(bodyProperties74);
            textBody74.Append(listStyle74);
            textBody74.Append(paragraph102);

            shape74.Append(nonVisualShapeProperties74);
            shape74.Append(shapeProperties134);
            shape74.Append(textBody74);

            Shape shape75 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties75 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks73 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties75.Append(shapeLocks73);

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

            applicationNonVisualDrawingProperties150.Append(placeholderShape73);

            nonVisualShapeProperties75.Append(nonVisualDrawingProperties150);
            nonVisualShapeProperties75.Append(nonVisualShapeDrawingProperties75);
            nonVisualShapeProperties75.Append(applicationNonVisualDrawingProperties150);
            ShapeProperties shapeProperties135 = new ShapeProperties();

            TextBody textBody75 = new TextBody();
            A.BodyProperties bodyProperties75 = new A.BodyProperties();
            A.ListStyle listStyle75 = new A.ListStyle();

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

            paragraph103.Append(endParagraphRunProperties66);

            textBody75.Append(bodyProperties75);
            textBody75.Append(listStyle75);
            textBody75.Append(paragraph103);

            shape75.Append(nonVisualShapeProperties75);
            shape75.Append(shapeProperties135);
            shape75.Append(textBody75);

            Shape shape76 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties76 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks74 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties76.Append(shapeLocks74);

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

            applicationNonVisualDrawingProperties151.Append(placeholderShape74);

            nonVisualShapeProperties76.Append(nonVisualDrawingProperties151);
            nonVisualShapeProperties76.Append(nonVisualShapeDrawingProperties76);
            nonVisualShapeProperties76.Append(applicationNonVisualDrawingProperties151);
            ShapeProperties shapeProperties136 = new ShapeProperties();

            TextBody textBody76 = new TextBody();
            A.BodyProperties bodyProperties76 = new A.BodyProperties();
            A.ListStyle listStyle76 = new A.ListStyle();

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

            A.Field field28 = new A.Field(){ Id = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field28.Append(runProperties91);
            field28.Append(text91);
            A.EndParagraphRunProperties endParagraphRunProperties67 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph104.Append(field28);
            paragraph104.Append(endParagraphRunProperties67);

            textBody76.Append(bodyProperties76);
            textBody76.Append(listStyle76);
            textBody76.Append(paragraph104);

            shape76.Append(nonVisualShapeProperties76);
            shape76.Append(shapeProperties136);
            shape76.Append(textBody76);

            Shape shape77 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties77 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties152 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Text Placeholder 9" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties77 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks75 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties77.Append(shapeLocks75);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties152 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape75 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)13U };

            applicationNonVisualDrawingProperties152.Append(placeholderShape75);

            nonVisualShapeProperties77.Append(nonVisualDrawingProperties152);
            nonVisualShapeProperties77.Append(nonVisualShapeDrawingProperties77);
            nonVisualShapeProperties77.Append(applicationNonVisualDrawingProperties152);

            ShapeProperties shapeProperties137 = new ShapeProperties();

            A.Transform2D transform2D90 = new A.Transform2D();
            A.Offset offset105 = new A.Offset(){ X = 684390L, Y = 3928534L };
            A.Extents extents105 = new A.Extents(){ Cx = 8536623L, Cy = 838200L };

            transform2D90.Append(offset105);
            transform2D90.Append(extents105);

            shapeProperties137.Append(transform2D90);

            TextBody textBody77 = new TextBody();

            A.BodyProperties bodyProperties77 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit20 = new A.NormalAutoFit();

            bodyProperties77.Append(normalAutoFit20);

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

            A.Level1ParagraphProperties level1ParagraphProperties33 = new A.Level1ParagraphProperties();

            A.DefaultRunProperties defaultRunProperties187 = new A.DefaultRunProperties(){ Language = "en-US", FontSize = 2400, Bold = false, Capital = A.TextCapsValues.All, Dirty = false };
            defaultRunProperties187.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.Outline outline67 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill4 = new A.NoFill();

            outline67.Append(noFill4);

            A.SolidFill solidFill182 = new A.SolidFill();
            A.SchemeColor schemeColor438 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill182.Append(schemeColor438);
            A.EffectList effectList21 = new A.EffectList();
            A.LatinFont latinFont36 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont33 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont33 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties187.Append(outline67);
            defaultRunProperties187.Append(solidFill182);
            defaultRunProperties187.Append(effectList21);
            defaultRunProperties187.Append(latinFont36);
            defaultRunProperties187.Append(eastAsianFont33);
            defaultRunProperties187.Append(complexScriptFont33);

            level1ParagraphProperties33.Append(defaultRunProperties187);

            listStyle77.Append(level1ParagraphProperties33);

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

            A.ParagraphProperties paragraphProperties48 = new A.ParagraphProperties(){ LeftMargin = 0, Level = 0 };

            A.SpaceBefore spaceBefore13 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent13 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore13.Append(spacingPercent13);
            A.NoBullet noBullet90 = new A.NoBullet();

            paragraphProperties48.Append(spaceBefore13);
            paragraphProperties48.Append(noBullet90);

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

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

            run64.Append(runProperties92);
            run64.Append(text92);

            paragraph105.Append(paragraphProperties48);
            paragraph105.Append(run64);

            textBody77.Append(bodyProperties77);
            textBody77.Append(listStyle77);
            textBody77.Append(paragraph105);

            shape77.Append(nonVisualShapeProperties77);
            shape77.Append(shapeProperties137);
            shape77.Append(textBody77);

            ConnectionShape connectionShape61 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties61 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties153 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties61 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties153 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties61.Append(nonVisualDrawingProperties153);
            nonVisualConnectionShapeProperties61.Append(nonVisualConnectorShapeDrawingProperties61);
            nonVisualConnectionShapeProperties61.Append(applicationNonVisualDrawingProperties153);

            ShapeProperties shapeProperties138 = new ShapeProperties();

            A.Transform2D transform2D91 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset106 = new A.Offset(){ X = 11278949L, Y = 2963333L };
            A.Extents extents106 = new A.Extents(){ Cx = 913052L, Cy = 912812L };

            transform2D91.Append(offset106);
            transform2D91.Append(extents106);

            A.PresetGeometry presetGeometry68 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList68 = new A.AdjustValueList();

            presetGeometry68.Append(adjustValueList68);

            A.Outline outline68 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill183 = new A.SolidFill();
            A.SchemeColor schemeColor439 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill183.Append(schemeColor439);

            outline68.Append(solidFill183);

            shapeProperties138.Append(transform2D91);
            shapeProperties138.Append(presetGeometry68);
            shapeProperties138.Append(outline68);

            ShapeStyle shapeStyle61 = new ShapeStyle();

            A.LineReference lineReference61 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor440 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference61.Append(schemeColor440);

            A.FillReference fillReference61 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor441 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference61.Append(schemeColor441);

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

            effectReference61.Append(schemeColor442);

            A.FontReference fontReference61 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor443 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference61.Append(schemeColor443);

            shapeStyle61.Append(lineReference61);
            shapeStyle61.Append(fillReference61);
            shapeStyle61.Append(effectReference61);
            shapeStyle61.Append(fontReference61);

            connectionShape61.Append(nonVisualConnectionShapeProperties61);
            connectionShape61.Append(shapeProperties138);
            connectionShape61.Append(shapeStyle61);

            ConnectionShape connectionShape62 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties62 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties154 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties62 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties154 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties62.Append(nonVisualDrawingProperties154);
            nonVisualConnectionShapeProperties62.Append(nonVisualConnectorShapeDrawingProperties62);
            nonVisualConnectionShapeProperties62.Append(applicationNonVisualDrawingProperties154);

            ShapeProperties shapeProperties139 = new ShapeProperties();

            A.Transform2D transform2D92 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset107 = new A.Offset(){ X = 9209368L, Y = 3190344L };
            A.Extents extents107 = new A.Extents(){ Cx = 2982634L, Cy = 2981856L };

            transform2D92.Append(offset107);
            transform2D92.Append(extents107);

            A.PresetGeometry presetGeometry69 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList69 = new A.AdjustValueList();

            presetGeometry69.Append(adjustValueList69);

            A.Outline outline69 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill184 = new A.SolidFill();
            A.SchemeColor schemeColor444 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill184.Append(schemeColor444);

            outline69.Append(solidFill184);

            shapeProperties139.Append(transform2D92);
            shapeProperties139.Append(presetGeometry69);
            shapeProperties139.Append(outline69);

            ShapeStyle shapeStyle62 = new ShapeStyle();

            A.LineReference lineReference62 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor445 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference62.Append(schemeColor445);

            A.FillReference fillReference62 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor446 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference62.Append(schemeColor446);

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

            effectReference62.Append(schemeColor447);

            A.FontReference fontReference62 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor448 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference62.Append(schemeColor448);

            shapeStyle62.Append(lineReference62);
            shapeStyle62.Append(fillReference62);
            shapeStyle62.Append(effectReference62);
            shapeStyle62.Append(fontReference62);

            connectionShape62.Append(nonVisualConnectionShapeProperties62);
            connectionShape62.Append(shapeProperties139);
            connectionShape62.Append(shapeStyle62);

            ConnectionShape connectionShape63 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties63 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties155 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties63 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties155 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties63.Append(nonVisualDrawingProperties155);
            nonVisualConnectionShapeProperties63.Append(nonVisualConnectorShapeDrawingProperties63);
            nonVisualConnectionShapeProperties63.Append(applicationNonVisualDrawingProperties155);

            ShapeProperties shapeProperties140 = new ShapeProperties();

            A.Transform2D transform2D93 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset108 = new A.Offset(){ X = 10294973L, Y = 3285068L };
            A.Extents extents108 = new A.Extents(){ Cx = 1897028L, Cy = 1896533L };

            transform2D93.Append(offset108);
            transform2D93.Append(extents108);

            A.PresetGeometry presetGeometry70 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList70 = new A.AdjustValueList();

            presetGeometry70.Append(adjustValueList70);

            A.Outline outline70 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill185 = new A.SolidFill();
            A.SchemeColor schemeColor449 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill185.Append(schemeColor449);

            outline70.Append(solidFill185);

            shapeProperties140.Append(transform2D93);
            shapeProperties140.Append(presetGeometry70);
            shapeProperties140.Append(outline70);

            ShapeStyle shapeStyle63 = new ShapeStyle();

            A.LineReference lineReference63 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor450 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference63.Append(schemeColor450);

            A.FillReference fillReference63 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor451 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference63.Append(schemeColor451);

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

            effectReference63.Append(schemeColor452);

            A.FontReference fontReference63 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor453 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference63.Append(schemeColor453);

            shapeStyle63.Append(lineReference63);
            shapeStyle63.Append(fillReference63);
            shapeStyle63.Append(effectReference63);
            shapeStyle63.Append(fontReference63);

            connectionShape63.Append(nonVisualConnectionShapeProperties63);
            connectionShape63.Append(shapeProperties140);
            connectionShape63.Append(shapeStyle63);

            ConnectionShape connectionShape64 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties64 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties156 = new NonVisualDrawingProperties(){ Id = (UInt32Value)12U, Name = "Straight Connector 11" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties64 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties156 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties64.Append(nonVisualDrawingProperties156);
            nonVisualConnectionShapeProperties64.Append(nonVisualConnectorShapeDrawingProperties64);
            nonVisualConnectionShapeProperties64.Append(applicationNonVisualDrawingProperties156);

            ShapeProperties shapeProperties141 = new ShapeProperties();

            A.Transform2D transform2D94 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset109 = new A.Offset(){ X = 10445823L, Y = 3131080L };
            A.Extents extents109 = new A.Extents(){ Cx = 1746177L, Cy = 1745720L };

            transform2D94.Append(offset109);
            transform2D94.Append(extents109);

            A.PresetGeometry presetGeometry71 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList71 = new A.AdjustValueList();

            presetGeometry71.Append(adjustValueList71);

            A.Outline outline71 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill186 = new A.SolidFill();
            A.SchemeColor schemeColor454 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill186.Append(schemeColor454);

            outline71.Append(solidFill186);

            shapeProperties141.Append(transform2D94);
            shapeProperties141.Append(presetGeometry71);
            shapeProperties141.Append(outline71);

            ShapeStyle shapeStyle64 = new ShapeStyle();

            A.LineReference lineReference64 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor455 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference64.Append(schemeColor455);

            A.FillReference fillReference64 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor456 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference64.Append(schemeColor456);

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

            effectReference64.Append(schemeColor457);

            A.FontReference fontReference64 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor458 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference64.Append(schemeColor458);

            shapeStyle64.Append(lineReference64);
            shapeStyle64.Append(fillReference64);
            shapeStyle64.Append(effectReference64);
            shapeStyle64.Append(fontReference64);

            connectionShape64.Append(nonVisualConnectionShapeProperties64);
            connectionShape64.Append(shapeProperties141);
            connectionShape64.Append(shapeStyle64);

            ConnectionShape connectionShape65 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties65 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties157 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Straight Connector 12" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties65 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties157 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties65.Append(nonVisualDrawingProperties157);
            nonVisualConnectionShapeProperties65.Append(nonVisualConnectorShapeDrawingProperties65);
            nonVisualConnectionShapeProperties65.Append(applicationNonVisualDrawingProperties157);

            ShapeProperties shapeProperties142 = new ShapeProperties();

            A.Transform2D transform2D95 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset110 = new A.Offset(){ X = 10921671L, Y = 3683002L };
            A.Extents extents110 = new A.Extents(){ Cx = 1270332L, Cy = 1269999L };

            transform2D95.Append(offset110);
            transform2D95.Append(extents110);

            A.PresetGeometry presetGeometry72 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList72 = new A.AdjustValueList();

            presetGeometry72.Append(adjustValueList72);

            A.Outline outline72 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill187 = new A.SolidFill();
            A.SchemeColor schemeColor459 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill187.Append(schemeColor459);

            outline72.Append(solidFill187);

            shapeProperties142.Append(transform2D95);
            shapeProperties142.Append(presetGeometry72);
            shapeProperties142.Append(outline72);

            ShapeStyle shapeStyle65 = new ShapeStyle();

            A.LineReference lineReference65 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor460 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference65.Append(schemeColor460);

            A.FillReference fillReference65 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor461 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference65.Append(schemeColor461);

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

            effectReference65.Append(schemeColor462);

            A.FontReference fontReference65 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor463 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference65.Append(schemeColor463);

            shapeStyle65.Append(lineReference65);
            shapeStyle65.Append(fillReference65);
            shapeStyle65.Append(effectReference65);
            shapeStyle65.Append(fontReference65);

            connectionShape65.Append(nonVisualConnectionShapeProperties65);
            connectionShape65.Append(shapeProperties142);
            connectionShape65.Append(shapeStyle65);

            shapeTree15.Append(nonVisualGroupShapeProperties15);
            shapeTree15.Append(groupShapeProperties15);
            shapeTree15.Append(shape72);
            shapeTree15.Append(shape73);
            shapeTree15.Append(shape74);
            shapeTree15.Append(shape75);
            shapeTree15.Append(shape76);
            shapeTree15.Append(shape77);
            shapeTree15.Append(connectionShape61);
            shapeTree15.Append(connectionShape62);
            shapeTree15.Append(connectionShape63);
            shapeTree15.Append(connectionShape64);
            shapeTree15.Append(connectionShape65);

            CommonSlideDataExtensionList commonSlideDataExtensionList15 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension15.Append(creationId15);

            commonSlideDataExtensionList15.Append(commonSlideDataExtension15);

            commonSlideData15.Append(shapeTree15);
            commonSlideData15.Append(commonSlideDataExtensionList15);

            ColorMapOverride colorMapOverride14 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping14 = new A.MasterColorMapping();

            colorMapOverride14.Append(masterColorMapping14);

            Timing timing15 = new Timing();

            TimeNodeList timeNodeList15 = new TimeNodeList();

            ParallelTimeNode parallelTimeNode15 = new ParallelTimeNode();
            CommonTimeNode commonTimeNode15 = new CommonTimeNode(){ Id = (UInt32Value)1U, Duration = "indefinite", Restart = TimeNodeRestartValues.Never, NodeType = TimeNodeValues.TmingRoot };

            parallelTimeNode15.Append(commonTimeNode15);

            timeNodeList15.Append(parallelTimeNode15);

            timing15.Append(timeNodeList15);

            slideLayout13.Append(commonSlideData15);
            slideLayout13.Append(colorMapOverride14);
            slideLayout13.Append(timing15);

            slideLayoutPart13.SlideLayout = slideLayout13;
        }
Example #35
0
        private void GeneratePresentationPart1Content_16x9(PresentationPart presentationPart1)
        {
            Presentation presentation1 = new Presentation()
            {
                SaveSubsetFonts = true
            };

            presentation1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            presentation1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            presentation1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            SlideMasterIdList slideMasterIdList1 = new SlideMasterIdList();
            SlideMasterId     slideMasterId1     = new SlideMasterId()
            {
                Id = (UInt32Value)2147483648U, RelationshipId = "rId1"
            };

            slideMasterIdList1.Append(slideMasterId1);

            SlideIdList slideIdList1 = new SlideIdList();
            SlideId     slideId1     = new SlideId()
            {
                Id = (UInt32Value)256U, RelationshipId = "rId2"
            };

            slideIdList1.Append(slideId1);
            SlideSize slideSize1 = new SlideSize()
            {
                Cx = 12192000, Cy = 6858000
            };
            NotesSize notesSize1 = new NotesSize()
            {
                Cx = 6858000L, Cy = 9144000L
            };

            DefaultTextStyle defaultTextStyle1 = new DefaultTextStyle();

            A.DefaultParagraphProperties defaultParagraphProperties1 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties       defaultRunProperties1       = new A.DefaultRunProperties()
            {
                Language = "ja-JP"
            };

            defaultParagraphProperties1.Append(defaultRunProperties1);

            A.Level1ParagraphProperties level1ParagraphProperties1 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill1   = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill1.Append(schemeColor1);
            A.LatinFont latinFont1 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties2.Append(solidFill1);
            defaultRunProperties2.Append(latinFont1);
            defaultRunProperties2.Append(eastAsianFont1);
            defaultRunProperties2.Append(complexScriptFont1);

            level1ParagraphProperties1.Append(defaultRunProperties2);

            A.Level2ParagraphProperties level2ParagraphProperties1 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill2   = new A.SolidFill();
            A.SchemeColor schemeColor2 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill2.Append(schemeColor2);
            A.LatinFont latinFont2 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties3.Append(solidFill2);
            defaultRunProperties3.Append(latinFont2);
            defaultRunProperties3.Append(eastAsianFont2);
            defaultRunProperties3.Append(complexScriptFont2);

            level2ParagraphProperties1.Append(defaultRunProperties3);

            A.Level3ParagraphProperties level3ParagraphProperties1 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill3   = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill3.Append(schemeColor3);
            A.LatinFont latinFont3 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont3 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont3 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties4.Append(solidFill3);
            defaultRunProperties4.Append(latinFont3);
            defaultRunProperties4.Append(eastAsianFont3);
            defaultRunProperties4.Append(complexScriptFont3);

            level3ParagraphProperties1.Append(defaultRunProperties4);

            A.Level4ParagraphProperties level4ParagraphProperties1 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill4   = new A.SolidFill();
            A.SchemeColor schemeColor4 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill4.Append(schemeColor4);
            A.LatinFont latinFont4 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont4 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont4 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties5.Append(solidFill4);
            defaultRunProperties5.Append(latinFont4);
            defaultRunProperties5.Append(eastAsianFont4);
            defaultRunProperties5.Append(complexScriptFont4);

            level4ParagraphProperties1.Append(defaultRunProperties5);

            A.Level5ParagraphProperties level5ParagraphProperties1 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill5   = new A.SolidFill();
            A.SchemeColor schemeColor5 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill5.Append(schemeColor5);
            A.LatinFont latinFont5 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont5 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont5 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties6.Append(solidFill5);
            defaultRunProperties6.Append(latinFont5);
            defaultRunProperties6.Append(eastAsianFont5);
            defaultRunProperties6.Append(complexScriptFont5);

            level5ParagraphProperties1.Append(defaultRunProperties6);

            A.Level6ParagraphProperties level6ParagraphProperties1 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill6   = new A.SolidFill();
            A.SchemeColor schemeColor6 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill6.Append(schemeColor6);
            A.LatinFont latinFont6 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont6 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont6 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties7.Append(solidFill6);
            defaultRunProperties7.Append(latinFont6);
            defaultRunProperties7.Append(eastAsianFont6);
            defaultRunProperties7.Append(complexScriptFont6);

            level6ParagraphProperties1.Append(defaultRunProperties7);

            A.Level7ParagraphProperties level7ParagraphProperties1 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill7   = new A.SolidFill();
            A.SchemeColor schemeColor7 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill7.Append(schemeColor7);
            A.LatinFont latinFont7 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont7 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont7 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties8.Append(solidFill7);
            defaultRunProperties8.Append(latinFont7);
            defaultRunProperties8.Append(eastAsianFont7);
            defaultRunProperties8.Append(complexScriptFont7);

            level7ParagraphProperties1.Append(defaultRunProperties8);

            A.Level8ParagraphProperties level8ParagraphProperties1 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill8   = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill8.Append(schemeColor8);
            A.LatinFont latinFont8 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont8 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont8 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties9.Append(solidFill8);
            defaultRunProperties9.Append(latinFont8);
            defaultRunProperties9.Append(eastAsianFont8);
            defaultRunProperties9.Append(complexScriptFont8);

            level8ParagraphProperties1.Append(defaultRunProperties9);

            A.Level9ParagraphProperties level9ParagraphProperties1 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 914400, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true
            };

            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties()
            {
                Kumimoji = true, FontSize = 1800, Kerning = 1200
            };

            A.SolidFill   solidFill9   = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill9.Append(schemeColor9);
            A.LatinFont latinFont9 = new A.LatinFont()
            {
                Typeface = "+mn-lt"
            };
            A.EastAsianFont eastAsianFont9 = new A.EastAsianFont()
            {
                Typeface = "+mn-ea"
            };
            A.ComplexScriptFont complexScriptFont9 = new A.ComplexScriptFont()
            {
                Typeface = "+mn-cs"
            };

            defaultRunProperties10.Append(solidFill9);
            defaultRunProperties10.Append(latinFont9);
            defaultRunProperties10.Append(eastAsianFont9);
            defaultRunProperties10.Append(complexScriptFont9);

            level9ParagraphProperties1.Append(defaultRunProperties10);

            defaultTextStyle1.Append(defaultParagraphProperties1);
            defaultTextStyle1.Append(level1ParagraphProperties1);
            defaultTextStyle1.Append(level2ParagraphProperties1);
            defaultTextStyle1.Append(level3ParagraphProperties1);
            defaultTextStyle1.Append(level4ParagraphProperties1);
            defaultTextStyle1.Append(level5ParagraphProperties1);
            defaultTextStyle1.Append(level6ParagraphProperties1);
            defaultTextStyle1.Append(level7ParagraphProperties1);
            defaultTextStyle1.Append(level8ParagraphProperties1);
            defaultTextStyle1.Append(level9ParagraphProperties1);

            PresentationExtensionList presentationExtensionList1 = new PresentationExtensionList();

            PresentationExtension presentationExtension1 = new PresentationExtension()
            {
                Uri = "{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"
            };

            P15.SlideGuideList slideGuideList1 = new P15.SlideGuideList();
            slideGuideList1.AddNamespaceDeclaration("p15", "http://schemas.microsoft.com/office/powerpoint/2012/main");

            presentationExtension1.Append(slideGuideList1);

            presentationExtensionList1.Append(presentationExtension1);

            presentation1.Append(slideMasterIdList1);
            presentation1.Append(slideIdList1);
            presentation1.Append(slideSize1);
            presentation1.Append(notesSize1);
            presentation1.Append(defaultTextStyle1);
            presentation1.Append(presentationExtensionList1);

            presentationPart1.Presentation = presentation1;
        }
Example #36
0
        // Generates content of slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData3 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference(){ Index = (UInt32Value)1002U };
            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference1.Append(schemeColor44);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree3 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties3 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties15 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties3 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties15 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties3.Append(nonVisualDrawingProperties15);
            nonVisualGroupShapeProperties3.Append(nonVisualGroupShapeDrawingProperties3);
            nonVisualGroupShapeProperties3.Append(applicationNonVisualDrawingProperties15);

            GroupShapeProperties groupShapeProperties3 = new GroupShapeProperties();

            A.TransformGroup transformGroup3 = new A.TransformGroup();
            A.Offset offset10 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents10 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset3 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents3 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup3.Append(offset10);
            transformGroup3.Append(extents10);
            transformGroup3.Append(childOffset3);
            transformGroup3.Append(childExtents3);

            groupShapeProperties3.Append(transformGroup3);

            Shape shape8 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties8 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties16 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Title Placeholder 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties8 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks8 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties8.Append(shapeLocks8);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties16 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape8 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties16.Append(placeholderShape8);

            nonVisualShapeProperties8.Append(nonVisualDrawingProperties16);
            nonVisualShapeProperties8.Append(nonVisualShapeDrawingProperties8);
            nonVisualShapeProperties8.Append(applicationNonVisualDrawingProperties16);

            ShapeProperties shapeProperties13 = new ShapeProperties();

            A.Transform2D transform2D8 = new A.Transform2D();
            A.Offset offset11 = new A.Offset(){ X = 684390L, Y = 4487333L };
            A.Extents extents11 = new A.Extents(){ Cx = 8536623L, Cy = 1507067L };

            transform2D8.Append(offset11);
            transform2D8.Append(extents11);

            A.PresetGeometry presetGeometry6 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList6 = new A.AdjustValueList();

            presetGeometry6.Append(adjustValueList6);
            A.EffectList effectList2 = new A.EffectList();

            shapeProperties13.Append(transform2D8);
            shapeProperties13.Append(presetGeometry6);
            shapeProperties13.Append(effectList2);

            TextBody textBody8 = new TextBody();

            A.BodyProperties bodyProperties8 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit3 = new A.NormalAutoFit();

            bodyProperties8.Append(normalAutoFit3);
            A.ListStyle listStyle8 = new A.ListStyle();

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

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

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

            run6.Append(runProperties8);
            run6.Append(text8);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph8.Append(run6);
            paragraph8.Append(endParagraphRunProperties8);

            textBody8.Append(bodyProperties8);
            textBody8.Append(listStyle8);
            textBody8.Append(paragraph8);

            shape8.Append(nonVisualShapeProperties8);
            shape8.Append(shapeProperties13);
            shape8.Append(textBody8);

            Shape shape9 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties9 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks9 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties9.Append(shapeLocks9);

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

            applicationNonVisualDrawingProperties17.Append(placeholderShape9);

            nonVisualShapeProperties9.Append(nonVisualDrawingProperties17);
            nonVisualShapeProperties9.Append(nonVisualShapeDrawingProperties9);
            nonVisualShapeProperties9.Append(applicationNonVisualDrawingProperties17);

            ShapeProperties shapeProperties14 = new ShapeProperties();

            A.Transform2D transform2D9 = new A.Transform2D();
            A.Offset offset12 = new A.Offset(){ X = 684390L, Y = 685801L };
            A.Extents extents12 = new A.Extents(){ Cx = 8536623L, Cy = 3615267L };

            transform2D9.Append(offset12);
            transform2D9.Append(extents12);

            A.PresetGeometry presetGeometry7 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList7 = new A.AdjustValueList();

            presetGeometry7.Append(adjustValueList7);

            shapeProperties14.Append(transform2D9);
            shapeProperties14.Append(presetGeometry7);

            TextBody textBody9 = new TextBody();

            A.BodyProperties bodyProperties9 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit4 = new A.NormalAutoFit();

            bodyProperties9.Append(normalAutoFit4);
            A.ListStyle listStyle9 = new A.ListStyle();

            A.Paragraph paragraph9 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run7.Append(runProperties9);
            run7.Append(text9);

            paragraph9.Append(paragraphProperties1);
            paragraph9.Append(run7);

            A.Paragraph paragraph10 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties10 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties10.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text10 = new A.Text();
            text10.Text = "Second level";

            run8.Append(runProperties10);
            run8.Append(text10);

            paragraph10.Append(paragraphProperties2);
            paragraph10.Append(run8);

            A.Paragraph paragraph11 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties11 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties11.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text11 = new A.Text();
            text11.Text = "Third level";

            run9.Append(runProperties11);
            run9.Append(text11);

            paragraph11.Append(paragraphProperties3);
            paragraph11.Append(run9);

            A.Paragraph paragraph12 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties12 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties12.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text12 = new A.Text();
            text12.Text = "Fourth level";

            run10.Append(runProperties12);
            run10.Append(text12);

            paragraph12.Append(paragraphProperties4);
            paragraph12.Append(run10);

            A.Paragraph paragraph13 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties13 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties13.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text13 = new A.Text();
            text13.Text = "Fifth level";

            run11.Append(runProperties13);
            run11.Append(text13);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph13.Append(paragraphProperties5);
            paragraph13.Append(run11);
            paragraph13.Append(endParagraphRunProperties9);

            textBody9.Append(bodyProperties9);
            textBody9.Append(listStyle9);
            textBody9.Append(paragraph9);
            textBody9.Append(paragraph10);
            textBody9.Append(paragraph11);
            textBody9.Append(paragraph12);
            textBody9.Append(paragraph13);

            shape9.Append(nonVisualShapeProperties9);
            shape9.Append(shapeProperties14);
            shape9.Append(textBody9);

            Shape shape10 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties10 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks10 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties10.Append(shapeLocks10);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties18 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape10 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties18.Append(placeholderShape10);

            nonVisualShapeProperties10.Append(nonVisualDrawingProperties18);
            nonVisualShapeProperties10.Append(nonVisualShapeDrawingProperties10);
            nonVisualShapeProperties10.Append(applicationNonVisualDrawingProperties18);

            ShapeProperties shapeProperties15 = new ShapeProperties();

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset offset13 = new A.Offset(){ X = 9906992L, Y = 6172201L };
            A.Extents extents13 = new A.Extents(){ Cx = 1600617L, Cy = 365125L };

            transform2D10.Append(offset13);
            transform2D10.Append(extents13);

            A.PresetGeometry presetGeometry8 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList8 = new A.AdjustValueList();

            presetGeometry8.Append(adjustValueList8);

            shapeProperties15.Append(transform2D10);
            shapeProperties15.Append(presetGeometry8);

            TextBody textBody10 = new TextBody();
            A.BodyProperties bodyProperties10 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };

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

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right };

            A.DefaultRunProperties defaultRunProperties21 = new A.DefaultRunProperties(){ FontSize = 1000, Bold = false, Italic = false };

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

            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation(){ Val = 50000 };

            schemeColor45.Append(luminanceModulation2);

            solidFill24.Append(schemeColor45);
            A.EffectList effectList3 = new A.EffectList();
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mn-lt" };

            defaultRunProperties21.Append(solidFill24);
            defaultRunProperties21.Append(effectList3);
            defaultRunProperties21.Append(latinFont10);

            level1ParagraphProperties4.Append(defaultRunProperties21);

            listStyle10.Append(level1ParagraphProperties4);

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

            A.Field field3 = new A.Field(){ Id = "{CE1A2D98-1BBD-4706-A118-AAC2A16BEAD3}", Type = "datetimeFigureOut" };

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

            field3.Append(runProperties14);
            field3.Append(text14);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph14.Append(field3);
            paragraph14.Append(endParagraphRunProperties10);

            textBody10.Append(bodyProperties10);
            textBody10.Append(listStyle10);
            textBody10.Append(paragraph14);

            shape10.Append(nonVisualShapeProperties10);
            shape10.Append(shapeProperties15);
            shape10.Append(textBody10);

            Shape shape11 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties11 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks11 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties11.Append(shapeLocks11);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties19 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties19.Append(placeholderShape11);

            nonVisualShapeProperties11.Append(nonVisualDrawingProperties19);
            nonVisualShapeProperties11.Append(nonVisualShapeDrawingProperties11);
            nonVisualShapeProperties11.Append(applicationNonVisualDrawingProperties19);

            ShapeProperties shapeProperties16 = new ShapeProperties();

            A.Transform2D transform2D11 = new A.Transform2D();
            A.Offset offset14 = new A.Offset(){ X = 684390L, Y = 6172201L };
            A.Extents extents14 = new A.Extents(){ Cx = 7545765L, Cy = 365125L };

            transform2D11.Append(offset14);
            transform2D11.Append(extents14);

            A.PresetGeometry presetGeometry9 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList9 = new A.AdjustValueList();

            presetGeometry9.Append(adjustValueList9);

            shapeProperties16.Append(transform2D11);
            shapeProperties16.Append(presetGeometry9);

            TextBody textBody11 = new TextBody();
            A.BodyProperties bodyProperties11 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };

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

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };

            A.DefaultRunProperties defaultRunProperties22 = new A.DefaultRunProperties(){ FontSize = 1000, Bold = false, Italic = false };

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

            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation(){ Val = 50000 };

            schemeColor46.Append(luminanceModulation3);

            solidFill25.Append(schemeColor46);
            A.EffectList effectList4 = new A.EffectList();
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };

            defaultRunProperties22.Append(solidFill25);
            defaultRunProperties22.Append(effectList4);
            defaultRunProperties22.Append(latinFont11);

            level1ParagraphProperties5.Append(defaultRunProperties22);

            listStyle11.Append(level1ParagraphProperties5);

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

            paragraph15.Append(endParagraphRunProperties11);

            textBody11.Append(bodyProperties11);
            textBody11.Append(listStyle11);
            textBody11.Append(paragraph15);

            shape11.Append(nonVisualShapeProperties11);
            shape11.Append(shapeProperties16);
            shape11.Append(textBody11);

            Shape shape12 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties12 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks12 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties12.Append(shapeLocks12);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties20 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties20.Append(placeholderShape12);

            nonVisualShapeProperties12.Append(nonVisualDrawingProperties20);
            nonVisualShapeProperties12.Append(nonVisualShapeDrawingProperties12);
            nonVisualShapeProperties12.Append(applicationNonVisualDrawingProperties20);

            ShapeProperties shapeProperties17 = new ShapeProperties();

            A.Transform2D transform2D12 = new A.Transform2D();
            A.Offset offset15 = new A.Offset(){ X = 10365900L, Y = 5578476L };
            A.Extents extents15 = new A.Extents(){ Cx = 1142543L, Cy = 669925L };

            transform2D12.Append(offset15);
            transform2D12.Append(extents15);

            A.PresetGeometry presetGeometry10 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList10 = new A.AdjustValueList();

            presetGeometry10.Append(adjustValueList10);

            shapeProperties17.Append(transform2D12);
            shapeProperties17.Append(presetGeometry10);

            TextBody textBody12 = new TextBody();
            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties6 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right };

            A.DefaultRunProperties defaultRunProperties23 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Italic = false };

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

            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation(){ Val = 50000 };

            schemeColor47.Append(luminanceModulation4);

            solidFill26.Append(schemeColor47);
            A.EffectList effectList5 = new A.EffectList();
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };

            defaultRunProperties23.Append(solidFill26);
            defaultRunProperties23.Append(effectList5);
            defaultRunProperties23.Append(latinFont12);

            level1ParagraphProperties6.Append(defaultRunProperties23);

            listStyle12.Append(level1ParagraphProperties6);

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

            A.Field field4 = new A.Field(){ Id = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field4.Append(runProperties15);
            field4.Append(text15);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph16.Append(field4);
            paragraph16.Append(endParagraphRunProperties12);

            textBody12.Append(bodyProperties12);
            textBody12.Append(listStyle12);
            textBody12.Append(paragraph16);

            shape12.Append(nonVisualShapeProperties12);
            shape12.Append(shapeProperties17);
            shape12.Append(textBody12);

            shapeTree3.Append(nonVisualGroupShapeProperties3);
            shapeTree3.Append(groupShapeProperties3);
            shapeTree3.Append(shape8);
            shapeTree3.Append(shape9);
            shapeTree3.Append(shape10);
            shapeTree3.Append(shape11);
            shapeTree3.Append(shape12);

            CommonSlideDataExtensionList commonSlideDataExtensionList3 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension3.Append(creationId3);

            commonSlideDataExtensionList3.Append(commonSlideDataExtension3);

            commonSlideData3.Append(background1);
            commonSlideData3.Append(shapeTree3);
            commonSlideData3.Append(commonSlideDataExtensionList3);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            SlideLayoutIdList slideLayoutIdList1 = new SlideLayoutIdList();
            SlideLayoutId slideLayoutId1 = new SlideLayoutId(){ Id = (UInt32Value)2147483754U, RelationshipId = "rId1" };
            SlideLayoutId slideLayoutId2 = new SlideLayoutId(){ Id = (UInt32Value)2147483755U, RelationshipId = "rId2" };
            SlideLayoutId slideLayoutId3 = new SlideLayoutId(){ Id = (UInt32Value)2147483756U, RelationshipId = "rId3" };
            SlideLayoutId slideLayoutId4 = new SlideLayoutId(){ Id = (UInt32Value)2147483757U, RelationshipId = "rId4" };
            SlideLayoutId slideLayoutId5 = new SlideLayoutId(){ Id = (UInt32Value)2147483758U, RelationshipId = "rId5" };
            SlideLayoutId slideLayoutId6 = new SlideLayoutId(){ Id = (UInt32Value)2147483759U, RelationshipId = "rId6" };
            SlideLayoutId slideLayoutId7 = new SlideLayoutId(){ Id = (UInt32Value)2147483760U, RelationshipId = "rId7" };
            SlideLayoutId slideLayoutId8 = new SlideLayoutId(){ Id = (UInt32Value)2147483761U, RelationshipId = "rId8" };
            SlideLayoutId slideLayoutId9 = new SlideLayoutId(){ Id = (UInt32Value)2147483762U, RelationshipId = "rId9" };
            SlideLayoutId slideLayoutId10 = new SlideLayoutId(){ Id = (UInt32Value)2147483763U, RelationshipId = "rId10" };
            SlideLayoutId slideLayoutId11 = new SlideLayoutId(){ Id = (UInt32Value)2147483764U, RelationshipId = "rId11" };
            SlideLayoutId slideLayoutId12 = new SlideLayoutId(){ Id = (UInt32Value)2147483765U, RelationshipId = "rId12" };
            SlideLayoutId slideLayoutId13 = new SlideLayoutId(){ Id = (UInt32Value)2147483766U, RelationshipId = "rId13" };
            SlideLayoutId slideLayoutId14 = new SlideLayoutId(){ Id = (UInt32Value)2147483767U, RelationshipId = "rId14" };
            SlideLayoutId slideLayoutId15 = new SlideLayoutId(){ Id = (UInt32Value)2147483768U, RelationshipId = "rId15" };
            SlideLayoutId slideLayoutId16 = new SlideLayoutId(){ Id = (UInt32Value)2147483769U, RelationshipId = "rId16" };
            SlideLayoutId slideLayoutId17 = new SlideLayoutId(){ Id = (UInt32Value)2147483770U, RelationshipId = "rId17" };

            slideLayoutIdList1.Append(slideLayoutId1);
            slideLayoutIdList1.Append(slideLayoutId2);
            slideLayoutIdList1.Append(slideLayoutId3);
            slideLayoutIdList1.Append(slideLayoutId4);
            slideLayoutIdList1.Append(slideLayoutId5);
            slideLayoutIdList1.Append(slideLayoutId6);
            slideLayoutIdList1.Append(slideLayoutId7);
            slideLayoutIdList1.Append(slideLayoutId8);
            slideLayoutIdList1.Append(slideLayoutId9);
            slideLayoutIdList1.Append(slideLayoutId10);
            slideLayoutIdList1.Append(slideLayoutId11);
            slideLayoutIdList1.Append(slideLayoutId12);
            slideLayoutIdList1.Append(slideLayoutId13);
            slideLayoutIdList1.Append(slideLayoutId14);
            slideLayoutIdList1.Append(slideLayoutId15);
            slideLayoutIdList1.Append(slideLayoutId16);
            slideLayoutIdList1.Append(slideLayoutId17);

            AlternateContent alternateContent2 = new AlternateContent();
            alternateContent2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            alternateContent2.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            AlternateContentChoice alternateContentChoice2 = new AlternateContentChoice(){ Requires = "p14" };

            Transition transition3 = new Transition(){ Speed = TransitionSpeedValues.Slow, Duration = "1500" };
            SplitTransition splitTransition1 = new SplitTransition(){ Orientation = DirectionValues.Vertical };

            transition3.Append(splitTransition1);

            alternateContentChoice2.Append(transition3);

            AlternateContentFallback alternateContentFallback2 = new AlternateContentFallback();

            Transition transition4 = new Transition(){ Speed = TransitionSpeedValues.Slow };
            SplitTransition splitTransition2 = new SplitTransition(){ Orientation = DirectionValues.Vertical };

            transition4.Append(splitTransition2);

            alternateContentFallback2.Append(transition4);

            alternateContent2.Append(alternateContentChoice2);
            alternateContent2.Append(alternateContentFallback2);

            Timing timing3 = new Timing();

            TimeNodeList timeNodeList3 = new TimeNodeList();

            ParallelTimeNode parallelTimeNode3 = new ParallelTimeNode();
            CommonTimeNode commonTimeNode3 = new CommonTimeNode(){ Id = (UInt32Value)1U, Duration = "indefinite", Restart = TimeNodeRestartValues.Never, NodeType = TimeNodeValues.TmingRoot };

            parallelTimeNode3.Append(commonTimeNode3);

            timeNodeList3.Append(parallelTimeNode3);

            timing3.Append(timeNodeList3);

            TextStyles textStyles1 = new TextStyles();

            TitleStyle titleStyle1 = new TitleStyle();

            A.Level1ParagraphProperties level1ParagraphProperties7 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore1 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore1.Append(spacingPercent1);
            A.NoBullet noBullet10 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties24 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 3600, Kerning = 1200, Capital = A.TextCapsValues.All };

            A.Outline outline6 = new A.Outline(){ Width = 3175, CompoundLineType = A.CompoundLineValues.Single };
            A.NoFill noFill1 = new A.NoFill();

            outline6.Append(noFill1);

            A.SolidFill solidFill27 = new A.SolidFill();
            A.SchemeColor schemeColor48 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill27.Append(schemeColor48);
            A.EffectList effectList6 = new A.EffectList();
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties24.Append(outline6);
            defaultRunProperties24.Append(solidFill27);
            defaultRunProperties24.Append(effectList6);
            defaultRunProperties24.Append(latinFont13);
            defaultRunProperties24.Append(eastAsianFont10);
            defaultRunProperties24.Append(complexScriptFont10);

            level1ParagraphProperties7.Append(spaceBefore1);
            level1ParagraphProperties7.Append(noBullet10);
            level1ParagraphProperties7.Append(defaultRunProperties24);

            A.Level2ParagraphProperties level2ParagraphProperties3 = new A.Level2ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties25 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill28 = new A.SolidFill();
            A.SchemeColor schemeColor49 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill28.Append(schemeColor49);

            defaultRunProperties25.Append(solidFill28);

            level2ParagraphProperties3.Append(defaultRunProperties25);

            A.Level3ParagraphProperties level3ParagraphProperties3 = new A.Level3ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties26 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill29 = new A.SolidFill();
            A.SchemeColor schemeColor50 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill29.Append(schemeColor50);

            defaultRunProperties26.Append(solidFill29);

            level3ParagraphProperties3.Append(defaultRunProperties26);

            A.Level4ParagraphProperties level4ParagraphProperties3 = new A.Level4ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties27 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill30 = new A.SolidFill();
            A.SchemeColor schemeColor51 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill30.Append(schemeColor51);

            defaultRunProperties27.Append(solidFill30);

            level4ParagraphProperties3.Append(defaultRunProperties27);

            A.Level5ParagraphProperties level5ParagraphProperties3 = new A.Level5ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties28 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill31 = new A.SolidFill();
            A.SchemeColor schemeColor52 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill31.Append(schemeColor52);

            defaultRunProperties28.Append(solidFill31);

            level5ParagraphProperties3.Append(defaultRunProperties28);

            A.Level6ParagraphProperties level6ParagraphProperties3 = new A.Level6ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties29 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill32 = new A.SolidFill();
            A.SchemeColor schemeColor53 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill32.Append(schemeColor53);

            defaultRunProperties29.Append(solidFill32);

            level6ParagraphProperties3.Append(defaultRunProperties29);

            A.Level7ParagraphProperties level7ParagraphProperties3 = new A.Level7ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties30 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill33 = new A.SolidFill();
            A.SchemeColor schemeColor54 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill33.Append(schemeColor54);

            defaultRunProperties30.Append(solidFill33);

            level7ParagraphProperties3.Append(defaultRunProperties30);

            A.Level8ParagraphProperties level8ParagraphProperties3 = new A.Level8ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties31 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill34 = new A.SolidFill();
            A.SchemeColor schemeColor55 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill34.Append(schemeColor55);

            defaultRunProperties31.Append(solidFill34);

            level8ParagraphProperties3.Append(defaultRunProperties31);

            A.Level9ParagraphProperties level9ParagraphProperties3 = new A.Level9ParagraphProperties(){ EastAsianLineBreak = true, Height = true };

            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties(){ Kumimoji = true };

            A.SolidFill solidFill35 = new A.SolidFill();
            A.SchemeColor schemeColor56 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill35.Append(schemeColor56);

            defaultRunProperties32.Append(solidFill35);

            level9ParagraphProperties3.Append(defaultRunProperties32);

            titleStyle1.Append(level1ParagraphProperties7);
            titleStyle1.Append(level2ParagraphProperties3);
            titleStyle1.Append(level3ParagraphProperties3);
            titleStyle1.Append(level4ParagraphProperties3);
            titleStyle1.Append(level5ParagraphProperties3);
            titleStyle1.Append(level6ParagraphProperties3);
            titleStyle1.Append(level7ParagraphProperties3);
            titleStyle1.Append(level8ParagraphProperties3);
            titleStyle1.Append(level9ParagraphProperties3);

            BodyStyle bodyStyle1 = new BodyStyle();

            A.Level1ParagraphProperties level1ParagraphProperties8 = new A.Level1ParagraphProperties(){ LeftMargin = 285750, Indent = -285750, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore2 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore2.Append(spacingPercent2);

            A.SpaceAfter spaceAfter1 = new A.SpaceAfter();
            A.SpacingPoints spacingPoints1 = new A.SpacingPoints(){ Val = 600 };

            spaceAfter1.Append(spacingPoints1);

            A.BulletColor bulletColor1 = new A.BulletColor();
            A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor1.Append(schemeColor57);
            A.BulletSizePercentage bulletSizePercentage1 = new A.BulletSizePercentage(){ Val = 70000 };
            A.BulletFont bulletFont1 = new A.BulletFont(){ Typeface = "Lucida Grande" };
            A.CharacterBullet characterBullet1 = new A.CharacterBullet(){ Char = "►" };

            A.DefaultRunProperties defaultRunProperties33 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200, Capital = A.TextCapsValues.None };

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

            A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor58.Append(luminanceModulation5);

            solidFill36.Append(schemeColor58);
            A.EffectList effectList7 = new A.EffectList();
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties33.Append(solidFill36);
            defaultRunProperties33.Append(effectList7);
            defaultRunProperties33.Append(latinFont14);
            defaultRunProperties33.Append(eastAsianFont11);
            defaultRunProperties33.Append(complexScriptFont11);

            level1ParagraphProperties8.Append(spaceBefore2);
            level1ParagraphProperties8.Append(spaceAfter1);
            level1ParagraphProperties8.Append(bulletColor1);
            level1ParagraphProperties8.Append(bulletSizePercentage1);
            level1ParagraphProperties8.Append(bulletFont1);
            level1ParagraphProperties8.Append(characterBullet1);
            level1ParagraphProperties8.Append(defaultRunProperties33);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties(){ LeftMargin = 742950, Indent = -285750, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore3 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore3.Append(spacingPercent3);

            A.SpaceAfter spaceAfter2 = new A.SpaceAfter();
            A.SpacingPoints spacingPoints2 = new A.SpacingPoints(){ Val = 600 };

            spaceAfter2.Append(spacingPoints2);

            A.BulletColor bulletColor2 = new A.BulletColor();
            A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor2.Append(schemeColor59);
            A.BulletSizePercentage bulletSizePercentage2 = new A.BulletSizePercentage(){ Val = 70000 };
            A.BulletFont bulletFont2 = new A.BulletFont(){ Typeface = "Lucida Grande" };
            A.CharacterBullet characterBullet2 = new A.CharacterBullet(){ Char = "►" };

            A.DefaultRunProperties defaultRunProperties34 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1600, Kerning = 1200, Capital = A.TextCapsValues.None };

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

            A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor60.Append(luminanceModulation6);

            solidFill37.Append(schemeColor60);
            A.EffectList effectList8 = new A.EffectList();
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties34.Append(solidFill37);
            defaultRunProperties34.Append(effectList8);
            defaultRunProperties34.Append(latinFont15);
            defaultRunProperties34.Append(eastAsianFont12);
            defaultRunProperties34.Append(complexScriptFont12);

            level2ParagraphProperties4.Append(spaceBefore3);
            level2ParagraphProperties4.Append(spaceAfter2);
            level2ParagraphProperties4.Append(bulletColor2);
            level2ParagraphProperties4.Append(bulletSizePercentage2);
            level2ParagraphProperties4.Append(bulletFont2);
            level2ParagraphProperties4.Append(characterBullet2);
            level2ParagraphProperties4.Append(defaultRunProperties34);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties(){ LeftMargin = 1200150, Indent = -285750, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore4 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore4.Append(spacingPercent4);

            A.SpaceAfter spaceAfter3 = new A.SpaceAfter();
            A.SpacingPoints spacingPoints3 = new A.SpacingPoints(){ Val = 600 };

            spaceAfter3.Append(spacingPoints3);

            A.BulletColor bulletColor3 = new A.BulletColor();
            A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor3.Append(schemeColor61);
            A.BulletSizePercentage bulletSizePercentage3 = new A.BulletSizePercentage(){ Val = 70000 };
            A.BulletFont bulletFont3 = new A.BulletFont(){ Typeface = "Lucida Grande" };
            A.CharacterBullet characterBullet3 = new A.CharacterBullet(){ Char = "►" };

            A.DefaultRunProperties defaultRunProperties35 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200, Capital = A.TextCapsValues.None };

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

            A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor62.Append(luminanceModulation7);

            solidFill38.Append(schemeColor62);
            A.EffectList effectList9 = new A.EffectList();
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties35.Append(solidFill38);
            defaultRunProperties35.Append(effectList9);
            defaultRunProperties35.Append(latinFont16);
            defaultRunProperties35.Append(eastAsianFont13);
            defaultRunProperties35.Append(complexScriptFont13);

            level3ParagraphProperties4.Append(spaceBefore4);
            level3ParagraphProperties4.Append(spaceAfter3);
            level3ParagraphProperties4.Append(bulletColor3);
            level3ParagraphProperties4.Append(bulletSizePercentage3);
            level3ParagraphProperties4.Append(bulletFont3);
            level3ParagraphProperties4.Append(characterBullet3);
            level3ParagraphProperties4.Append(defaultRunProperties35);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties(){ LeftMargin = 1543050, Indent = -171450, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore5 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore5.Append(spacingPercent5);

            A.SpaceAfter spaceAfter4 = new A.SpaceAfter();
            A.SpacingPoints spacingPoints4 = new A.SpacingPoints(){ Val = 600 };

            spaceAfter4.Append(spacingPoints4);

            A.BulletColor bulletColor4 = new A.BulletColor();
            A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor4.Append(schemeColor63);
            A.BulletSizePercentage bulletSizePercentage4 = new A.BulletSizePercentage(){ Val = 70000 };
            A.BulletFont bulletFont4 = new A.BulletFont(){ Typeface = "Lucida Grande" };
            A.CharacterBullet characterBullet4 = new A.CharacterBullet(){ Char = "►" };

            A.DefaultRunProperties defaultRunProperties36 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1200, Kerning = 1200, Capital = A.TextCapsValues.None };

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

            A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor64.Append(luminanceModulation8);

            solidFill39.Append(schemeColor64);
            A.EffectList effectList10 = new A.EffectList();
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties36.Append(solidFill39);
            defaultRunProperties36.Append(effectList10);
            defaultRunProperties36.Append(latinFont17);
            defaultRunProperties36.Append(eastAsianFont14);
            defaultRunProperties36.Append(complexScriptFont14);

            level4ParagraphProperties4.Append(spaceBefore5);
            level4ParagraphProperties4.Append(spaceAfter4);
            level4ParagraphProperties4.Append(bulletColor4);
            level4ParagraphProperties4.Append(bulletSizePercentage4);
            level4ParagraphProperties4.Append(bulletFont4);
            level4ParagraphProperties4.Append(characterBullet4);
            level4ParagraphProperties4.Append(defaultRunProperties36);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties(){ LeftMargin = 2000250, Indent = -171450, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore6 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore6.Append(spacingPercent6);

            A.SpaceAfter spaceAfter5 = new A.SpaceAfter();
            A.SpacingPoints spacingPoints5 = new A.SpacingPoints(){ Val = 600 };

            spaceAfter5.Append(spacingPoints5);

            A.BulletColor bulletColor5 = new A.BulletColor();
            A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor5.Append(schemeColor65);
            A.BulletSizePercentage bulletSizePercentage5 = new A.BulletSizePercentage(){ Val = 70000 };
            A.BulletFont bulletFont5 = new A.BulletFont(){ Typeface = "Lucida Grande" };
            A.CharacterBullet characterBullet5 = new A.CharacterBullet(){ Char = "►" };

            A.DefaultRunProperties defaultRunProperties37 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1200, Kerning = 1200, Capital = A.TextCapsValues.None };

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

            A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation9 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor66.Append(luminanceModulation9);

            solidFill40.Append(schemeColor66);
            A.EffectList effectList11 = new A.EffectList();
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties37.Append(solidFill40);
            defaultRunProperties37.Append(effectList11);
            defaultRunProperties37.Append(latinFont18);
            defaultRunProperties37.Append(eastAsianFont15);
            defaultRunProperties37.Append(complexScriptFont15);

            level5ParagraphProperties4.Append(spaceBefore6);
            level5ParagraphProperties4.Append(spaceAfter5);
            level5ParagraphProperties4.Append(bulletColor5);
            level5ParagraphProperties4.Append(bulletSizePercentage5);
            level5ParagraphProperties4.Append(bulletFont5);
            level5ParagraphProperties4.Append(characterBullet5);
            level5ParagraphProperties4.Append(defaultRunProperties37);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties(){ LeftMargin = 2514600, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore7 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore7.Append(spacingPercent7);
            A.BulletFont bulletFont6 = new A.BulletFont(){ Typeface = "Arial" };
            A.CharacterBullet characterBullet6 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties38 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill41 = new A.SolidFill();
            A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill41.Append(schemeColor67);
            A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties38.Append(solidFill41);
            defaultRunProperties38.Append(latinFont19);
            defaultRunProperties38.Append(eastAsianFont16);
            defaultRunProperties38.Append(complexScriptFont16);

            level6ParagraphProperties4.Append(spaceBefore7);
            level6ParagraphProperties4.Append(bulletFont6);
            level6ParagraphProperties4.Append(characterBullet6);
            level6ParagraphProperties4.Append(defaultRunProperties38);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties(){ LeftMargin = 2971800, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore8 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore8.Append(spacingPercent8);
            A.BulletFont bulletFont7 = new A.BulletFont(){ Typeface = "Arial" };
            A.CharacterBullet characterBullet7 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties39 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill42 = new A.SolidFill();
            A.SchemeColor schemeColor68 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill42.Append(schemeColor68);
            A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties39.Append(solidFill42);
            defaultRunProperties39.Append(latinFont20);
            defaultRunProperties39.Append(eastAsianFont17);
            defaultRunProperties39.Append(complexScriptFont17);

            level7ParagraphProperties4.Append(spaceBefore8);
            level7ParagraphProperties4.Append(bulletFont7);
            level7ParagraphProperties4.Append(characterBullet7);
            level7ParagraphProperties4.Append(defaultRunProperties39);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties(){ LeftMargin = 3429000, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore9 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore9.Append(spacingPercent9);
            A.BulletFont bulletFont8 = new A.BulletFont(){ Typeface = "Arial" };
            A.CharacterBullet characterBullet8 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties40 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill43 = new A.SolidFill();
            A.SchemeColor schemeColor69 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill43.Append(schemeColor69);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties40.Append(solidFill43);
            defaultRunProperties40.Append(latinFont21);
            defaultRunProperties40.Append(eastAsianFont18);
            defaultRunProperties40.Append(complexScriptFont18);

            level8ParagraphProperties4.Append(spaceBefore9);
            level8ParagraphProperties4.Append(bulletFont8);
            level8ParagraphProperties4.Append(characterBullet8);
            level8ParagraphProperties4.Append(defaultRunProperties40);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties(){ LeftMargin = 3886200, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore10 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore10.Append(spacingPercent10);
            A.BulletFont bulletFont9 = new A.BulletFont(){ Typeface = "Arial" };
            A.CharacterBullet characterBullet9 = new A.CharacterBullet(){ Char = "•" };

            A.DefaultRunProperties defaultRunProperties41 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill44 = new A.SolidFill();
            A.SchemeColor schemeColor70 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill44.Append(schemeColor70);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties41.Append(solidFill44);
            defaultRunProperties41.Append(latinFont22);
            defaultRunProperties41.Append(eastAsianFont19);
            defaultRunProperties41.Append(complexScriptFont19);

            level9ParagraphProperties4.Append(spaceBefore10);
            level9ParagraphProperties4.Append(bulletFont9);
            level9ParagraphProperties4.Append(characterBullet9);
            level9ParagraphProperties4.Append(defaultRunProperties41);

            bodyStyle1.Append(level1ParagraphProperties8);
            bodyStyle1.Append(level2ParagraphProperties4);
            bodyStyle1.Append(level3ParagraphProperties4);
            bodyStyle1.Append(level4ParagraphProperties4);
            bodyStyle1.Append(level5ParagraphProperties4);
            bodyStyle1.Append(level6ParagraphProperties4);
            bodyStyle1.Append(level7ParagraphProperties4);
            bodyStyle1.Append(level8ParagraphProperties4);
            bodyStyle1.Append(level9ParagraphProperties4);

            OtherStyle otherStyle1 = new OtherStyle();

            A.DefaultParagraphProperties defaultParagraphProperties2 = new A.DefaultParagraphProperties();
            A.DefaultRunProperties defaultRunProperties42 = new A.DefaultRunProperties(){ Language = "en-US" };

            defaultParagraphProperties2.Append(defaultRunProperties42);

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties43 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill45 = new A.SolidFill();
            A.SchemeColor schemeColor71 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill45.Append(schemeColor71);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties43.Append(solidFill45);
            defaultRunProperties43.Append(latinFont23);
            defaultRunProperties43.Append(eastAsianFont20);
            defaultRunProperties43.Append(complexScriptFont20);

            level1ParagraphProperties9.Append(defaultRunProperties43);

            A.Level2ParagraphProperties level2ParagraphProperties5 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties44 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill46 = new A.SolidFill();
            A.SchemeColor schemeColor72 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill46.Append(schemeColor72);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties44.Append(solidFill46);
            defaultRunProperties44.Append(latinFont24);
            defaultRunProperties44.Append(eastAsianFont21);
            defaultRunProperties44.Append(complexScriptFont21);

            level2ParagraphProperties5.Append(defaultRunProperties44);

            A.Level3ParagraphProperties level3ParagraphProperties5 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties45 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill47 = new A.SolidFill();
            A.SchemeColor schemeColor73 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill47.Append(schemeColor73);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties45.Append(solidFill47);
            defaultRunProperties45.Append(latinFont25);
            defaultRunProperties45.Append(eastAsianFont22);
            defaultRunProperties45.Append(complexScriptFont22);

            level3ParagraphProperties5.Append(defaultRunProperties45);

            A.Level4ParagraphProperties level4ParagraphProperties5 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties46 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill48 = new A.SolidFill();
            A.SchemeColor schemeColor74 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill48.Append(schemeColor74);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties46.Append(solidFill48);
            defaultRunProperties46.Append(latinFont26);
            defaultRunProperties46.Append(eastAsianFont23);
            defaultRunProperties46.Append(complexScriptFont23);

            level4ParagraphProperties5.Append(defaultRunProperties46);

            A.Level5ParagraphProperties level5ParagraphProperties5 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties47 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill49 = new A.SolidFill();
            A.SchemeColor schemeColor75 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill49.Append(schemeColor75);
            A.LatinFont latinFont27 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties47.Append(solidFill49);
            defaultRunProperties47.Append(latinFont27);
            defaultRunProperties47.Append(eastAsianFont24);
            defaultRunProperties47.Append(complexScriptFont24);

            level5ParagraphProperties5.Append(defaultRunProperties47);

            A.Level6ParagraphProperties level6ParagraphProperties5 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties48 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill50 = new A.SolidFill();
            A.SchemeColor schemeColor76 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill50.Append(schemeColor76);
            A.LatinFont latinFont28 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties48.Append(solidFill50);
            defaultRunProperties48.Append(latinFont28);
            defaultRunProperties48.Append(eastAsianFont25);
            defaultRunProperties48.Append(complexScriptFont25);

            level6ParagraphProperties5.Append(defaultRunProperties48);

            A.Level7ParagraphProperties level7ParagraphProperties5 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties49 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill51 = new A.SolidFill();
            A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill51.Append(schemeColor77);
            A.LatinFont latinFont29 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties49.Append(solidFill51);
            defaultRunProperties49.Append(latinFont29);
            defaultRunProperties49.Append(eastAsianFont26);
            defaultRunProperties49.Append(complexScriptFont26);

            level7ParagraphProperties5.Append(defaultRunProperties49);

            A.Level8ParagraphProperties level8ParagraphProperties5 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties50 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill52 = new A.SolidFill();
            A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill52.Append(schemeColor78);
            A.LatinFont latinFont30 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties50.Append(solidFill52);
            defaultRunProperties50.Append(latinFont30);
            defaultRunProperties50.Append(eastAsianFont27);
            defaultRunProperties50.Append(complexScriptFont27);

            level8ParagraphProperties5.Append(defaultRunProperties50);

            A.Level9ParagraphProperties level9ParagraphProperties5 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, DefaultTabSize = 457200, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties51 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill53 = new A.SolidFill();
            A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill53.Append(schemeColor79);
            A.LatinFont latinFont31 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties51.Append(solidFill53);
            defaultRunProperties51.Append(latinFont31);
            defaultRunProperties51.Append(eastAsianFont28);
            defaultRunProperties51.Append(complexScriptFont28);

            level9ParagraphProperties5.Append(defaultRunProperties51);

            otherStyle1.Append(defaultParagraphProperties2);
            otherStyle1.Append(level1ParagraphProperties9);
            otherStyle1.Append(level2ParagraphProperties5);
            otherStyle1.Append(level3ParagraphProperties5);
            otherStyle1.Append(level4ParagraphProperties5);
            otherStyle1.Append(level5ParagraphProperties5);
            otherStyle1.Append(level6ParagraphProperties5);
            otherStyle1.Append(level7ParagraphProperties5);
            otherStyle1.Append(level8ParagraphProperties5);
            otherStyle1.Append(level9ParagraphProperties5);

            textStyles1.Append(titleStyle1);
            textStyles1.Append(bodyStyle1);
            textStyles1.Append(otherStyle1);

            slideMaster1.Append(commonSlideData3);
            slideMaster1.Append(colorMap1);
            slideMaster1.Append(slideLayoutIdList1);
            slideMaster1.Append(alternateContent2);
            slideMaster1.Append(timing3);
            slideMaster1.Append(textStyles1);

            slideMasterPart1.SlideMaster = slideMaster1;
        }
Example #37
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Office Theme", ThemeId = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "thm15" }  };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            theme1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            theme1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "6E747A" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "E7E6E6" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "5B9BD5" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "ED7D31" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "A5A5A5" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "FFC000" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "4472C4" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "70AD47" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "085296" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "993366" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

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

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "Arial" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

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

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

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

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

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

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation(){ Val = 157000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 101000 };

            schemeColor2.Append(luminanceModulation1);
            schemeColor2.Append(saturationModulation1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 50000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation(){ Val = 137000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 103000 };

            schemeColor3.Append(luminanceModulation2);
            schemeColor3.Append(saturationModulation2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation(){ Val = 115000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 109000 };

            schemeColor4.Append(luminanceModulation3);
            schemeColor4.Append(saturationModulation3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 103000 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation(){ Val = 118000 };

            schemeColor5.Append(saturationModulation4);
            schemeColor5.Append(luminanceModulation4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 50000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 89000 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation(){ Val = 91000 };

            schemeColor6.Append(saturationModulation5);
            schemeColor6.Append(luminanceModulation5);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation(){ Val = 69000 };

            schemeColor7.Append(luminanceModulation6);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

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

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline(){ Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);

            A.Outline outline2 = new A.Outline(){ Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);

            A.Outline outline3 = new A.Outline(){ Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList1 = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList effectList2 = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha1 = new A.Alpha(){ Val = 63000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

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

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

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

            solidFill5.Append(schemeColor11);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint1 = new A.Tint(){ Val = 100000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 100000 };
            A.Shade shade1 = new A.Shade(){ Val = 0 };

            schemeColor12.Append(tint1);
            schemeColor12.Append(saturationModulation6);
            schemeColor12.Append(shade1);

            gradientStop7.Append(schemeColor12);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 0 };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage(){ RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            gradientStop8.Append(rgbColorModelPercentage1);

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 100000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 100000 };

            schemeColor13.Append(shade2);
            schemeColor13.Append(saturationModulation7);

            gradientStop9.Append(schemeColor13);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint2 = new A.Tint(){ Val = 80000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor14.Append(tint2);
            schemeColor14.Append(saturationModulation8);

            gradientStop10.Append(schemeColor14);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 30000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 200000 };

            schemeColor15.Append(shade3);
            schemeColor15.Append(saturationModulation9);

            gradientStop11.Append(schemeColor15);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill1);

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

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

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

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

            themePart1.Theme = theme1;
        }
Example #38
0
        // Generates content of slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData3 = new CommonSlideData();

            Background background1 = new Background();

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

            backgroundStyleReference1.Append(schemeColor14);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree3 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties3 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties10 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties3 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties10 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties3.Append(nonVisualDrawingProperties10);
            nonVisualGroupShapeProperties3.Append(nonVisualGroupShapeDrawingProperties3);
            nonVisualGroupShapeProperties3.Append(applicationNonVisualDrawingProperties10);

            GroupShapeProperties groupShapeProperties3 = new GroupShapeProperties();

            A.TransformGroup transformGroup3 = new A.TransformGroup();
            A.Offset offset5 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents5 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset3 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents3 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup3.Append(offset5);
            transformGroup3.Append(extents5);
            transformGroup3.Append(childOffset3);
            transformGroup3.Append(childExtents3);

            groupShapeProperties3.Append(transformGroup3);

            Shape shape8 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties8 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties11 = new NonVisualDrawingProperties(){ Id = (UInt32Value)22U, Name = "Title Placeholder 21" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties8 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks8 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties8.Append(shapeLocks8);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties11 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape8 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties11.Append(placeholderShape8);

            nonVisualShapeProperties8.Append(nonVisualDrawingProperties11);
            nonVisualShapeProperties8.Append(nonVisualShapeDrawingProperties8);
            nonVisualShapeProperties8.Append(applicationNonVisualDrawingProperties11);

            ShapeProperties shapeProperties8 = new ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset6 = new A.Offset(){ X = 609600L, Y = 274638L };
            A.Extents extents6 = new A.Extents(){ Cx = 10972800L, Cy = 1143000L };

            transform2D3.Append(offset6);
            transform2D3.Append(extents6);

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

            presetGeometry1.Append(adjustValueList1);

            shapeProperties8.Append(transform2D3);
            shapeProperties8.Append(presetGeometry1);

            TextBody textBody8 = new TextBody();

            A.BodyProperties bodyProperties8 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit2 = new A.NormalAutoFit();

            A.Scene3DType scene3DType2 = new A.Scene3DType();
            A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 16800000 };

            lightRig2.Append(rotation2);

            scene3DType2.Append(camera2);
            scene3DType2.Append(lightRig2);

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

            shape3DType2.Append(bevelTop2);

            bodyProperties8.Append(normalAutoFit2);
            bodyProperties8.Append(scene3DType2);
            bodyProperties8.Append(shape3DType2);
            A.ListStyle listStyle8 = new A.ListStyle();

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

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

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

            run3.Append(runProperties5);
            run3.Append(text5);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph8.Append(run3);
            paragraph8.Append(endParagraphRunProperties8);

            textBody8.Append(bodyProperties8);
            textBody8.Append(listStyle8);
            textBody8.Append(paragraph8);

            shape8.Append(nonVisualShapeProperties8);
            shape8.Append(shapeProperties8);
            shape8.Append(textBody8);

            Shape shape9 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties9 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties12 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Text Placeholder 12" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties9 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks9 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties9.Append(shapeLocks9);

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

            applicationNonVisualDrawingProperties12.Append(placeholderShape9);

            nonVisualShapeProperties9.Append(nonVisualDrawingProperties12);
            nonVisualShapeProperties9.Append(nonVisualShapeDrawingProperties9);
            nonVisualShapeProperties9.Append(applicationNonVisualDrawingProperties12);

            ShapeProperties shapeProperties9 = new ShapeProperties();

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset7 = new A.Offset(){ X = 609600L, Y = 1600200L };
            A.Extents extents7 = new A.Extents(){ Cx = 10972800L, Cy = 4709160L };

            transform2D4.Append(offset7);
            transform2D4.Append(extents7);

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

            presetGeometry2.Append(adjustValueList2);

            shapeProperties9.Append(transform2D4);
            shapeProperties9.Append(presetGeometry2);

            TextBody textBody9 = new TextBody();

            A.BodyProperties bodyProperties9 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal };
            A.NormalAutoFit normalAutoFit3 = new A.NormalAutoFit();

            bodyProperties9.Append(normalAutoFit3);
            A.ListStyle listStyle9 = new A.ListStyle();

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

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

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

            run4.Append(runProperties6);
            run4.Append(text6);

            paragraph9.Append(paragraphProperties1);
            paragraph9.Append(run4);

            A.Paragraph paragraph10 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run5.Append(runProperties7);
            run5.Append(text7);

            paragraph10.Append(paragraphProperties2);
            paragraph10.Append(run5);

            A.Paragraph paragraph11 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run6.Append(runProperties8);
            run6.Append(text8);

            paragraph11.Append(paragraphProperties3);
            paragraph11.Append(run6);

            A.Paragraph paragraph12 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run7.Append(runProperties9);
            run7.Append(text9);

            paragraph12.Append(paragraphProperties4);
            paragraph12.Append(run7);

            A.Paragraph paragraph13 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run8.Append(runProperties10);
            run8.Append(text10);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph13.Append(paragraphProperties5);
            paragraph13.Append(run8);
            paragraph13.Append(endParagraphRunProperties9);

            textBody9.Append(bodyProperties9);
            textBody9.Append(listStyle9);
            textBody9.Append(paragraph9);
            textBody9.Append(paragraph10);
            textBody9.Append(paragraph11);
            textBody9.Append(paragraph12);
            textBody9.Append(paragraph13);

            shape9.Append(nonVisualShapeProperties9);
            shape9.Append(shapeProperties9);
            shape9.Append(textBody9);

            Shape shape10 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties10 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties13 = new NonVisualDrawingProperties(){ Id = (UInt32Value)14U, Name = "Date Placeholder 13" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties10 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks10 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties10.Append(shapeLocks10);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties13 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape10 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties13.Append(placeholderShape10);

            nonVisualShapeProperties10.Append(nonVisualDrawingProperties13);
            nonVisualShapeProperties10.Append(nonVisualShapeDrawingProperties10);
            nonVisualShapeProperties10.Append(applicationNonVisualDrawingProperties13);

            ShapeProperties shapeProperties10 = new ShapeProperties();

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset8 = new A.Offset(){ X = 609600L, Y = 6416676L };
            A.Extents extents8 = new A.Extents(){ Cx = 2844800L, Cy = 365125L };

            transform2D5.Append(offset8);
            transform2D5.Append(extents8);

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

            presetGeometry3.Append(adjustValueList3);

            shapeProperties10.Append(transform2D5);
            shapeProperties10.Append(presetGeometry3);

            TextBody textBody10 = new TextBody();
            A.BodyProperties bodyProperties10 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

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

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade1 = new A.Shade(){ Val = 50000 };

            schemeColor15.Append(shade1);

            solidFill11.Append(schemeColor15);

            defaultRunProperties13.Append(solidFill11);

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle10.Append(level1ParagraphProperties4);

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

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

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

            field3.Append(runProperties11);
            field3.Append(text11);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph14.Append(field3);
            paragraph14.Append(endParagraphRunProperties10);

            textBody10.Append(bodyProperties10);
            textBody10.Append(listStyle10);
            textBody10.Append(paragraph14);

            shape10.Append(nonVisualShapeProperties10);
            shape10.Append(shapeProperties10);
            shape10.Append(textBody10);

            Shape shape11 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties11 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties14 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Footer Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties11 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks11 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties11.Append(shapeLocks11);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties14 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties14.Append(placeholderShape11);

            nonVisualShapeProperties11.Append(nonVisualDrawingProperties14);
            nonVisualShapeProperties11.Append(nonVisualShapeDrawingProperties11);
            nonVisualShapeProperties11.Append(applicationNonVisualDrawingProperties14);

            ShapeProperties shapeProperties11 = new ShapeProperties();

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset9 = new A.Offset(){ X = 4165600L, Y = 6416676L };
            A.Extents extents9 = new A.Extents(){ Cx = 3860800L, Cy = 365125L };

            transform2D6.Append(offset9);
            transform2D6.Append(extents9);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList4);

            shapeProperties11.Append(transform2D6);
            shapeProperties11.Append(presetGeometry4);

            TextBody textBody11 = new TextBody();
            A.BodyProperties bodyProperties11 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

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

            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade2 = new A.Shade(){ Val = 50000 };

            schemeColor16.Append(shade2);

            solidFill12.Append(schemeColor16);

            defaultRunProperties14.Append(solidFill12);

            level1ParagraphProperties5.Append(defaultRunProperties14);

            listStyle11.Append(level1ParagraphProperties5);

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

            paragraph15.Append(endParagraphRunProperties11);

            textBody11.Append(bodyProperties11);
            textBody11.Append(listStyle11);
            textBody11.Append(paragraph15);

            shape11.Append(nonVisualShapeProperties11);
            shape11.Append(shapeProperties11);
            shape11.Append(textBody11);

            Shape shape12 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties12 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties15 = new NonVisualDrawingProperties(){ Id = (UInt32Value)23U, Name = "Slide Number Placeholder 22" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties12 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks12 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties12.Append(shapeLocks12);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties15 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties15.Append(placeholderShape12);

            nonVisualShapeProperties12.Append(nonVisualDrawingProperties15);
            nonVisualShapeProperties12.Append(nonVisualShapeDrawingProperties12);
            nonVisualShapeProperties12.Append(applicationNonVisualDrawingProperties15);

            ShapeProperties shapeProperties12 = new ShapeProperties();

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset10 = new A.Offset(){ X = 10566400L, Y = 6416676L };
            A.Extents extents10 = new A.Extents(){ Cx = 1016000L, Cy = 365125L };

            transform2D7.Append(offset10);
            transform2D7.Append(extents10);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);

            shapeProperties12.Append(transform2D7);
            shapeProperties12.Append(presetGeometry5);

            TextBody textBody12 = new TextBody();
            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 0, RightInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties6 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties15 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

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

            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade3 = new A.Shade(){ Val = 50000 };

            schemeColor17.Append(shade3);

            solidFill13.Append(schemeColor17);

            defaultRunProperties15.Append(solidFill13);

            level1ParagraphProperties6.Append(defaultRunProperties15);

            listStyle12.Append(level1ParagraphProperties6);

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

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

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

            field4.Append(runProperties12);
            field4.Append(text12);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph16.Append(field4);
            paragraph16.Append(endParagraphRunProperties12);

            textBody12.Append(bodyProperties12);
            textBody12.Append(listStyle12);
            textBody12.Append(paragraph16);

            shape12.Append(nonVisualShapeProperties12);
            shape12.Append(shapeProperties12);
            shape12.Append(textBody12);

            shapeTree3.Append(nonVisualGroupShapeProperties3);
            shapeTree3.Append(groupShapeProperties3);
            shapeTree3.Append(shape8);
            shapeTree3.Append(shape9);
            shapeTree3.Append(shape10);
            shapeTree3.Append(shape11);
            shapeTree3.Append(shape12);

            CommonSlideDataExtensionList commonSlideDataExtensionList3 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension3.Append(creationId3);

            commonSlideDataExtensionList3.Append(commonSlideDataExtension3);

            commonSlideData3.Append(background1);
            commonSlideData3.Append(shapeTree3);
            commonSlideData3.Append(commonSlideDataExtensionList3);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            SlideLayoutIdList slideLayoutIdList1 = new SlideLayoutIdList();
            SlideLayoutId slideLayoutId1 = new SlideLayoutId(){ Id = (UInt32Value)2147483661U, RelationshipId = "rId1" };
            SlideLayoutId slideLayoutId2 = new SlideLayoutId(){ Id = (UInt32Value)2147483662U, RelationshipId = "rId2" };
            SlideLayoutId slideLayoutId3 = new SlideLayoutId(){ Id = (UInt32Value)2147483663U, RelationshipId = "rId3" };
            SlideLayoutId slideLayoutId4 = new SlideLayoutId(){ Id = (UInt32Value)2147483664U, RelationshipId = "rId4" };
            SlideLayoutId slideLayoutId5 = new SlideLayoutId(){ Id = (UInt32Value)2147483665U, RelationshipId = "rId5" };
            SlideLayoutId slideLayoutId6 = new SlideLayoutId(){ Id = (UInt32Value)2147483666U, RelationshipId = "rId6" };
            SlideLayoutId slideLayoutId7 = new SlideLayoutId(){ Id = (UInt32Value)2147483667U, RelationshipId = "rId7" };
            SlideLayoutId slideLayoutId8 = new SlideLayoutId(){ Id = (UInt32Value)2147483668U, RelationshipId = "rId8" };
            SlideLayoutId slideLayoutId9 = new SlideLayoutId(){ Id = (UInt32Value)2147483669U, RelationshipId = "rId9" };
            SlideLayoutId slideLayoutId10 = new SlideLayoutId(){ Id = (UInt32Value)2147483670U, RelationshipId = "rId10" };
            SlideLayoutId slideLayoutId11 = new SlideLayoutId(){ Id = (UInt32Value)2147483671U, RelationshipId = "rId11" };

            slideLayoutIdList1.Append(slideLayoutId1);
            slideLayoutIdList1.Append(slideLayoutId2);
            slideLayoutIdList1.Append(slideLayoutId3);
            slideLayoutIdList1.Append(slideLayoutId4);
            slideLayoutIdList1.Append(slideLayoutId5);
            slideLayoutIdList1.Append(slideLayoutId6);
            slideLayoutIdList1.Append(slideLayoutId7);
            slideLayoutIdList1.Append(slideLayoutId8);
            slideLayoutIdList1.Append(slideLayoutId9);
            slideLayoutIdList1.Append(slideLayoutId10);
            slideLayoutIdList1.Append(slideLayoutId11);

            TextStyles textStyles1 = new TextStyles();

            TitleStyle titleStyle1 = new TitleStyle();

            A.Level1ParagraphProperties level1ParagraphProperties7 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore1 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore1.Append(spacingPercent1);
            A.NoBullet noBullet10 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties16 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 4100, Bold = true, Kerning = 1200, Capital = A.TextCapsValues.None, Baseline = 0 };

            A.Outline outline2 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill2 = new A.NoFill();

            outline2.Append(noFill2);

            A.GradientFill gradientFill2 = new A.GradientFill();

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint4 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor18.Append(tint4);
            schemeColor18.Append(saturationModulation4);

            gradientStop4.Append(schemeColor18);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 73000 };

            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint5 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor19.Append(tint5);
            schemeColor19.Append(saturationModulation5);

            gradientStop5.Append(schemeColor19);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint6 = new A.Tint(){ Val = 83000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 143000 };

            schemeColor20.Append(tint6);
            schemeColor20.Append(saturationModulation6);

            gradientStop6.Append(schemeColor20);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 4800000, Scaled = true };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

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

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

            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 40000 };

            rgbColorModelHex2.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex2);

            effectList2.Append(outerShadow2);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties16.Append(outline2);
            defaultRunProperties16.Append(gradientFill2);
            defaultRunProperties16.Append(effectList2);
            defaultRunProperties16.Append(latinFont10);
            defaultRunProperties16.Append(eastAsianFont10);
            defaultRunProperties16.Append(complexScriptFont10);

            level1ParagraphProperties7.Append(spaceBefore1);
            level1ParagraphProperties7.Append(noBullet10);
            level1ParagraphProperties7.Append(defaultRunProperties16);

            titleStyle1.Append(level1ParagraphProperties7);

            BodyStyle bodyStyle1 = new BodyStyle();

            A.Level1ParagraphProperties level1ParagraphProperties8 = new A.Level1ParagraphProperties(){ LeftMargin = 548640, Indent = -411480, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore2 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore2.Append(spacingPercent2);

            A.BulletColor bulletColor1 = new A.BulletColor();

            A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade4 = new A.Shade(){ Val = 95000 };

            schemeColor21.Append(shade4);

            bulletColor1.Append(schemeColor21);
            A.BulletSizePercentage bulletSizePercentage1 = new A.BulletSizePercentage(){ Val = 65000 };
            A.BulletFont bulletFont1 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet1 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties17 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2800, Kerning = 1200 };

            A.SolidFill solidFill14 = new A.SolidFill();
            A.SchemeColor schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill14.Append(schemeColor22);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill14);
            defaultRunProperties17.Append(latinFont11);
            defaultRunProperties17.Append(eastAsianFont11);
            defaultRunProperties17.Append(complexScriptFont11);

            level1ParagraphProperties8.Append(spaceBefore2);
            level1ParagraphProperties8.Append(bulletColor1);
            level1ParagraphProperties8.Append(bulletSizePercentage1);
            level1ParagraphProperties8.Append(bulletFont1);
            level1ParagraphProperties8.Append(characterBullet1);
            level1ParagraphProperties8.Append(defaultRunProperties17);

            A.Level2ParagraphProperties level2ParagraphProperties3 = new A.Level2ParagraphProperties(){ LeftMargin = 868680, Indent = -283464, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore3 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore3.Append(spacingPercent3);

            A.BulletColor bulletColor2 = new A.BulletColor();
            A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor2.Append(schemeColor23);
            A.BulletSizePercentage bulletSizePercentage2 = new A.BulletSizePercentage(){ Val = 80000 };
            A.BulletFont bulletFont2 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet2 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties18 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2400, Kerning = 1200 };

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill15.Append(schemeColor24);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill15);
            defaultRunProperties18.Append(latinFont12);
            defaultRunProperties18.Append(eastAsianFont12);
            defaultRunProperties18.Append(complexScriptFont12);

            level2ParagraphProperties3.Append(spaceBefore3);
            level2ParagraphProperties3.Append(bulletColor2);
            level2ParagraphProperties3.Append(bulletSizePercentage2);
            level2ParagraphProperties3.Append(bulletFont2);
            level2ParagraphProperties3.Append(characterBullet2);
            level2ParagraphProperties3.Append(defaultRunProperties18);

            A.Level3ParagraphProperties level3ParagraphProperties3 = new A.Level3ParagraphProperties(){ LeftMargin = 1133856, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore4 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore4.Append(spacingPercent4);

            A.BulletColor bulletColor3 = new A.BulletColor();
            A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor3.Append(schemeColor25);
            A.BulletSizePercentage bulletSizePercentage3 = new A.BulletSizePercentage(){ Val = 95000 };
            A.BulletFont bulletFont3 = new A.BulletFont(){ Typeface = "Wingdings" };
            A.CharacterBullet characterBullet3 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties19 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2200, Kerning = 1200 };

            A.SolidFill solidFill16 = new A.SolidFill();
            A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill16.Append(schemeColor26);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill16);
            defaultRunProperties19.Append(latinFont13);
            defaultRunProperties19.Append(eastAsianFont13);
            defaultRunProperties19.Append(complexScriptFont13);

            level3ParagraphProperties3.Append(spaceBefore4);
            level3ParagraphProperties3.Append(bulletColor3);
            level3ParagraphProperties3.Append(bulletSizePercentage3);
            level3ParagraphProperties3.Append(bulletFont3);
            level3ParagraphProperties3.Append(characterBullet3);
            level3ParagraphProperties3.Append(defaultRunProperties19);

            A.Level4ParagraphProperties level4ParagraphProperties3 = new A.Level4ParagraphProperties(){ LeftMargin = 1353312, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore5 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore5.Append(spacingPercent5);

            A.BulletColor bulletColor4 = new A.BulletColor();
            A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor4.Append(schemeColor27);
            A.BulletSizePercentage bulletSizePercentage4 = new A.BulletSizePercentage(){ Val = 100000 };
            A.BulletFont bulletFont4 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet4 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties20 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill17.Append(schemeColor28);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties20.Append(solidFill17);
            defaultRunProperties20.Append(latinFont14);
            defaultRunProperties20.Append(eastAsianFont14);
            defaultRunProperties20.Append(complexScriptFont14);

            level4ParagraphProperties3.Append(spaceBefore5);
            level4ParagraphProperties3.Append(bulletColor4);
            level4ParagraphProperties3.Append(bulletSizePercentage4);
            level4ParagraphProperties3.Append(bulletFont4);
            level4ParagraphProperties3.Append(characterBullet4);
            level4ParagraphProperties3.Append(defaultRunProperties20);

            A.Level5ParagraphProperties level5ParagraphProperties3 = new A.Level5ParagraphProperties(){ LeftMargin = 1545336, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore6 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore6.Append(spacingPercent6);

            A.BulletColor bulletColor5 = new A.BulletColor();
            A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor5.Append(schemeColor29);
            A.BulletFont bulletFont5 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet5 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties21 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill18.Append(schemeColor30);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties21.Append(solidFill18);
            defaultRunProperties21.Append(latinFont15);
            defaultRunProperties21.Append(eastAsianFont15);
            defaultRunProperties21.Append(complexScriptFont15);

            level5ParagraphProperties3.Append(spaceBefore6);
            level5ParagraphProperties3.Append(bulletColor5);
            level5ParagraphProperties3.Append(bulletFont5);
            level5ParagraphProperties3.Append(characterBullet5);
            level5ParagraphProperties3.Append(defaultRunProperties21);

            A.Level6ParagraphProperties level6ParagraphProperties3 = new A.Level6ParagraphProperties(){ LeftMargin = 1764792, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore7 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore7.Append(spacingPercent7);

            A.BulletColor bulletColor6 = new A.BulletColor();
            A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor6.Append(schemeColor31);
            A.BulletFont bulletFont6 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet6 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties22 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill19 = new A.SolidFill();
            A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill19.Append(schemeColor32);
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties22.Append(solidFill19);
            defaultRunProperties22.Append(latinFont16);
            defaultRunProperties22.Append(eastAsianFont16);
            defaultRunProperties22.Append(complexScriptFont16);

            level6ParagraphProperties3.Append(spaceBefore7);
            level6ParagraphProperties3.Append(bulletColor6);
            level6ParagraphProperties3.Append(bulletFont6);
            level6ParagraphProperties3.Append(characterBullet6);
            level6ParagraphProperties3.Append(defaultRunProperties22);

            A.Level7ParagraphProperties level7ParagraphProperties3 = new A.Level7ParagraphProperties(){ LeftMargin = 1965960, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore8 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore8.Append(spacingPercent8);

            A.BulletColor bulletColor7 = new A.BulletColor();
            A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor7.Append(schemeColor33);
            A.BulletFont bulletFont7 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet7 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties23 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1600, Kerning = 1200 };

            A.SolidFill solidFill20 = new A.SolidFill();
            A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill20.Append(schemeColor34);
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties23.Append(solidFill20);
            defaultRunProperties23.Append(latinFont17);
            defaultRunProperties23.Append(eastAsianFont17);
            defaultRunProperties23.Append(complexScriptFont17);

            level7ParagraphProperties3.Append(spaceBefore8);
            level7ParagraphProperties3.Append(bulletColor7);
            level7ParagraphProperties3.Append(bulletFont7);
            level7ParagraphProperties3.Append(characterBullet7);
            level7ParagraphProperties3.Append(defaultRunProperties23);

            A.Level8ParagraphProperties level8ParagraphProperties3 = new A.Level8ParagraphProperties(){ LeftMargin = 2167128, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore9 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore9.Append(spacingPercent9);

            A.BulletColor bulletColor8 = new A.BulletColor();
            A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor8.Append(schemeColor35);
            A.BulletFont bulletFont8 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet8 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties24 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200 };

            A.SolidFill solidFill21 = new A.SolidFill();
            A.SchemeColor schemeColor36 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill21.Append(schemeColor36);
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties24.Append(solidFill21);
            defaultRunProperties24.Append(latinFont18);
            defaultRunProperties24.Append(eastAsianFont18);
            defaultRunProperties24.Append(complexScriptFont18);

            level8ParagraphProperties3.Append(spaceBefore9);
            level8ParagraphProperties3.Append(bulletColor8);
            level8ParagraphProperties3.Append(bulletFont8);
            level8ParagraphProperties3.Append(characterBullet8);
            level8ParagraphProperties3.Append(defaultRunProperties24);

            A.Level9ParagraphProperties level9ParagraphProperties3 = new A.Level9ParagraphProperties(){ LeftMargin = 2368296, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore10 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore10.Append(spacingPercent10);

            A.BulletColor bulletColor9 = new A.BulletColor();
            A.SchemeColor schemeColor37 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor9.Append(schemeColor37);
            A.BulletFont bulletFont9 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet9 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties25 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200, Baseline = 0 };

            A.SolidFill solidFill22 = new A.SolidFill();
            A.SchemeColor schemeColor38 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill22.Append(schemeColor38);
            A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties25.Append(solidFill22);
            defaultRunProperties25.Append(latinFont19);
            defaultRunProperties25.Append(eastAsianFont19);
            defaultRunProperties25.Append(complexScriptFont19);

            level9ParagraphProperties3.Append(spaceBefore10);
            level9ParagraphProperties3.Append(bulletColor9);
            level9ParagraphProperties3.Append(bulletFont9);
            level9ParagraphProperties3.Append(characterBullet9);
            level9ParagraphProperties3.Append(defaultRunProperties25);

            bodyStyle1.Append(level1ParagraphProperties8);
            bodyStyle1.Append(level2ParagraphProperties3);
            bodyStyle1.Append(level3ParagraphProperties3);
            bodyStyle1.Append(level4ParagraphProperties3);
            bodyStyle1.Append(level5ParagraphProperties3);
            bodyStyle1.Append(level6ParagraphProperties3);
            bodyStyle1.Append(level7ParagraphProperties3);
            bodyStyle1.Append(level8ParagraphProperties3);
            bodyStyle1.Append(level9ParagraphProperties3);

            OtherStyle otherStyle1 = new OtherStyle();

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties26 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill23 = new A.SolidFill();
            A.SchemeColor schemeColor39 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill23.Append(schemeColor39);
            A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties26.Append(solidFill23);
            defaultRunProperties26.Append(latinFont20);
            defaultRunProperties26.Append(eastAsianFont20);
            defaultRunProperties26.Append(complexScriptFont20);

            level1ParagraphProperties9.Append(defaultRunProperties26);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties27 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill24 = new A.SolidFill();
            A.SchemeColor schemeColor40 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill24.Append(schemeColor40);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties27.Append(solidFill24);
            defaultRunProperties27.Append(latinFont21);
            defaultRunProperties27.Append(eastAsianFont21);
            defaultRunProperties27.Append(complexScriptFont21);

            level2ParagraphProperties4.Append(defaultRunProperties27);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties28 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill25 = new A.SolidFill();
            A.SchemeColor schemeColor41 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill25.Append(schemeColor41);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties28.Append(solidFill25);
            defaultRunProperties28.Append(latinFont22);
            defaultRunProperties28.Append(eastAsianFont22);
            defaultRunProperties28.Append(complexScriptFont22);

            level3ParagraphProperties4.Append(defaultRunProperties28);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties29 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill26 = new A.SolidFill();
            A.SchemeColor schemeColor42 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill26.Append(schemeColor42);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties29.Append(solidFill26);
            defaultRunProperties29.Append(latinFont23);
            defaultRunProperties29.Append(eastAsianFont23);
            defaultRunProperties29.Append(complexScriptFont23);

            level4ParagraphProperties4.Append(defaultRunProperties29);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties30 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill27 = new A.SolidFill();
            A.SchemeColor schemeColor43 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill27.Append(schemeColor43);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties30.Append(solidFill27);
            defaultRunProperties30.Append(latinFont24);
            defaultRunProperties30.Append(eastAsianFont24);
            defaultRunProperties30.Append(complexScriptFont24);

            level5ParagraphProperties4.Append(defaultRunProperties30);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties31 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill28 = new A.SolidFill();
            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill28.Append(schemeColor44);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties31.Append(solidFill28);
            defaultRunProperties31.Append(latinFont25);
            defaultRunProperties31.Append(eastAsianFont25);
            defaultRunProperties31.Append(complexScriptFont25);

            level6ParagraphProperties4.Append(defaultRunProperties31);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill29 = new A.SolidFill();
            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill29.Append(schemeColor45);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties32.Append(solidFill29);
            defaultRunProperties32.Append(latinFont26);
            defaultRunProperties32.Append(eastAsianFont26);
            defaultRunProperties32.Append(complexScriptFont26);

            level7ParagraphProperties4.Append(defaultRunProperties32);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties33 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill30 = new A.SolidFill();
            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill30.Append(schemeColor46);
            A.LatinFont latinFont27 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties33.Append(solidFill30);
            defaultRunProperties33.Append(latinFont27);
            defaultRunProperties33.Append(eastAsianFont27);
            defaultRunProperties33.Append(complexScriptFont27);

            level8ParagraphProperties4.Append(defaultRunProperties33);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties34 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill31 = new A.SolidFill();
            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill31.Append(schemeColor47);
            A.LatinFont latinFont28 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties34.Append(solidFill31);
            defaultRunProperties34.Append(latinFont28);
            defaultRunProperties34.Append(eastAsianFont28);
            defaultRunProperties34.Append(complexScriptFont28);

            level9ParagraphProperties4.Append(defaultRunProperties34);

            otherStyle1.Append(level1ParagraphProperties9);
            otherStyle1.Append(level2ParagraphProperties4);
            otherStyle1.Append(level3ParagraphProperties4);
            otherStyle1.Append(level4ParagraphProperties4);
            otherStyle1.Append(level5ParagraphProperties4);
            otherStyle1.Append(level6ParagraphProperties4);
            otherStyle1.Append(level7ParagraphProperties4);
            otherStyle1.Append(level8ParagraphProperties4);
            otherStyle1.Append(level9ParagraphProperties4);

            textStyles1.Append(titleStyle1);
            textStyles1.Append(bodyStyle1);
            textStyles1.Append(otherStyle1);

            slideMaster1.Append(commonSlideData3);
            slideMaster1.Append(colorMap1);
            slideMaster1.Append(slideLayoutIdList1);
            slideMaster1.Append(textStyles1);

            slideMasterPart1.SlideMaster = slideMaster1;
        }