Exemple #1
0
        /// <summary>
        /// Creates ChartText which can be used to set a title on a chart.
        /// </summary>
        /// <param name="title">The text for the title</param>
        /// <returns>A <see cref="DrawingCharts.ChartText"/></returns>
        private static DrawingCharts.ChartText CreateChartText(string title)
        {
            var chartText = new DrawingCharts.ChartText();

            var richText       = new DrawingCharts.RichText();
            var bodyProperties = new Drawing.BodyProperties();
            var listStyle      = new Drawing.ListStyle();

            var paragraph = new Drawing.Paragraph();

            var paragraphProperties  = new Drawing.ParagraphProperties();
            var defaultRunProperties = new Drawing.DefaultRunProperties();

            paragraphProperties.Append(defaultRunProperties);

            var run           = new Drawing.Run();
            var runProperties = new Drawing.RunProperties()
            {
                Language = "en-US"
            };
            var text = new Drawing.Text(title);

            run.Append(runProperties);
            run.Append(text);

            paragraph.Append(paragraphProperties);
            paragraph.Append(run);

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

            chartText.Append(richText);
            return(chartText);
        }
        public static Document GenerateDocument()
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            DocumentBackground documentBackground1 = new DocumentBackground() { Color = "FF0000" };

            V.Background background1 = new V.Background() { Id = "_x0000_s1025", BlackWhiteMode = Ovml.BlackAndWhiteModeValues.GrayScale, TargetScreenSize = Ovml.ScreenSizeValues.Sz1024x768 };
            V.Fill fill1 = new V.Fill() { Type = V.FillTypeValues.Frame, Title = "Wedding_EnclosureCards", Recolor = true, Color = "FF0000" };

            background1.Append(fill1);

            documentBackground1.Append(background1);

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "005F6C39", RsidRunAdditionDefault = "005F6C39" };
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            paragraph1.Append(bookmarkStart1);
            paragraph1.Append(bookmarkEnd1);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidR = "005F6C39" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "720" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

            sectionProperties1.Append(pageSize1);
            sectionProperties1.Append(pageMargin1);
            sectionProperties1.Append(columns1);
            sectionProperties1.Append(docGrid1);

            body1.Append(paragraph1);
            body1.Append(sectionProperties1);

            document1.Append(documentBackground1);
            document1.Append(body1);
            return document1;
        }
Exemple #3
0
        public static a.Paragraph AddText(this a.Paragraph paragraph, string text, Font font = null, Color?fontColor = null)
        {
            var run = new a.Run().Init(text, font, fontColor);

            paragraph.Append(run);
            return(paragraph);
        }
Exemple #4
0
        public static a.Paragraph SetText(this a.Paragraph paragraph, string text, Font font = null, Color?fontColor = null)
        {
            paragraph.RemoveAllChildren <a.Run>();
            var run = new a.Run().Init(text, font, fontColor);

            paragraph.Append(run);
            return(paragraph);
        }
Exemple #5
0
        /// <summary>
        /// Create table cell with the below order:
        /// a:tc(TableCell)->a:txbody(TextBody)->a:p(Paragraph)->a:r(Run)->a:t(Text)
        /// </summary>
        /// <param name="text">Inserted Text in Cell</param>
        /// <returns>Return TableCell object</returns>
        private static A.TableCell CreateTextCell(string text)
        {
            if (string.IsNullOrEmpty(text))
            {
                text = string.Empty;
            }

            // Declare and instantiate the table cell
            // Create table cell with the below order:
            // a:tc(TableCell)->a:txbody(TextBody)->a:p(Paragraph)->a:r(Run)->a:t(Text)
            A.TableCell tableCell = new A.TableCell();

            //  Declare and instantiate the text body
            A.TextBody       textBody       = new A.TextBody();
            A.BodyProperties bodyProperties = new A.BodyProperties();
            A.ListStyle      listStyle      = new A.ListStyle();

            A.Paragraph     paragraph     = new A.Paragraph();
            A.Run           run           = new A.Run();
            A.RunProperties runProperties = new A.RunProperties()
            {
                Language = "en-US", Dirty = false, SmartTagClean = false
            };
            A.Text text2 = new A.Text();
            text2.Text = text;
            run.Append(runProperties);
            run.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

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

            A.TableCellProperties tableCellProperties = new A.TableCellProperties();
            tableCell.Append(textBody);
            tableCell.Append(tableCellProperties);

            return(tableCell);
        }
        /// <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);
        }
        public static a.Paragraph SetFont(this a.Paragraph paragraph, Font font, Color?fontColor)
        {
            var runs      = paragraph.Descendants <a.Run>();
            var runsCount = 0;

            foreach (var run in runs)
            {
                run.SetFont(font, fontColor);
                runsCount++;
            }
            if (runsCount == 0)
            {
                var r = new a.Run().Init("", font, fontColor);
                paragraph.Append(r);
            }
            return(paragraph);
        }
        // Generates content of slideLayoutPart4.
        private void GenerateSlideLayoutPart4Content(SlideLayoutPart slideLayoutPart4)
        {
            SlideLayout slideLayout4 = new SlideLayout(){ Type = SlideLayoutValues.Blank, Preserve = true };
            slideLayout4.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout4.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData7 = new CommonSlideData(){ Name = "Blank" };

            ShapeTree shapeTree7 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties7 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties34 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties7 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties34 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties7.Append(nonVisualDrawingProperties34);
            nonVisualGroupShapeProperties7.Append(nonVisualGroupShapeDrawingProperties7);
            nonVisualGroupShapeProperties7.Append(applicationNonVisualDrawingProperties34);

            GroupShapeProperties groupShapeProperties7 = new GroupShapeProperties();

            A.TransformGroup transformGroup7 = new A.TransformGroup();
            A.Offset offset25 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents25 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset7 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents7 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup7.Append(offset25);
            transformGroup7.Append(extents25);
            transformGroup7.Append(childOffset7);
            transformGroup7.Append(childExtents7);

            groupShapeProperties7.Append(transformGroup7);

            Shape shape28 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties28 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties35 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Date Placeholder 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties28 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks27 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties28.Append(shapeLocks27);

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

            applicationNonVisualDrawingProperties35.Append(placeholderShape27);

            nonVisualShapeProperties28.Append(nonVisualDrawingProperties35);
            nonVisualShapeProperties28.Append(nonVisualShapeDrawingProperties28);
            nonVisualShapeProperties28.Append(applicationNonVisualDrawingProperties35);
            ShapeProperties shapeProperties28 = new ShapeProperties();

            TextBody textBody28 = new TextBody();
            A.BodyProperties bodyProperties28 = new A.BodyProperties();
            A.ListStyle listStyle28 = new A.ListStyle();

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

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

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

            field10.Append(runProperties43);
            field10.Append(text43);
            A.EndParagraphRunProperties endParagraphRunProperties27 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph49.Append(field10);
            paragraph49.Append(endParagraphRunProperties27);

            textBody28.Append(bodyProperties28);
            textBody28.Append(listStyle28);
            textBody28.Append(paragraph49);

            shape28.Append(nonVisualShapeProperties28);
            shape28.Append(shapeProperties28);
            shape28.Append(textBody28);

            Shape shape29 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties29 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties36 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Footer Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties29 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks28 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties29.Append(shapeLocks28);

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

            applicationNonVisualDrawingProperties36.Append(placeholderShape28);

            nonVisualShapeProperties29.Append(nonVisualDrawingProperties36);
            nonVisualShapeProperties29.Append(nonVisualShapeDrawingProperties29);
            nonVisualShapeProperties29.Append(applicationNonVisualDrawingProperties36);
            ShapeProperties shapeProperties29 = new ShapeProperties();

            TextBody textBody29 = new TextBody();
            A.BodyProperties bodyProperties29 = new A.BodyProperties();
            A.ListStyle listStyle29 = new A.ListStyle();

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

            paragraph50.Append(endParagraphRunProperties28);

            textBody29.Append(bodyProperties29);
            textBody29.Append(listStyle29);
            textBody29.Append(paragraph50);

            shape29.Append(nonVisualShapeProperties29);
            shape29.Append(shapeProperties29);
            shape29.Append(textBody29);

            Shape shape30 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties30 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties37 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Slide Number Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties30 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks29 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties30.Append(shapeLocks29);

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

            applicationNonVisualDrawingProperties37.Append(placeholderShape29);

            nonVisualShapeProperties30.Append(nonVisualDrawingProperties37);
            nonVisualShapeProperties30.Append(nonVisualShapeDrawingProperties30);
            nonVisualShapeProperties30.Append(applicationNonVisualDrawingProperties37);
            ShapeProperties shapeProperties30 = new ShapeProperties();

            TextBody textBody30 = new TextBody();
            A.BodyProperties bodyProperties30 = new A.BodyProperties();
            A.ListStyle listStyle30 = new A.ListStyle();

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

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

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

            field11.Append(runProperties44);
            field11.Append(text44);
            A.EndParagraphRunProperties endParagraphRunProperties29 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph51.Append(field11);
            paragraph51.Append(endParagraphRunProperties29);

            textBody30.Append(bodyProperties30);
            textBody30.Append(listStyle30);
            textBody30.Append(paragraph51);

            shape30.Append(nonVisualShapeProperties30);
            shape30.Append(shapeProperties30);
            shape30.Append(textBody30);

            shapeTree7.Append(nonVisualGroupShapeProperties7);
            shapeTree7.Append(groupShapeProperties7);
            shapeTree7.Append(shape28);
            shapeTree7.Append(shape29);
            shapeTree7.Append(shape30);

            commonSlideData7.Append(shapeTree7);

            ColorMapOverride colorMapOverride5 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping5 = new A.MasterColorMapping();

            colorMapOverride5.Append(masterColorMapping5);

            slideLayout4.Append(commonSlideData7);
            slideLayout4.Append(colorMapOverride5);

            slideLayoutPart4.SlideLayout = slideLayout4;
        }
        // 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 commonSlideData6 = new CommonSlideData(){ Name = "Section Header" };

            ShapeTree shapeTree6 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties6 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties28 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties6 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties28 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties6.Append(nonVisualDrawingProperties28);
            nonVisualGroupShapeProperties6.Append(nonVisualGroupShapeDrawingProperties6);
            nonVisualGroupShapeProperties6.Append(applicationNonVisualDrawingProperties28);

            GroupShapeProperties groupShapeProperties6 = new GroupShapeProperties();

            A.TransformGroup transformGroup6 = 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 childOffset6 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents6 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup6.Append(offset22);
            transformGroup6.Append(extents22);
            transformGroup6.Append(childOffset6);
            transformGroup6.Append(childExtents6);

            groupShapeProperties6.Append(transformGroup6);

            Shape shape23 = new Shape();

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

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

            nonVisualShapeDrawingProperties23.Append(shapeLocks22);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties29 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape22 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties29.Append(placeholderShape22);

            nonVisualShapeProperties23.Append(nonVisualDrawingProperties29);
            nonVisualShapeProperties23.Append(nonVisualShapeDrawingProperties23);
            nonVisualShapeProperties23.Append(applicationNonVisualDrawingProperties29);

            ShapeProperties shapeProperties23 = new ShapeProperties();

            A.Transform2D transform2D17 = new A.Transform2D();
            A.Offset offset23 = new A.Offset(){ X = 722313L, Y = 4406900L };
            A.Extents extents23 = new A.Extents(){ Cx = 7772400L, Cy = 1362075L };

            transform2D17.Append(offset23);
            transform2D17.Append(extents23);

            shapeProperties23.Append(transform2D17);

            TextBody textBody23 = new TextBody();
            A.BodyProperties bodyProperties23 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };

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

            A.Level1ParagraphProperties level1ParagraphProperties16 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties74 = new A.DefaultRunProperties(){ FontSize = 4000, Bold = true, Capital = A.TextCapsValues.All };

            level1ParagraphProperties16.Append(defaultRunProperties74);

            listStyle23.Append(level1ParagraphProperties16);

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

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

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

            run32.Append(runProperties39);
            run32.Append(text39);
            A.EndParagraphRunProperties endParagraphRunProperties23 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph44.Append(run32);
            paragraph44.Append(endParagraphRunProperties23);

            textBody23.Append(bodyProperties23);
            textBody23.Append(listStyle23);
            textBody23.Append(paragraph44);

            shape23.Append(nonVisualShapeProperties23);
            shape23.Append(shapeProperties23);
            shape23.Append(textBody23);

            Shape shape24 = new Shape();

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

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

            nonVisualShapeDrawingProperties24.Append(shapeLocks23);

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

            applicationNonVisualDrawingProperties30.Append(placeholderShape23);

            nonVisualShapeProperties24.Append(nonVisualDrawingProperties30);
            nonVisualShapeProperties24.Append(nonVisualShapeDrawingProperties24);
            nonVisualShapeProperties24.Append(applicationNonVisualDrawingProperties30);

            ShapeProperties shapeProperties24 = new ShapeProperties();

            A.Transform2D transform2D18 = new A.Transform2D();
            A.Offset offset24 = new A.Offset(){ X = 722313L, Y = 2906714L };
            A.Extents extents24 = new A.Extents(){ Cx = 7772400L, Cy = 1500187L };

            transform2D18.Append(offset24);
            transform2D18.Append(extents24);

            shapeProperties24.Append(transform2D18);

            TextBody textBody24 = new TextBody();
            A.BodyProperties bodyProperties24 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties17 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet20 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor68 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint19 = new A.Tint(){ Val = 75000 };

            schemeColor68.Append(tint19);

            solidFill56.Append(schemeColor68);

            defaultRunProperties75.Append(solidFill56);

            level1ParagraphProperties17.Append(noBullet20);
            level1ParagraphProperties17.Append(defaultRunProperties75);

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

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

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

            A.SchemeColor schemeColor69 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint20 = new A.Tint(){ Val = 75000 };

            schemeColor69.Append(tint20);

            solidFill57.Append(schemeColor69);

            defaultRunProperties76.Append(solidFill57);

            level2ParagraphProperties8.Append(noBullet21);
            level2ParagraphProperties8.Append(defaultRunProperties76);

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

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

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

            A.SchemeColor schemeColor70 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint21 = new A.Tint(){ Val = 75000 };

            schemeColor70.Append(tint21);

            solidFill58.Append(schemeColor70);

            defaultRunProperties77.Append(solidFill58);

            level3ParagraphProperties8.Append(noBullet22);
            level3ParagraphProperties8.Append(defaultRunProperties77);

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

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

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

            A.SchemeColor schemeColor71 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint22 = new A.Tint(){ Val = 75000 };

            schemeColor71.Append(tint22);

            solidFill59.Append(schemeColor71);

            defaultRunProperties78.Append(solidFill59);

            level4ParagraphProperties8.Append(noBullet23);
            level4ParagraphProperties8.Append(defaultRunProperties78);

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

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

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

            A.SchemeColor schemeColor72 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint23 = new A.Tint(){ Val = 75000 };

            schemeColor72.Append(tint23);

            solidFill60.Append(schemeColor72);

            defaultRunProperties79.Append(solidFill60);

            level5ParagraphProperties8.Append(noBullet24);
            level5ParagraphProperties8.Append(defaultRunProperties79);

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

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

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

            A.SchemeColor schemeColor73 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint24 = new A.Tint(){ Val = 75000 };

            schemeColor73.Append(tint24);

            solidFill61.Append(schemeColor73);

            defaultRunProperties80.Append(solidFill61);

            level6ParagraphProperties8.Append(noBullet25);
            level6ParagraphProperties8.Append(defaultRunProperties80);

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

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

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

            A.SchemeColor schemeColor74 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint25 = new A.Tint(){ Val = 75000 };

            schemeColor74.Append(tint25);

            solidFill62.Append(schemeColor74);

            defaultRunProperties81.Append(solidFill62);

            level7ParagraphProperties8.Append(noBullet26);
            level7ParagraphProperties8.Append(defaultRunProperties81);

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

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

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

            A.SchemeColor schemeColor75 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint26 = new A.Tint(){ Val = 75000 };

            schemeColor75.Append(tint26);

            solidFill63.Append(schemeColor75);

            defaultRunProperties82.Append(solidFill63);

            level8ParagraphProperties8.Append(noBullet27);
            level8ParagraphProperties8.Append(defaultRunProperties82);

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

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

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

            A.SchemeColor schemeColor76 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint27 = new A.Tint(){ Val = 75000 };

            schemeColor76.Append(tint27);

            solidFill64.Append(schemeColor76);

            defaultRunProperties83.Append(solidFill64);

            level9ParagraphProperties8.Append(noBullet28);
            level9ParagraphProperties8.Append(defaultRunProperties83);

            listStyle24.Append(level1ParagraphProperties17);
            listStyle24.Append(level2ParagraphProperties8);
            listStyle24.Append(level3ParagraphProperties8);
            listStyle24.Append(level4ParagraphProperties8);
            listStyle24.Append(level5ParagraphProperties8);
            listStyle24.Append(level6ParagraphProperties8);
            listStyle24.Append(level7ParagraphProperties8);
            listStyle24.Append(level8ParagraphProperties8);
            listStyle24.Append(level9ParagraphProperties8);

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

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

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

            run33.Append(runProperties40);
            run33.Append(text40);

            paragraph45.Append(paragraphProperties25);
            paragraph45.Append(run33);

            textBody24.Append(bodyProperties24);
            textBody24.Append(listStyle24);
            textBody24.Append(paragraph45);

            shape24.Append(nonVisualShapeProperties24);
            shape24.Append(shapeProperties24);
            shape24.Append(textBody24);

            Shape shape25 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties25 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks24 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties25.Append(shapeLocks24);

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

            applicationNonVisualDrawingProperties31.Append(placeholderShape24);

            nonVisualShapeProperties25.Append(nonVisualDrawingProperties31);
            nonVisualShapeProperties25.Append(nonVisualShapeDrawingProperties25);
            nonVisualShapeProperties25.Append(applicationNonVisualDrawingProperties31);
            ShapeProperties shapeProperties25 = new ShapeProperties();

            TextBody textBody25 = new TextBody();
            A.BodyProperties bodyProperties25 = new A.BodyProperties();
            A.ListStyle listStyle25 = new A.ListStyle();

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

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

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

            field8.Append(runProperties41);
            field8.Append(text41);
            A.EndParagraphRunProperties endParagraphRunProperties24 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph46.Append(field8);
            paragraph46.Append(endParagraphRunProperties24);

            textBody25.Append(bodyProperties25);
            textBody25.Append(listStyle25);
            textBody25.Append(paragraph46);

            shape25.Append(nonVisualShapeProperties25);
            shape25.Append(shapeProperties25);
            shape25.Append(textBody25);

            Shape shape26 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties26 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks25 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties26.Append(shapeLocks25);

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

            applicationNonVisualDrawingProperties32.Append(placeholderShape25);

            nonVisualShapeProperties26.Append(nonVisualDrawingProperties32);
            nonVisualShapeProperties26.Append(nonVisualShapeDrawingProperties26);
            nonVisualShapeProperties26.Append(applicationNonVisualDrawingProperties32);
            ShapeProperties shapeProperties26 = new ShapeProperties();

            TextBody textBody26 = new TextBody();
            A.BodyProperties bodyProperties26 = new A.BodyProperties();
            A.ListStyle listStyle26 = new A.ListStyle();

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

            paragraph47.Append(endParagraphRunProperties25);

            textBody26.Append(bodyProperties26);
            textBody26.Append(listStyle26);
            textBody26.Append(paragraph47);

            shape26.Append(nonVisualShapeProperties26);
            shape26.Append(shapeProperties26);
            shape26.Append(textBody26);

            Shape shape27 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties27 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks26 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties27.Append(shapeLocks26);

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

            applicationNonVisualDrawingProperties33.Append(placeholderShape26);

            nonVisualShapeProperties27.Append(nonVisualDrawingProperties33);
            nonVisualShapeProperties27.Append(nonVisualShapeDrawingProperties27);
            nonVisualShapeProperties27.Append(applicationNonVisualDrawingProperties33);
            ShapeProperties shapeProperties27 = new ShapeProperties();

            TextBody textBody27 = new TextBody();
            A.BodyProperties bodyProperties27 = new A.BodyProperties();
            A.ListStyle listStyle27 = new A.ListStyle();

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

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

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

            field9.Append(runProperties42);
            field9.Append(text42);
            A.EndParagraphRunProperties endParagraphRunProperties26 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph48.Append(field9);
            paragraph48.Append(endParagraphRunProperties26);

            textBody27.Append(bodyProperties27);
            textBody27.Append(listStyle27);
            textBody27.Append(paragraph48);

            shape27.Append(nonVisualShapeProperties27);
            shape27.Append(shapeProperties27);
            shape27.Append(textBody27);

            shapeTree6.Append(nonVisualGroupShapeProperties6);
            shapeTree6.Append(groupShapeProperties6);
            shapeTree6.Append(shape23);
            shapeTree6.Append(shape24);
            shapeTree6.Append(shape25);
            shapeTree6.Append(shape26);
            shapeTree6.Append(shape27);

            commonSlideData6.Append(shapeTree6);

            ColorMapOverride colorMapOverride4 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping4 = new A.MasterColorMapping();

            colorMapOverride4.Append(masterColorMapping4);

            slideLayout3.Append(commonSlideData6);
            slideLayout3.Append(colorMapOverride4);

            slideLayoutPart3.SlideLayout = slideLayout3;
        }
        // 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 slidePart1.
        private void GenerateSlidePart1Content(SlidePart slidePart1)
        {
            Slide slide1 = new Slide();
            slide1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slide1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slide1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData2 = new CommonSlideData();

            ShapeTree shapeTree2 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties2 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties7 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties2 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties7 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties2.Append(nonVisualDrawingProperties7);
            nonVisualGroupShapeProperties2.Append(nonVisualGroupShapeDrawingProperties2);
            nonVisualGroupShapeProperties2.Append(applicationNonVisualDrawingProperties7);

            GroupShapeProperties groupShapeProperties2 = new GroupShapeProperties();

            A.TransformGroup transformGroup2 = new A.TransformGroup();
            A.Offset offset7 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents7 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset2 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents2 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup2.Append(offset7);
            transformGroup2.Append(extents7);
            transformGroup2.Append(childOffset2);
            transformGroup2.Append(childExtents2);

            groupShapeProperties2.Append(transformGroup2);

            Shape shape6 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties6 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties8 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "TextBox 3" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties6 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties8 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties6.Append(nonVisualDrawingProperties8);
            nonVisualShapeProperties6.Append(nonVisualShapeDrawingProperties6);
            nonVisualShapeProperties6.Append(applicationNonVisualDrawingProperties8);

            ShapeProperties shapeProperties6 = new ShapeProperties();

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset8 = new A.Offset(){ X = 1905000L, Y = 1295400L };
            A.Extents extents8 = new A.Extents(){ Cx = 6172200L, Cy = 2862322L };

            transform2D6.Append(offset8);
            transform2D6.Append(extents8);

            A.PresetGeometry presetGeometry6 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList6 = new A.AdjustValueList();

            presetGeometry6.Append(adjustValueList6);
            A.NoFill noFill2 = new A.NoFill();

            shapeProperties6.Append(transform2D6);
            shapeProperties6.Append(presetGeometry6);
            shapeProperties6.Append(noFill2);

            TextBody textBody6 = new TextBody();

            A.BodyProperties bodyProperties6 = new A.BodyProperties(){ Wrap = A.TextWrappingValues.Square, RightToLeftColumns = false };
            A.ShapeAutoFit shapeAutoFit1 = new A.ShapeAutoFit();

            bodyProperties6.Append(shapeAutoFit1);
            A.ListStyle listStyle6 = new A.ListStyle();

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

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

            A.RunProperties runProperties10 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties10.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text10 = new A.Text();
            text10.Text = "Changes made to the Notes Master:";

            run9.Append(runProperties10);
            run9.Append(text10);

            paragraph10.Append(run9);

            A.Paragraph paragraph11 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties6 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph11.Append(endParagraphRunProperties6);

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

            A.ParagraphProperties paragraphProperties6 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet1 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties6.Append(autoNumberedBullet1);

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

            A.RunProperties runProperties11 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties11.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text11 = new A.Text();
            text11.Text = "Added text to Header";

            run10.Append(runProperties11);
            run10.Append(text11);

            paragraph12.Append(paragraphProperties6);
            paragraph12.Append(run10);

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

            A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet2 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties7.Append(autoNumberedBullet2);

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

            A.RunProperties runProperties12 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties12.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text12 = new A.Text();
            text12.Text = "Added text to Footer";

            run11.Append(runProperties12);
            run11.Append(text12);

            paragraph13.Append(paragraphProperties7);
            paragraph13.Append(run11);

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

            A.ParagraphProperties paragraphProperties8 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet3 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties8.Append(autoNumberedBullet3);

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

            A.RunProperties runProperties13 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties13.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text13 = new A.Text();
            text13.Text = "Changed Font scheme to Verve";

            run12.Append(runProperties13);
            run12.Append(text13);

            paragraph14.Append(paragraphProperties8);
            paragraph14.Append(run12);

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

            A.ParagraphProperties paragraphProperties9 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet4 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties9.Append(autoNumberedBullet4);

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

            A.RunProperties runProperties14 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties14.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text14 = new A.Text();
            text14.Text = "Added Background Style";

            run13.Append(runProperties14);
            run13.Append(text14);

            paragraph15.Append(paragraphProperties9);
            paragraph15.Append(run13);

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

            A.ParagraphProperties paragraphProperties10 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet5 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties10.Append(autoNumberedBullet5);

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

            A.RunProperties runProperties15 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties15.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text15 = new A.Text();
            text15.Text = "Changed Notes page orientation to Landscape";

            run14.Append(runProperties15);
            run14.Append(text15);

            paragraph16.Append(paragraphProperties10);
            paragraph16.Append(run14);

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

            A.ParagraphProperties paragraphProperties11 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet6 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties11.Append(autoNumberedBullet6);

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

            A.RunProperties runProperties16 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties16.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text16 = new A.Text();
            text16.Text = "Changed Color scheme to Oriel";

            run15.Append(runProperties16);
            run15.Append(text16);

            paragraph17.Append(paragraphProperties11);
            paragraph17.Append(run15);

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

            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet7 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties12.Append(autoNumberedBullet7);

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

            A.RunProperties runProperties17 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties17.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text17 = new A.Text();
            text17.Text = "Removed Page Number";

            run16.Append(runProperties17);
            run16.Append(text17);

            paragraph18.Append(paragraphProperties12);
            paragraph18.Append(run16);

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

            A.ParagraphProperties paragraphProperties13 = new A.ParagraphProperties(){ LeftMargin = 342900, Indent = -342900 };
            A.AutoNumberedBullet autoNumberedBullet8 = new A.AutoNumberedBullet(){ Type = A.TextAutoNumberSchemeValues.ArabicParenR };

            paragraphProperties13.Append(autoNumberedBullet8);
            A.EndParagraphRunProperties endParagraphRunProperties7 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph19.Append(paragraphProperties13);
            paragraph19.Append(endParagraphRunProperties7);

            textBody6.Append(bodyProperties6);
            textBody6.Append(listStyle6);
            textBody6.Append(paragraph10);
            textBody6.Append(paragraph11);
            textBody6.Append(paragraph12);
            textBody6.Append(paragraph13);
            textBody6.Append(paragraph14);
            textBody6.Append(paragraph15);
            textBody6.Append(paragraph16);
            textBody6.Append(paragraph17);
            textBody6.Append(paragraph18);
            textBody6.Append(paragraph19);

            shape6.Append(nonVisualShapeProperties6);
            shape6.Append(shapeProperties6);
            shape6.Append(textBody6);

            shapeTree2.Append(nonVisualGroupShapeProperties2);
            shapeTree2.Append(groupShapeProperties2);
            shapeTree2.Append(shape6);

            commonSlideData2.Append(shapeTree2);

            ColorMapOverride colorMapOverride1 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping1 = new A.MasterColorMapping();

            colorMapOverride1.Append(masterColorMapping1);

            slide1.Append(commonSlideData2);
            slide1.Append(colorMapOverride1);

            slidePart1.Slide = slide1;
        }
Exemple #12
0
        internal C.DateAxis ToDateAxis(bool IsStylish = false)
        {
            var da = new C.DateAxis();

            da.AxisId = new C.AxisId {
                Val = AxisId
            };

            da.Scaling             = new C.Scaling();
            da.Scaling.Orientation = new C.Orientation {
                Val = Orientation
            };
            if (LogBase != null)
            {
                da.Scaling.LogBase = new C.LogBase {
                    Val = LogBase.Value
                }
            }
            ;
            if (MaxAxisValue != null)
            {
                da.Scaling.MaxAxisValue = new C.MaxAxisValue {
                    Val = MaxAxisValue.Value
                }
            }
            ;
            if (MinAxisValue != null)
            {
                da.Scaling.MinAxisValue = new C.MinAxisValue {
                    Val = MinAxisValue.Value
                }
            }
            ;

            da.Delete = new C.Delete {
                Val = Delete
            };

            var axpos = AxisPosition;

            if (!ForceAxisPosition)
            {
                if (OtherAxisIsInReverseOrder)
                {
                    axpos = SLChartTool.GetOppositePosition(axpos);
                }
                if (OtherAxisCrossedAtMaximum)
                {
                    axpos = SLChartTool.GetOppositePosition(axpos);
                }
            }
            da.AxisPosition = new C.AxisPosition {
                Val = axpos
            };

            if (ShowMajorGridlines)
            {
                da.MajorGridlines = MajorGridlines.ToMajorGridlines(IsStylish);
            }

            if (ShowMinorGridlines)
            {
                da.MinorGridlines = MinorGridlines.ToMinorGridlines(IsStylish);
            }

            if (ShowTitle)
            {
                da.Title = Title.ToTitle(IsStylish);
            }

            if (HasNumberingFormat)
            {
                da.NumberingFormat = new C.NumberingFormat
                {
                    FormatCode   = FormatCode,
                    SourceLinked = SourceLinked
                }
            }
            ;

            da.MajorTickMark = new C.MajorTickMark {
                Val = MajorTickMark
            };
            da.MinorTickMark = new C.MinorTickMark {
                Val = MinorTickMark
            };
            da.TickLabelPosition = new C.TickLabelPosition {
                Val = TickLabelPosition
            };

            if (ShapeProperties.HasShapeProperties)
            {
                da.ChartShapeProperties = ShapeProperties.ToChartShapeProperties(IsStylish);
            }

            if ((Rotation != null) || (Vertical != null) || (Anchor != null) || (AnchorCenter != null))
            {
                da.TextProperties = new C.TextProperties();
                da.TextProperties.BodyProperties = new A.BodyProperties();
                if (Rotation != null)
                {
                    da.TextProperties.BodyProperties.Rotation =
                        (int)(Rotation.Value * SLConstants.DegreeToAngleRepresentation);
                }
                if (Vertical != null)
                {
                    da.TextProperties.BodyProperties.Vertical = Vertical.Value;
                }
                if (Anchor != null)
                {
                    da.TextProperties.BodyProperties.Anchor = Anchor.Value;
                }
                if (AnchorCenter != null)
                {
                    da.TextProperties.BodyProperties.AnchorCenter = AnchorCenter.Value;
                }

                da.TextProperties.ListStyle = new A.ListStyle();

                var para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();
                para.ParagraphProperties.Append(new A.DefaultRunProperties());
                da.TextProperties.Append(para);
            }
            else if (IsStylish)
            {
                da.TextProperties = new C.TextProperties();
                da.TextProperties.BodyProperties = 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
                };
                da.TextProperties.ListStyle = new A.ListStyle();

                var para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();

                var defrunprops = new A.DefaultRunProperties();
                defrunprops.FontSize  = 900;
                defrunprops.Bold      = false;
                defrunprops.Italic    = false;
                defrunprops.Underline = A.TextUnderlineValues.None;
                defrunprops.Strike    = A.TextStrikeValues.NoStrike;
                defrunprops.Kerning   = 1200;
                defrunprops.Baseline  = 0;

                var schclr = new A.SchemeColor {
                    Val = A.SchemeColorValues.Text1
                };
                schclr.Append(new A.LuminanceModulation {
                    Val = 65000
                });
                schclr.Append(new A.LuminanceOffset {
                    Val = 35000
                });
                defrunprops.Append(new A.SolidFill
                {
                    SchemeColor = schclr
                });

                defrunprops.Append(new A.LatinFont {
                    Typeface = "+mn-lt"
                });
                defrunprops.Append(new A.EastAsianFont {
                    Typeface = "+mn-ea"
                });
                defrunprops.Append(new A.ComplexScriptFont {
                    Typeface = "+mn-cs"
                });

                para.ParagraphProperties.Append(defrunprops);
                para.Append(new A.EndParagraphRunProperties {
                    Language = CultureInfo.CurrentCulture.Name
                });

                da.TextProperties.Append(para);
            }

            da.CrossingAxis = new C.CrossingAxis {
                Val = CrossingAxis
            };

            if (IsCrosses != null)
            {
                if (IsCrosses.Value)
                {
                    da.Append(new C.Crosses {
                        Val = Crosses
                    });
                }
                else
                {
                    da.Append(new C.CrossesAt {
                        Val = CrossesAt
                    });
                }
            }

            da.Append(new C.AutoLabeled {
                Val = AutoLabeled
            });
            da.Append(new C.LabelOffset {
                Val = LabelOffset
            });

            if (BaseUnit != null)
            {
                da.Append(new C.BaseTimeUnit {
                    Val = BaseUnit.Value
                });
            }

            if (iMajorUnit != null)
            {
                da.Append(new C.MajorUnit {
                    Val = iMajorUnit.Value
                });
                da.Append(new C.MajorTimeUnit {
                    Val = vMajorTimeUnit
                });
            }

            if (iMinorUnit != null)
            {
                da.Append(new C.MinorUnit {
                    Val = iMinorUnit.Value
                });
                da.Append(new C.MinorTimeUnit {
                    Val = vMinorTimeUnit
                });
            }

            return(da);
        }
        internal C.DataTable ToDataTable(bool IsStylish = false)
        {
            C.DataTable dt = new C.DataTable();

            if (this.ShowHorizontalBorder) dt.ShowHorizontalBorder = new C.ShowHorizontalBorder() { Val = true };
            if (this.ShowVerticalBorder) dt.ShowVerticalBorder = new C.ShowVerticalBorder() { Val = true };
            if (this.ShowOutlineBorder) dt.ShowOutlineBorder = new C.ShowOutlineBorder() { Val = true };
            if (this.ShowLegendKeys) dt.ShowKeys = new C.ShowKeys() { Val = true };

            if (this.ShapeProperties.HasShapeProperties) dt.ChartShapeProperties = this.ShapeProperties.ToChartShapeProperties(IsStylish);

            if (this.Font != null)
            {
                dt.TextProperties = new C.TextProperties();
                dt.TextProperties.BodyProperties = new A.BodyProperties();
                dt.TextProperties.ListStyle = new A.ListStyle();

                dt.TextProperties.Append(this.Font.ToParagraph());
            }
            else if (IsStylish)
            {
                dt.TextProperties = new C.TextProperties();
                dt.TextProperties.BodyProperties = 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
                };
                dt.TextProperties.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();

                A.DefaultRunProperties defrunprops = new A.DefaultRunProperties();
                defrunprops.FontSize = 900;
                defrunprops.Bold = false;
                defrunprops.Italic = false;
                defrunprops.Underline = A.TextUnderlineValues.None;
                defrunprops.Strike = A.TextStrikeValues.NoStrike;
                defrunprops.Kerning = 1200;
                defrunprops.Baseline = 0;

                A.SchemeColor schclr = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
                schclr.Append(new A.LuminanceModulation() { Val = 65000 });
                schclr.Append(new A.LuminanceOffset() { Val = 35000 });
                defrunprops.Append(new A.SolidFill()
                {
                    SchemeColor = schclr
                });

                defrunprops.Append(new A.LatinFont() { Typeface = "+mn-lt" });
                defrunprops.Append(new A.EastAsianFont() { Typeface = "+mn-ea" });
                defrunprops.Append(new A.ComplexScriptFont() { Typeface = "+mn-cs" });

                para.ParagraphProperties.Append(defrunprops);
                para.Append(new A.EndParagraphRunProperties() { Language = System.Globalization.CultureInfo.CurrentCulture.Name });

                dt.TextProperties.Append(para);
            }

            return dt;
        }
        // Generates content of slideLayoutPart6.
        private void GenerateSlideLayoutPart6Content(SlideLayoutPart slideLayoutPart6)
        {
            SlideLayout slideLayout6 = new SlideLayout(){ Type = SlideLayoutValues.TitleOnly, 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 commonSlideData9 = new CommonSlideData(){ Name = "Title Only" };

            ShapeTree shapeTree9 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties9 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties44 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties9 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties44 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties9.Append(nonVisualDrawingProperties44);
            nonVisualGroupShapeProperties9.Append(nonVisualGroupShapeDrawingProperties9);
            nonVisualGroupShapeProperties9.Append(applicationNonVisualDrawingProperties44);

            GroupShapeProperties groupShapeProperties9 = new GroupShapeProperties();

            A.TransformGroup transformGroup9 = new A.TransformGroup();
            A.Offset offset27 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents27 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset9 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents9 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup9.Append(offset27);
            transformGroup9.Append(extents27);
            transformGroup9.Append(childOffset9);
            transformGroup9.Append(childExtents9);

            groupShapeProperties9.Append(transformGroup9);

            Shape shape36 = new Shape();

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

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

            nonVisualShapeDrawingProperties36.Append(shapeLocks35);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties45 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape35 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties45.Append(placeholderShape35);

            nonVisualShapeProperties36.Append(nonVisualDrawingProperties45);
            nonVisualShapeProperties36.Append(nonVisualShapeDrawingProperties36);
            nonVisualShapeProperties36.Append(applicationNonVisualDrawingProperties45);
            ShapeProperties shapeProperties36 = new ShapeProperties();

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

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

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

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

            run40.Append(runProperties53);
            run40.Append(text53);
            A.EndParagraphRunProperties endParagraphRunProperties35 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph61.Append(run40);
            paragraph61.Append(endParagraphRunProperties35);

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

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

            Shape shape37 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties37 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties46 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Date Placeholder 2" };

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

            nonVisualShapeDrawingProperties37.Append(shapeLocks36);

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

            applicationNonVisualDrawingProperties46.Append(placeholderShape36);

            nonVisualShapeProperties37.Append(nonVisualDrawingProperties46);
            nonVisualShapeProperties37.Append(nonVisualShapeDrawingProperties37);
            nonVisualShapeProperties37.Append(applicationNonVisualDrawingProperties46);
            ShapeProperties shapeProperties37 = new ShapeProperties();

            TextBody textBody37 = new TextBody();
            A.BodyProperties bodyProperties37 = new A.BodyProperties();
            A.ListStyle listStyle37 = new A.ListStyle();

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

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

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

            field14.Append(runProperties54);
            field14.Append(text54);
            A.EndParagraphRunProperties endParagraphRunProperties36 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph62.Append(field14);
            paragraph62.Append(endParagraphRunProperties36);

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

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

            Shape shape38 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties38 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties47 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Footer Placeholder 3" };

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

            nonVisualShapeDrawingProperties38.Append(shapeLocks37);

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

            applicationNonVisualDrawingProperties47.Append(placeholderShape37);

            nonVisualShapeProperties38.Append(nonVisualDrawingProperties47);
            nonVisualShapeProperties38.Append(nonVisualShapeDrawingProperties38);
            nonVisualShapeProperties38.Append(applicationNonVisualDrawingProperties47);
            ShapeProperties shapeProperties38 = new ShapeProperties();

            TextBody textBody38 = new TextBody();
            A.BodyProperties bodyProperties38 = new A.BodyProperties();
            A.ListStyle listStyle38 = new A.ListStyle();

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

            paragraph63.Append(endParagraphRunProperties37);

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

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

            Shape shape39 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties39 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties48 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Slide Number Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties39 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks38 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties39.Append(shapeLocks38);

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

            applicationNonVisualDrawingProperties48.Append(placeholderShape38);

            nonVisualShapeProperties39.Append(nonVisualDrawingProperties48);
            nonVisualShapeProperties39.Append(nonVisualShapeDrawingProperties39);
            nonVisualShapeProperties39.Append(applicationNonVisualDrawingProperties48);
            ShapeProperties shapeProperties39 = new ShapeProperties();

            TextBody textBody39 = new TextBody();
            A.BodyProperties bodyProperties39 = new A.BodyProperties();
            A.ListStyle listStyle39 = new A.ListStyle();

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

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

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

            field15.Append(runProperties55);
            field15.Append(text55);
            A.EndParagraphRunProperties endParagraphRunProperties38 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph64.Append(field15);
            paragraph64.Append(endParagraphRunProperties38);

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

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

            shapeTree9.Append(nonVisualGroupShapeProperties9);
            shapeTree9.Append(groupShapeProperties9);
            shapeTree9.Append(shape36);
            shapeTree9.Append(shape37);
            shapeTree9.Append(shape38);
            shapeTree9.Append(shape39);

            commonSlideData9.Append(shapeTree9);

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

            colorMapOverride7.Append(masterColorMapping7);

            slideLayout6.Append(commonSlideData9);
            slideLayout6.Append(colorMapOverride7);

            slideLayoutPart6.SlideLayout = slideLayout6;
        }
        // Generates content of slideLayoutPart10.
        private void GenerateSlideLayoutPart10Content(SlideLayoutPart slideLayoutPart10)
        {
            SlideLayout slideLayout10 = new SlideLayout(){ Type = SlideLayoutValues.TwoObjects, Preserve = true };
            slideLayout10.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout10.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout10.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData13 = new CommonSlideData(){ Name = "Two Content" };

            ShapeTree shapeTree13 = new ShapeTree();

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

            nonVisualGroupShapeProperties13.Append(nonVisualDrawingProperties70);
            nonVisualGroupShapeProperties13.Append(nonVisualGroupShapeDrawingProperties13);
            nonVisualGroupShapeProperties13.Append(applicationNonVisualDrawingProperties70);

            GroupShapeProperties groupShapeProperties13 = new GroupShapeProperties();

            A.TransformGroup transformGroup13 = new A.TransformGroup();
            A.Offset offset38 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents38 = 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(offset38);
            transformGroup13.Append(extents38);
            transformGroup13.Append(childOffset13);
            transformGroup13.Append(childExtents13);

            groupShapeProperties13.Append(transformGroup13);

            Shape shape58 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties58 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks57 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties58.Append(shapeLocks57);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties71 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape57 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties71.Append(placeholderShape57);

            nonVisualShapeProperties58.Append(nonVisualDrawingProperties71);
            nonVisualShapeProperties58.Append(nonVisualShapeDrawingProperties58);
            nonVisualShapeProperties58.Append(applicationNonVisualDrawingProperties71);
            ShapeProperties shapeProperties58 = new ShapeProperties();

            TextBody textBody58 = new TextBody();
            A.BodyProperties bodyProperties58 = new A.BodyProperties();
            A.ListStyle listStyle58 = new A.ListStyle();

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

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

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

            run66.Append(runProperties87);
            run66.Append(text87);
            A.EndParagraphRunProperties endParagraphRunProperties55 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph99.Append(run66);
            paragraph99.Append(endParagraphRunProperties55);

            textBody58.Append(bodyProperties58);
            textBody58.Append(listStyle58);
            textBody58.Append(paragraph99);

            shape58.Append(nonVisualShapeProperties58);
            shape58.Append(shapeProperties58);
            shape58.Append(textBody58);

            Shape shape59 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties59 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties72 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Content Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties59 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks58 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties59.Append(shapeLocks58);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties72 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape58 = new PlaceholderShape(){ Size = PlaceholderSizeValues.Half, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties72.Append(placeholderShape58);

            nonVisualShapeProperties59.Append(nonVisualDrawingProperties72);
            nonVisualShapeProperties59.Append(nonVisualShapeDrawingProperties59);
            nonVisualShapeProperties59.Append(applicationNonVisualDrawingProperties72);

            ShapeProperties shapeProperties59 = new ShapeProperties();

            A.Transform2D transform2D26 = new A.Transform2D();
            A.Offset offset39 = new A.Offset(){ X = 342901L, Y = 2133601L };
            A.Extents extents39 = new A.Extents(){ Cx = 3009900L, Cy = 6034088L };

            transform2D26.Append(offset39);
            transform2D26.Append(extents39);

            shapeProperties59.Append(transform2D26);

            TextBody textBody59 = new TextBody();
            A.BodyProperties bodyProperties59 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties23 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties121 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level1ParagraphProperties23.Append(defaultRunProperties121);

            A.Level2ParagraphProperties level2ParagraphProperties13 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties122 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level2ParagraphProperties13.Append(defaultRunProperties122);

            A.Level3ParagraphProperties level3ParagraphProperties13 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties123 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level3ParagraphProperties13.Append(defaultRunProperties123);

            A.Level4ParagraphProperties level4ParagraphProperties13 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties124 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level4ParagraphProperties13.Append(defaultRunProperties124);

            A.Level5ParagraphProperties level5ParagraphProperties13 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties125 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level5ParagraphProperties13.Append(defaultRunProperties125);

            A.Level6ParagraphProperties level6ParagraphProperties13 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties126 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level6ParagraphProperties13.Append(defaultRunProperties126);

            A.Level7ParagraphProperties level7ParagraphProperties13 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties127 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level7ParagraphProperties13.Append(defaultRunProperties127);

            A.Level8ParagraphProperties level8ParagraphProperties13 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties128 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level8ParagraphProperties13.Append(defaultRunProperties128);

            A.Level9ParagraphProperties level9ParagraphProperties13 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties129 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level9ParagraphProperties13.Append(defaultRunProperties129);

            listStyle59.Append(level1ParagraphProperties23);
            listStyle59.Append(level2ParagraphProperties13);
            listStyle59.Append(level3ParagraphProperties13);
            listStyle59.Append(level4ParagraphProperties13);
            listStyle59.Append(level5ParagraphProperties13);
            listStyle59.Append(level6ParagraphProperties13);
            listStyle59.Append(level7ParagraphProperties13);
            listStyle59.Append(level8ParagraphProperties13);
            listStyle59.Append(level9ParagraphProperties13);

            A.Paragraph paragraph100 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties53 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run67.Append(runProperties88);
            run67.Append(text88);

            paragraph100.Append(paragraphProperties53);
            paragraph100.Append(run67);

            A.Paragraph paragraph101 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties54 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run68.Append(runProperties89);
            run68.Append(text89);

            paragraph101.Append(paragraphProperties54);
            paragraph101.Append(run68);

            A.Paragraph paragraph102 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties55 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run69.Append(runProperties90);
            run69.Append(text90);

            paragraph102.Append(paragraphProperties55);
            paragraph102.Append(run69);

            A.Paragraph paragraph103 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties56 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run70.Append(runProperties91);
            run70.Append(text91);

            paragraph103.Append(paragraphProperties56);
            paragraph103.Append(run70);

            A.Paragraph paragraph104 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties57 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run71.Append(runProperties92);
            run71.Append(text92);
            A.EndParagraphRunProperties endParagraphRunProperties56 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph104.Append(paragraphProperties57);
            paragraph104.Append(run71);
            paragraph104.Append(endParagraphRunProperties56);

            textBody59.Append(bodyProperties59);
            textBody59.Append(listStyle59);
            textBody59.Append(paragraph100);
            textBody59.Append(paragraph101);
            textBody59.Append(paragraph102);
            textBody59.Append(paragraph103);
            textBody59.Append(paragraph104);

            shape59.Append(nonVisualShapeProperties59);
            shape59.Append(shapeProperties59);
            shape59.Append(textBody59);

            Shape shape60 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties60 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties73 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Content Placeholder 3" };

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

            nonVisualShapeDrawingProperties60.Append(shapeLocks59);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties73 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape59 = new PlaceholderShape(){ Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties73.Append(placeholderShape59);

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

            ShapeProperties shapeProperties60 = new ShapeProperties();

            A.Transform2D transform2D27 = new A.Transform2D();
            A.Offset offset40 = new A.Offset(){ X = 3505201L, Y = 2133601L };
            A.Extents extents40 = new A.Extents(){ Cx = 3009900L, Cy = 6034088L };

            transform2D27.Append(offset40);
            transform2D27.Append(extents40);

            shapeProperties60.Append(transform2D27);

            TextBody textBody60 = new TextBody();
            A.BodyProperties bodyProperties60 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties24 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties130 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level1ParagraphProperties24.Append(defaultRunProperties130);

            A.Level2ParagraphProperties level2ParagraphProperties14 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties131 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level2ParagraphProperties14.Append(defaultRunProperties131);

            A.Level3ParagraphProperties level3ParagraphProperties14 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties132 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level3ParagraphProperties14.Append(defaultRunProperties132);

            A.Level4ParagraphProperties level4ParagraphProperties14 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties133 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level4ParagraphProperties14.Append(defaultRunProperties133);

            A.Level5ParagraphProperties level5ParagraphProperties14 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties134 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level5ParagraphProperties14.Append(defaultRunProperties134);

            A.Level6ParagraphProperties level6ParagraphProperties14 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties135 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level6ParagraphProperties14.Append(defaultRunProperties135);

            A.Level7ParagraphProperties level7ParagraphProperties14 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties136 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level7ParagraphProperties14.Append(defaultRunProperties136);

            A.Level8ParagraphProperties level8ParagraphProperties14 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties137 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level8ParagraphProperties14.Append(defaultRunProperties137);

            A.Level9ParagraphProperties level9ParagraphProperties14 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties138 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level9ParagraphProperties14.Append(defaultRunProperties138);

            listStyle60.Append(level1ParagraphProperties24);
            listStyle60.Append(level2ParagraphProperties14);
            listStyle60.Append(level3ParagraphProperties14);
            listStyle60.Append(level4ParagraphProperties14);
            listStyle60.Append(level5ParagraphProperties14);
            listStyle60.Append(level6ParagraphProperties14);
            listStyle60.Append(level7ParagraphProperties14);
            listStyle60.Append(level8ParagraphProperties14);
            listStyle60.Append(level9ParagraphProperties14);

            A.Paragraph paragraph105 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties58 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run72.Append(runProperties93);
            run72.Append(text93);

            paragraph105.Append(paragraphProperties58);
            paragraph105.Append(run72);

            A.Paragraph paragraph106 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties59 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run73.Append(runProperties94);
            run73.Append(text94);

            paragraph106.Append(paragraphProperties59);
            paragraph106.Append(run73);

            A.Paragraph paragraph107 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties60 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run74.Append(runProperties95);
            run74.Append(text95);

            paragraph107.Append(paragraphProperties60);
            paragraph107.Append(run74);

            A.Paragraph paragraph108 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties61 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run75.Append(runProperties96);
            run75.Append(text96);

            paragraph108.Append(paragraphProperties61);
            paragraph108.Append(run75);

            A.Paragraph paragraph109 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties62 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run76.Append(runProperties97);
            run76.Append(text97);
            A.EndParagraphRunProperties endParagraphRunProperties57 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph109.Append(paragraphProperties62);
            paragraph109.Append(run76);
            paragraph109.Append(endParagraphRunProperties57);

            textBody60.Append(bodyProperties60);
            textBody60.Append(listStyle60);
            textBody60.Append(paragraph105);
            textBody60.Append(paragraph106);
            textBody60.Append(paragraph107);
            textBody60.Append(paragraph108);
            textBody60.Append(paragraph109);

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

            Shape shape61 = new Shape();

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

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

            nonVisualShapeDrawingProperties61.Append(shapeLocks60);

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

            applicationNonVisualDrawingProperties74.Append(placeholderShape60);

            nonVisualShapeProperties61.Append(nonVisualDrawingProperties74);
            nonVisualShapeProperties61.Append(nonVisualShapeDrawingProperties61);
            nonVisualShapeProperties61.Append(applicationNonVisualDrawingProperties74);
            ShapeProperties shapeProperties61 = new ShapeProperties();

            TextBody textBody61 = new TextBody();
            A.BodyProperties bodyProperties61 = new A.BodyProperties();
            A.ListStyle listStyle61 = new A.ListStyle();

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

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

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

            field22.Append(runProperties98);
            field22.Append(text98);
            A.EndParagraphRunProperties endParagraphRunProperties58 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph110.Append(field22);
            paragraph110.Append(endParagraphRunProperties58);

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

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

            Shape shape62 = new Shape();

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

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

            nonVisualShapeDrawingProperties62.Append(shapeLocks61);

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

            applicationNonVisualDrawingProperties75.Append(placeholderShape61);

            nonVisualShapeProperties62.Append(nonVisualDrawingProperties75);
            nonVisualShapeProperties62.Append(nonVisualShapeDrawingProperties62);
            nonVisualShapeProperties62.Append(applicationNonVisualDrawingProperties75);
            ShapeProperties shapeProperties62 = new ShapeProperties();

            TextBody textBody62 = new TextBody();
            A.BodyProperties bodyProperties62 = new A.BodyProperties();
            A.ListStyle listStyle62 = new A.ListStyle();

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

            paragraph111.Append(endParagraphRunProperties59);

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

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

            Shape shape63 = new Shape();

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

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

            nonVisualShapeDrawingProperties63.Append(shapeLocks62);

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

            applicationNonVisualDrawingProperties76.Append(placeholderShape62);

            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 paragraph112 = new A.Paragraph();

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

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

            field23.Append(runProperties99);
            field23.Append(text99);
            A.EndParagraphRunProperties endParagraphRunProperties60 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph112.Append(field23);
            paragraph112.Append(endParagraphRunProperties60);

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

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

            shapeTree13.Append(nonVisualGroupShapeProperties13);
            shapeTree13.Append(groupShapeProperties13);
            shapeTree13.Append(shape58);
            shapeTree13.Append(shape59);
            shapeTree13.Append(shape60);
            shapeTree13.Append(shape61);
            shapeTree13.Append(shape62);
            shapeTree13.Append(shape63);

            commonSlideData13.Append(shapeTree13);

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

            colorMapOverride11.Append(masterColorMapping11);

            slideLayout10.Append(commonSlideData13);
            slideLayout10.Append(colorMapOverride11);

            slideLayoutPart10.SlideLayout = slideLayout10;
        }
        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;
        }
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout9 = new SlideLayout()
            {
                Type = SlideLayoutValues.VerticalText, Preserve = true
            };

            slideLayout9.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout9.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout9.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData11 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree11 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties11 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties59    = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties11  = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties59 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties11.Append(nonVisualDrawingProperties59);
            nonVisualGroupShapeProperties11.Append(nonVisualGroupShapeDrawingProperties11);
            nonVisualGroupShapeProperties11.Append(applicationNonVisualDrawingProperties59);

            GroupShapeProperties groupShapeProperties11 = new GroupShapeProperties();

            A.TransformGroup transformGroup11 = new A.TransformGroup();
            A.Offset         offset30         = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents30 = new A.Extents()
            {
                Cx = 0L, Cy = 0L
            };
            A.ChildOffset childOffset11 = new A.ChildOffset()
            {
                X = 0L, Y = 0L
            };
            A.ChildExtents childExtents11 = new A.ChildExtents()
            {
                Cx = 0L, Cy = 0L
            };

            transformGroup11.Append(offset30);
            transformGroup11.Append(extents30);
            transformGroup11.Append(childOffset11);
            transformGroup11.Append(childExtents11);

            groupShapeProperties11.Append(transformGroup11);

            Shape shape49 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties49 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks49 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties49.Append(shapeLocks49);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties60 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape49 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Title
            };

            applicationNonVisualDrawingProperties60.Append(placeholderShape49);

            nonVisualShapeProperties49.Append(nonVisualDrawingProperties60);
            nonVisualShapeProperties49.Append(nonVisualShapeDrawingProperties49);
            nonVisualShapeProperties49.Append(applicationNonVisualDrawingProperties60);
            ShapeProperties shapeProperties49 = new ShapeProperties();

            TextBody textBody49 = new TextBody();

            A.BodyProperties bodyProperties49 = new A.BodyProperties();
            A.ListStyle      listStyle49      = new A.ListStyle();

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

            A.Run           run94            = new A.Run();
            A.RunProperties runProperties112 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text112 = new A.Text();
            text112.Text = "マスター タイトルの書式設定";

            run94.Append(runProperties112);
            run94.Append(text112);
            A.EndParagraphRunProperties endParagraphRunProperties43 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph73.Append(run94);
            paragraph73.Append(endParagraphRunProperties43);

            textBody49.Append(bodyProperties49);
            textBody49.Append(listStyle49);
            textBody49.Append(paragraph73);

            shape49.Append(nonVisualShapeProperties49);
            shape49.Append(shapeProperties49);
            shape49.Append(textBody49);

            Shape shape50 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties50   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties61 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)3U, Name = "Vertical Text Placeholder 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties50 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks50 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties50.Append(shapeLocks50);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties61 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape50 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties61.Append(placeholderShape50);

            nonVisualShapeProperties50.Append(nonVisualDrawingProperties61);
            nonVisualShapeProperties50.Append(nonVisualShapeDrawingProperties50);
            nonVisualShapeProperties50.Append(applicationNonVisualDrawingProperties61);
            ShapeProperties shapeProperties50 = new ShapeProperties();

            TextBody textBody50 = new TextBody();

            A.BodyProperties bodyProperties50 = new A.BodyProperties()
            {
                Vertical = A.TextVerticalValues.EastAsianVetical
            };
            A.ListStyle listStyle50 = new A.ListStyle();

            A.Paragraph           paragraph74           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties35 = new A.ParagraphProperties()
            {
                Level = 0
            };

            A.Run           run95            = new A.Run();
            A.RunProperties runProperties113 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text113 = new A.Text();
            text113.Text = "マスター テキストの書式設定";

            run95.Append(runProperties113);
            run95.Append(text113);

            paragraph74.Append(paragraphProperties35);
            paragraph74.Append(run95);

            A.Paragraph           paragraph75           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties36 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run96            = new A.Run();
            A.RunProperties runProperties114 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text114 = new A.Text();
            text114.Text = "第 ";

            run96.Append(runProperties114);
            run96.Append(text114);

            A.Run           run97            = new A.Run();
            A.RunProperties runProperties115 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text115 = new A.Text();
            text115.Text = "2 ";

            run97.Append(runProperties115);
            run97.Append(text115);

            A.Run           run98            = new A.Run();
            A.RunProperties runProperties116 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text116 = new A.Text();
            text116.Text = "レベル";

            run98.Append(runProperties116);
            run98.Append(text116);

            paragraph75.Append(paragraphProperties36);
            paragraph75.Append(run96);
            paragraph75.Append(run97);
            paragraph75.Append(run98);

            A.Paragraph           paragraph76           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties37 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run99            = new A.Run();
            A.RunProperties runProperties117 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text117 = new A.Text();
            text117.Text = "第 ";

            run99.Append(runProperties117);
            run99.Append(text117);

            A.Run           run100           = new A.Run();
            A.RunProperties runProperties118 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text118 = new A.Text();
            text118.Text = "3 ";

            run100.Append(runProperties118);
            run100.Append(text118);

            A.Run           run101           = new A.Run();
            A.RunProperties runProperties119 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text119 = new A.Text();
            text119.Text = "レベル";

            run101.Append(runProperties119);
            run101.Append(text119);

            paragraph76.Append(paragraphProperties37);
            paragraph76.Append(run99);
            paragraph76.Append(run100);
            paragraph76.Append(run101);

            A.Paragraph           paragraph77           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties38 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run102           = new A.Run();
            A.RunProperties runProperties120 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text120 = new A.Text();
            text120.Text = "第 ";

            run102.Append(runProperties120);
            run102.Append(text120);

            A.Run           run103           = new A.Run();
            A.RunProperties runProperties121 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text121 = new A.Text();
            text121.Text = "4 ";

            run103.Append(runProperties121);
            run103.Append(text121);

            A.Run           run104           = new A.Run();
            A.RunProperties runProperties122 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text122 = new A.Text();
            text122.Text = "レベル";

            run104.Append(runProperties122);
            run104.Append(text122);

            paragraph77.Append(paragraphProperties38);
            paragraph77.Append(run102);
            paragraph77.Append(run103);
            paragraph77.Append(run104);

            A.Paragraph           paragraph78           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties39 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run105           = new A.Run();
            A.RunProperties runProperties123 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text123 = new A.Text();
            text123.Text = "第 ";

            run105.Append(runProperties123);
            run105.Append(text123);

            A.Run           run106           = new A.Run();
            A.RunProperties runProperties124 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text124 = new A.Text();
            text124.Text = "5 ";

            run106.Append(runProperties124);
            run106.Append(text124);

            A.Run           run107           = new A.Run();
            A.RunProperties runProperties125 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text125 = new A.Text();
            text125.Text = "レベル";

            run107.Append(runProperties125);
            run107.Append(text125);
            A.EndParagraphRunProperties endParagraphRunProperties44 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph78.Append(paragraphProperties39);
            paragraph78.Append(run105);
            paragraph78.Append(run106);
            paragraph78.Append(run107);
            paragraph78.Append(endParagraphRunProperties44);

            textBody50.Append(bodyProperties50);
            textBody50.Append(listStyle50);
            textBody50.Append(paragraph74);
            textBody50.Append(paragraph75);
            textBody50.Append(paragraph76);
            textBody50.Append(paragraph77);
            textBody50.Append(paragraph78);

            shape50.Append(nonVisualShapeProperties50);
            shape50.Append(shapeProperties50);
            shape50.Append(textBody50);

            Shape shape51 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties51 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks51 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties51.Append(shapeLocks51);

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

            applicationNonVisualDrawingProperties62.Append(placeholderShape51);

            nonVisualShapeProperties51.Append(nonVisualDrawingProperties62);
            nonVisualShapeProperties51.Append(nonVisualShapeDrawingProperties51);
            nonVisualShapeProperties51.Append(applicationNonVisualDrawingProperties62);
            ShapeProperties shapeProperties51 = new ShapeProperties();

            TextBody textBody51 = new TextBody();

            A.BodyProperties bodyProperties51 = new A.BodyProperties();
            A.ListStyle      listStyle51      = new A.ListStyle();

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

            A.Field field19 = new A.Field()
            {
                Id = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties126 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties126.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text126 = new A.Text();
            text126.Text = "2018/5/3";

            field19.Append(runProperties126);
            field19.Append(text126);
            A.EndParagraphRunProperties endParagraphRunProperties45 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph79.Append(field19);
            paragraph79.Append(endParagraphRunProperties45);

            textBody51.Append(bodyProperties51);
            textBody51.Append(listStyle51);
            textBody51.Append(paragraph79);

            shape51.Append(nonVisualShapeProperties51);
            shape51.Append(shapeProperties51);
            shape51.Append(textBody51);

            Shape shape52 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties52 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks52 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties52.Append(shapeLocks52);

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

            applicationNonVisualDrawingProperties63.Append(placeholderShape52);

            nonVisualShapeProperties52.Append(nonVisualDrawingProperties63);
            nonVisualShapeProperties52.Append(nonVisualShapeDrawingProperties52);
            nonVisualShapeProperties52.Append(applicationNonVisualDrawingProperties63);
            ShapeProperties shapeProperties52 = new ShapeProperties();

            TextBody textBody52 = new TextBody();

            A.BodyProperties bodyProperties52 = new A.BodyProperties();
            A.ListStyle      listStyle52      = new A.ListStyle();

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

            paragraph80.Append(endParagraphRunProperties46);

            textBody52.Append(bodyProperties52);
            textBody52.Append(listStyle52);
            textBody52.Append(paragraph80);

            shape52.Append(nonVisualShapeProperties52);
            shape52.Append(shapeProperties52);
            shape52.Append(textBody52);

            Shape shape53 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties53 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks53 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties53.Append(shapeLocks53);

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

            applicationNonVisualDrawingProperties64.Append(placeholderShape53);

            nonVisualShapeProperties53.Append(nonVisualDrawingProperties64);
            nonVisualShapeProperties53.Append(nonVisualShapeDrawingProperties53);
            nonVisualShapeProperties53.Append(applicationNonVisualDrawingProperties64);
            ShapeProperties shapeProperties53 = new ShapeProperties();

            TextBody textBody53 = new TextBody();

            A.BodyProperties bodyProperties53 = new A.BodyProperties();
            A.ListStyle      listStyle53      = new A.ListStyle();

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

            A.Field field20 = new A.Field()
            {
                Id = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field20.Append(runProperties127);
            field20.Append(text127);
            A.EndParagraphRunProperties endParagraphRunProperties47 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph81.Append(field20);
            paragraph81.Append(endParagraphRunProperties47);

            textBody53.Append(bodyProperties53);
            textBody53.Append(listStyle53);
            textBody53.Append(paragraph81);

            shape53.Append(nonVisualShapeProperties53);
            shape53.Append(shapeProperties53);
            shape53.Append(textBody53);

            shapeTree11.Append(nonVisualGroupShapeProperties11);
            shapeTree11.Append(groupShapeProperties11);
            shapeTree11.Append(shape49);
            shapeTree11.Append(shape50);
            shapeTree11.Append(shape51);
            shapeTree11.Append(shape52);
            shapeTree11.Append(shape53);

            CommonSlideDataExtensionList commonSlideDataExtensionList11 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension11.Append(creationId11);

            commonSlideDataExtensionList11.Append(commonSlideDataExtension11);

            commonSlideData11.Append(shapeTree11);
            commonSlideData11.Append(commonSlideDataExtensionList11);

            ColorMapOverride colorMapOverride10 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping10 = new A.MasterColorMapping();

            colorMapOverride10.Append(masterColorMapping10);

            slideLayout9.Append(commonSlideData11);
            slideLayout9.Append(colorMapOverride10);

            slideLayoutPart.SlideLayout = slideLayout9;

            return(slideLayoutPart);
        }
Exemple #18
0
        private static void GenerateSlidePart1Content(SlidePart slidePart1, string Title, string SubTitle)
        {
            Slide slide1 = new Slide();

            slide1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slide1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slide1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData1 = new CommonSlideData();

            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)4U, Name = "タイトル 3"
            };

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList1 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension1 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{D363C360-A613-482D-ABFE-96D29918ABD2}\" />");

            nonVisualDrawingPropertiesExtension1.Append(openXmlUnknownElement1);

            nonVisualDrawingPropertiesExtensionList1.Append(nonVisualDrawingPropertiesExtension1);

            nonVisualDrawingProperties2.Append(nonVisualDrawingPropertiesExtensionList1);

            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.CenteredTitle
            };

            applicationNonVisualDrawingProperties2.Append(placeholderShape1);

            nonVisualShapeProperties1.Append(nonVisualDrawingProperties2);
            nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1);
            nonVisualShapeProperties1.Append(applicationNonVisualDrawingProperties2);
            ShapeProperties shapeProperties1 = new ShapeProperties();

            TextBody textBody1 = new TextBody();

            A.BodyProperties bodyProperties1 = new A.BodyProperties();
            A.ListStyle      listStyle1      = new A.ListStyle();

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

            A.Run           run1           = new A.Run();
            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US", Dirty = false
            };
            A.Text text1 = new A.Text();
            text1.Text = Title;

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

            paragraph1.Append(run1);

            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)5U, Name = "字幕 4"
            };

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList2 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension2 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{6CE3DF81-72AF-4DA1-B4EE-02B2D45D0AF8}\" />");

            nonVisualDrawingPropertiesExtension2.Append(openXmlUnknownElement2);

            nonVisualDrawingPropertiesExtensionList2.Append(nonVisualDrawingPropertiesExtension2);

            nonVisualDrawingProperties3.Append(nonVisualDrawingPropertiesExtensionList2);

            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.SubTitle, Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties3.Append(placeholderShape2);

            nonVisualShapeProperties2.Append(nonVisualDrawingProperties3);
            nonVisualShapeProperties2.Append(nonVisualShapeDrawingProperties2);
            nonVisualShapeProperties2.Append(applicationNonVisualDrawingProperties3);
            ShapeProperties shapeProperties2 = new ShapeProperties();

            TextBody textBody2 = new TextBody();

            A.BodyProperties bodyProperties2 = new A.BodyProperties();
            A.ListStyle      listStyle2      = new A.ListStyle();

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

            A.Run           run2           = new A.Run();
            A.RunProperties runProperties2 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text2 = new A.Text();
            text2.Text = SubTitle;

            run2.Append(runProperties2);
            run2.Append(text2);

            paragraph2.Append(run2);

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

            shape2.Append(nonVisualShapeProperties2);
            shape2.Append(shapeProperties2);
            shape2.Append(textBody2);

            shapeTree1.Append(nonVisualGroupShapeProperties1);
            shapeTree1.Append(groupShapeProperties1);
            shapeTree1.Append(shape1);
            shapeTree1.Append(shape2);

            CommonSlideDataExtensionList commonSlideDataExtensionList1 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension1.Append(creationId1);

            commonSlideDataExtensionList1.Append(commonSlideDataExtension1);

            commonSlideData1.Append(shapeTree1);
            commonSlideData1.Append(commonSlideDataExtensionList1);

            ColorMapOverride colorMapOverride1 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping1 = new A.MasterColorMapping();

            colorMapOverride1.Append(masterColorMapping1);

            slide1.Append(commonSlideData1);
            slide1.Append(colorMapOverride1);

            slidePart1.Slide = slide1;
        }
Exemple #19
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            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 = LayoutSetting.Name
            };

            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         offset34         = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents34 = 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(offset34);
            transformGroup13.Append(extents34);
            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 transform2D22 = new A.Transform2D();
            A.Offset      offset35      = new A.Offset()
            {
                X = 629841L, Y = 457200L
            };
            A.Extents extents35 = new A.Extents()
            {
                Cx = 2949178L, Cy = 1600200L
            };

            transform2D22.Append(offset35);
            transform2D22.Append(extents35);

            shapeProperties60.Append(transform2D22);

            TextBody textBody60 = new TextBody();

            A.BodyProperties bodyProperties60 = new A.BodyProperties()
            {
                Anchor = A.TextAnchoringTypeValues.Bottom
            };

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

            A.Level1ParagraphProperties level1ParagraphProperties16 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties81      = new A.DefaultRunProperties()
            {
                FontSize = 3200
            };

            level1ParagraphProperties16.Append(defaultRunProperties81);

            listStyle60.Append(level1ParagraphProperties16);

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

            A.Run           run135           = new A.Run();
            A.RunProperties runProperties157 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text157 = new A.Text();
            text157.Text = "マスター タイトルの書式設定";

            run135.Append(runProperties157);
            run135.Append(text157);
            A.EndParagraphRunProperties endParagraphRunProperties54 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph96.Append(run135);
            paragraph96.Append(endParagraphRunProperties54);

            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, NoChangeAspect = 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 transform2D23 = new A.Transform2D();
            A.Offset      offset36      = new A.Offset()
            {
                X = 3887391L, Y = 987426L
            };
            A.Extents extents36 = new A.Extents()
            {
                Cx = 4629150L, Cy = 4873625L
            };

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

            shapeProperties61.Append(transform2D23);

            TextBody textBody61 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties17 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0
            };
            A.NoBullet             noBullet47             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties82 = new A.DefaultRunProperties()
            {
                FontSize = 3200
            };

            level1ParagraphProperties17.Append(noBullet47);
            level1ParagraphProperties17.Append(defaultRunProperties82);

            A.Level2ParagraphProperties level2ParagraphProperties9 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Indent = 0
            };
            A.NoBullet             noBullet48             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties83 = new A.DefaultRunProperties()
            {
                FontSize = 2800
            };

            level2ParagraphProperties9.Append(noBullet48);
            level2ParagraphProperties9.Append(defaultRunProperties83);

            A.Level3ParagraphProperties level3ParagraphProperties9 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Indent = 0
            };
            A.NoBullet             noBullet49             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties84 = new A.DefaultRunProperties()
            {
                FontSize = 2400
            };

            level3ParagraphProperties9.Append(noBullet49);
            level3ParagraphProperties9.Append(defaultRunProperties84);

            A.Level4ParagraphProperties level4ParagraphProperties9 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Indent = 0
            };
            A.NoBullet             noBullet50             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties85 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level4ParagraphProperties9.Append(noBullet50);
            level4ParagraphProperties9.Append(defaultRunProperties85);

            A.Level5ParagraphProperties level5ParagraphProperties9 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Indent = 0
            };
            A.NoBullet             noBullet51             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties86 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level5ParagraphProperties9.Append(noBullet51);
            level5ParagraphProperties9.Append(defaultRunProperties86);

            A.Level6ParagraphProperties level6ParagraphProperties9 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Indent = 0
            };
            A.NoBullet             noBullet52             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties87 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level6ParagraphProperties9.Append(noBullet52);
            level6ParagraphProperties9.Append(defaultRunProperties87);

            A.Level7ParagraphProperties level7ParagraphProperties9 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Indent = 0
            };
            A.NoBullet             noBullet53             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties88 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level7ParagraphProperties9.Append(noBullet53);
            level7ParagraphProperties9.Append(defaultRunProperties88);

            A.Level8ParagraphProperties level8ParagraphProperties9 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Indent = 0
            };
            A.NoBullet             noBullet54             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties89 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level8ParagraphProperties9.Append(noBullet54);
            level8ParagraphProperties9.Append(defaultRunProperties89);

            A.Level9ParagraphProperties level9ParagraphProperties9 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Indent = 0
            };
            A.NoBullet             noBullet55             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties90 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level9ParagraphProperties9.Append(noBullet55);
            level9ParagraphProperties9.Append(defaultRunProperties90);

            listStyle61.Append(level1ParagraphProperties17);
            listStyle61.Append(level2ParagraphProperties9);
            listStyle61.Append(level3ParagraphProperties9);
            listStyle61.Append(level4ParagraphProperties9);
            listStyle61.Append(level5ParagraphProperties9);
            listStyle61.Append(level6ParagraphProperties9);
            listStyle61.Append(level7ParagraphProperties9);
            listStyle61.Append(level8ParagraphProperties9);
            listStyle61.Append(level9ParagraphProperties9);

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

            A.Run           run136           = new A.Run();
            A.RunProperties runProperties158 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text158 = new A.Text();
            text158.Text = "アイコンをクリックして図を追加";

            run136.Append(runProperties158);
            run136.Append(text158);
            A.EndParagraphRunProperties endParagraphRunProperties55 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph97.Append(run136);
            paragraph97.Append(endParagraphRunProperties55);

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

            shape61.Append(nonVisualShapeProperties61);
            shape61.Append(shapeProperties61);
            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 transform2D24 = new A.Transform2D();
            A.Offset      offset37      = new A.Offset()
            {
                X = 629841L, Y = 2057400L
            };
            A.Extents extents37 = new A.Extents()
            {
                Cx = 2949178L, Cy = 3811588L
            };

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

            shapeProperties62.Append(transform2D24);

            TextBody textBody62 = new TextBody();

            A.BodyProperties bodyProperties62 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties18 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0
            };
            A.NoBullet             noBullet56             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties91 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level1ParagraphProperties18.Append(noBullet56);
            level1ParagraphProperties18.Append(defaultRunProperties91);

            A.Level2ParagraphProperties level2ParagraphProperties10 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Indent = 0
            };
            A.NoBullet             noBullet57             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties92 = new A.DefaultRunProperties()
            {
                FontSize = 1400
            };

            level2ParagraphProperties10.Append(noBullet57);
            level2ParagraphProperties10.Append(defaultRunProperties92);

            A.Level3ParagraphProperties level3ParagraphProperties10 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Indent = 0
            };
            A.NoBullet             noBullet58             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties93 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            level3ParagraphProperties10.Append(noBullet58);
            level3ParagraphProperties10.Append(defaultRunProperties93);

            A.Level4ParagraphProperties level4ParagraphProperties10 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Indent = 0
            };
            A.NoBullet             noBullet59             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties94 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level4ParagraphProperties10.Append(noBullet59);
            level4ParagraphProperties10.Append(defaultRunProperties94);

            A.Level5ParagraphProperties level5ParagraphProperties10 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Indent = 0
            };
            A.NoBullet             noBullet60             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties95 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level5ParagraphProperties10.Append(noBullet60);
            level5ParagraphProperties10.Append(defaultRunProperties95);

            A.Level6ParagraphProperties level6ParagraphProperties10 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Indent = 0
            };
            A.NoBullet             noBullet61             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties96 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level6ParagraphProperties10.Append(noBullet61);
            level6ParagraphProperties10.Append(defaultRunProperties96);

            A.Level7ParagraphProperties level7ParagraphProperties10 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Indent = 0
            };
            A.NoBullet             noBullet62             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties97 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level7ParagraphProperties10.Append(noBullet62);
            level7ParagraphProperties10.Append(defaultRunProperties97);

            A.Level8ParagraphProperties level8ParagraphProperties10 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Indent = 0
            };
            A.NoBullet             noBullet63             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties98 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level8ParagraphProperties10.Append(noBullet63);
            level8ParagraphProperties10.Append(defaultRunProperties98);

            A.Level9ParagraphProperties level9ParagraphProperties10 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Indent = 0
            };
            A.NoBullet             noBullet64             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties99 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level9ParagraphProperties10.Append(noBullet64);
            level9ParagraphProperties10.Append(defaultRunProperties99);

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

            A.Paragraph           paragraph98           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties50 = new A.ParagraphProperties()
            {
                Level = 0
            };

            A.Run           run137           = new A.Run();
            A.RunProperties runProperties159 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text159 = new A.Text();
            text159.Text = "マスター テキストの書式設定";

            run137.Append(runProperties159);
            run137.Append(text159);

            paragraph98.Append(paragraphProperties50);
            paragraph98.Append(run137);

            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 = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties160 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties160.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text160 = new A.Text();
            text160.Text = "2018/5/3";

            field23.Append(runProperties160);
            field23.Append(text160);
            A.EndParagraphRunProperties endParagraphRunProperties56 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph99.Append(field23);
            paragraph99.Append(endParagraphRunProperties56);

            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 endParagraphRunProperties57 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph100.Append(endParagraphRunProperties57);

            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 = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field24.Append(runProperties161);
            field24.Append(text161);
            A.EndParagraphRunProperties endParagraphRunProperties58 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph101.Append(field24);
            paragraph101.Append(endParagraphRunProperties58);

            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)1096028932U
            };
            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 masterColorMapping12 = new A.MasterColorMapping();

            colorMapOverride12.Append(masterColorMapping12);

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

            slideLayoutPart.SlideLayout = slideLayout11;

            return(slideLayoutPart);
        }
        private static void GenerateChartPartContentPie(ChartPart chartPart1, string formulaCat, string formulaVal, string title)
        {
            C.ChartSpace chartSpace1 = new C.ChartSpace();
            chartSpace1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            chartSpace1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            chartSpace1.AddNamespaceDeclaration("mv", "urn:schemas-microsoft-com:mac:vml");
            chartSpace1.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");



            C.Chart chart1 = new C.Chart();

            C.Title title1 = new C.Title();

            C.ChartText chartText1 = new C.ChartText();

            C.RichText       richText1       = new C.RichText();
            A.BodyProperties bodyProperties1 = new A.BodyProperties();
            A.ListStyle      listStyle1      = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties()
            {
                Level = 0
            };
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties()
            {
                Bold = false
            };

            paragraphProperties1.Append(defaultRunProperties1);

            A.Run  run1  = new A.Run();
            A.Text text1 = new A.Text();
            text1.Text = title;

            run1.Append(text1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);

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

            chartText1.Append(richText1);
            C.Overlay overlay1 = new C.Overlay()
            {
                Val = false
            };

            title1.Append(chartText1);
            title1.Append(overlay1);



            C.PlotArea plotArea1 = new C.PlotArea();
            C.Layout   layout1   = new C.Layout();


            C.PieChart   pieChart1   = new C.PieChart();
            C.VaryColors varyColors1 = new C.VaryColors()
            {
                Val = true
            };

            C.PieChartSeries pieChartSeries1 = new C.PieChartSeries();
            C.Index          index1          = new C.Index()
            {
                Val = (UInt32Value)0U
            };
            C.Order order1 = new C.Order()
            {
                Val = (UInt32Value)0U
            };

            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 = true
            };
            C.ShowBubbleSize showBubbleSize1 = new C.ShowBubbleSize()
            {
                Val = false
            };
            C.ShowLeaderLines showLeaderLines1 = new C.ShowLeaderLines()
            {
                Val = true
            };

            dataLabels1.Append(showLegendKey1);
            dataLabels1.Append(showValue1);
            dataLabels1.Append(showCategoryName1);
            dataLabels1.Append(showSeriesName1);
            dataLabels1.Append(showPercent1);
            dataLabels1.Append(showBubbleSize1);
            dataLabels1.Append(showLeaderLines1);

            C.CategoryAxisData categoryAxisData1 = new C.CategoryAxisData();

            C.StringReference stringReference1 = new C.StringReference();
            C.Formula         formula1         = new C.Formula();
            formula1.Text = formulaCat;

            stringReference1.Append(formula1);

            categoryAxisData1.Append(stringReference1);

            C.Values values1 = new C.Values();

            C.NumberReference numberReference1 = new C.NumberReference();
            C.Formula         formula2         = new C.Formula();
            formula2.Text = formulaVal;

            numberReference1.Append(formula2);

            values1.Append(numberReference1);

            pieChartSeries1.Append(index1);
            pieChartSeries1.Append(order1);
            pieChartSeries1.Append(dataLabels1);
            pieChartSeries1.Append(categoryAxisData1);
            pieChartSeries1.Append(values1);

            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 = true
            };
            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.FirstSliceAngle firstSliceAngle1 = new C.FirstSliceAngle()
            {
                Val = (UInt16Value)0U
            };

            pieChart1.Append(varyColors1);
            pieChart1.Append(pieChartSeries1);
            pieChart1.Append(dataLabels2);
            pieChart1.Append(firstSliceAngle1);

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

            A.SolidFill        solidFill4        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex()
            {
                Val = "FFFFFF"
            };

            solidFill4.Append(rgbColorModelHex4);

            shapeProperties1.Append(solidFill4);

            plotArea1.Append(layout1);
            plotArea1.Append(pieChart1);
            plotArea1.Append(shapeProperties1);

            C.Legend         legend1         = new C.Legend();
            C.LegendPosition legendPosition1 = new C.LegendPosition()
            {
                Val = C.LegendPositionValues.Right
            };
            C.Overlay overlay2 = new C.Overlay()
            {
                Val = false
            };

            legend1.Append(legendPosition1);
            legend1.Append(overlay2);
            C.PlotVisibleOnly plotVisibleOnly1 = new C.PlotVisibleOnly()
            {
                Val = true
            };

            chart1.Append(title1);
            chart1.Append(plotArea1);
            chart1.Append(legend1);
            chart1.Append(plotVisibleOnly1);

            chartSpace1.Append(chart1);

            chartPart1.ChartSpace = chartSpace1;
        }
        private static void GenerateChartPartContentLine(ChartPart part, string formulaCat, string formulaVal, string title)
        {
            C.ChartSpace chartSpace1 = new C.ChartSpace();
            chartSpace1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            chartSpace1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartSpace1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            chartSpace1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            chartSpace1.AddNamespaceDeclaration("mv", "urn:schemas-microsoft-com:mac:vml");
            chartSpace1.AddNamespaceDeclaration("c14", "http://schemas.microsoft.com/office/drawing/2007/8/2/chart");

            C.Chart chart1 = new C.Chart();

            C.Title title1 = new C.Title();

            C.ChartText chartText1 = new C.ChartText();

            C.RichText       richText1       = new C.RichText();
            A.BodyProperties bodyProperties3 = new A.BodyProperties();
            A.ListStyle      listStyle3      = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties()
            {
                Level = 0
            };
            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties()
            {
                Bold = false
            };

            paragraphProperties3.Append(defaultRunProperties3);

            A.Run  run1  = new A.Run();
            A.Text text1 = new A.Text();
            text1.Text = title;

            run1.Append(text1);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run1);

            richText1.Append(bodyProperties3);
            richText1.Append(listStyle3);
            richText1.Append(paragraph3);

            chartText1.Append(richText1);
            C.Overlay overlay1 = new C.Overlay()
            {
                Val = false
            };

            title1.Append(chartText1);
            title1.Append(overlay1);

            C.PlotArea plotArea1 = new C.PlotArea();
            C.Layout   layout1   = new C.Layout();

            C.LineChart  lineChart1  = new C.LineChart();
            C.VaryColors varyColors1 = new C.VaryColors()
            {
                Val = false
            };


            C.LineChartSeries lineChartSeries1 = new C.LineChartSeries();
            C.Index           index1           = new C.Index()
            {
                Val = (UInt32Value)0U
            };
            C.Order order1 = new C.Order()
            {
                Val = (UInt32Value)0U
            };


            C.ChartShapeProperties chartShapeProperties1 = new C.ChartShapeProperties();

            A.Outline outline1 = new A.Outline()
            {
                Width = 19050, CompoundLineType = A.CompoundLineValues.Single
            };

            A.SolidFill        solidFill1        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "3366CC"
            };

            solidFill1.Append(rgbColorModelHex1);

            outline1.Append(solidFill1);

            chartShapeProperties1.Append(outline1);

            C.Marker marker1 = new C.Marker();
            C.Symbol symbol1 = new C.Symbol()
            {
                Val = C.MarkerStyleValues.None
            };

            marker1.Append(symbol1);

            C.CategoryAxisData categoryAxisData1 = new C.CategoryAxisData();

            C.StringReference stringReference1 = new C.StringReference();
            C.Formula         formula1         = new C.Formula();
            formula1.Text = formulaCat;

            stringReference1.Append(formula1);

            categoryAxisData1.Append(stringReference1);

            C.Values values1 = new C.Values();

            C.NumberReference numberReference1 = new C.NumberReference();
            C.Formula         formula2         = new C.Formula();
            formula2.Text = formulaVal;

            numberReference1.Append(formula2);

            values1.Append(numberReference1);
            C.Smooth smooth1 = new C.Smooth()
            {
                Val = false
            };

            lineChartSeries1.Append(index1);
            lineChartSeries1.Append(order1);
            lineChartSeries1.Append(chartShapeProperties1);
            lineChartSeries1.Append(marker1);
            lineChartSeries1.Append(categoryAxisData1);
            lineChartSeries1.Append(values1);
            lineChartSeries1.Append(smooth1);
            C.AxisId axisId1 = new C.AxisId()
            {
                Val = (UInt32Value)1923141117U
            };
            C.AxisId axisId2 = new C.AxisId()
            {
                Val = (UInt32Value)2022561148U
            };

            lineChart1.Append(varyColors1);
            lineChart1.Append(lineChartSeries1);
            lineChart1.Append(axisId1);
            lineChart1.Append(axisId2);

            C.CategoryAxis categoryAxis1 = new C.CategoryAxis();
            C.AxisId       axisId3       = new C.AxisId()
            {
                Val = (UInt32Value)1923141117U
            };


            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.TextProperties textProperties1 = new C.TextProperties();
            A.BodyProperties bodyProperties1 = new A.BodyProperties();
            A.ListStyle      listStyle1      = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties()
            {
                Level = 0
            };
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties()
            {
                Bold = false
            };

            paragraphProperties1.Append(defaultRunProperties1);

            paragraph1.Append(paragraphProperties1);

            textProperties1.Append(bodyProperties1);
            textProperties1.Append(listStyle1);
            textProperties1.Append(paragraph1);
            C.CrossingAxis crossingAxis1 = new C.CrossingAxis()
            {
                Val = (UInt32Value)2022561148U
            };

            categoryAxis1.Append(axisId3);
            categoryAxis1.Append(scaling1);
            categoryAxis1.Append(delete1);
            categoryAxis1.Append(axisPosition1);
            categoryAxis1.Append(textProperties1);
            categoryAxis1.Append(crossingAxis1);


            C.ValueAxis valueAxis1 = new C.ValueAxis();
            C.AxisId    axisId4    = new C.AxisId()
            {
                Val = (UInt32Value)2022561148U
            };

            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 chartShapeProperties2 = new C.ChartShapeProperties();

            A.Outline outline2 = new A.Outline();

            A.SolidFill        solidFill2        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex()
            {
                Val = "B7B7B7"
            };

            solidFill2.Append(rgbColorModelHex2);

            outline2.Append(solidFill2);

            chartShapeProperties2.Append(outline2);

            majorGridlines1.Append(chartShapeProperties2);
            C.NumberingFormat numberingFormat1 = new C.NumberingFormat()
            {
                FormatCode = "General", SourceLinked = true
            };
            C.TickLabelPosition tickLabelPosition1 = new C.TickLabelPosition()
            {
                Val = C.TickLabelPositionValues.NextTo
            };

            C.ChartShapeProperties chartShapeProperties3 = new C.ChartShapeProperties();

            A.Outline outline3 = new A.Outline()
            {
                Width = 47625
            };
            A.NoFill noFill1 = new A.NoFill();

            outline3.Append(noFill1);

            chartShapeProperties3.Append(outline3);

            C.TextProperties textProperties2 = new C.TextProperties();
            A.BodyProperties bodyProperties2 = new A.BodyProperties();
            A.ListStyle      listStyle2      = new A.ListStyle();

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

            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties()
            {
                Level = 0
            };
            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                Bold = false
            };

            paragraphProperties2.Append(defaultRunProperties2);

            paragraph2.Append(paragraphProperties2);

            textProperties2.Append(bodyProperties2);
            textProperties2.Append(listStyle2);
            textProperties2.Append(paragraph2);
            C.CrossingAxis crossingAxis2 = new C.CrossingAxis()
            {
                Val = (UInt32Value)1923141117U
            };

            valueAxis1.Append(axisId4);
            valueAxis1.Append(scaling2);
            valueAxis1.Append(delete2);
            valueAxis1.Append(axisPosition2);
            valueAxis1.Append(majorGridlines1);
            valueAxis1.Append(numberingFormat1);
            valueAxis1.Append(tickLabelPosition1);
            valueAxis1.Append(chartShapeProperties3);
            valueAxis1.Append(textProperties2);
            valueAxis1.Append(crossingAxis2);

            plotArea1.Append(layout1);
            plotArea1.Append(lineChart1);
            plotArea1.Append(categoryAxis1);
            plotArea1.Append(valueAxis1);

            C.Legend         legend1         = new C.Legend();
            C.LegendPosition legendPosition1 = new C.LegendPosition()
            {
                Val = C.LegendPositionValues.Right
            };
            C.Overlay overlay2 = new C.Overlay()
            {
                Val = false
            };

            legend1.Append(legendPosition1);
            legend1.Append(overlay2);
            C.PlotVisibleOnly plotVisibleOnly1 = new C.PlotVisibleOnly()
            {
                Val = true
            };

            chart1.Append(title1);
            chart1.Append(plotArea1);
            chart1.Append(legend1);
            chart1.Append(plotVisibleOnly1);

            chartSpace1.Append(chart1);

            part.ChartSpace = chartSpace1;
        }
Exemple #22
0
        //private void AddContent(ShapeTree shapeTree1, uint ObjectID, PPTXTextArea Content, PlaceholderValues PlaceHolderType, uint PlaceHolderIndex = uint.MaxValue)
        //{
        //    Shape shape1 = new Shape();

        //    NonVisualShapeProperties nonVisualShapeProperties1 = new NonVisualShapeProperties();

        //    NonVisualDrawingProperties nonVisualDrawingProperties2 = new NonVisualDrawingProperties() { Id = ObjectID, Name = $"Content{ObjectID}" };

        //    NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new NonVisualShapeDrawingProperties() { TextBox = true};
        //    A.ShapeLocks shapeLocks1 = new A.ShapeLocks() { NoGrouping = true };

        //    nonVisualShapeDrawingProperties1.Append(shapeLocks1);

        //    ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties2 = new ApplicationNonVisualDrawingProperties();
        //    PlaceholderShape placeholderShape1 = new PlaceholderShape();// { Type = PlaceHolderType };
        //    if (PlaceHolderIndex != uint.MaxValue)
        //    {
        //        placeholderShape1.Index = PlaceHolderIndex;
        //    }

        //    applicationNonVisualDrawingProperties2.Append(placeholderShape1);

        //    nonVisualShapeProperties1.Append(nonVisualDrawingProperties2);
        //    nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1);
        //    nonVisualShapeProperties1.Append(applicationNonVisualDrawingProperties2);
        //    ShapeProperties shapeProperties1 = new ShapeProperties();

        //    A.SolidFill solidFill1 = new A.SolidFill();

        //    A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
        //    A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 20000 };
        //    A.LuminanceOffset luminanceOffset1 = new A.LuminanceOffset() { Val = 80000 };

        //    schemeColor1.Append(luminanceModulation1);
        //    schemeColor1.Append(luminanceOffset1);

        //    solidFill1.Append(schemeColor1);

        //    shapeProperties1.Append(solidFill1);

        //    TextBody textBody1 = new TextBody();
        //    A.BodyProperties bodyProperties1 = new A.BodyProperties();
        //    A.ListStyle listStyle1 = new A.ListStyle();

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

        //    A.Transform2D transform2D25 = SlideWriterHelper.CreateTransform2D(Content.Transform);
        //    if (transform2D25 != null)
        //    {
        //        shapeProperties1.Append(transform2D25);
        //    }

        //    shape1.Append(nonVisualShapeProperties1);
        //    shape1.Append(shapeProperties1);
        //    shape1.Append(textBody1);

        //    foreach (var _textLine in Content.Texts)
        //    {
        //        var paragraph = new A.Paragraph(SlideWriterHelper.CrateParagraphProperties(_textLine));

        //        foreach(var _textRun in _textLine.Texts)
        //        {
        //            paragraph.Append(new A.Run()
        //            {
        //                RunProperties = SlideWriterHelper.CreateRunProperties(_textRun, HyperLinkIDMap),
        //                Text = new A.Text(_textRun.Text)
        //            });
        //        }

        //        shape1.TextBody.Append(paragraph);
        //    }

        //    shapeTree1.Append(shape1);
        //}


        private void AddTextBox(ShapeTree shapeTree1, uint ObjectID, PPTXTextArea Content)
        {
            Shape shape1 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties1 = new NonVisualShapeProperties();

            NonVisualDrawingProperties nonVisualDrawingProperties2 = new NonVisualDrawingProperties()
            {
                Id = ObjectID, Name = $"Content{ObjectID}"
            };

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList1 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension1 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{5FE2CA47-E73A-450F-9AE0-DF438874E2FB}\" />");

            nonVisualDrawingPropertiesExtension1.Append(openXmlUnknownElement1);

            nonVisualDrawingPropertiesExtensionList1.Append(nonVisualDrawingPropertiesExtension1);

            nonVisualDrawingProperties2.Append(nonVisualDrawingPropertiesExtensionList1);
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new NonVisualShapeDrawingProperties()
            {
                TextBox = true
            };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties2 = new ApplicationNonVisualDrawingProperties();

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

            ShapeProperties shapeProperties1 = new ShapeProperties();


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

            presetGeometry1.Append(adjustValueList1);

            TextBody textBody1 = new TextBody();

            A.BodyProperties bodyProperties1 = new A.BodyProperties();
            A.ListStyle      listStyle1      = new A.ListStyle();

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

            A.Transform2D transform2D25 = SlideWriterHelper.CreateTransform2D(Content.Transform);
            if (transform2D25 != null)
            {
                shapeProperties1.Append(transform2D25);
            }

            shapeProperties1.Append(presetGeometry1);

            if (Content.BackgroundColor.IsTransparent == false)
            {
                A.SolidFill solidFill1 = new A.SolidFill();
                solidFill1.Append(SlideWriterHelper.CreateRGBColorModeHex(Content.BackgroundColor));
                shapeProperties1.Append(solidFill1);
            }


            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties1);
            shape1.Append(textBody1);

            foreach (var _textLine in Content.Texts)
            {
                var paragraph = new A.Paragraph(SlideWriterHelper.CrateParagraphProperties(_textLine));

                foreach (var _textRun in _textLine.Texts)
                {
                    paragraph.Append(new A.Run()
                    {
                        RunProperties = SlideWriterHelper.CreateRunProperties(_textRun, HyperLinkIDMap),
                        Text          = new A.Text(_textRun.Text)
                    });
                }

                shape1.TextBody.Append(paragraph);
            }

            shapeTree1.Append(shape1);
        }
        // Generates content of slideLayoutPart8.
        private void GenerateSlideLayoutPart8Content(SlideLayoutPart slideLayoutPart8)
        {
            SlideLayout slideLayout8 = new SlideLayout(){ Type = SlideLayoutValues.TwoTextAndTwoObjects, Preserve = true };
            slideLayout8.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout8.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout8.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData11 = new CommonSlideData(){ Name = "Comparison" };

            ShapeTree shapeTree11 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties11 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties55 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties11 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties55 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties11.Append(nonVisualDrawingProperties55);
            nonVisualGroupShapeProperties11.Append(nonVisualGroupShapeDrawingProperties11);
            nonVisualGroupShapeProperties11.Append(applicationNonVisualDrawingProperties55);

            GroupShapeProperties groupShapeProperties11 = new GroupShapeProperties();

            A.TransformGroup transformGroup11 = new A.TransformGroup();
            A.Offset offset31 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents31 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset11 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents11 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup11.Append(offset31);
            transformGroup11.Append(extents31);
            transformGroup11.Append(childOffset11);
            transformGroup11.Append(childExtents11);

            groupShapeProperties11.Append(transformGroup11);

            Shape shape45 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties45 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks44 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties45.Append(shapeLocks44);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties56 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape44 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties56.Append(placeholderShape44);

            nonVisualShapeProperties45.Append(nonVisualDrawingProperties56);
            nonVisualShapeProperties45.Append(nonVisualShapeDrawingProperties45);
            nonVisualShapeProperties45.Append(applicationNonVisualDrawingProperties56);

            ShapeProperties shapeProperties45 = new ShapeProperties();

            A.Transform2D transform2D21 = new A.Transform2D();
            A.Offset offset32 = new A.Offset(){ X = 457200L, Y = 274638L };
            A.Extents extents32 = new A.Extents(){ Cx = 8229600L, Cy = 1143000L };

            transform2D21.Append(offset32);
            transform2D21.Append(extents32);

            shapeProperties45.Append(transform2D21);

            TextBody textBody45 = new TextBody();
            A.BodyProperties bodyProperties45 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties18 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties84 = new A.DefaultRunProperties();

            level1ParagraphProperties18.Append(defaultRunProperties84);

            listStyle45.Append(level1ParagraphProperties18);

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

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

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

            run47.Append(runProperties64);
            run47.Append(text64);
            A.EndParagraphRunProperties endParagraphRunProperties44 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph74.Append(run47);
            paragraph74.Append(endParagraphRunProperties44);

            textBody45.Append(bodyProperties45);
            textBody45.Append(listStyle45);
            textBody45.Append(paragraph74);

            shape45.Append(nonVisualShapeProperties45);
            shape45.Append(shapeProperties45);
            shape45.Append(textBody45);

            Shape shape46 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties46 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks45 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties46.Append(shapeLocks45);

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

            applicationNonVisualDrawingProperties57.Append(placeholderShape45);

            nonVisualShapeProperties46.Append(nonVisualDrawingProperties57);
            nonVisualShapeProperties46.Append(nonVisualShapeDrawingProperties46);
            nonVisualShapeProperties46.Append(applicationNonVisualDrawingProperties57);

            ShapeProperties shapeProperties46 = new ShapeProperties();

            A.Transform2D transform2D22 = new A.Transform2D();
            A.Offset offset33 = new A.Offset(){ X = 457201L, Y = 1535113L };
            A.Extents extents33 = new A.Extents(){ Cx = 4040188L, Cy = 639762L };

            transform2D22.Append(offset33);
            transform2D22.Append(extents33);

            shapeProperties46.Append(transform2D22);

            TextBody textBody46 = new TextBody();
            A.BodyProperties bodyProperties46 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties19 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet29 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties85 = new A.DefaultRunProperties(){ FontSize = 2400, Bold = true };

            level1ParagraphProperties19.Append(noBullet29);
            level1ParagraphProperties19.Append(defaultRunProperties85);

            A.Level2ParagraphProperties level2ParagraphProperties9 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet30 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties86 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level2ParagraphProperties9.Append(noBullet30);
            level2ParagraphProperties9.Append(defaultRunProperties86);

            A.Level3ParagraphProperties level3ParagraphProperties9 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet31 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties87 = new A.DefaultRunProperties(){ FontSize = 1800, Bold = true };

            level3ParagraphProperties9.Append(noBullet31);
            level3ParagraphProperties9.Append(defaultRunProperties87);

            A.Level4ParagraphProperties level4ParagraphProperties9 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet32 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties88 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level4ParagraphProperties9.Append(noBullet32);
            level4ParagraphProperties9.Append(defaultRunProperties88);

            A.Level5ParagraphProperties level5ParagraphProperties9 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet33 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties89 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level5ParagraphProperties9.Append(noBullet33);
            level5ParagraphProperties9.Append(defaultRunProperties89);

            A.Level6ParagraphProperties level6ParagraphProperties9 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet34 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties90 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level6ParagraphProperties9.Append(noBullet34);
            level6ParagraphProperties9.Append(defaultRunProperties90);

            A.Level7ParagraphProperties level7ParagraphProperties9 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet35 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties91 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level7ParagraphProperties9.Append(noBullet35);
            level7ParagraphProperties9.Append(defaultRunProperties91);

            A.Level8ParagraphProperties level8ParagraphProperties9 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet36 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties92 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level8ParagraphProperties9.Append(noBullet36);
            level8ParagraphProperties9.Append(defaultRunProperties92);

            A.Level9ParagraphProperties level9ParagraphProperties9 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet37 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties93 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level9ParagraphProperties9.Append(noBullet37);
            level9ParagraphProperties9.Append(defaultRunProperties93);

            listStyle46.Append(level1ParagraphProperties19);
            listStyle46.Append(level2ParagraphProperties9);
            listStyle46.Append(level3ParagraphProperties9);
            listStyle46.Append(level4ParagraphProperties9);
            listStyle46.Append(level5ParagraphProperties9);
            listStyle46.Append(level6ParagraphProperties9);
            listStyle46.Append(level7ParagraphProperties9);
            listStyle46.Append(level8ParagraphProperties9);
            listStyle46.Append(level9ParagraphProperties9);

            A.Paragraph paragraph75 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties36 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run48.Append(runProperties65);
            run48.Append(text65);

            paragraph75.Append(paragraphProperties36);
            paragraph75.Append(run48);

            textBody46.Append(bodyProperties46);
            textBody46.Append(listStyle46);
            textBody46.Append(paragraph75);

            shape46.Append(nonVisualShapeProperties46);
            shape46.Append(shapeProperties46);
            shape46.Append(textBody46);

            Shape shape47 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties47 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties58 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Content Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties47 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks46 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties47.Append(shapeLocks46);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties58 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape46 = new PlaceholderShape(){ Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties58.Append(placeholderShape46);

            nonVisualShapeProperties47.Append(nonVisualDrawingProperties58);
            nonVisualShapeProperties47.Append(nonVisualShapeDrawingProperties47);
            nonVisualShapeProperties47.Append(applicationNonVisualDrawingProperties58);

            ShapeProperties shapeProperties47 = new ShapeProperties();

            A.Transform2D transform2D23 = new A.Transform2D();
            A.Offset offset34 = new A.Offset(){ X = 457201L, Y = 2174875L };
            A.Extents extents34 = new A.Extents(){ Cx = 4040188L, Cy = 3951288L };

            transform2D23.Append(offset34);
            transform2D23.Append(extents34);

            shapeProperties47.Append(transform2D23);

            TextBody textBody47 = new TextBody();
            A.BodyProperties bodyProperties47 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties20 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties94 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level1ParagraphProperties20.Append(defaultRunProperties94);

            A.Level2ParagraphProperties level2ParagraphProperties10 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties95 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level2ParagraphProperties10.Append(defaultRunProperties95);

            A.Level3ParagraphProperties level3ParagraphProperties10 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties96 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level3ParagraphProperties10.Append(defaultRunProperties96);

            A.Level4ParagraphProperties level4ParagraphProperties10 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties97 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level4ParagraphProperties10.Append(defaultRunProperties97);

            A.Level5ParagraphProperties level5ParagraphProperties10 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties98 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level5ParagraphProperties10.Append(defaultRunProperties98);

            A.Level6ParagraphProperties level6ParagraphProperties10 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties99 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level6ParagraphProperties10.Append(defaultRunProperties99);

            A.Level7ParagraphProperties level7ParagraphProperties10 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties100 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level7ParagraphProperties10.Append(defaultRunProperties100);

            A.Level8ParagraphProperties level8ParagraphProperties10 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties101 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level8ParagraphProperties10.Append(defaultRunProperties101);

            A.Level9ParagraphProperties level9ParagraphProperties10 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties102 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level9ParagraphProperties10.Append(defaultRunProperties102);

            listStyle47.Append(level1ParagraphProperties20);
            listStyle47.Append(level2ParagraphProperties10);
            listStyle47.Append(level3ParagraphProperties10);
            listStyle47.Append(level4ParagraphProperties10);
            listStyle47.Append(level5ParagraphProperties10);
            listStyle47.Append(level6ParagraphProperties10);
            listStyle47.Append(level7ParagraphProperties10);
            listStyle47.Append(level8ParagraphProperties10);
            listStyle47.Append(level9ParagraphProperties10);

            A.Paragraph paragraph76 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties37 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run49.Append(runProperties66);
            run49.Append(text66);

            paragraph76.Append(paragraphProperties37);
            paragraph76.Append(run49);

            A.Paragraph paragraph77 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties38 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run50.Append(runProperties67);
            run50.Append(text67);

            paragraph77.Append(paragraphProperties38);
            paragraph77.Append(run50);

            A.Paragraph paragraph78 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties39 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run51.Append(runProperties68);
            run51.Append(text68);

            paragraph78.Append(paragraphProperties39);
            paragraph78.Append(run51);

            A.Paragraph paragraph79 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties40 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run52.Append(runProperties69);
            run52.Append(text69);

            paragraph79.Append(paragraphProperties40);
            paragraph79.Append(run52);

            A.Paragraph paragraph80 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties41 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run53.Append(runProperties70);
            run53.Append(text70);
            A.EndParagraphRunProperties endParagraphRunProperties45 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph80.Append(paragraphProperties41);
            paragraph80.Append(run53);
            paragraph80.Append(endParagraphRunProperties45);

            textBody47.Append(bodyProperties47);
            textBody47.Append(listStyle47);
            textBody47.Append(paragraph76);
            textBody47.Append(paragraph77);
            textBody47.Append(paragraph78);
            textBody47.Append(paragraph79);
            textBody47.Append(paragraph80);

            shape47.Append(nonVisualShapeProperties47);
            shape47.Append(shapeProperties47);
            shape47.Append(textBody47);

            Shape shape48 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties48 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties59 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Text Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties48 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks47 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties48.Append(shapeLocks47);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties59 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape47 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties59.Append(placeholderShape47);

            nonVisualShapeProperties48.Append(nonVisualDrawingProperties59);
            nonVisualShapeProperties48.Append(nonVisualShapeDrawingProperties48);
            nonVisualShapeProperties48.Append(applicationNonVisualDrawingProperties59);

            ShapeProperties shapeProperties48 = new ShapeProperties();

            A.Transform2D transform2D24 = new A.Transform2D();
            A.Offset offset35 = new A.Offset(){ X = 4645026L, Y = 1535113L };
            A.Extents extents35 = new A.Extents(){ Cx = 4041775L, Cy = 639762L };

            transform2D24.Append(offset35);
            transform2D24.Append(extents35);

            shapeProperties48.Append(transform2D24);

            TextBody textBody48 = new TextBody();
            A.BodyProperties bodyProperties48 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties21 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet38 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties103 = new A.DefaultRunProperties(){ FontSize = 2400, Bold = true };

            level1ParagraphProperties21.Append(noBullet38);
            level1ParagraphProperties21.Append(defaultRunProperties103);

            A.Level2ParagraphProperties level2ParagraphProperties11 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet39 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties104 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level2ParagraphProperties11.Append(noBullet39);
            level2ParagraphProperties11.Append(defaultRunProperties104);

            A.Level3ParagraphProperties level3ParagraphProperties11 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet40 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties105 = new A.DefaultRunProperties(){ FontSize = 1800, Bold = true };

            level3ParagraphProperties11.Append(noBullet40);
            level3ParagraphProperties11.Append(defaultRunProperties105);

            A.Level4ParagraphProperties level4ParagraphProperties11 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet41 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties106 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level4ParagraphProperties11.Append(noBullet41);
            level4ParagraphProperties11.Append(defaultRunProperties106);

            A.Level5ParagraphProperties level5ParagraphProperties11 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet42 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties107 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level5ParagraphProperties11.Append(noBullet42);
            level5ParagraphProperties11.Append(defaultRunProperties107);

            A.Level6ParagraphProperties level6ParagraphProperties11 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet43 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties108 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level6ParagraphProperties11.Append(noBullet43);
            level6ParagraphProperties11.Append(defaultRunProperties108);

            A.Level7ParagraphProperties level7ParagraphProperties11 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet44 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties109 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level7ParagraphProperties11.Append(noBullet44);
            level7ParagraphProperties11.Append(defaultRunProperties109);

            A.Level8ParagraphProperties level8ParagraphProperties11 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet45 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties110 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level8ParagraphProperties11.Append(noBullet45);
            level8ParagraphProperties11.Append(defaultRunProperties110);

            A.Level9ParagraphProperties level9ParagraphProperties11 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet46 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties111 = new A.DefaultRunProperties(){ FontSize = 1600, Bold = true };

            level9ParagraphProperties11.Append(noBullet46);
            level9ParagraphProperties11.Append(defaultRunProperties111);

            listStyle48.Append(level1ParagraphProperties21);
            listStyle48.Append(level2ParagraphProperties11);
            listStyle48.Append(level3ParagraphProperties11);
            listStyle48.Append(level4ParagraphProperties11);
            listStyle48.Append(level5ParagraphProperties11);
            listStyle48.Append(level6ParagraphProperties11);
            listStyle48.Append(level7ParagraphProperties11);
            listStyle48.Append(level8ParagraphProperties11);
            listStyle48.Append(level9ParagraphProperties11);

            A.Paragraph paragraph81 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties42 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run54.Append(runProperties71);
            run54.Append(text71);

            paragraph81.Append(paragraphProperties42);
            paragraph81.Append(run54);

            textBody48.Append(bodyProperties48);
            textBody48.Append(listStyle48);
            textBody48.Append(paragraph81);

            shape48.Append(nonVisualShapeProperties48);
            shape48.Append(shapeProperties48);
            shape48.Append(textBody48);

            Shape shape49 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties49 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties60 = new NonVisualDrawingProperties(){ Id = (UInt32Value)6U, Name = "Content Placeholder 5" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties49 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks48 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties49.Append(shapeLocks48);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties60 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape48 = new PlaceholderShape(){ Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties60.Append(placeholderShape48);

            nonVisualShapeProperties49.Append(nonVisualDrawingProperties60);
            nonVisualShapeProperties49.Append(nonVisualShapeDrawingProperties49);
            nonVisualShapeProperties49.Append(applicationNonVisualDrawingProperties60);

            ShapeProperties shapeProperties49 = new ShapeProperties();

            A.Transform2D transform2D25 = new A.Transform2D();
            A.Offset offset36 = new A.Offset(){ X = 4645026L, Y = 2174875L };
            A.Extents extents36 = new A.Extents(){ Cx = 4041775L, Cy = 3951288L };

            transform2D25.Append(offset36);
            transform2D25.Append(extents36);

            shapeProperties49.Append(transform2D25);

            TextBody textBody49 = new TextBody();
            A.BodyProperties bodyProperties49 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties22 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties112 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level1ParagraphProperties22.Append(defaultRunProperties112);

            A.Level2ParagraphProperties level2ParagraphProperties12 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties113 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level2ParagraphProperties12.Append(defaultRunProperties113);

            A.Level3ParagraphProperties level3ParagraphProperties12 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties114 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level3ParagraphProperties12.Append(defaultRunProperties114);

            A.Level4ParagraphProperties level4ParagraphProperties12 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties115 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level4ParagraphProperties12.Append(defaultRunProperties115);

            A.Level5ParagraphProperties level5ParagraphProperties12 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties116 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level5ParagraphProperties12.Append(defaultRunProperties116);

            A.Level6ParagraphProperties level6ParagraphProperties12 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties117 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level6ParagraphProperties12.Append(defaultRunProperties117);

            A.Level7ParagraphProperties level7ParagraphProperties12 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties118 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level7ParagraphProperties12.Append(defaultRunProperties118);

            A.Level8ParagraphProperties level8ParagraphProperties12 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties119 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level8ParagraphProperties12.Append(defaultRunProperties119);

            A.Level9ParagraphProperties level9ParagraphProperties12 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties120 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level9ParagraphProperties12.Append(defaultRunProperties120);

            listStyle49.Append(level1ParagraphProperties22);
            listStyle49.Append(level2ParagraphProperties12);
            listStyle49.Append(level3ParagraphProperties12);
            listStyle49.Append(level4ParagraphProperties12);
            listStyle49.Append(level5ParagraphProperties12);
            listStyle49.Append(level6ParagraphProperties12);
            listStyle49.Append(level7ParagraphProperties12);
            listStyle49.Append(level8ParagraphProperties12);
            listStyle49.Append(level9ParagraphProperties12);

            A.Paragraph paragraph82 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties43 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run55.Append(runProperties72);
            run55.Append(text72);

            paragraph82.Append(paragraphProperties43);
            paragraph82.Append(run55);

            A.Paragraph paragraph83 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties44 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run56.Append(runProperties73);
            run56.Append(text73);

            paragraph83.Append(paragraphProperties44);
            paragraph83.Append(run56);

            A.Paragraph paragraph84 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties45 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run57.Append(runProperties74);
            run57.Append(text74);

            paragraph84.Append(paragraphProperties45);
            paragraph84.Append(run57);

            A.Paragraph paragraph85 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties46 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run58.Append(runProperties75);
            run58.Append(text75);

            paragraph85.Append(paragraphProperties46);
            paragraph85.Append(run58);

            A.Paragraph paragraph86 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties47 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run59.Append(runProperties76);
            run59.Append(text76);
            A.EndParagraphRunProperties endParagraphRunProperties46 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph86.Append(paragraphProperties47);
            paragraph86.Append(run59);
            paragraph86.Append(endParagraphRunProperties46);

            textBody49.Append(bodyProperties49);
            textBody49.Append(listStyle49);
            textBody49.Append(paragraph82);
            textBody49.Append(paragraph83);
            textBody49.Append(paragraph84);
            textBody49.Append(paragraph85);
            textBody49.Append(paragraph86);

            shape49.Append(nonVisualShapeProperties49);
            shape49.Append(shapeProperties49);
            shape49.Append(textBody49);

            Shape shape50 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties50 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties61 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Date Placeholder 6" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties50 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks49 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties50.Append(shapeLocks49);

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

            applicationNonVisualDrawingProperties61.Append(placeholderShape49);

            nonVisualShapeProperties50.Append(nonVisualDrawingProperties61);
            nonVisualShapeProperties50.Append(nonVisualShapeDrawingProperties50);
            nonVisualShapeProperties50.Append(applicationNonVisualDrawingProperties61);
            ShapeProperties shapeProperties50 = new ShapeProperties();

            TextBody textBody50 = new TextBody();
            A.BodyProperties bodyProperties50 = new A.BodyProperties();
            A.ListStyle listStyle50 = new A.ListStyle();

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

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

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

            field18.Append(runProperties77);
            field18.Append(text77);
            A.EndParagraphRunProperties endParagraphRunProperties47 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph87.Append(field18);
            paragraph87.Append(endParagraphRunProperties47);

            textBody50.Append(bodyProperties50);
            textBody50.Append(listStyle50);
            textBody50.Append(paragraph87);

            shape50.Append(nonVisualShapeProperties50);
            shape50.Append(shapeProperties50);
            shape50.Append(textBody50);

            Shape shape51 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties51 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties62 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Footer Placeholder 7" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties51 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks50 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties51.Append(shapeLocks50);

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

            applicationNonVisualDrawingProperties62.Append(placeholderShape50);

            nonVisualShapeProperties51.Append(nonVisualDrawingProperties62);
            nonVisualShapeProperties51.Append(nonVisualShapeDrawingProperties51);
            nonVisualShapeProperties51.Append(applicationNonVisualDrawingProperties62);
            ShapeProperties shapeProperties51 = new ShapeProperties();

            TextBody textBody51 = new TextBody();
            A.BodyProperties bodyProperties51 = new A.BodyProperties();
            A.ListStyle listStyle51 = new A.ListStyle();

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

            paragraph88.Append(endParagraphRunProperties48);

            textBody51.Append(bodyProperties51);
            textBody51.Append(listStyle51);
            textBody51.Append(paragraph88);

            shape51.Append(nonVisualShapeProperties51);
            shape51.Append(shapeProperties51);
            shape51.Append(textBody51);

            Shape shape52 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties52 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties63 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Slide Number Placeholder 8" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties52 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks51 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties52.Append(shapeLocks51);

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

            applicationNonVisualDrawingProperties63.Append(placeholderShape51);

            nonVisualShapeProperties52.Append(nonVisualDrawingProperties63);
            nonVisualShapeProperties52.Append(nonVisualShapeDrawingProperties52);
            nonVisualShapeProperties52.Append(applicationNonVisualDrawingProperties63);
            ShapeProperties shapeProperties52 = new ShapeProperties();

            TextBody textBody52 = new TextBody();
            A.BodyProperties bodyProperties52 = new A.BodyProperties();
            A.ListStyle listStyle52 = new A.ListStyle();

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

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

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

            field19.Append(runProperties78);
            field19.Append(text78);
            A.EndParagraphRunProperties endParagraphRunProperties49 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph89.Append(field19);
            paragraph89.Append(endParagraphRunProperties49);

            textBody52.Append(bodyProperties52);
            textBody52.Append(listStyle52);
            textBody52.Append(paragraph89);

            shape52.Append(nonVisualShapeProperties52);
            shape52.Append(shapeProperties52);
            shape52.Append(textBody52);

            shapeTree11.Append(nonVisualGroupShapeProperties11);
            shapeTree11.Append(groupShapeProperties11);
            shapeTree11.Append(shape45);
            shapeTree11.Append(shape46);
            shapeTree11.Append(shape47);
            shapeTree11.Append(shape48);
            shapeTree11.Append(shape49);
            shapeTree11.Append(shape50);
            shapeTree11.Append(shape51);
            shapeTree11.Append(shape52);

            commonSlideData11.Append(shapeTree11);

            ColorMapOverride colorMapOverride9 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping9 = new A.MasterColorMapping();

            colorMapOverride9.Append(masterColorMapping9);

            slideLayout8.Append(commonSlideData11);
            slideLayout8.Append(colorMapOverride9);

            slideLayoutPart8.SlideLayout = slideLayout8;
        }
        /// <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);
        }
Exemple #25
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout5 = new SlideLayout()
            {
                Type = SlideLayoutValues.Object, Preserve = true
            };

            slideLayout5.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout5.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData7 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree7 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties7 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties33   = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties7   = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties33 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties7.Append(nonVisualDrawingProperties33);
            nonVisualGroupShapeProperties7.Append(nonVisualGroupShapeDrawingProperties7);
            nonVisualGroupShapeProperties7.Append(applicationNonVisualDrawingProperties33);

            GroupShapeProperties groupShapeProperties7 = new GroupShapeProperties();

            A.TransformGroup transformGroup7 = new A.TransformGroup();
            A.Offset         offset19        = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents19 = new A.Extents()
            {
                Cx = 0L, Cy = 0L
            };
            A.ChildOffset childOffset7 = new A.ChildOffset()
            {
                X = 0L, Y = 0L
            };
            A.ChildExtents childExtents7 = new A.ChildExtents()
            {
                Cx = 0L, Cy = 0L
            };

            transformGroup7.Append(offset19);
            transformGroup7.Append(extents19);
            transformGroup7.Append(childOffset7);
            transformGroup7.Append(childExtents7);

            groupShapeProperties7.Append(transformGroup7);

            Shape shape27 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties27 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks27 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties27.Append(shapeLocks27);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties34 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape27 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Title
            };

            applicationNonVisualDrawingProperties34.Append(placeholderShape27);

            nonVisualShapeProperties27.Append(nonVisualDrawingProperties34);
            nonVisualShapeProperties27.Append(nonVisualShapeDrawingProperties27);
            nonVisualShapeProperties27.Append(applicationNonVisualDrawingProperties34);
            ShapeProperties shapeProperties27 = new ShapeProperties();

            TextBody textBody27 = new TextBody();

            A.BodyProperties bodyProperties27 = new A.BodyProperties();
            A.ListStyle      listStyle27      = new A.ListStyle();

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

            A.Run           run36           = new A.Run();
            A.RunProperties runProperties46 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text46 = new A.Text();
            text46.Text = "マスター タイトルの書式設定";

            run36.Append(runProperties46);
            run36.Append(text46);
            A.EndParagraphRunProperties endParagraphRunProperties23 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph35.Append(run36);
            paragraph35.Append(endParagraphRunProperties23);

            textBody27.Append(bodyProperties27);
            textBody27.Append(listStyle27);
            textBody27.Append(paragraph35);

            shape27.Append(nonVisualShapeProperties27);
            shape27.Append(shapeProperties27);
            shape27.Append(textBody27);

            Shape shape28 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties28   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties35 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)3U, Name = "Content Placeholder 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties28 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks28 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties28.Append(shapeLocks28);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties35 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape28 = new PlaceholderShape()
            {
                Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties35.Append(placeholderShape28);

            nonVisualShapeProperties28.Append(nonVisualDrawingProperties35);
            nonVisualShapeProperties28.Append(nonVisualShapeDrawingProperties28);
            nonVisualShapeProperties28.Append(applicationNonVisualDrawingProperties35);
            ShapeProperties shapeProperties28 = new ShapeProperties();

            TextBody textBody28 = new TextBody();

            A.BodyProperties bodyProperties28 = new A.BodyProperties();
            A.ListStyle      listStyle28      = new A.ListStyle();

            A.Paragraph           paragraph36           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties13 = new A.ParagraphProperties()
            {
                Level = 0
            };

            A.Run           run37           = new A.Run();
            A.RunProperties runProperties47 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text47 = new A.Text();
            text47.Text = "マスター テキストの書式設定";

            run37.Append(runProperties47);
            run37.Append(text47);

            paragraph36.Append(paragraphProperties13);
            paragraph36.Append(run37);

            A.Paragraph           paragraph37           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties14 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run38           = new A.Run();
            A.RunProperties runProperties48 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text48 = new A.Text();
            text48.Text = "第 ";

            run38.Append(runProperties48);
            run38.Append(text48);

            A.Run           run39           = new A.Run();
            A.RunProperties runProperties49 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text49 = new A.Text();
            text49.Text = "2 ";

            run39.Append(runProperties49);
            run39.Append(text49);

            A.Run           run40           = new A.Run();
            A.RunProperties runProperties50 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text50 = new A.Text();
            text50.Text = "レベル";

            run40.Append(runProperties50);
            run40.Append(text50);

            paragraph37.Append(paragraphProperties14);
            paragraph37.Append(run38);
            paragraph37.Append(run39);
            paragraph37.Append(run40);

            A.Paragraph           paragraph38           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties15 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run41           = new A.Run();
            A.RunProperties runProperties51 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text51 = new A.Text();
            text51.Text = "第 ";

            run41.Append(runProperties51);
            run41.Append(text51);

            A.Run           run42           = new A.Run();
            A.RunProperties runProperties52 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text52 = new A.Text();
            text52.Text = "3 ";

            run42.Append(runProperties52);
            run42.Append(text52);

            A.Run           run43           = new A.Run();
            A.RunProperties runProperties53 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text53 = new A.Text();
            text53.Text = "レベル";

            run43.Append(runProperties53);
            run43.Append(text53);

            paragraph38.Append(paragraphProperties15);
            paragraph38.Append(run41);
            paragraph38.Append(run42);
            paragraph38.Append(run43);

            A.Paragraph           paragraph39           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties16 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run44           = new A.Run();
            A.RunProperties runProperties54 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text54 = new A.Text();
            text54.Text = "第 ";

            run44.Append(runProperties54);
            run44.Append(text54);

            A.Run           run45           = new A.Run();
            A.RunProperties runProperties55 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text55 = new A.Text();
            text55.Text = "4 ";

            run45.Append(runProperties55);
            run45.Append(text55);

            A.Run           run46           = new A.Run();
            A.RunProperties runProperties56 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text56 = new A.Text();
            text56.Text = "レベル";

            run46.Append(runProperties56);
            run46.Append(text56);

            paragraph39.Append(paragraphProperties16);
            paragraph39.Append(run44);
            paragraph39.Append(run45);
            paragraph39.Append(run46);

            A.Paragraph           paragraph40           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties17 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run47           = new A.Run();
            A.RunProperties runProperties57 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text57 = new A.Text();
            text57.Text = "第 ";

            run47.Append(runProperties57);
            run47.Append(text57);

            A.Run           run48           = new A.Run();
            A.RunProperties runProperties58 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text58 = new A.Text();
            text58.Text = "5 ";

            run48.Append(runProperties58);
            run48.Append(text58);

            A.Run           run49           = new A.Run();
            A.RunProperties runProperties59 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text59 = new A.Text();
            text59.Text = "レベル";

            run49.Append(runProperties59);
            run49.Append(text59);
            A.EndParagraphRunProperties endParagraphRunProperties24 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph40.Append(paragraphProperties17);
            paragraph40.Append(run47);
            paragraph40.Append(run48);
            paragraph40.Append(run49);
            paragraph40.Append(endParagraphRunProperties24);

            textBody28.Append(bodyProperties28);
            textBody28.Append(listStyle28);
            textBody28.Append(paragraph36);
            textBody28.Append(paragraph37);
            textBody28.Append(paragraph38);
            textBody28.Append(paragraph39);
            textBody28.Append(paragraph40);

            shape28.Append(nonVisualShapeProperties28);
            shape28.Append(shapeProperties28);
            shape28.Append(textBody28);

            Shape shape29 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties29 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks29 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties29.Append(shapeLocks29);

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

            applicationNonVisualDrawingProperties36.Append(placeholderShape29);

            nonVisualShapeProperties29.Append(nonVisualDrawingProperties36);
            nonVisualShapeProperties29.Append(nonVisualShapeDrawingProperties29);
            nonVisualShapeProperties29.Append(applicationNonVisualDrawingProperties36);
            ShapeProperties shapeProperties29 = new ShapeProperties();

            TextBody textBody29 = new TextBody();

            A.BodyProperties bodyProperties29 = new A.BodyProperties();
            A.ListStyle      listStyle29      = new A.ListStyle();

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

            A.Field field11 = new A.Field()
            {
                Id = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties60 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties60.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text60 = new A.Text();
            text60.Text = "2018/5/3";

            field11.Append(runProperties60);
            field11.Append(text60);
            A.EndParagraphRunProperties endParagraphRunProperties25 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph41.Append(field11);
            paragraph41.Append(endParagraphRunProperties25);

            textBody29.Append(bodyProperties29);
            textBody29.Append(listStyle29);
            textBody29.Append(paragraph41);

            shape29.Append(nonVisualShapeProperties29);
            shape29.Append(shapeProperties29);
            shape29.Append(textBody29);

            Shape shape30 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties30 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks30 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties30.Append(shapeLocks30);

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

            applicationNonVisualDrawingProperties37.Append(placeholderShape30);

            nonVisualShapeProperties30.Append(nonVisualDrawingProperties37);
            nonVisualShapeProperties30.Append(nonVisualShapeDrawingProperties30);
            nonVisualShapeProperties30.Append(applicationNonVisualDrawingProperties37);
            ShapeProperties shapeProperties30 = new ShapeProperties();

            TextBody textBody30 = new TextBody();

            A.BodyProperties bodyProperties30 = new A.BodyProperties();
            A.ListStyle      listStyle30      = new A.ListStyle();

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

            paragraph42.Append(endParagraphRunProperties26);

            textBody30.Append(bodyProperties30);
            textBody30.Append(listStyle30);
            textBody30.Append(paragraph42);

            shape30.Append(nonVisualShapeProperties30);
            shape30.Append(shapeProperties30);
            shape30.Append(textBody30);

            Shape shape31 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties31 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks31 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties31.Append(shapeLocks31);

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

            applicationNonVisualDrawingProperties38.Append(placeholderShape31);

            nonVisualShapeProperties31.Append(nonVisualDrawingProperties38);
            nonVisualShapeProperties31.Append(nonVisualShapeDrawingProperties31);
            nonVisualShapeProperties31.Append(applicationNonVisualDrawingProperties38);
            ShapeProperties shapeProperties31 = new ShapeProperties();

            TextBody textBody31 = new TextBody();

            A.BodyProperties bodyProperties31 = new A.BodyProperties();
            A.ListStyle      listStyle31      = new A.ListStyle();

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

            A.Field field12 = new A.Field()
            {
                Id = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field12.Append(runProperties61);
            field12.Append(text61);
            A.EndParagraphRunProperties endParagraphRunProperties27 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph43.Append(field12);
            paragraph43.Append(endParagraphRunProperties27);

            textBody31.Append(bodyProperties31);
            textBody31.Append(listStyle31);
            textBody31.Append(paragraph43);

            shape31.Append(nonVisualShapeProperties31);
            shape31.Append(shapeProperties31);
            shape31.Append(textBody31);

            shapeTree7.Append(nonVisualGroupShapeProperties7);
            shapeTree7.Append(groupShapeProperties7);
            shapeTree7.Append(shape27);
            shapeTree7.Append(shape28);
            shapeTree7.Append(shape29);
            shapeTree7.Append(shape30);
            shapeTree7.Append(shape31);

            CommonSlideDataExtensionList commonSlideDataExtensionList7 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension7.Append(creationId7);

            commonSlideDataExtensionList7.Append(commonSlideDataExtension7);

            commonSlideData7.Append(shapeTree7);
            commonSlideData7.Append(commonSlideDataExtensionList7);

            ColorMapOverride colorMapOverride6 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping6 = new A.MasterColorMapping();

            colorMapOverride6.Append(masterColorMapping6);

            slideLayout5.Append(commonSlideData7);
            slideLayout5.Append(colorMapOverride6);

            slideLayoutPart.SlideLayout = slideLayout5;

            return(slideLayoutPart);
        }
Exemple #26
0
        private void insertLink(Slide slide, PageUrl pageUrl, int objId)
        {
            slide.SlidePart.AddHyperlinkRelationship(new System.Uri(pageUrl.url, System.UriKind.Absolute), true, "rId" + objId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            slide.CommonSlideData.ShapeTree.AppendChild(shape);
        }
        internal C.ValueAxis ToValueAxis(bool IsStylish)
        {
            C.ValueAxis va = new C.ValueAxis();
            va.AxisId = new C.AxisId()
            {
                Val = this.AxisId
            };

            va.Scaling             = new C.Scaling();
            va.Scaling.Orientation = new C.Orientation()
            {
                Val = this.Orientation
            };
            if (this.LogBase != null)
            {
                va.Scaling.LogBase = new C.LogBase()
                {
                    Val = this.LogBase.Value
                }
            }
            ;
            if (this.MaxAxisValue != null)
            {
                va.Scaling.MaxAxisValue = new C.MaxAxisValue()
                {
                    Val = this.MaxAxisValue.Value
                }
            }
            ;
            if (this.MinAxisValue != null)
            {
                va.Scaling.MinAxisValue = new C.MinAxisValue()
                {
                    Val = this.MinAxisValue.Value
                }
            }
            ;

            va.Delete = new C.Delete()
            {
                Val = this.Delete
            };

            C.AxisPositionValues axpos = this.AxisPosition;
            if (!this.ForceAxisPosition)
            {
                if (this.OtherAxisIsInReverseOrder)
                {
                    axpos = SLChartTool.GetOppositePosition(axpos);
                }
                if (this.OtherAxisCrossedAtMaximum)
                {
                    axpos = SLChartTool.GetOppositePosition(axpos);
                }
            }
            va.AxisPosition = new C.AxisPosition()
            {
                Val = axpos
            };

            if (this.ShowMajorGridlines)
            {
                va.MajorGridlines = this.MajorGridlines.ToMajorGridlines(IsStylish);
            }

            if (this.ShowMinorGridlines)
            {
                va.MinorGridlines = this.MinorGridlines.ToMinorGridlines(IsStylish);
            }

            if (this.ShowTitle)
            {
                va.Title = this.Title.ToTitle(IsStylish);
            }

            if (this.HasNumberingFormat)
            {
                va.NumberingFormat = new C.NumberingFormat()
                {
                    FormatCode   = this.FormatCode,
                    SourceLinked = this.SourceLinked
                };
            }

            va.MajorTickMark = new C.MajorTickMark()
            {
                Val = this.MajorTickMark
            };
            va.MinorTickMark = new C.MinorTickMark()
            {
                Val = this.MinorTickMark
            };
            va.TickLabelPosition = new C.TickLabelPosition()
            {
                Val = this.TickLabelPosition
            };

            if (this.ShapeProperties.HasShapeProperties)
            {
                va.ChartShapeProperties = this.ShapeProperties.ToChartShapeProperties(IsStylish);
            }

            if (this.Rotation != null || this.Vertical != null || this.Anchor != null || this.AnchorCenter != null)
            {
                va.TextProperties = new C.TextProperties();
                va.TextProperties.BodyProperties = new A.BodyProperties();
                if (this.Rotation != null)
                {
                    va.TextProperties.BodyProperties.Rotation = (int)(this.Rotation.Value * SLConstants.DegreeToAngleRepresentation);
                }
                if (this.Vertical != null)
                {
                    va.TextProperties.BodyProperties.Vertical = this.Vertical.Value;
                }
                if (this.Anchor != null)
                {
                    va.TextProperties.BodyProperties.Anchor = this.Anchor.Value;
                }
                if (this.AnchorCenter != null)
                {
                    va.TextProperties.BodyProperties.AnchorCenter = this.AnchorCenter.Value;
                }

                va.TextProperties.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();
                para.ParagraphProperties.Append(new A.DefaultRunProperties());
                va.TextProperties.Append(para);
            }
            else if (IsStylish)
            {
                va.TextProperties = new C.TextProperties();
                va.TextProperties.BodyProperties = 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
                };
                va.TextProperties.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();

                A.DefaultRunProperties defrunprops = new A.DefaultRunProperties();
                defrunprops.FontSize  = 900;
                defrunprops.Bold      = false;
                defrunprops.Italic    = false;
                defrunprops.Underline = A.TextUnderlineValues.None;
                defrunprops.Strike    = A.TextStrikeValues.NoStrike;
                defrunprops.Kerning   = 1200;
                defrunprops.Baseline  = 0;

                A.SchemeColor schclr = new A.SchemeColor()
                {
                    Val = A.SchemeColorValues.Text1
                };
                schclr.Append(new A.LuminanceModulation()
                {
                    Val = 65000
                });
                schclr.Append(new A.LuminanceOffset()
                {
                    Val = 35000
                });
                defrunprops.Append(new A.SolidFill()
                {
                    SchemeColor = schclr
                });

                defrunprops.Append(new A.LatinFont()
                {
                    Typeface = "+mn-lt"
                });
                defrunprops.Append(new A.EastAsianFont()
                {
                    Typeface = "+mn-ea"
                });
                defrunprops.Append(new A.ComplexScriptFont()
                {
                    Typeface = "+mn-cs"
                });

                para.ParagraphProperties.Append(defrunprops);
                para.Append(new A.EndParagraphRunProperties()
                {
                    Language = System.Globalization.CultureInfo.CurrentCulture.Name
                });

                va.TextProperties.Append(para);
            }

            va.CrossingAxis = new C.CrossingAxis()
            {
                Val = this.CrossingAxis
            };

            if (this.IsCrosses != null)
            {
                if (this.IsCrosses.Value)
                {
                    va.Append(new C.Crosses()
                    {
                        Val = this.Crosses
                    });
                }
                else
                {
                    va.Append(new C.CrossesAt()
                    {
                        Val = this.CrossesAt
                    });
                }
            }

            va.Append(new C.CrossBetween()
            {
                Val = this.CrossBetween
            });
            if (this.ValueMajorUnit != null)
            {
                va.Append(new C.MajorUnit()
                {
                    Val = this.ValueMajorUnit.Value
                });
            }
            if (this.ValueMinorUnit != null)
            {
                va.Append(new C.MinorUnit()
                {
                    Val = this.ValueMinorUnit.Value
                });
            }

            if (this.BuiltInUnitValues != null)
            {
                C.DisplayUnits du = new C.DisplayUnits();
                du.Append(new C.BuiltInUnit()
                {
                    Val = this.BuiltInUnitValues.Value
                });
                if (this.ShowDisplayUnitsLabel)
                {
                    C.DisplayUnitsLabel dul = new C.DisplayUnitsLabel();
                    dul.Layout = new C.Layout();
                    du.Append(dul);
                }
                va.Append(du);
            }

            return(va);
        }
        // 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;
        }
Exemple #29
0
        protected virtual void InitDrawingsPart(int logoToMarkerColOffset  = 824661,
                                                int titleFromMarkerColumn  = 7,
                                                int titleToMarkerColumn    = 9,
                                                int titleToMarkerColOffset = 285450)
        {
            Xdr.WorksheetDrawing worksheetDrawing = new Xdr.WorksheetDrawing();
            worksheetDrawing.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

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

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId1   = new Xdr.ColumnId();
            columnId1.Text = "0";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "0";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "0";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "82404";

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

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "2";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = logoToMarkerColOffset.ToString();
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "2";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "126030";

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

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

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)4U, Name = "Picture 3"
            };

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

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill()
            {
                RotateWithShape = true
            };

            A.Blip blip1 = new A.Blip()
            {
                Embed = "rId1"
            };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle()
            {
                Top = 32250, Bottom = 34913
            };
            A.Stretch stretch1 = new A.Stretch();

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

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 0L, Y = 82404L
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = 1827961L, Cy = 450026L
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            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);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

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

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

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId3   = new Xdr.ColumnId();
            columnId3.Text = titleFromMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "685800";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "0";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "114300";

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

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = titleToMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = titleToMarkerColOffset.ToString();
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "2";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "88900";

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

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

            Xdr.NonVisualShapeProperties   nonVisualShapeProperties1   = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)8U, Name = "TextBox 7"
            };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties()
            {
                TextBox = true
            };

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

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

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = 6769100L, Y = 114300L
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = 1631650L, Cy = 381000L
            };

            transform2D2.Append(offset2);
            transform2D2.Append(extents2);

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

            presetGeometry2.Append(adjustValueList2);

            A.SolidFill   solidFill1   = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill1.Append(schemeColor1);

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

            outline1.Append(noFill1);

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(presetGeometry2);
            shapeProperties2.Append(solidFill1);
            shapeProperties2.Append(outline1);

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

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

            lineReference1.Append(rgbColorModelPercentage1);

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

            fillReference1.Append(rgbColorModelPercentage2);

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

            effectReference1.Append(rgbColorModelPercentage3);

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

            fontReference1.Append(schemeColor2);

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

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

            A.Paragraph           paragraph1           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };

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

            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Language = "en-US", FontSize = 1600, Bold = true
            };

            A.SolidFill   solidFill2   = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Background1
            };

            solidFill2.Append(schemeColor3);

            runProperties1.Append(solidFill2);
            A.Text text1 = new A.Text();
            text1.Text = "Deloitte Reveal";

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

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);

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

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

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

            worksheetDrawing.Append(twoCellAnchor1);
            worksheetDrawing.Append(twoCellAnchor2);

            DrawingsPart.WorksheetDrawing = worksheetDrawing;
        }
        // Generates content of slideLayoutPart7.
        private void GenerateSlideLayoutPart7Content(SlideLayoutPart slideLayoutPart7)
        {
            SlideLayout slideLayout7 = new SlideLayout(){ Type = SlideLayoutValues.VerticalTitleAndText, Preserve = true };
            slideLayout7.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout7.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData9 = new CommonSlideData(){ Name = "Vertical Title and Text" };

            ShapeTree shapeTree9 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties9 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties78 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties9 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties78 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties9.Append(nonVisualDrawingProperties78);
            nonVisualGroupShapeProperties9.Append(nonVisualGroupShapeDrawingProperties9);
            nonVisualGroupShapeProperties9.Append(applicationNonVisualDrawingProperties78);

            GroupShapeProperties groupShapeProperties9 = new GroupShapeProperties();

            A.TransformGroup transformGroup9 = new A.TransformGroup();
            A.Offset offset58 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents58 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset9 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents9 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup9.Append(offset58);
            transformGroup9.Append(extents58);
            transformGroup9.Append(childOffset9);
            transformGroup9.Append(childExtents9);

            groupShapeProperties9.Append(transformGroup9);

            Shape shape40 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties40 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties79 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Vertical Title 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties40 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks38 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties40.Append(shapeLocks38);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties79 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape38 = new PlaceholderShape(){ Type = PlaceholderValues.Title, Orientation = DirectionValues.Vertical };

            applicationNonVisualDrawingProperties79.Append(placeholderShape38);

            nonVisualShapeProperties40.Append(nonVisualDrawingProperties79);
            nonVisualShapeProperties40.Append(nonVisualShapeDrawingProperties40);
            nonVisualShapeProperties40.Append(applicationNonVisualDrawingProperties79);

            ShapeProperties shapeProperties70 = new ShapeProperties();

            A.Transform2D transform2D50 = new A.Transform2D();
            A.Offset offset59 = new A.Offset(){ X = 8687474L, Y = 685800L };
            A.Extents extents59 = new A.Extents(){ Cx = 2057936L, Cy = 4572000L };

            transform2D50.Append(offset59);
            transform2D50.Append(extents59);

            shapeProperties70.Append(transform2D50);

            TextBody textBody40 = new TextBody();
            A.BodyProperties bodyProperties40 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical };
            A.ListStyle listStyle40 = new A.ListStyle();

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

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

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

            run28.Append(runProperties42);
            run28.Append(text42);
            A.EndParagraphRunProperties endParagraphRunProperties35 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph48.Append(run28);
            paragraph48.Append(endParagraphRunProperties35);

            textBody40.Append(bodyProperties40);
            textBody40.Append(listStyle40);
            textBody40.Append(paragraph48);

            shape40.Append(nonVisualShapeProperties40);
            shape40.Append(shapeProperties70);
            shape40.Append(textBody40);

            Shape shape41 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties41 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties80 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Vertical Text Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties41 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks39 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties41.Append(shapeLocks39);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties80 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape39 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties80.Append(placeholderShape39);

            nonVisualShapeProperties41.Append(nonVisualDrawingProperties80);
            nonVisualShapeProperties41.Append(nonVisualShapeDrawingProperties41);
            nonVisualShapeProperties41.Append(applicationNonVisualDrawingProperties80);

            ShapeProperties shapeProperties71 = new ShapeProperties();

            A.Transform2D transform2D51 = new A.Transform2D();
            A.Offset offset60 = new A.Offset(){ X = 685979L, Y = 685800L };
            A.Extents extents60 = new A.Extents(){ Cx = 7825238L, Cy = 5308600L };

            transform2D51.Append(offset60);
            transform2D51.Append(extents60);

            shapeProperties71.Append(transform2D51);

            TextBody textBody41 = new TextBody();
            A.BodyProperties bodyProperties41 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical, Anchor = A.TextAnchoringTypeValues.Top };
            A.ListStyle listStyle41 = new A.ListStyle();

            A.Paragraph paragraph49 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties18 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run29.Append(runProperties43);
            run29.Append(text43);

            paragraph49.Append(paragraphProperties18);
            paragraph49.Append(run29);

            A.Paragraph paragraph50 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties19 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties44 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties44.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text44 = new A.Text();
            text44.Text = "Second level";

            run30.Append(runProperties44);
            run30.Append(text44);

            paragraph50.Append(paragraphProperties19);
            paragraph50.Append(run30);

            A.Paragraph paragraph51 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties20 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties45 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties45.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text45 = new A.Text();
            text45.Text = "Third level";

            run31.Append(runProperties45);
            run31.Append(text45);

            paragraph51.Append(paragraphProperties20);
            paragraph51.Append(run31);

            A.Paragraph paragraph52 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties21 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties46 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties46.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text46 = new A.Text();
            text46.Text = "Fourth level";

            run32.Append(runProperties46);
            run32.Append(text46);

            paragraph52.Append(paragraphProperties21);
            paragraph52.Append(run32);

            A.Paragraph paragraph53 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties22 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties47 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties47.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text47 = new A.Text();
            text47.Text = "Fifth level";

            run33.Append(runProperties47);
            run33.Append(text47);
            A.EndParagraphRunProperties endParagraphRunProperties36 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph53.Append(paragraphProperties22);
            paragraph53.Append(run33);
            paragraph53.Append(endParagraphRunProperties36);

            textBody41.Append(bodyProperties41);
            textBody41.Append(listStyle41);
            textBody41.Append(paragraph49);
            textBody41.Append(paragraph50);
            textBody41.Append(paragraph51);
            textBody41.Append(paragraph52);
            textBody41.Append(paragraph53);

            shape41.Append(nonVisualShapeProperties41);
            shape41.Append(shapeProperties71);
            shape41.Append(textBody41);

            Shape shape42 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties42 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks40 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties42.Append(shapeLocks40);

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

            applicationNonVisualDrawingProperties81.Append(placeholderShape40);

            nonVisualShapeProperties42.Append(nonVisualDrawingProperties81);
            nonVisualShapeProperties42.Append(nonVisualShapeDrawingProperties42);
            nonVisualShapeProperties42.Append(applicationNonVisualDrawingProperties81);
            ShapeProperties shapeProperties72 = new ShapeProperties();

            TextBody textBody42 = new TextBody();
            A.BodyProperties bodyProperties42 = new A.BodyProperties();
            A.ListStyle listStyle42 = new A.ListStyle();

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

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

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

            field15.Append(runProperties48);
            field15.Append(text48);
            A.EndParagraphRunProperties endParagraphRunProperties37 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph54.Append(field15);
            paragraph54.Append(endParagraphRunProperties37);

            textBody42.Append(bodyProperties42);
            textBody42.Append(listStyle42);
            textBody42.Append(paragraph54);

            shape42.Append(nonVisualShapeProperties42);
            shape42.Append(shapeProperties72);
            shape42.Append(textBody42);

            Shape shape43 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties43 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks41 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties43.Append(shapeLocks41);

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

            applicationNonVisualDrawingProperties82.Append(placeholderShape41);

            nonVisualShapeProperties43.Append(nonVisualDrawingProperties82);
            nonVisualShapeProperties43.Append(nonVisualShapeDrawingProperties43);
            nonVisualShapeProperties43.Append(applicationNonVisualDrawingProperties82);
            ShapeProperties shapeProperties73 = new ShapeProperties();

            TextBody textBody43 = new TextBody();
            A.BodyProperties bodyProperties43 = new A.BodyProperties();
            A.ListStyle listStyle43 = new A.ListStyle();

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

            paragraph55.Append(endParagraphRunProperties38);

            textBody43.Append(bodyProperties43);
            textBody43.Append(listStyle43);
            textBody43.Append(paragraph55);

            shape43.Append(nonVisualShapeProperties43);
            shape43.Append(shapeProperties73);
            shape43.Append(textBody43);

            Shape shape44 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties44 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks42 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties44.Append(shapeLocks42);

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

            applicationNonVisualDrawingProperties83.Append(placeholderShape42);

            nonVisualShapeProperties44.Append(nonVisualDrawingProperties83);
            nonVisualShapeProperties44.Append(nonVisualShapeDrawingProperties44);
            nonVisualShapeProperties44.Append(applicationNonVisualDrawingProperties83);
            ShapeProperties shapeProperties74 = new ShapeProperties();

            TextBody textBody44 = new TextBody();
            A.BodyProperties bodyProperties44 = new A.BodyProperties();
            A.ListStyle listStyle44 = new A.ListStyle();

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

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

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

            field16.Append(runProperties49);
            field16.Append(text49);
            A.EndParagraphRunProperties endParagraphRunProperties39 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph56.Append(field16);
            paragraph56.Append(endParagraphRunProperties39);

            textBody44.Append(bodyProperties44);
            textBody44.Append(listStyle44);
            textBody44.Append(paragraph56);

            shape44.Append(nonVisualShapeProperties44);
            shape44.Append(shapeProperties74);
            shape44.Append(textBody44);

            ConnectionShape connectionShape31 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties31 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties84 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties31 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties84 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties31.Append(nonVisualDrawingProperties84);
            nonVisualConnectionShapeProperties31.Append(nonVisualConnectorShapeDrawingProperties31);
            nonVisualConnectionShapeProperties31.Append(applicationNonVisualDrawingProperties84);

            ShapeProperties shapeProperties75 = new ShapeProperties();

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

            transform2D52.Append(offset61);
            transform2D52.Append(extents61);

            A.PresetGeometry presetGeometry38 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList38 = new A.AdjustValueList();

            presetGeometry38.Append(adjustValueList38);

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

            A.SolidFill solidFill132 = new A.SolidFill();
            A.SchemeColor schemeColor268 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill132.Append(schemeColor268);

            outline37.Append(solidFill132);

            shapeProperties75.Append(transform2D52);
            shapeProperties75.Append(presetGeometry38);
            shapeProperties75.Append(outline37);

            ShapeStyle shapeStyle31 = new ShapeStyle();

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

            lineReference31.Append(schemeColor269);

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

            fillReference31.Append(schemeColor270);

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

            effectReference31.Append(schemeColor271);

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

            fontReference31.Append(schemeColor272);

            shapeStyle31.Append(lineReference31);
            shapeStyle31.Append(fillReference31);
            shapeStyle31.Append(effectReference31);
            shapeStyle31.Append(fontReference31);

            connectionShape31.Append(nonVisualConnectionShapeProperties31);
            connectionShape31.Append(shapeProperties75);
            connectionShape31.Append(shapeStyle31);

            ConnectionShape connectionShape32 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties32 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties85 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties32 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties85 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties32.Append(nonVisualDrawingProperties85);
            nonVisualConnectionShapeProperties32.Append(nonVisualConnectorShapeDrawingProperties32);
            nonVisualConnectionShapeProperties32.Append(applicationNonVisualDrawingProperties85);

            ShapeProperties shapeProperties76 = new ShapeProperties();

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

            transform2D53.Append(offset62);
            transform2D53.Append(extents62);

            A.PresetGeometry presetGeometry39 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList39 = new A.AdjustValueList();

            presetGeometry39.Append(adjustValueList39);

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

            A.SolidFill solidFill133 = new A.SolidFill();
            A.SchemeColor schemeColor273 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill133.Append(schemeColor273);

            outline38.Append(solidFill133);

            shapeProperties76.Append(transform2D53);
            shapeProperties76.Append(presetGeometry39);
            shapeProperties76.Append(outline38);

            ShapeStyle shapeStyle32 = new ShapeStyle();

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

            lineReference32.Append(schemeColor274);

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

            fillReference32.Append(schemeColor275);

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

            effectReference32.Append(schemeColor276);

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

            fontReference32.Append(schemeColor277);

            shapeStyle32.Append(lineReference32);
            shapeStyle32.Append(fillReference32);
            shapeStyle32.Append(effectReference32);
            shapeStyle32.Append(fontReference32);

            connectionShape32.Append(nonVisualConnectionShapeProperties32);
            connectionShape32.Append(shapeProperties76);
            connectionShape32.Append(shapeStyle32);

            ConnectionShape connectionShape33 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties33 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties86 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties33 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties86 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties33.Append(nonVisualDrawingProperties86);
            nonVisualConnectionShapeProperties33.Append(nonVisualConnectorShapeDrawingProperties33);
            nonVisualConnectionShapeProperties33.Append(applicationNonVisualDrawingProperties86);

            ShapeProperties shapeProperties77 = new ShapeProperties();

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

            transform2D54.Append(offset63);
            transform2D54.Append(extents63);

            A.PresetGeometry presetGeometry40 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList40 = new A.AdjustValueList();

            presetGeometry40.Append(adjustValueList40);

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

            A.SolidFill solidFill134 = new A.SolidFill();
            A.SchemeColor schemeColor278 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill134.Append(schemeColor278);

            outline39.Append(solidFill134);

            shapeProperties77.Append(transform2D54);
            shapeProperties77.Append(presetGeometry40);
            shapeProperties77.Append(outline39);

            ShapeStyle shapeStyle33 = new ShapeStyle();

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

            lineReference33.Append(schemeColor279);

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

            fillReference33.Append(schemeColor280);

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

            effectReference33.Append(schemeColor281);

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

            fontReference33.Append(schemeColor282);

            shapeStyle33.Append(lineReference33);
            shapeStyle33.Append(fillReference33);
            shapeStyle33.Append(effectReference33);
            shapeStyle33.Append(fontReference33);

            connectionShape33.Append(nonVisualConnectionShapeProperties33);
            connectionShape33.Append(shapeProperties77);
            connectionShape33.Append(shapeStyle33);

            ConnectionShape connectionShape34 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties34 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties87 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties34 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties87 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties34.Append(nonVisualDrawingProperties87);
            nonVisualConnectionShapeProperties34.Append(nonVisualConnectorShapeDrawingProperties34);
            nonVisualConnectionShapeProperties34.Append(applicationNonVisualDrawingProperties87);

            ShapeProperties shapeProperties78 = new ShapeProperties();

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

            transform2D55.Append(offset64);
            transform2D55.Append(extents64);

            A.PresetGeometry presetGeometry41 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList41 = new A.AdjustValueList();

            presetGeometry41.Append(adjustValueList41);

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

            A.SolidFill solidFill135 = new A.SolidFill();
            A.SchemeColor schemeColor283 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill135.Append(schemeColor283);

            outline40.Append(solidFill135);

            shapeProperties78.Append(transform2D55);
            shapeProperties78.Append(presetGeometry41);
            shapeProperties78.Append(outline40);

            ShapeStyle shapeStyle34 = new ShapeStyle();

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

            lineReference34.Append(schemeColor284);

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

            fillReference34.Append(schemeColor285);

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

            effectReference34.Append(schemeColor286);

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

            fontReference34.Append(schemeColor287);

            shapeStyle34.Append(lineReference34);
            shapeStyle34.Append(fillReference34);
            shapeStyle34.Append(effectReference34);
            shapeStyle34.Append(fontReference34);

            connectionShape34.Append(nonVisualConnectionShapeProperties34);
            connectionShape34.Append(shapeProperties78);
            connectionShape34.Append(shapeStyle34);

            ConnectionShape connectionShape35 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties35 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties88 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties35 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties88 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties35.Append(nonVisualDrawingProperties88);
            nonVisualConnectionShapeProperties35.Append(nonVisualConnectorShapeDrawingProperties35);
            nonVisualConnectionShapeProperties35.Append(applicationNonVisualDrawingProperties88);

            ShapeProperties shapeProperties79 = new ShapeProperties();

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

            transform2D56.Append(offset65);
            transform2D56.Append(extents65);

            A.PresetGeometry presetGeometry42 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList42 = new A.AdjustValueList();

            presetGeometry42.Append(adjustValueList42);

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

            A.SolidFill solidFill136 = new A.SolidFill();
            A.SchemeColor schemeColor288 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill136.Append(schemeColor288);

            outline41.Append(solidFill136);

            shapeProperties79.Append(transform2D56);
            shapeProperties79.Append(presetGeometry42);
            shapeProperties79.Append(outline41);

            ShapeStyle shapeStyle35 = new ShapeStyle();

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

            lineReference35.Append(schemeColor289);

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

            fillReference35.Append(schemeColor290);

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

            effectReference35.Append(schemeColor291);

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

            fontReference35.Append(schemeColor292);

            shapeStyle35.Append(lineReference35);
            shapeStyle35.Append(fillReference35);
            shapeStyle35.Append(effectReference35);
            shapeStyle35.Append(fontReference35);

            connectionShape35.Append(nonVisualConnectionShapeProperties35);
            connectionShape35.Append(shapeProperties79);
            connectionShape35.Append(shapeStyle35);

            shapeTree9.Append(nonVisualGroupShapeProperties9);
            shapeTree9.Append(groupShapeProperties9);
            shapeTree9.Append(shape40);
            shapeTree9.Append(shape41);
            shapeTree9.Append(shape42);
            shapeTree9.Append(shape43);
            shapeTree9.Append(shape44);
            shapeTree9.Append(connectionShape31);
            shapeTree9.Append(connectionShape32);
            shapeTree9.Append(connectionShape33);
            shapeTree9.Append(connectionShape34);
            shapeTree9.Append(connectionShape35);

            CommonSlideDataExtensionList commonSlideDataExtensionList9 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension9.Append(creationId9);

            commonSlideDataExtensionList9.Append(commonSlideDataExtension9);

            commonSlideData9.Append(shapeTree9);
            commonSlideData9.Append(commonSlideDataExtensionList9);

            ColorMapOverride colorMapOverride8 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping8 = new A.MasterColorMapping();

            colorMapOverride8.Append(masterColorMapping8);

            Timing timing9 = new Timing();

            TimeNodeList timeNodeList9 = new TimeNodeList();

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

            parallelTimeNode9.Append(commonTimeNode9);

            timeNodeList9.Append(parallelTimeNode9);

            timing9.Append(timeNodeList9);

            slideLayout7.Append(commonSlideData9);
            slideLayout7.Append(colorMapOverride8);
            slideLayout7.Append(timing9);

            slideLayoutPart7.SlideLayout = slideLayout7;
        }
Exemple #31
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout7 = new SlideLayout()
            {
                Type = SlideLayoutValues.VerticalTitleAndText, Preserve = true
            };

            slideLayout7.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout7.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData9 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree9 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties9 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties44   = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties9   = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties44 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties9.Append(nonVisualDrawingProperties44);
            nonVisualGroupShapeProperties9.Append(nonVisualGroupShapeDrawingProperties9);
            nonVisualGroupShapeProperties9.Append(applicationNonVisualDrawingProperties44);

            GroupShapeProperties groupShapeProperties9 = new GroupShapeProperties();

            A.TransformGroup transformGroup9 = new A.TransformGroup();
            A.Offset         offset21        = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents21 = new A.Extents()
            {
                Cx = 0L, Cy = 0L
            };
            A.ChildOffset childOffset9 = new A.ChildOffset()
            {
                X = 0L, Y = 0L
            };
            A.ChildExtents childExtents9 = new A.ChildExtents()
            {
                Cx = 0L, Cy = 0L
            };

            transformGroup9.Append(offset21);
            transformGroup9.Append(extents21);
            transformGroup9.Append(childOffset9);
            transformGroup9.Append(childExtents9);

            groupShapeProperties9.Append(transformGroup9);

            Shape shape36 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties36   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties45 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)2U, Name = "Vertical Title 1"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties36 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties36.Append(shapeLocks36);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties45 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape36 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Title, Orientation = DirectionValues.Vertical
            };

            applicationNonVisualDrawingProperties45.Append(placeholderShape36);

            nonVisualShapeProperties36.Append(nonVisualDrawingProperties45);
            nonVisualShapeProperties36.Append(nonVisualShapeDrawingProperties36);
            nonVisualShapeProperties36.Append(applicationNonVisualDrawingProperties45);

            ShapeProperties shapeProperties36 = new ShapeProperties();

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset      offset22      = new A.Offset()
            {
                X = 6543675L, Y = 365125L
            };
            A.Extents extents22 = new A.Extents()
            {
                Cx = 1971675L, Cy = 5811838L
            };

            transform2D13.Append(offset22);
            transform2D13.Append(extents22);

            shapeProperties36.Append(transform2D13);

            TextBody textBody36 = new TextBody();

            A.BodyProperties bodyProperties36 = new A.BodyProperties()
            {
                Vertical = A.TextVerticalValues.EastAsianVetical
            };
            A.ListStyle listStyle36 = new A.ListStyle();

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

            A.Run           run51           = new A.Run();
            A.RunProperties runProperties65 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text65 = new A.Text();
            text65.Text = "マスター タイトルの書式設定";

            run51.Append(runProperties65);
            run51.Append(text65);
            A.EndParagraphRunProperties endParagraphRunProperties32 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph48.Append(run51);
            paragraph48.Append(endParagraphRunProperties32);

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

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

            Shape shape37 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties37   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties46 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)3U, Name = "Vertical Text Placeholder 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties37 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties37.Append(shapeLocks37);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties46 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape37 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties46.Append(placeholderShape37);

            nonVisualShapeProperties37.Append(nonVisualDrawingProperties46);
            nonVisualShapeProperties37.Append(nonVisualShapeDrawingProperties37);
            nonVisualShapeProperties37.Append(applicationNonVisualDrawingProperties46);

            ShapeProperties shapeProperties37 = new ShapeProperties();

            A.Transform2D transform2D14 = new A.Transform2D();
            A.Offset      offset23      = new A.Offset()
            {
                X = 628650L, Y = 365125L
            };
            A.Extents extents23 = new A.Extents()
            {
                Cx = 5800725L, Cy = 5811838L
            };

            transform2D14.Append(offset23);
            transform2D14.Append(extents23);

            shapeProperties37.Append(transform2D14);

            TextBody textBody37 = new TextBody();

            A.BodyProperties bodyProperties37 = new A.BodyProperties()
            {
                Vertical = A.TextVerticalValues.EastAsianVetical
            };
            A.ListStyle listStyle37 = new A.ListStyle();

            A.Paragraph           paragraph49           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties18 = new A.ParagraphProperties()
            {
                Level = 0
            };

            A.Run           run52           = new A.Run();
            A.RunProperties runProperties66 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text66 = new A.Text();
            text66.Text = "マスター テキストの書式設定";

            run52.Append(runProperties66);
            run52.Append(text66);

            paragraph49.Append(paragraphProperties18);
            paragraph49.Append(run52);

            A.Paragraph           paragraph50           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties19 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run53           = new A.Run();
            A.RunProperties runProperties67 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text67 = new A.Text();
            text67.Text = "第 ";

            run53.Append(runProperties67);
            run53.Append(text67);

            A.Run           run54           = new A.Run();
            A.RunProperties runProperties68 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text68 = new A.Text();
            text68.Text = "2 ";

            run54.Append(runProperties68);
            run54.Append(text68);

            A.Run           run55           = new A.Run();
            A.RunProperties runProperties69 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text69 = new A.Text();
            text69.Text = "レベル";

            run55.Append(runProperties69);
            run55.Append(text69);

            paragraph50.Append(paragraphProperties19);
            paragraph50.Append(run53);
            paragraph50.Append(run54);
            paragraph50.Append(run55);

            A.Paragraph           paragraph51           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties20 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run56           = new A.Run();
            A.RunProperties runProperties70 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text70 = new A.Text();
            text70.Text = "第 ";

            run56.Append(runProperties70);
            run56.Append(text70);

            A.Run           run57           = new A.Run();
            A.RunProperties runProperties71 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text71 = new A.Text();
            text71.Text = "3 ";

            run57.Append(runProperties71);
            run57.Append(text71);

            A.Run           run58           = new A.Run();
            A.RunProperties runProperties72 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text72 = new A.Text();
            text72.Text = "レベル";

            run58.Append(runProperties72);
            run58.Append(text72);

            paragraph51.Append(paragraphProperties20);
            paragraph51.Append(run56);
            paragraph51.Append(run57);
            paragraph51.Append(run58);

            A.Paragraph           paragraph52           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties21 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run59           = new A.Run();
            A.RunProperties runProperties73 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text73 = new A.Text();
            text73.Text = "第 ";

            run59.Append(runProperties73);
            run59.Append(text73);

            A.Run           run60           = new A.Run();
            A.RunProperties runProperties74 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text74 = new A.Text();
            text74.Text = "4 ";

            run60.Append(runProperties74);
            run60.Append(text74);

            A.Run           run61           = new A.Run();
            A.RunProperties runProperties75 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text75 = new A.Text();
            text75.Text = "レベル";

            run61.Append(runProperties75);
            run61.Append(text75);

            paragraph52.Append(paragraphProperties21);
            paragraph52.Append(run59);
            paragraph52.Append(run60);
            paragraph52.Append(run61);

            A.Paragraph           paragraph53           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties22 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run62           = new A.Run();
            A.RunProperties runProperties76 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text76 = new A.Text();
            text76.Text = "第 ";

            run62.Append(runProperties76);
            run62.Append(text76);

            A.Run           run63           = new A.Run();
            A.RunProperties runProperties77 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text77 = new A.Text();
            text77.Text = "5 ";

            run63.Append(runProperties77);
            run63.Append(text77);

            A.Run           run64           = new A.Run();
            A.RunProperties runProperties78 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text78 = new A.Text();
            text78.Text = "レベル";

            run64.Append(runProperties78);
            run64.Append(text78);
            A.EndParagraphRunProperties endParagraphRunProperties33 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph53.Append(paragraphProperties22);
            paragraph53.Append(run62);
            paragraph53.Append(run63);
            paragraph53.Append(run64);
            paragraph53.Append(endParagraphRunProperties33);

            textBody37.Append(bodyProperties37);
            textBody37.Append(listStyle37);
            textBody37.Append(paragraph49);
            textBody37.Append(paragraph50);
            textBody37.Append(paragraph51);
            textBody37.Append(paragraph52);
            textBody37.Append(paragraph53);

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

            Shape shape38 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties38 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks38 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties38.Append(shapeLocks38);

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

            applicationNonVisualDrawingProperties47.Append(placeholderShape38);

            nonVisualShapeProperties38.Append(nonVisualDrawingProperties47);
            nonVisualShapeProperties38.Append(nonVisualShapeDrawingProperties38);
            nonVisualShapeProperties38.Append(applicationNonVisualDrawingProperties47);
            ShapeProperties shapeProperties38 = new ShapeProperties();

            TextBody textBody38 = new TextBody();

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

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

            A.Field field15 = new A.Field()
            {
                Id = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties79 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties79.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text79 = new A.Text();
            text79.Text = "2018/5/3";

            field15.Append(runProperties79);
            field15.Append(text79);
            A.EndParagraphRunProperties endParagraphRunProperties34 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph54.Append(field15);
            paragraph54.Append(endParagraphRunProperties34);

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

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

            Shape shape39 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties39 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks39 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties39.Append(shapeLocks39);

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

            applicationNonVisualDrawingProperties48.Append(placeholderShape39);

            nonVisualShapeProperties39.Append(nonVisualDrawingProperties48);
            nonVisualShapeProperties39.Append(nonVisualShapeDrawingProperties39);
            nonVisualShapeProperties39.Append(applicationNonVisualDrawingProperties48);
            ShapeProperties shapeProperties39 = new ShapeProperties();

            TextBody textBody39 = new TextBody();

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

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

            paragraph55.Append(endParagraphRunProperties35);

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

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

            Shape shape40 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties40 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks40 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties40.Append(shapeLocks40);

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

            applicationNonVisualDrawingProperties49.Append(placeholderShape40);

            nonVisualShapeProperties40.Append(nonVisualDrawingProperties49);
            nonVisualShapeProperties40.Append(nonVisualShapeDrawingProperties40);
            nonVisualShapeProperties40.Append(applicationNonVisualDrawingProperties49);
            ShapeProperties shapeProperties40 = new ShapeProperties();

            TextBody textBody40 = new TextBody();

            A.BodyProperties bodyProperties40 = new A.BodyProperties();
            A.ListStyle      listStyle40      = new A.ListStyle();

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

            A.Field field16 = new A.Field()
            {
                Id = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field16.Append(runProperties80);
            field16.Append(text80);
            A.EndParagraphRunProperties endParagraphRunProperties36 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph56.Append(field16);
            paragraph56.Append(endParagraphRunProperties36);

            textBody40.Append(bodyProperties40);
            textBody40.Append(listStyle40);
            textBody40.Append(paragraph56);

            shape40.Append(nonVisualShapeProperties40);
            shape40.Append(shapeProperties40);
            shape40.Append(textBody40);

            shapeTree9.Append(nonVisualGroupShapeProperties9);
            shapeTree9.Append(groupShapeProperties9);
            shapeTree9.Append(shape36);
            shapeTree9.Append(shape37);
            shapeTree9.Append(shape38);
            shapeTree9.Append(shape39);
            shapeTree9.Append(shape40);

            CommonSlideDataExtensionList commonSlideDataExtensionList9 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension9.Append(creationId9);

            commonSlideDataExtensionList9.Append(commonSlideDataExtension9);

            commonSlideData9.Append(shapeTree9);
            commonSlideData9.Append(commonSlideDataExtensionList9);

            ColorMapOverride colorMapOverride8 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping8 = new A.MasterColorMapping();

            colorMapOverride8.Append(masterColorMapping8);

            slideLayout7.Append(commonSlideData9);
            slideLayout7.Append(colorMapOverride8);

            slideLayoutPart.SlideLayout = slideLayout7;

            return(slideLayoutPart);
        }
        // Generates content of slideLayoutPart8.
        private void GenerateSlideLayoutPart8Content(SlideLayoutPart slideLayoutPart8)
        {
            SlideLayout slideLayout8 = new SlideLayout(){ Type = SlideLayoutValues.Object, Preserve = true };
            slideLayout8.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout8.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout8.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData10 = new CommonSlideData(){ Name = "Title and Content" };

            ShapeTree shapeTree10 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties10 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties89 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties10 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties89 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties10.Append(nonVisualDrawingProperties89);
            nonVisualGroupShapeProperties10.Append(nonVisualGroupShapeDrawingProperties10);
            nonVisualGroupShapeProperties10.Append(applicationNonVisualDrawingProperties89);

            GroupShapeProperties groupShapeProperties10 = new GroupShapeProperties();

            A.TransformGroup transformGroup10 = new A.TransformGroup();
            A.Offset offset66 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents66 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset10 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents10 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup10.Append(offset66);
            transformGroup10.Append(extents66);
            transformGroup10.Append(childOffset10);
            transformGroup10.Append(childExtents10);

            groupShapeProperties10.Append(transformGroup10);

            Shape shape45 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties45 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks43 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties45.Append(shapeLocks43);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties90 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape43 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties90.Append(placeholderShape43);

            nonVisualShapeProperties45.Append(nonVisualDrawingProperties90);
            nonVisualShapeProperties45.Append(nonVisualShapeDrawingProperties45);
            nonVisualShapeProperties45.Append(applicationNonVisualDrawingProperties90);
            ShapeProperties shapeProperties80 = new ShapeProperties();

            TextBody textBody45 = new TextBody();
            A.BodyProperties bodyProperties45 = new A.BodyProperties();
            A.ListStyle listStyle45 = new A.ListStyle();

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

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

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

            run34.Append(runProperties50);
            run34.Append(text50);
            A.EndParagraphRunProperties endParagraphRunProperties40 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph57.Append(run34);
            paragraph57.Append(endParagraphRunProperties40);

            textBody45.Append(bodyProperties45);
            textBody45.Append(listStyle45);
            textBody45.Append(paragraph57);

            shape45.Append(nonVisualShapeProperties45);
            shape45.Append(shapeProperties80);
            shape45.Append(textBody45);

            Shape shape46 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties46 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties91 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Content Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties46 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks44 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties46.Append(shapeLocks44);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties91 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape44 = new PlaceholderShape(){ Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties91.Append(placeholderShape44);

            nonVisualShapeProperties46.Append(nonVisualDrawingProperties91);
            nonVisualShapeProperties46.Append(nonVisualShapeDrawingProperties46);
            nonVisualShapeProperties46.Append(applicationNonVisualDrawingProperties91);
            ShapeProperties shapeProperties81 = new ShapeProperties();

            TextBody textBody46 = new TextBody();
            A.BodyProperties bodyProperties46 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.ListStyle listStyle46 = new A.ListStyle();

            A.Paragraph paragraph58 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties23 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run35.Append(runProperties51);
            run35.Append(text51);

            paragraph58.Append(paragraphProperties23);
            paragraph58.Append(run35);

            A.Paragraph paragraph59 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties24 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties52 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties52.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text52 = new A.Text();
            text52.Text = "Second level";

            run36.Append(runProperties52);
            run36.Append(text52);

            paragraph59.Append(paragraphProperties24);
            paragraph59.Append(run36);

            A.Paragraph paragraph60 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties25 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties53 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties53.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text53 = new A.Text();
            text53.Text = "Third level";

            run37.Append(runProperties53);
            run37.Append(text53);

            paragraph60.Append(paragraphProperties25);
            paragraph60.Append(run37);

            A.Paragraph paragraph61 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties26 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties54 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties54.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text54 = new A.Text();
            text54.Text = "Fourth level";

            run38.Append(runProperties54);
            run38.Append(text54);

            paragraph61.Append(paragraphProperties26);
            paragraph61.Append(run38);

            A.Paragraph paragraph62 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties27 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties55 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties55.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text55 = new A.Text();
            text55.Text = "Fifth level";

            run39.Append(runProperties55);
            run39.Append(text55);
            A.EndParagraphRunProperties endParagraphRunProperties41 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph62.Append(paragraphProperties27);
            paragraph62.Append(run39);
            paragraph62.Append(endParagraphRunProperties41);

            textBody46.Append(bodyProperties46);
            textBody46.Append(listStyle46);
            textBody46.Append(paragraph58);
            textBody46.Append(paragraph59);
            textBody46.Append(paragraph60);
            textBody46.Append(paragraph61);
            textBody46.Append(paragraph62);

            shape46.Append(nonVisualShapeProperties46);
            shape46.Append(shapeProperties81);
            shape46.Append(textBody46);

            Shape shape47 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties47 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks45 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties47.Append(shapeLocks45);

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

            applicationNonVisualDrawingProperties92.Append(placeholderShape45);

            nonVisualShapeProperties47.Append(nonVisualDrawingProperties92);
            nonVisualShapeProperties47.Append(nonVisualShapeDrawingProperties47);
            nonVisualShapeProperties47.Append(applicationNonVisualDrawingProperties92);
            ShapeProperties shapeProperties82 = new ShapeProperties();

            TextBody textBody47 = new TextBody();
            A.BodyProperties bodyProperties47 = new A.BodyProperties();
            A.ListStyle listStyle47 = new A.ListStyle();

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

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

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

            field17.Append(runProperties56);
            field17.Append(text56);
            A.EndParagraphRunProperties endParagraphRunProperties42 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph63.Append(field17);
            paragraph63.Append(endParagraphRunProperties42);

            textBody47.Append(bodyProperties47);
            textBody47.Append(listStyle47);
            textBody47.Append(paragraph63);

            shape47.Append(nonVisualShapeProperties47);
            shape47.Append(shapeProperties82);
            shape47.Append(textBody47);

            Shape shape48 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties48 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks46 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties48.Append(shapeLocks46);

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

            applicationNonVisualDrawingProperties93.Append(placeholderShape46);

            nonVisualShapeProperties48.Append(nonVisualDrawingProperties93);
            nonVisualShapeProperties48.Append(nonVisualShapeDrawingProperties48);
            nonVisualShapeProperties48.Append(applicationNonVisualDrawingProperties93);
            ShapeProperties shapeProperties83 = new ShapeProperties();

            TextBody textBody48 = new TextBody();
            A.BodyProperties bodyProperties48 = new A.BodyProperties();
            A.ListStyle listStyle48 = new A.ListStyle();

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

            paragraph64.Append(endParagraphRunProperties43);

            textBody48.Append(bodyProperties48);
            textBody48.Append(listStyle48);
            textBody48.Append(paragraph64);

            shape48.Append(nonVisualShapeProperties48);
            shape48.Append(shapeProperties83);
            shape48.Append(textBody48);

            Shape shape49 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties49 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks47 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties49.Append(shapeLocks47);

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

            applicationNonVisualDrawingProperties94.Append(placeholderShape47);

            nonVisualShapeProperties49.Append(nonVisualDrawingProperties94);
            nonVisualShapeProperties49.Append(nonVisualShapeDrawingProperties49);
            nonVisualShapeProperties49.Append(applicationNonVisualDrawingProperties94);
            ShapeProperties shapeProperties84 = new ShapeProperties();

            TextBody textBody49 = new TextBody();
            A.BodyProperties bodyProperties49 = new A.BodyProperties();
            A.ListStyle listStyle49 = new A.ListStyle();

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

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

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

            field18.Append(runProperties57);
            field18.Append(text57);
            A.EndParagraphRunProperties endParagraphRunProperties44 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph65.Append(field18);
            paragraph65.Append(endParagraphRunProperties44);

            textBody49.Append(bodyProperties49);
            textBody49.Append(listStyle49);
            textBody49.Append(paragraph65);

            shape49.Append(nonVisualShapeProperties49);
            shape49.Append(shapeProperties84);
            shape49.Append(textBody49);

            ConnectionShape connectionShape36 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties36 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties95 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties36 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties95 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties36.Append(nonVisualDrawingProperties95);
            nonVisualConnectionShapeProperties36.Append(nonVisualConnectorShapeDrawingProperties36);
            nonVisualConnectionShapeProperties36.Append(applicationNonVisualDrawingProperties95);

            ShapeProperties shapeProperties85 = new ShapeProperties();

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

            transform2D57.Append(offset67);
            transform2D57.Append(extents67);

            A.PresetGeometry presetGeometry43 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList43 = new A.AdjustValueList();

            presetGeometry43.Append(adjustValueList43);

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

            A.SolidFill solidFill137 = new A.SolidFill();
            A.SchemeColor schemeColor293 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill137.Append(schemeColor293);

            outline42.Append(solidFill137);

            shapeProperties85.Append(transform2D57);
            shapeProperties85.Append(presetGeometry43);
            shapeProperties85.Append(outline42);

            ShapeStyle shapeStyle36 = new ShapeStyle();

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

            lineReference36.Append(schemeColor294);

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

            fillReference36.Append(schemeColor295);

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

            effectReference36.Append(schemeColor296);

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

            fontReference36.Append(schemeColor297);

            shapeStyle36.Append(lineReference36);
            shapeStyle36.Append(fillReference36);
            shapeStyle36.Append(effectReference36);
            shapeStyle36.Append(fontReference36);

            connectionShape36.Append(nonVisualConnectionShapeProperties36);
            connectionShape36.Append(shapeProperties85);
            connectionShape36.Append(shapeStyle36);

            ConnectionShape connectionShape37 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties37 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties96 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties37 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties96 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties37.Append(nonVisualDrawingProperties96);
            nonVisualConnectionShapeProperties37.Append(nonVisualConnectorShapeDrawingProperties37);
            nonVisualConnectionShapeProperties37.Append(applicationNonVisualDrawingProperties96);

            ShapeProperties shapeProperties86 = new ShapeProperties();

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

            transform2D58.Append(offset68);
            transform2D58.Append(extents68);

            A.PresetGeometry presetGeometry44 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList44 = new A.AdjustValueList();

            presetGeometry44.Append(adjustValueList44);

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

            A.SolidFill solidFill138 = new A.SolidFill();
            A.SchemeColor schemeColor298 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill138.Append(schemeColor298);

            outline43.Append(solidFill138);

            shapeProperties86.Append(transform2D58);
            shapeProperties86.Append(presetGeometry44);
            shapeProperties86.Append(outline43);

            ShapeStyle shapeStyle37 = new ShapeStyle();

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

            lineReference37.Append(schemeColor299);

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

            fillReference37.Append(schemeColor300);

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

            effectReference37.Append(schemeColor301);

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

            fontReference37.Append(schemeColor302);

            shapeStyle37.Append(lineReference37);
            shapeStyle37.Append(fillReference37);
            shapeStyle37.Append(effectReference37);
            shapeStyle37.Append(fontReference37);

            connectionShape37.Append(nonVisualConnectionShapeProperties37);
            connectionShape37.Append(shapeProperties86);
            connectionShape37.Append(shapeStyle37);

            ConnectionShape connectionShape38 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties38 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties97 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties38 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties97 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties38.Append(nonVisualDrawingProperties97);
            nonVisualConnectionShapeProperties38.Append(nonVisualConnectorShapeDrawingProperties38);
            nonVisualConnectionShapeProperties38.Append(applicationNonVisualDrawingProperties97);

            ShapeProperties shapeProperties87 = new ShapeProperties();

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

            transform2D59.Append(offset69);
            transform2D59.Append(extents69);

            A.PresetGeometry presetGeometry45 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList45 = new A.AdjustValueList();

            presetGeometry45.Append(adjustValueList45);

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

            A.SolidFill solidFill139 = new A.SolidFill();
            A.SchemeColor schemeColor303 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill139.Append(schemeColor303);

            outline44.Append(solidFill139);

            shapeProperties87.Append(transform2D59);
            shapeProperties87.Append(presetGeometry45);
            shapeProperties87.Append(outline44);

            ShapeStyle shapeStyle38 = new ShapeStyle();

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

            lineReference38.Append(schemeColor304);

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

            fillReference38.Append(schemeColor305);

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

            effectReference38.Append(schemeColor306);

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

            fontReference38.Append(schemeColor307);

            shapeStyle38.Append(lineReference38);
            shapeStyle38.Append(fillReference38);
            shapeStyle38.Append(effectReference38);
            shapeStyle38.Append(fontReference38);

            connectionShape38.Append(nonVisualConnectionShapeProperties38);
            connectionShape38.Append(shapeProperties87);
            connectionShape38.Append(shapeStyle38);

            ConnectionShape connectionShape39 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties39 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties98 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties39 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties98 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties39.Append(nonVisualDrawingProperties98);
            nonVisualConnectionShapeProperties39.Append(nonVisualConnectorShapeDrawingProperties39);
            nonVisualConnectionShapeProperties39.Append(applicationNonVisualDrawingProperties98);

            ShapeProperties shapeProperties88 = new ShapeProperties();

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

            transform2D60.Append(offset70);
            transform2D60.Append(extents70);

            A.PresetGeometry presetGeometry46 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList46 = new A.AdjustValueList();

            presetGeometry46.Append(adjustValueList46);

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

            A.SolidFill solidFill140 = new A.SolidFill();
            A.SchemeColor schemeColor308 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill140.Append(schemeColor308);

            outline45.Append(solidFill140);

            shapeProperties88.Append(transform2D60);
            shapeProperties88.Append(presetGeometry46);
            shapeProperties88.Append(outline45);

            ShapeStyle shapeStyle39 = new ShapeStyle();

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

            lineReference39.Append(schemeColor309);

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

            fillReference39.Append(schemeColor310);

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

            effectReference39.Append(schemeColor311);

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

            fontReference39.Append(schemeColor312);

            shapeStyle39.Append(lineReference39);
            shapeStyle39.Append(fillReference39);
            shapeStyle39.Append(effectReference39);
            shapeStyle39.Append(fontReference39);

            connectionShape39.Append(nonVisualConnectionShapeProperties39);
            connectionShape39.Append(shapeProperties88);
            connectionShape39.Append(shapeStyle39);

            ConnectionShape connectionShape40 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties40 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties99 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties40 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties99 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties40.Append(nonVisualDrawingProperties99);
            nonVisualConnectionShapeProperties40.Append(nonVisualConnectorShapeDrawingProperties40);
            nonVisualConnectionShapeProperties40.Append(applicationNonVisualDrawingProperties99);

            ShapeProperties shapeProperties89 = new ShapeProperties();

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

            transform2D61.Append(offset71);
            transform2D61.Append(extents71);

            A.PresetGeometry presetGeometry47 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList47 = new A.AdjustValueList();

            presetGeometry47.Append(adjustValueList47);

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

            A.SolidFill solidFill141 = new A.SolidFill();
            A.SchemeColor schemeColor313 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill141.Append(schemeColor313);

            outline46.Append(solidFill141);

            shapeProperties89.Append(transform2D61);
            shapeProperties89.Append(presetGeometry47);
            shapeProperties89.Append(outline46);

            ShapeStyle shapeStyle40 = new ShapeStyle();

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

            lineReference40.Append(schemeColor314);

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

            fillReference40.Append(schemeColor315);

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

            effectReference40.Append(schemeColor316);

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

            fontReference40.Append(schemeColor317);

            shapeStyle40.Append(lineReference40);
            shapeStyle40.Append(fillReference40);
            shapeStyle40.Append(effectReference40);
            shapeStyle40.Append(fontReference40);

            connectionShape40.Append(nonVisualConnectionShapeProperties40);
            connectionShape40.Append(shapeProperties89);
            connectionShape40.Append(shapeStyle40);

            shapeTree10.Append(nonVisualGroupShapeProperties10);
            shapeTree10.Append(groupShapeProperties10);
            shapeTree10.Append(shape45);
            shapeTree10.Append(shape46);
            shapeTree10.Append(shape47);
            shapeTree10.Append(shape48);
            shapeTree10.Append(shape49);
            shapeTree10.Append(connectionShape36);
            shapeTree10.Append(connectionShape37);
            shapeTree10.Append(connectionShape38);
            shapeTree10.Append(connectionShape39);
            shapeTree10.Append(connectionShape40);

            CommonSlideDataExtensionList commonSlideDataExtensionList10 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension10.Append(creationId10);

            commonSlideDataExtensionList10.Append(commonSlideDataExtension10);

            commonSlideData10.Append(shapeTree10);
            commonSlideData10.Append(commonSlideDataExtensionList10);

            ColorMapOverride colorMapOverride9 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping9 = new A.MasterColorMapping();

            colorMapOverride9.Append(masterColorMapping9);

            Timing timing10 = new Timing();

            TimeNodeList timeNodeList10 = new TimeNodeList();

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

            parallelTimeNode10.Append(commonTimeNode10);

            timeNodeList10.Append(parallelTimeNode10);

            timing10.Append(timeNodeList10);

            slideLayout8.Append(commonSlideData10);
            slideLayout8.Append(colorMapOverride9);
            slideLayout8.Append(timing10);

            slideLayoutPart8.SlideLayout = slideLayout8;
        }
        // Generates content of slideLayoutPart1.
        private void GenerateSlideLayoutPart1Content(SlideLayoutPart slideLayoutPart1)
        {
            SlideLayout slideLayout1 = new SlideLayout(){ Type = SlideLayoutValues.Title, Preserve = true };
            slideLayout1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData3 = new CommonSlideData(){ Name = "Title Slide" };

            ShapeTree shapeTree3 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties3 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties9 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties3 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties9 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties3.Append(nonVisualDrawingProperties9);
            nonVisualGroupShapeProperties3.Append(nonVisualGroupShapeDrawingProperties3);
            nonVisualGroupShapeProperties3.Append(applicationNonVisualDrawingProperties9);

            GroupShapeProperties groupShapeProperties3 = new GroupShapeProperties();

            A.TransformGroup transformGroup3 = new A.TransformGroup();
            A.Offset offset9 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents9 = 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(offset9);
            transformGroup3.Append(extents9);
            transformGroup3.Append(childOffset3);
            transformGroup3.Append(childExtents3);

            groupShapeProperties3.Append(transformGroup3);

            Shape shape7 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties7 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks6 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties7.Append(shapeLocks6);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties10 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape6 = new PlaceholderShape(){ Type = PlaceholderValues.CenteredTitle };

            applicationNonVisualDrawingProperties10.Append(placeholderShape6);

            nonVisualShapeProperties7.Append(nonVisualDrawingProperties10);
            nonVisualShapeProperties7.Append(nonVisualShapeDrawingProperties7);
            nonVisualShapeProperties7.Append(applicationNonVisualDrawingProperties10);

            ShapeProperties shapeProperties7 = new ShapeProperties();

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset10 = new A.Offset(){ X = 685800L, Y = 2130426L };
            A.Extents extents10 = new A.Extents(){ Cx = 7772400L, Cy = 1470025L };

            transform2D7.Append(offset10);
            transform2D7.Append(extents10);

            shapeProperties7.Append(transform2D7);

            TextBody textBody7 = new TextBody();
            A.BodyProperties bodyProperties7 = new A.BodyProperties();
            A.ListStyle listStyle7 = new A.ListStyle();

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

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

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

            run17.Append(runProperties18);
            run17.Append(text18);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph20.Append(run17);
            paragraph20.Append(endParagraphRunProperties8);

            textBody7.Append(bodyProperties7);
            textBody7.Append(listStyle7);
            textBody7.Append(paragraph20);

            shape7.Append(nonVisualShapeProperties7);
            shape7.Append(shapeProperties7);
            shape7.Append(textBody7);

            Shape shape8 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties8 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties11 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Subtitle 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties8 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks7 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties8.Append(shapeLocks7);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties11 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape7 = new PlaceholderShape(){ Type = PlaceholderValues.SubTitle, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties11.Append(placeholderShape7);

            nonVisualShapeProperties8.Append(nonVisualDrawingProperties11);
            nonVisualShapeProperties8.Append(nonVisualShapeDrawingProperties8);
            nonVisualShapeProperties8.Append(applicationNonVisualDrawingProperties11);

            ShapeProperties shapeProperties8 = new ShapeProperties();

            A.Transform2D transform2D8 = new A.Transform2D();
            A.Offset offset11 = new A.Offset(){ X = 1371600L, Y = 3886200L };
            A.Extents extents11 = new A.Extents(){ Cx = 6400800L, Cy = 1752600L };

            transform2D8.Append(offset11);
            transform2D8.Append(extents11);

            shapeProperties8.Append(transform2D8);

            TextBody textBody8 = new TextBody();
            A.BodyProperties bodyProperties8 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties6 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet1 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor36 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint7 = new A.Tint(){ Val = 75000 };

            schemeColor36.Append(tint7);

            solidFill25.Append(schemeColor36);

            defaultRunProperties23.Append(solidFill25);

            level1ParagraphProperties6.Append(noBullet1);
            level1ParagraphProperties6.Append(defaultRunProperties23);

            A.Level2ParagraphProperties level2ParagraphProperties3 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet2 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor37 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint8 = new A.Tint(){ Val = 75000 };

            schemeColor37.Append(tint8);

            solidFill26.Append(schemeColor37);

            defaultRunProperties24.Append(solidFill26);

            level2ParagraphProperties3.Append(noBullet2);
            level2ParagraphProperties3.Append(defaultRunProperties24);

            A.Level3ParagraphProperties level3ParagraphProperties3 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet3 = new A.NoBullet();

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

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

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

            schemeColor38.Append(tint9);

            solidFill27.Append(schemeColor38);

            defaultRunProperties25.Append(solidFill27);

            level3ParagraphProperties3.Append(noBullet3);
            level3ParagraphProperties3.Append(defaultRunProperties25);

            A.Level4ParagraphProperties level4ParagraphProperties3 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet4 = new A.NoBullet();

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

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

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

            schemeColor39.Append(tint10);

            solidFill28.Append(schemeColor39);

            defaultRunProperties26.Append(solidFill28);

            level4ParagraphProperties3.Append(noBullet4);
            level4ParagraphProperties3.Append(defaultRunProperties26);

            A.Level5ParagraphProperties level5ParagraphProperties3 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet5 = new A.NoBullet();

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

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

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

            schemeColor40.Append(tint11);

            solidFill29.Append(schemeColor40);

            defaultRunProperties27.Append(solidFill29);

            level5ParagraphProperties3.Append(noBullet5);
            level5ParagraphProperties3.Append(defaultRunProperties27);

            A.Level6ParagraphProperties level6ParagraphProperties3 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet6 = new A.NoBullet();

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

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

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

            schemeColor41.Append(tint12);

            solidFill30.Append(schemeColor41);

            defaultRunProperties28.Append(solidFill30);

            level6ParagraphProperties3.Append(noBullet6);
            level6ParagraphProperties3.Append(defaultRunProperties28);

            A.Level7ParagraphProperties level7ParagraphProperties3 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet7 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor42 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint13 = new A.Tint(){ Val = 75000 };

            schemeColor42.Append(tint13);

            solidFill31.Append(schemeColor42);

            defaultRunProperties29.Append(solidFill31);

            level7ParagraphProperties3.Append(noBullet7);
            level7ParagraphProperties3.Append(defaultRunProperties29);

            A.Level8ParagraphProperties level8ParagraphProperties3 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet8 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor43 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint14 = new A.Tint(){ Val = 75000 };

            schemeColor43.Append(tint14);

            solidFill32.Append(schemeColor43);

            defaultRunProperties30.Append(solidFill32);

            level8ParagraphProperties3.Append(noBullet8);
            level8ParagraphProperties3.Append(defaultRunProperties30);

            A.Level9ParagraphProperties level9ParagraphProperties3 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet9 = new A.NoBullet();

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

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

            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint15 = new A.Tint(){ Val = 75000 };

            schemeColor44.Append(tint15);

            solidFill33.Append(schemeColor44);

            defaultRunProperties31.Append(solidFill33);

            level9ParagraphProperties3.Append(noBullet9);
            level9ParagraphProperties3.Append(defaultRunProperties31);

            listStyle8.Append(level1ParagraphProperties6);
            listStyle8.Append(level2ParagraphProperties3);
            listStyle8.Append(level3ParagraphProperties3);
            listStyle8.Append(level4ParagraphProperties3);
            listStyle8.Append(level5ParagraphProperties3);
            listStyle8.Append(level6ParagraphProperties3);
            listStyle8.Append(level7ParagraphProperties3);
            listStyle8.Append(level8ParagraphProperties3);
            listStyle8.Append(level9ParagraphProperties3);

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

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

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

            run18.Append(runProperties19);
            run18.Append(text19);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph21.Append(run18);
            paragraph21.Append(endParagraphRunProperties9);

            textBody8.Append(bodyProperties8);
            textBody8.Append(listStyle8);
            textBody8.Append(paragraph21);

            shape8.Append(nonVisualShapeProperties8);
            shape8.Append(shapeProperties8);
            shape8.Append(textBody8);

            Shape shape9 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties9 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks8 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties9.Append(shapeLocks8);

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

            applicationNonVisualDrawingProperties12.Append(placeholderShape8);

            nonVisualShapeProperties9.Append(nonVisualDrawingProperties12);
            nonVisualShapeProperties9.Append(nonVisualShapeDrawingProperties9);
            nonVisualShapeProperties9.Append(applicationNonVisualDrawingProperties12);
            ShapeProperties shapeProperties9 = new ShapeProperties();

            TextBody textBody9 = new TextBody();
            A.BodyProperties bodyProperties9 = new A.BodyProperties();
            A.ListStyle listStyle9 = new A.ListStyle();

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

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

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

            field2.Append(runProperties20);
            field2.Append(text20);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph22.Append(field2);
            paragraph22.Append(endParagraphRunProperties10);

            textBody9.Append(bodyProperties9);
            textBody9.Append(listStyle9);
            textBody9.Append(paragraph22);

            shape9.Append(nonVisualShapeProperties9);
            shape9.Append(shapeProperties9);
            shape9.Append(textBody9);

            Shape shape10 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties10 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks9 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties10.Append(shapeLocks9);

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

            applicationNonVisualDrawingProperties13.Append(placeholderShape9);

            nonVisualShapeProperties10.Append(nonVisualDrawingProperties13);
            nonVisualShapeProperties10.Append(nonVisualShapeDrawingProperties10);
            nonVisualShapeProperties10.Append(applicationNonVisualDrawingProperties13);
            ShapeProperties shapeProperties10 = new ShapeProperties();

            TextBody textBody10 = new TextBody();
            A.BodyProperties bodyProperties10 = new A.BodyProperties();
            A.ListStyle listStyle10 = new A.ListStyle();

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

            paragraph23.Append(endParagraphRunProperties11);

            textBody10.Append(bodyProperties10);
            textBody10.Append(listStyle10);
            textBody10.Append(paragraph23);

            shape10.Append(nonVisualShapeProperties10);
            shape10.Append(shapeProperties10);
            shape10.Append(textBody10);

            Shape shape11 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties11 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks10 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties11.Append(shapeLocks10);

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

            applicationNonVisualDrawingProperties14.Append(placeholderShape10);

            nonVisualShapeProperties11.Append(nonVisualDrawingProperties14);
            nonVisualShapeProperties11.Append(nonVisualShapeDrawingProperties11);
            nonVisualShapeProperties11.Append(applicationNonVisualDrawingProperties14);
            ShapeProperties shapeProperties11 = new ShapeProperties();

            TextBody textBody11 = new TextBody();
            A.BodyProperties bodyProperties11 = new A.BodyProperties();
            A.ListStyle listStyle11 = new A.ListStyle();

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

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

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

            field3.Append(runProperties21);
            field3.Append(text21);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph24.Append(field3);
            paragraph24.Append(endParagraphRunProperties12);

            textBody11.Append(bodyProperties11);
            textBody11.Append(listStyle11);
            textBody11.Append(paragraph24);

            shape11.Append(nonVisualShapeProperties11);
            shape11.Append(shapeProperties11);
            shape11.Append(textBody11);

            shapeTree3.Append(nonVisualGroupShapeProperties3);
            shapeTree3.Append(groupShapeProperties3);
            shapeTree3.Append(shape7);
            shapeTree3.Append(shape8);
            shapeTree3.Append(shape9);
            shapeTree3.Append(shape10);
            shapeTree3.Append(shape11);

            commonSlideData3.Append(shapeTree3);

            ColorMapOverride colorMapOverride2 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping2 = new A.MasterColorMapping();

            colorMapOverride2.Append(masterColorMapping2);

            slideLayout1.Append(commonSlideData3);
            slideLayout1.Append(colorMapOverride2);

            slideLayoutPart1.SlideLayout = slideLayout1;
        }
        // Generates content of slideLayoutPart9.
        private void GenerateSlideLayoutPart9Content(SlideLayoutPart slideLayoutPart9)
        {
            SlideLayout slideLayout9 = new SlideLayout(){ Type = SlideLayoutValues.VerticalText, Preserve = true };
            slideLayout9.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout9.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout9.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData11 = new CommonSlideData(){ Name = "Title and Vertical Text" };

            ShapeTree shapeTree11 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties11 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties100 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties11 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties100 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties11.Append(nonVisualDrawingProperties100);
            nonVisualGroupShapeProperties11.Append(nonVisualGroupShapeDrawingProperties11);
            nonVisualGroupShapeProperties11.Append(applicationNonVisualDrawingProperties100);

            GroupShapeProperties groupShapeProperties11 = new GroupShapeProperties();

            A.TransformGroup transformGroup11 = new A.TransformGroup();
            A.Offset offset72 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents72 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset11 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents11 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup11.Append(offset72);
            transformGroup11.Append(extents72);
            transformGroup11.Append(childOffset11);
            transformGroup11.Append(childExtents11);

            groupShapeProperties11.Append(transformGroup11);

            Shape shape50 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties50 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks48 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties50.Append(shapeLocks48);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties101 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape48 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties101.Append(placeholderShape48);

            nonVisualShapeProperties50.Append(nonVisualDrawingProperties101);
            nonVisualShapeProperties50.Append(nonVisualShapeDrawingProperties50);
            nonVisualShapeProperties50.Append(applicationNonVisualDrawingProperties101);
            ShapeProperties shapeProperties90 = new ShapeProperties();

            TextBody textBody50 = new TextBody();
            A.BodyProperties bodyProperties50 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties22 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties124 = new A.DefaultRunProperties();

            level1ParagraphProperties22.Append(defaultRunProperties124);

            listStyle50.Append(level1ParagraphProperties22);

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

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

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

            run40.Append(runProperties58);
            run40.Append(text58);
            A.EndParagraphRunProperties endParagraphRunProperties45 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph66.Append(run40);
            paragraph66.Append(endParagraphRunProperties45);

            textBody50.Append(bodyProperties50);
            textBody50.Append(listStyle50);
            textBody50.Append(paragraph66);

            shape50.Append(nonVisualShapeProperties50);
            shape50.Append(shapeProperties90);
            shape50.Append(textBody50);

            Shape shape51 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties51 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties102 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Vertical Text Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties51 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks49 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties51.Append(shapeLocks49);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties102 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape49 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties102.Append(placeholderShape49);

            nonVisualShapeProperties51.Append(nonVisualDrawingProperties102);
            nonVisualShapeProperties51.Append(nonVisualShapeDrawingProperties51);
            nonVisualShapeProperties51.Append(applicationNonVisualDrawingProperties102);
            ShapeProperties shapeProperties91 = new ShapeProperties();

            TextBody textBody51 = new TextBody();
            A.BodyProperties bodyProperties51 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical, Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties23 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties125 = new A.DefaultRunProperties();

            level1ParagraphProperties23.Append(defaultRunProperties125);

            A.Level2ParagraphProperties level2ParagraphProperties14 = new A.Level2ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties126 = new A.DefaultRunProperties();

            level2ParagraphProperties14.Append(defaultRunProperties126);

            A.Level3ParagraphProperties level3ParagraphProperties14 = new A.Level3ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties127 = new A.DefaultRunProperties();

            level3ParagraphProperties14.Append(defaultRunProperties127);

            A.Level4ParagraphProperties level4ParagraphProperties14 = new A.Level4ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties128 = new A.DefaultRunProperties();

            level4ParagraphProperties14.Append(defaultRunProperties128);

            A.Level5ParagraphProperties level5ParagraphProperties14 = new A.Level5ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties129 = new A.DefaultRunProperties();

            level5ParagraphProperties14.Append(defaultRunProperties129);

            listStyle51.Append(level1ParagraphProperties23);
            listStyle51.Append(level2ParagraphProperties14);
            listStyle51.Append(level3ParagraphProperties14);
            listStyle51.Append(level4ParagraphProperties14);
            listStyle51.Append(level5ParagraphProperties14);

            A.Paragraph paragraph67 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties28 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run41.Append(runProperties59);
            run41.Append(text59);

            paragraph67.Append(paragraphProperties28);
            paragraph67.Append(run41);

            A.Paragraph paragraph68 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties29 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties60 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties60.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text60 = new A.Text();
            text60.Text = "Second level";

            run42.Append(runProperties60);
            run42.Append(text60);

            paragraph68.Append(paragraphProperties29);
            paragraph68.Append(run42);

            A.Paragraph paragraph69 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties30 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties61 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties61.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text61 = new A.Text();
            text61.Text = "Third level";

            run43.Append(runProperties61);
            run43.Append(text61);

            paragraph69.Append(paragraphProperties30);
            paragraph69.Append(run43);

            A.Paragraph paragraph70 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties31 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties62 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties62.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text62 = new A.Text();
            text62.Text = "Fourth level";

            run44.Append(runProperties62);
            run44.Append(text62);

            paragraph70.Append(paragraphProperties31);
            paragraph70.Append(run44);

            A.Paragraph paragraph71 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties32 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties63 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties63.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text63 = new A.Text();
            text63.Text = "Fifth level";

            run45.Append(runProperties63);
            run45.Append(text63);
            A.EndParagraphRunProperties endParagraphRunProperties46 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph71.Append(paragraphProperties32);
            paragraph71.Append(run45);
            paragraph71.Append(endParagraphRunProperties46);

            textBody51.Append(bodyProperties51);
            textBody51.Append(listStyle51);
            textBody51.Append(paragraph67);
            textBody51.Append(paragraph68);
            textBody51.Append(paragraph69);
            textBody51.Append(paragraph70);
            textBody51.Append(paragraph71);

            shape51.Append(nonVisualShapeProperties51);
            shape51.Append(shapeProperties91);
            shape51.Append(textBody51);

            Shape shape52 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties52 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks50 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties52.Append(shapeLocks50);

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

            applicationNonVisualDrawingProperties103.Append(placeholderShape50);

            nonVisualShapeProperties52.Append(nonVisualDrawingProperties103);
            nonVisualShapeProperties52.Append(nonVisualShapeDrawingProperties52);
            nonVisualShapeProperties52.Append(applicationNonVisualDrawingProperties103);
            ShapeProperties shapeProperties92 = new ShapeProperties();

            TextBody textBody52 = new TextBody();
            A.BodyProperties bodyProperties52 = new A.BodyProperties();
            A.ListStyle listStyle52 = new A.ListStyle();

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

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

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

            field19.Append(runProperties64);
            field19.Append(text64);
            A.EndParagraphRunProperties endParagraphRunProperties47 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph72.Append(field19);
            paragraph72.Append(endParagraphRunProperties47);

            textBody52.Append(bodyProperties52);
            textBody52.Append(listStyle52);
            textBody52.Append(paragraph72);

            shape52.Append(nonVisualShapeProperties52);
            shape52.Append(shapeProperties92);
            shape52.Append(textBody52);

            Shape shape53 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties53 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks51 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties53.Append(shapeLocks51);

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

            applicationNonVisualDrawingProperties104.Append(placeholderShape51);

            nonVisualShapeProperties53.Append(nonVisualDrawingProperties104);
            nonVisualShapeProperties53.Append(nonVisualShapeDrawingProperties53);
            nonVisualShapeProperties53.Append(applicationNonVisualDrawingProperties104);
            ShapeProperties shapeProperties93 = new ShapeProperties();

            TextBody textBody53 = new TextBody();
            A.BodyProperties bodyProperties53 = new A.BodyProperties();
            A.ListStyle listStyle53 = new A.ListStyle();

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

            paragraph73.Append(endParagraphRunProperties48);

            textBody53.Append(bodyProperties53);
            textBody53.Append(listStyle53);
            textBody53.Append(paragraph73);

            shape53.Append(nonVisualShapeProperties53);
            shape53.Append(shapeProperties93);
            shape53.Append(textBody53);

            Shape shape54 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties54 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks52 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties54.Append(shapeLocks52);

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

            applicationNonVisualDrawingProperties105.Append(placeholderShape52);

            nonVisualShapeProperties54.Append(nonVisualDrawingProperties105);
            nonVisualShapeProperties54.Append(nonVisualShapeDrawingProperties54);
            nonVisualShapeProperties54.Append(applicationNonVisualDrawingProperties105);
            ShapeProperties shapeProperties94 = new ShapeProperties();

            TextBody textBody54 = new TextBody();
            A.BodyProperties bodyProperties54 = new A.BodyProperties();
            A.ListStyle listStyle54 = new A.ListStyle();

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

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

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

            field20.Append(runProperties65);
            field20.Append(text65);
            A.EndParagraphRunProperties endParagraphRunProperties49 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph74.Append(field20);
            paragraph74.Append(endParagraphRunProperties49);

            textBody54.Append(bodyProperties54);
            textBody54.Append(listStyle54);
            textBody54.Append(paragraph74);

            shape54.Append(nonVisualShapeProperties54);
            shape54.Append(shapeProperties94);
            shape54.Append(textBody54);

            ConnectionShape connectionShape41 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties41 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties106 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties41 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties106 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties41.Append(nonVisualDrawingProperties106);
            nonVisualConnectionShapeProperties41.Append(nonVisualConnectorShapeDrawingProperties41);
            nonVisualConnectionShapeProperties41.Append(applicationNonVisualDrawingProperties106);

            ShapeProperties shapeProperties95 = new ShapeProperties();

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

            transform2D62.Append(offset73);
            transform2D62.Append(extents73);

            A.PresetGeometry presetGeometry48 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList48 = new A.AdjustValueList();

            presetGeometry48.Append(adjustValueList48);

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

            A.SolidFill solidFill142 = new A.SolidFill();
            A.SchemeColor schemeColor318 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill142.Append(schemeColor318);

            outline47.Append(solidFill142);

            shapeProperties95.Append(transform2D62);
            shapeProperties95.Append(presetGeometry48);
            shapeProperties95.Append(outline47);

            ShapeStyle shapeStyle41 = new ShapeStyle();

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

            lineReference41.Append(schemeColor319);

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

            fillReference41.Append(schemeColor320);

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

            effectReference41.Append(schemeColor321);

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

            fontReference41.Append(schemeColor322);

            shapeStyle41.Append(lineReference41);
            shapeStyle41.Append(fillReference41);
            shapeStyle41.Append(effectReference41);
            shapeStyle41.Append(fontReference41);

            connectionShape41.Append(nonVisualConnectionShapeProperties41);
            connectionShape41.Append(shapeProperties95);
            connectionShape41.Append(shapeStyle41);

            ConnectionShape connectionShape42 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties42 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties107 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties42 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties107 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties42.Append(nonVisualDrawingProperties107);
            nonVisualConnectionShapeProperties42.Append(nonVisualConnectorShapeDrawingProperties42);
            nonVisualConnectionShapeProperties42.Append(applicationNonVisualDrawingProperties107);

            ShapeProperties shapeProperties96 = new ShapeProperties();

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

            transform2D63.Append(offset74);
            transform2D63.Append(extents74);

            A.PresetGeometry presetGeometry49 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList49 = new A.AdjustValueList();

            presetGeometry49.Append(adjustValueList49);

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

            A.SolidFill solidFill143 = new A.SolidFill();
            A.SchemeColor schemeColor323 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill143.Append(schemeColor323);

            outline48.Append(solidFill143);

            shapeProperties96.Append(transform2D63);
            shapeProperties96.Append(presetGeometry49);
            shapeProperties96.Append(outline48);

            ShapeStyle shapeStyle42 = new ShapeStyle();

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

            lineReference42.Append(schemeColor324);

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

            fillReference42.Append(schemeColor325);

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

            effectReference42.Append(schemeColor326);

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

            fontReference42.Append(schemeColor327);

            shapeStyle42.Append(lineReference42);
            shapeStyle42.Append(fillReference42);
            shapeStyle42.Append(effectReference42);
            shapeStyle42.Append(fontReference42);

            connectionShape42.Append(nonVisualConnectionShapeProperties42);
            connectionShape42.Append(shapeProperties96);
            connectionShape42.Append(shapeStyle42);

            ConnectionShape connectionShape43 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties43 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties108 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties43 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties108 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties43.Append(nonVisualDrawingProperties108);
            nonVisualConnectionShapeProperties43.Append(nonVisualConnectorShapeDrawingProperties43);
            nonVisualConnectionShapeProperties43.Append(applicationNonVisualDrawingProperties108);

            ShapeProperties shapeProperties97 = new ShapeProperties();

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

            transform2D64.Append(offset75);
            transform2D64.Append(extents75);

            A.PresetGeometry presetGeometry50 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList50 = new A.AdjustValueList();

            presetGeometry50.Append(adjustValueList50);

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

            A.SolidFill solidFill144 = new A.SolidFill();
            A.SchemeColor schemeColor328 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill144.Append(schemeColor328);

            outline49.Append(solidFill144);

            shapeProperties97.Append(transform2D64);
            shapeProperties97.Append(presetGeometry50);
            shapeProperties97.Append(outline49);

            ShapeStyle shapeStyle43 = new ShapeStyle();

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

            lineReference43.Append(schemeColor329);

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

            fillReference43.Append(schemeColor330);

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

            effectReference43.Append(schemeColor331);

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

            fontReference43.Append(schemeColor332);

            shapeStyle43.Append(lineReference43);
            shapeStyle43.Append(fillReference43);
            shapeStyle43.Append(effectReference43);
            shapeStyle43.Append(fontReference43);

            connectionShape43.Append(nonVisualConnectionShapeProperties43);
            connectionShape43.Append(shapeProperties97);
            connectionShape43.Append(shapeStyle43);

            ConnectionShape connectionShape44 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties44 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties109 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties44 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties109 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties44.Append(nonVisualDrawingProperties109);
            nonVisualConnectionShapeProperties44.Append(nonVisualConnectorShapeDrawingProperties44);
            nonVisualConnectionShapeProperties44.Append(applicationNonVisualDrawingProperties109);

            ShapeProperties shapeProperties98 = new ShapeProperties();

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

            transform2D65.Append(offset76);
            transform2D65.Append(extents76);

            A.PresetGeometry presetGeometry51 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList51 = new A.AdjustValueList();

            presetGeometry51.Append(adjustValueList51);

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

            A.SolidFill solidFill145 = new A.SolidFill();
            A.SchemeColor schemeColor333 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill145.Append(schemeColor333);

            outline50.Append(solidFill145);

            shapeProperties98.Append(transform2D65);
            shapeProperties98.Append(presetGeometry51);
            shapeProperties98.Append(outline50);

            ShapeStyle shapeStyle44 = new ShapeStyle();

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

            lineReference44.Append(schemeColor334);

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

            fillReference44.Append(schemeColor335);

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

            effectReference44.Append(schemeColor336);

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

            fontReference44.Append(schemeColor337);

            shapeStyle44.Append(lineReference44);
            shapeStyle44.Append(fillReference44);
            shapeStyle44.Append(effectReference44);
            shapeStyle44.Append(fontReference44);

            connectionShape44.Append(nonVisualConnectionShapeProperties44);
            connectionShape44.Append(shapeProperties98);
            connectionShape44.Append(shapeStyle44);

            ConnectionShape connectionShape45 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties45 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties110 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties45 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties110 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties45.Append(nonVisualDrawingProperties110);
            nonVisualConnectionShapeProperties45.Append(nonVisualConnectorShapeDrawingProperties45);
            nonVisualConnectionShapeProperties45.Append(applicationNonVisualDrawingProperties110);

            ShapeProperties shapeProperties99 = new ShapeProperties();

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

            transform2D66.Append(offset77);
            transform2D66.Append(extents77);

            A.PresetGeometry presetGeometry52 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList52 = new A.AdjustValueList();

            presetGeometry52.Append(adjustValueList52);

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

            A.SolidFill solidFill146 = new A.SolidFill();
            A.SchemeColor schemeColor338 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill146.Append(schemeColor338);

            outline51.Append(solidFill146);

            shapeProperties99.Append(transform2D66);
            shapeProperties99.Append(presetGeometry52);
            shapeProperties99.Append(outline51);

            ShapeStyle shapeStyle45 = new ShapeStyle();

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

            lineReference45.Append(schemeColor339);

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

            fillReference45.Append(schemeColor340);

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

            effectReference45.Append(schemeColor341);

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

            fontReference45.Append(schemeColor342);

            shapeStyle45.Append(lineReference45);
            shapeStyle45.Append(fillReference45);
            shapeStyle45.Append(effectReference45);
            shapeStyle45.Append(fontReference45);

            connectionShape45.Append(nonVisualConnectionShapeProperties45);
            connectionShape45.Append(shapeProperties99);
            connectionShape45.Append(shapeStyle45);

            shapeTree11.Append(nonVisualGroupShapeProperties11);
            shapeTree11.Append(groupShapeProperties11);
            shapeTree11.Append(shape50);
            shapeTree11.Append(shape51);
            shapeTree11.Append(shape52);
            shapeTree11.Append(shape53);
            shapeTree11.Append(shape54);
            shapeTree11.Append(connectionShape41);
            shapeTree11.Append(connectionShape42);
            shapeTree11.Append(connectionShape43);
            shapeTree11.Append(connectionShape44);
            shapeTree11.Append(connectionShape45);

            CommonSlideDataExtensionList commonSlideDataExtensionList11 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension11.Append(creationId11);

            commonSlideDataExtensionList11.Append(commonSlideDataExtension11);

            commonSlideData11.Append(shapeTree11);
            commonSlideData11.Append(commonSlideDataExtensionList11);

            ColorMapOverride colorMapOverride10 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping10 = new A.MasterColorMapping();

            colorMapOverride10.Append(masterColorMapping10);

            Timing timing11 = new Timing();

            TimeNodeList timeNodeList11 = new TimeNodeList();

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

            parallelTimeNode11.Append(commonTimeNode11);

            timeNodeList11.Append(parallelTimeNode11);

            timing11.Append(timeNodeList11);

            slideLayout9.Append(commonSlideData11);
            slideLayout9.Append(colorMapOverride10);
            slideLayout9.Append(timing11);

            slideLayoutPart9.SlideLayout = slideLayout9;
        }
        // Generates content of slideLayoutPart2.
        private void GenerateSlideLayoutPart2Content(SlideLayoutPart slideLayoutPart2)
        {
            SlideLayout slideLayout2 = new SlideLayout(){ Type = SlideLayoutValues.ObjectText, Preserve = true };
            slideLayout2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout2.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData5 = new CommonSlideData(){ Name = "Content with Caption" };

            ShapeTree shapeTree5 = new ShapeTree();

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

            nonVisualGroupShapeProperties5.Append(nonVisualDrawingProperties21);
            nonVisualGroupShapeProperties5.Append(nonVisualGroupShapeDrawingProperties5);
            nonVisualGroupShapeProperties5.Append(applicationNonVisualDrawingProperties21);

            GroupShapeProperties groupShapeProperties5 = new GroupShapeProperties();

            A.TransformGroup transformGroup5 = new A.TransformGroup();
            A.Offset offset18 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents18 = 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(offset18);
            transformGroup5.Append(extents18);
            transformGroup5.Append(childOffset5);
            transformGroup5.Append(childExtents5);

            groupShapeProperties5.Append(transformGroup5);

            Shape shape17 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties17 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks16 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties17.Append(shapeLocks16);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties22 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape16 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties22.Append(placeholderShape16);

            nonVisualShapeProperties17.Append(nonVisualDrawingProperties22);
            nonVisualShapeProperties17.Append(nonVisualShapeDrawingProperties17);
            nonVisualShapeProperties17.Append(applicationNonVisualDrawingProperties22);

            ShapeProperties shapeProperties17 = new ShapeProperties();

            A.Transform2D transform2D14 = new A.Transform2D();
            A.Offset offset19 = new A.Offset(){ X = 457201L, Y = 273050L };
            A.Extents extents19 = new A.Extents(){ Cx = 3008313L, Cy = 1162050L };

            transform2D14.Append(offset19);
            transform2D14.Append(extents19);

            shapeProperties17.Append(transform2D14);

            TextBody textBody17 = new TextBody();
            A.BodyProperties bodyProperties17 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties13 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties55 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level1ParagraphProperties13.Append(defaultRunProperties55);

            listStyle17.Append(level1ParagraphProperties13);

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

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

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

            run25.Append(runProperties30);
            run25.Append(text30);
            A.EndParagraphRunProperties endParagraphRunProperties18 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph34.Append(run25);
            paragraph34.Append(endParagraphRunProperties18);

            textBody17.Append(bodyProperties17);
            textBody17.Append(listStyle17);
            textBody17.Append(paragraph34);

            shape17.Append(nonVisualShapeProperties17);
            shape17.Append(shapeProperties17);
            shape17.Append(textBody17);

            Shape shape18 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties18 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties23 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Content Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties18 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks17 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties18.Append(shapeLocks17);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties23 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape17 = new PlaceholderShape(){ Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties23.Append(placeholderShape17);

            nonVisualShapeProperties18.Append(nonVisualDrawingProperties23);
            nonVisualShapeProperties18.Append(nonVisualShapeDrawingProperties18);
            nonVisualShapeProperties18.Append(applicationNonVisualDrawingProperties23);

            ShapeProperties shapeProperties18 = new ShapeProperties();

            A.Transform2D transform2D15 = new A.Transform2D();
            A.Offset offset20 = new A.Offset(){ X = 3575050L, Y = 273051L };
            A.Extents extents20 = new A.Extents(){ Cx = 5111751L, Cy = 5853113L };

            transform2D15.Append(offset20);
            transform2D15.Append(extents20);

            shapeProperties18.Append(transform2D15);

            TextBody textBody18 = new TextBody();
            A.BodyProperties bodyProperties18 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties14 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties56 = new A.DefaultRunProperties(){ FontSize = 3200 };

            level1ParagraphProperties14.Append(defaultRunProperties56);

            A.Level2ParagraphProperties level2ParagraphProperties6 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties57 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level2ParagraphProperties6.Append(defaultRunProperties57);

            A.Level3ParagraphProperties level3ParagraphProperties6 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties58 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level3ParagraphProperties6.Append(defaultRunProperties58);

            A.Level4ParagraphProperties level4ParagraphProperties6 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties59 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level4ParagraphProperties6.Append(defaultRunProperties59);

            A.Level5ParagraphProperties level5ParagraphProperties6 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties60 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level5ParagraphProperties6.Append(defaultRunProperties60);

            A.Level6ParagraphProperties level6ParagraphProperties6 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties61 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level6ParagraphProperties6.Append(defaultRunProperties61);

            A.Level7ParagraphProperties level7ParagraphProperties6 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties62 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level7ParagraphProperties6.Append(defaultRunProperties62);

            A.Level8ParagraphProperties level8ParagraphProperties6 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties63 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level8ParagraphProperties6.Append(defaultRunProperties63);

            A.Level9ParagraphProperties level9ParagraphProperties6 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties64 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level9ParagraphProperties6.Append(defaultRunProperties64);

            listStyle18.Append(level1ParagraphProperties14);
            listStyle18.Append(level2ParagraphProperties6);
            listStyle18.Append(level3ParagraphProperties6);
            listStyle18.Append(level4ParagraphProperties6);
            listStyle18.Append(level5ParagraphProperties6);
            listStyle18.Append(level6ParagraphProperties6);
            listStyle18.Append(level7ParagraphProperties6);
            listStyle18.Append(level8ParagraphProperties6);
            listStyle18.Append(level9ParagraphProperties6);

            A.Paragraph paragraph35 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties19 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run26.Append(runProperties31);
            run26.Append(text31);

            paragraph35.Append(paragraphProperties19);
            paragraph35.Append(run26);

            A.Paragraph paragraph36 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties20 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run27.Append(runProperties32);
            run27.Append(text32);

            paragraph36.Append(paragraphProperties20);
            paragraph36.Append(run27);

            A.Paragraph paragraph37 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties21 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run28.Append(runProperties33);
            run28.Append(text33);

            paragraph37.Append(paragraphProperties21);
            paragraph37.Append(run28);

            A.Paragraph paragraph38 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties22 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run29.Append(runProperties34);
            run29.Append(text34);

            paragraph38.Append(paragraphProperties22);
            paragraph38.Append(run29);

            A.Paragraph paragraph39 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties23 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run30.Append(runProperties35);
            run30.Append(text35);
            A.EndParagraphRunProperties endParagraphRunProperties19 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph39.Append(paragraphProperties23);
            paragraph39.Append(run30);
            paragraph39.Append(endParagraphRunProperties19);

            textBody18.Append(bodyProperties18);
            textBody18.Append(listStyle18);
            textBody18.Append(paragraph35);
            textBody18.Append(paragraph36);
            textBody18.Append(paragraph37);
            textBody18.Append(paragraph38);
            textBody18.Append(paragraph39);

            shape18.Append(nonVisualShapeProperties18);
            shape18.Append(shapeProperties18);
            shape18.Append(textBody18);

            Shape shape19 = new Shape();

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

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

            nonVisualShapeDrawingProperties19.Append(shapeLocks18);

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

            applicationNonVisualDrawingProperties24.Append(placeholderShape18);

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

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.Transform2D transform2D16 = new A.Transform2D();
            A.Offset offset21 = new A.Offset(){ X = 457201L, Y = 1435101L };
            A.Extents extents21 = new A.Extents(){ Cx = 3008313L, Cy = 4691063L };

            transform2D16.Append(offset21);
            transform2D16.Append(extents21);

            shapeProperties19.Append(transform2D16);

            TextBody textBody19 = new TextBody();
            A.BodyProperties bodyProperties19 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties15 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet11 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties65 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level1ParagraphProperties15.Append(noBullet11);
            level1ParagraphProperties15.Append(defaultRunProperties65);

            A.Level2ParagraphProperties level2ParagraphProperties7 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet12 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties66 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties7.Append(noBullet12);
            level2ParagraphProperties7.Append(defaultRunProperties66);

            A.Level3ParagraphProperties level3ParagraphProperties7 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet13 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties67 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties7.Append(noBullet13);
            level3ParagraphProperties7.Append(defaultRunProperties67);

            A.Level4ParagraphProperties level4ParagraphProperties7 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet14 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties68 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties7.Append(noBullet14);
            level4ParagraphProperties7.Append(defaultRunProperties68);

            A.Level5ParagraphProperties level5ParagraphProperties7 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet15 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties69 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties7.Append(noBullet15);
            level5ParagraphProperties7.Append(defaultRunProperties69);

            A.Level6ParagraphProperties level6ParagraphProperties7 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet16 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties70 = new A.DefaultRunProperties(){ FontSize = 900 };

            level6ParagraphProperties7.Append(noBullet16);
            level6ParagraphProperties7.Append(defaultRunProperties70);

            A.Level7ParagraphProperties level7ParagraphProperties7 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet17 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties71 = new A.DefaultRunProperties(){ FontSize = 900 };

            level7ParagraphProperties7.Append(noBullet17);
            level7ParagraphProperties7.Append(defaultRunProperties71);

            A.Level8ParagraphProperties level8ParagraphProperties7 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet18 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties72 = new A.DefaultRunProperties(){ FontSize = 900 };

            level8ParagraphProperties7.Append(noBullet18);
            level8ParagraphProperties7.Append(defaultRunProperties72);

            A.Level9ParagraphProperties level9ParagraphProperties7 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet19 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties73 = new A.DefaultRunProperties(){ FontSize = 900 };

            level9ParagraphProperties7.Append(noBullet19);
            level9ParagraphProperties7.Append(defaultRunProperties73);

            listStyle19.Append(level1ParagraphProperties15);
            listStyle19.Append(level2ParagraphProperties7);
            listStyle19.Append(level3ParagraphProperties7);
            listStyle19.Append(level4ParagraphProperties7);
            listStyle19.Append(level5ParagraphProperties7);
            listStyle19.Append(level6ParagraphProperties7);
            listStyle19.Append(level7ParagraphProperties7);
            listStyle19.Append(level8ParagraphProperties7);
            listStyle19.Append(level9ParagraphProperties7);

            A.Paragraph paragraph40 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties24 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run31.Append(runProperties36);
            run31.Append(text36);

            paragraph40.Append(paragraphProperties24);
            paragraph40.Append(run31);

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

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

            Shape shape20 = new Shape();

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

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

            nonVisualShapeDrawingProperties20.Append(shapeLocks19);

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

            applicationNonVisualDrawingProperties25.Append(placeholderShape19);

            nonVisualShapeProperties20.Append(nonVisualDrawingProperties25);
            nonVisualShapeProperties20.Append(nonVisualShapeDrawingProperties20);
            nonVisualShapeProperties20.Append(applicationNonVisualDrawingProperties25);
            ShapeProperties shapeProperties20 = new ShapeProperties();

            TextBody textBody20 = new TextBody();
            A.BodyProperties bodyProperties20 = new A.BodyProperties();
            A.ListStyle listStyle20 = new A.ListStyle();

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

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

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

            field6.Append(runProperties37);
            field6.Append(text37);
            A.EndParagraphRunProperties endParagraphRunProperties20 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph41.Append(field6);
            paragraph41.Append(endParagraphRunProperties20);

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

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

            Shape shape21 = new Shape();

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

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

            nonVisualShapeDrawingProperties21.Append(shapeLocks20);

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

            applicationNonVisualDrawingProperties26.Append(placeholderShape20);

            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 paragraph42 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph42.Append(endParagraphRunProperties21);

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

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

            Shape shape22 = new Shape();

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

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

            nonVisualShapeDrawingProperties22.Append(shapeLocks21);

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

            applicationNonVisualDrawingProperties27.Append(placeholderShape21);

            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 paragraph43 = new A.Paragraph();

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

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

            field7.Append(runProperties38);
            field7.Append(text38);
            A.EndParagraphRunProperties endParagraphRunProperties22 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph43.Append(field7);
            paragraph43.Append(endParagraphRunProperties22);

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

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

            shapeTree5.Append(nonVisualGroupShapeProperties5);
            shapeTree5.Append(groupShapeProperties5);
            shapeTree5.Append(shape17);
            shapeTree5.Append(shape18);
            shapeTree5.Append(shape19);
            shapeTree5.Append(shape20);
            shapeTree5.Append(shape21);
            shapeTree5.Append(shape22);

            commonSlideData5.Append(shapeTree5);

            ColorMapOverride colorMapOverride3 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping3 = new A.MasterColorMapping();

            colorMapOverride3.Append(masterColorMapping3);

            slideLayout2.Append(commonSlideData5);
            slideLayout2.Append(colorMapOverride3);

            slideLayoutPart2.SlideLayout = slideLayout2;
        }
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            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 = LayoutSetting.Name
            };

            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 = 623888L, Y = 1709739L
            };
            A.Extents extents16 = new A.Extents()
            {
                Cx = 7886700L, Cy = 2852737L
            };

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

            shapeProperties19.Append(transform2D11);

            TextBody textBody19 = new TextBody();

            A.BodyProperties bodyProperties19 = new A.BodyProperties()
            {
                Anchor = A.TextAnchoringTypeValues.Bottom
            };

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

            A.Level1ParagraphProperties level1ParagraphProperties12 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties53      = new A.DefaultRunProperties()
            {
                FontSize = 6000
            };

            level1ParagraphProperties12.Append(defaultRunProperties53);

            listStyle19.Append(level1ParagraphProperties12);

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

            A.Run           run34           = new A.Run();
            A.RunProperties runProperties40 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text40 = new A.Text();
            text40.Text = "マスター タイトルの書式設定";

            run34.Append(runProperties40);
            run34.Append(text40);
            A.EndParagraphRunProperties endParagraphRunProperties16 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph27.Append(run34);
            paragraph27.Append(endParagraphRunProperties16);

            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 = 623888L, Y = 4589464L
            };
            A.Extents extents17 = new A.Extents()
            {
                Cx = 7886700L, Cy = 1500187L
            };

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

            shapeProperties20.Append(transform2D12);

            TextBody textBody20 = new TextBody();

            A.BodyProperties bodyProperties20 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties13 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0
            };
            A.NoBullet noBullet20 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties54 = new A.DefaultRunProperties()
            {
                FontSize = 2400
            };

            A.SolidFill   solidFill23   = new A.SolidFill();
            A.SchemeColor schemeColor24 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill23.Append(schemeColor24);

            defaultRunProperties54.Append(solidFill23);

            level1ParagraphProperties13.Append(noBullet20);
            level1ParagraphProperties13.Append(defaultRunProperties54);

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

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

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

            A.SchemeColor schemeColor25 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };
            A.Tint tint4 = new A.Tint()
            {
                Val = 75000
            };

            schemeColor25.Append(tint4);

            solidFill24.Append(schemeColor25);

            defaultRunProperties55.Append(solidFill24);

            level2ParagraphProperties6.Append(noBullet21);
            level2ParagraphProperties6.Append(defaultRunProperties55);

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

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

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

            A.SchemeColor schemeColor26 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };
            A.Tint tint5 = new A.Tint()
            {
                Val = 75000
            };

            schemeColor26.Append(tint5);

            solidFill25.Append(schemeColor26);

            defaultRunProperties56.Append(solidFill25);

            level3ParagraphProperties6.Append(noBullet22);
            level3ParagraphProperties6.Append(defaultRunProperties56);

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

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

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

            A.SchemeColor schemeColor27 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };
            A.Tint tint6 = new A.Tint()
            {
                Val = 75000
            };

            schemeColor27.Append(tint6);

            solidFill26.Append(schemeColor27);

            defaultRunProperties57.Append(solidFill26);

            level4ParagraphProperties6.Append(noBullet23);
            level4ParagraphProperties6.Append(defaultRunProperties57);

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

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

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

            A.SchemeColor schemeColor28 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };
            A.Tint tint7 = new A.Tint()
            {
                Val = 75000
            };

            schemeColor28.Append(tint7);

            solidFill27.Append(schemeColor28);

            defaultRunProperties58.Append(solidFill27);

            level5ParagraphProperties6.Append(noBullet24);
            level5ParagraphProperties6.Append(defaultRunProperties58);

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

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

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

            A.SchemeColor schemeColor29 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };
            A.Tint tint8 = new A.Tint()
            {
                Val = 75000
            };

            schemeColor29.Append(tint8);

            solidFill28.Append(schemeColor29);

            defaultRunProperties59.Append(solidFill28);

            level6ParagraphProperties6.Append(noBullet25);
            level6ParagraphProperties6.Append(defaultRunProperties59);

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

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

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

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

            schemeColor30.Append(tint9);

            solidFill29.Append(schemeColor30);

            defaultRunProperties60.Append(solidFill29);

            level7ParagraphProperties6.Append(noBullet26);
            level7ParagraphProperties6.Append(defaultRunProperties60);

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

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

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

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

            schemeColor31.Append(tint10);

            solidFill30.Append(schemeColor31);

            defaultRunProperties61.Append(solidFill30);

            level8ParagraphProperties6.Append(noBullet27);
            level8ParagraphProperties6.Append(defaultRunProperties61);

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

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

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

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

            schemeColor32.Append(tint11);

            solidFill31.Append(schemeColor32);

            defaultRunProperties62.Append(solidFill31);

            level9ParagraphProperties6.Append(noBullet28);
            level9ParagraphProperties6.Append(defaultRunProperties62);

            listStyle20.Append(level1ParagraphProperties13);
            listStyle20.Append(level2ParagraphProperties6);
            listStyle20.Append(level3ParagraphProperties6);
            listStyle20.Append(level4ParagraphProperties6);
            listStyle20.Append(level5ParagraphProperties6);
            listStyle20.Append(level6ParagraphProperties6);
            listStyle20.Append(level7ParagraphProperties6);
            listStyle20.Append(level8ParagraphProperties6);
            listStyle20.Append(level9ParagraphProperties6);

            A.Paragraph           paragraph28           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties()
            {
                Level = 0
            };

            A.Run           run35           = new A.Run();
            A.RunProperties runProperties41 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text41 = new A.Text();
            text41.Text = "マスター テキストの書式設定";

            run35.Append(runProperties41);
            run35.Append(text41);

            paragraph28.Append(paragraphProperties12);
            paragraph28.Append(run35);

            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 = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties42 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties42.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text42 = new A.Text();
            text42.Text = "2018/5/3";

            field7.Append(runProperties42);
            field7.Append(text42);
            A.EndParagraphRunProperties endParagraphRunProperties17 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph29.Append(field7);
            paragraph29.Append(endParagraphRunProperties17);

            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 endParagraphRunProperties18 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph30.Append(endParagraphRunProperties18);

            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();

            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 = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field8.Append(runProperties43);
            field8.Append(text43);
            A.EndParagraphRunProperties endParagraphRunProperties19 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph31.Append(field8);
            paragraph31.Append(endParagraphRunProperties19);

            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)2018258302U
            };
            creationId5.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension5.Append(creationId5);

            commonSlideDataExtensionList5.Append(commonSlideDataExtension5);

            commonSlideData5.Append(shapeTree5);
            commonSlideData5.Append(commonSlideDataExtensionList5);

            ColorMapOverride colorMapOverride4 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping4 = new A.MasterColorMapping();

            colorMapOverride4.Append(masterColorMapping4);

            slideLayout3.Append(commonSlideData5);
            slideLayout3.Append(colorMapOverride4);

            slideLayoutPart.SlideLayout = slideLayout3;

            return(slideLayoutPart);
        }
        // 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;
        }
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraph_Totale(string Titolo)
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "005B040A", RsidParagraphProperties = "005B040A", RsidRunAdditionDefault = "005B040A" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };
            paragraphProperties1.Append(justification1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(GenerateRun_Bold(Titolo, "30"));
            return paragraph1;
        }
        // Generates content of slideLayoutPart5.
        private void GenerateSlideLayoutPart5Content(SlideLayoutPart slideLayoutPart5)
        {
            SlideLayout slideLayout5 = new SlideLayout(){ Type = SlideLayoutValues.Object, Preserve = true };
            slideLayout5.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout5.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData8 = new CommonSlideData(){ Name = "Title and Content" };

            ShapeTree shapeTree8 = new ShapeTree();

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

            nonVisualGroupShapeProperties8.Append(nonVisualDrawingProperties38);
            nonVisualGroupShapeProperties8.Append(nonVisualGroupShapeDrawingProperties8);
            nonVisualGroupShapeProperties8.Append(applicationNonVisualDrawingProperties38);

            GroupShapeProperties groupShapeProperties8 = new GroupShapeProperties();

            A.TransformGroup transformGroup8 = new A.TransformGroup();
            A.Offset offset26 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents26 = 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(offset26);
            transformGroup8.Append(extents26);
            transformGroup8.Append(childOffset8);
            transformGroup8.Append(childExtents8);

            groupShapeProperties8.Append(transformGroup8);

            Shape shape31 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties31 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks30 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties31.Append(shapeLocks30);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties39 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape30 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties39.Append(placeholderShape30);

            nonVisualShapeProperties31.Append(nonVisualDrawingProperties39);
            nonVisualShapeProperties31.Append(nonVisualShapeDrawingProperties31);
            nonVisualShapeProperties31.Append(applicationNonVisualDrawingProperties39);
            ShapeProperties shapeProperties31 = new ShapeProperties();

            TextBody textBody31 = new TextBody();
            A.BodyProperties bodyProperties31 = new A.BodyProperties();
            A.ListStyle listStyle31 = new A.ListStyle();

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

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

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

            run34.Append(runProperties45);
            run34.Append(text45);
            A.EndParagraphRunProperties endParagraphRunProperties30 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph52.Append(run34);
            paragraph52.Append(endParagraphRunProperties30);

            textBody31.Append(bodyProperties31);
            textBody31.Append(listStyle31);
            textBody31.Append(paragraph52);

            shape31.Append(nonVisualShapeProperties31);
            shape31.Append(shapeProperties31);
            shape31.Append(textBody31);

            Shape shape32 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties32 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties40 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Content Placeholder 2" };

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

            nonVisualShapeDrawingProperties32.Append(shapeLocks31);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties40 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape31 = new PlaceholderShape(){ Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties40.Append(placeholderShape31);

            nonVisualShapeProperties32.Append(nonVisualDrawingProperties40);
            nonVisualShapeProperties32.Append(nonVisualShapeDrawingProperties32);
            nonVisualShapeProperties32.Append(applicationNonVisualDrawingProperties40);
            ShapeProperties shapeProperties32 = new ShapeProperties();

            TextBody textBody32 = new TextBody();
            A.BodyProperties bodyProperties32 = new A.BodyProperties();
            A.ListStyle listStyle32 = new A.ListStyle();

            A.Paragraph paragraph53 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties26 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run35.Append(runProperties46);
            run35.Append(text46);

            paragraph53.Append(paragraphProperties26);
            paragraph53.Append(run35);

            A.Paragraph paragraph54 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties27 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run36.Append(runProperties47);
            run36.Append(text47);

            paragraph54.Append(paragraphProperties27);
            paragraph54.Append(run36);

            A.Paragraph paragraph55 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties28 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run37.Append(runProperties48);
            run37.Append(text48);

            paragraph55.Append(paragraphProperties28);
            paragraph55.Append(run37);

            A.Paragraph paragraph56 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties29 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run38.Append(runProperties49);
            run38.Append(text49);

            paragraph56.Append(paragraphProperties29);
            paragraph56.Append(run38);

            A.Paragraph paragraph57 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties30 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run39.Append(runProperties50);
            run39.Append(text50);
            A.EndParagraphRunProperties endParagraphRunProperties31 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph57.Append(paragraphProperties30);
            paragraph57.Append(run39);
            paragraph57.Append(endParagraphRunProperties31);

            textBody32.Append(bodyProperties32);
            textBody32.Append(listStyle32);
            textBody32.Append(paragraph53);
            textBody32.Append(paragraph54);
            textBody32.Append(paragraph55);
            textBody32.Append(paragraph56);
            textBody32.Append(paragraph57);

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

            Shape shape33 = new Shape();

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

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

            nonVisualShapeDrawingProperties33.Append(shapeLocks32);

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

            applicationNonVisualDrawingProperties41.Append(placeholderShape32);

            nonVisualShapeProperties33.Append(nonVisualDrawingProperties41);
            nonVisualShapeProperties33.Append(nonVisualShapeDrawingProperties33);
            nonVisualShapeProperties33.Append(applicationNonVisualDrawingProperties41);
            ShapeProperties shapeProperties33 = new ShapeProperties();

            TextBody textBody33 = new TextBody();
            A.BodyProperties bodyProperties33 = new A.BodyProperties();
            A.ListStyle listStyle33 = new A.ListStyle();

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

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

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

            field12.Append(runProperties51);
            field12.Append(text51);
            A.EndParagraphRunProperties endParagraphRunProperties32 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph58.Append(field12);
            paragraph58.Append(endParagraphRunProperties32);

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

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

            Shape shape34 = new Shape();

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

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

            nonVisualShapeDrawingProperties34.Append(shapeLocks33);

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

            applicationNonVisualDrawingProperties42.Append(placeholderShape33);

            nonVisualShapeProperties34.Append(nonVisualDrawingProperties42);
            nonVisualShapeProperties34.Append(nonVisualShapeDrawingProperties34);
            nonVisualShapeProperties34.Append(applicationNonVisualDrawingProperties42);
            ShapeProperties shapeProperties34 = new ShapeProperties();

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

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

            paragraph59.Append(endParagraphRunProperties33);

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

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

            Shape shape35 = new Shape();

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

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

            nonVisualShapeDrawingProperties35.Append(shapeLocks34);

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

            applicationNonVisualDrawingProperties43.Append(placeholderShape34);

            nonVisualShapeProperties35.Append(nonVisualDrawingProperties43);
            nonVisualShapeProperties35.Append(nonVisualShapeDrawingProperties35);
            nonVisualShapeProperties35.Append(applicationNonVisualDrawingProperties43);
            ShapeProperties shapeProperties35 = new ShapeProperties();

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

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

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

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

            field13.Append(runProperties52);
            field13.Append(text52);
            A.EndParagraphRunProperties endParagraphRunProperties34 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph60.Append(field13);
            paragraph60.Append(endParagraphRunProperties34);

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

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

            shapeTree8.Append(nonVisualGroupShapeProperties8);
            shapeTree8.Append(groupShapeProperties8);
            shapeTree8.Append(shape31);
            shapeTree8.Append(shape32);
            shapeTree8.Append(shape33);
            shapeTree8.Append(shape34);
            shapeTree8.Append(shape35);

            commonSlideData8.Append(shapeTree8);

            ColorMapOverride colorMapOverride6 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping6 = new A.MasterColorMapping();

            colorMapOverride6.Append(masterColorMapping6);

            slideLayout5.Append(commonSlideData8);
            slideLayout5.Append(colorMapOverride6);

            slideLayoutPart5.SlideLayout = slideLayout5;
        }
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellDesSpecificheTecniche(string Testo)
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "004D372B", RsidParagraphAddition = "004D372B", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "004D372B" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Left };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, ComplexScriptTheme = ThemeFontValues.MinorHighAnsi };

            paragraphMarkRunProperties1.Append(runFonts1);

            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run1 = new Run() { RsidRunProperties = "004D372B" };

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, ComplexScriptTheme = ThemeFontValues.MinorHighAnsi };

            runProperties1.Append(runFonts2);
            Text text1 = new Text();
            text1.Text = Testo;

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

            Run run2 = new Run();
            Text text2 = new Text();
            text2.Text = " ";

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            paragraph1.Append(run2);
            return paragraph1;
        }
        // Generates content of slideLayoutPart7.
        private void GenerateSlideLayoutPart7Content(SlideLayoutPart slideLayoutPart7)
        {
            SlideLayout slideLayout7 = new SlideLayout(){ Type = SlideLayoutValues.VerticalTitleAndText, Preserve = true };
            slideLayout7.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout7.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData10 = new CommonSlideData(){ Name = "Vertical Title and Text" };

            ShapeTree shapeTree10 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties10 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties49 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties10 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties49 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties10.Append(nonVisualDrawingProperties49);
            nonVisualGroupShapeProperties10.Append(nonVisualGroupShapeDrawingProperties10);
            nonVisualGroupShapeProperties10.Append(applicationNonVisualDrawingProperties49);

            GroupShapeProperties groupShapeProperties10 = new GroupShapeProperties();

            A.TransformGroup transformGroup10 = new A.TransformGroup();
            A.Offset offset28 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents28 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset10 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents10 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup10.Append(offset28);
            transformGroup10.Append(extents28);
            transformGroup10.Append(childOffset10);
            transformGroup10.Append(childExtents10);

            groupShapeProperties10.Append(transformGroup10);

            Shape shape40 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties40 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties50 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Vertical Title 1" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties40 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks39 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties40.Append(shapeLocks39);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties50 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape39 = new PlaceholderShape(){ Type = PlaceholderValues.Title, Orientation = DirectionValues.Vertical };

            applicationNonVisualDrawingProperties50.Append(placeholderShape39);

            nonVisualShapeProperties40.Append(nonVisualDrawingProperties50);
            nonVisualShapeProperties40.Append(nonVisualShapeDrawingProperties40);
            nonVisualShapeProperties40.Append(applicationNonVisualDrawingProperties50);

            ShapeProperties shapeProperties40 = new ShapeProperties();

            A.Transform2D transform2D19 = new A.Transform2D();
            A.Offset offset29 = new A.Offset(){ X = 4972049L, Y = 366713L };
            A.Extents extents29 = new A.Extents(){ Cx = 1543051L, Cy = 7800975L };

            transform2D19.Append(offset29);
            transform2D19.Append(extents29);

            shapeProperties40.Append(transform2D19);

            TextBody textBody40 = new TextBody();
            A.BodyProperties bodyProperties40 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical };
            A.ListStyle listStyle40 = new A.ListStyle();

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

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

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

            run41.Append(runProperties56);
            run41.Append(text56);
            A.EndParagraphRunProperties endParagraphRunProperties39 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph65.Append(run41);
            paragraph65.Append(endParagraphRunProperties39);

            textBody40.Append(bodyProperties40);
            textBody40.Append(listStyle40);
            textBody40.Append(paragraph65);

            shape40.Append(nonVisualShapeProperties40);
            shape40.Append(shapeProperties40);
            shape40.Append(textBody40);

            Shape shape41 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties41 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties51 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Vertical Text Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties41 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks40 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties41.Append(shapeLocks40);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties51 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape40 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties51.Append(placeholderShape40);

            nonVisualShapeProperties41.Append(nonVisualDrawingProperties51);
            nonVisualShapeProperties41.Append(nonVisualShapeDrawingProperties41);
            nonVisualShapeProperties41.Append(applicationNonVisualDrawingProperties51);

            ShapeProperties shapeProperties41 = new ShapeProperties();

            A.Transform2D transform2D20 = new A.Transform2D();
            A.Offset offset30 = new A.Offset(){ X = 342901L, Y = 366713L };
            A.Extents extents30 = new A.Extents(){ Cx = 4476751L, Cy = 7800975L };

            transform2D20.Append(offset30);
            transform2D20.Append(extents30);

            shapeProperties41.Append(transform2D20);

            TextBody textBody41 = new TextBody();
            A.BodyProperties bodyProperties41 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical };
            A.ListStyle listStyle41 = new A.ListStyle();

            A.Paragraph paragraph66 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties31 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run42.Append(runProperties57);
            run42.Append(text57);

            paragraph66.Append(paragraphProperties31);
            paragraph66.Append(run42);

            A.Paragraph paragraph67 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties32 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run43.Append(runProperties58);
            run43.Append(text58);

            paragraph67.Append(paragraphProperties32);
            paragraph67.Append(run43);

            A.Paragraph paragraph68 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties33 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run44.Append(runProperties59);
            run44.Append(text59);

            paragraph68.Append(paragraphProperties33);
            paragraph68.Append(run44);

            A.Paragraph paragraph69 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties34 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run45.Append(runProperties60);
            run45.Append(text60);

            paragraph69.Append(paragraphProperties34);
            paragraph69.Append(run45);

            A.Paragraph paragraph70 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties35 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run46.Append(runProperties61);
            run46.Append(text61);
            A.EndParagraphRunProperties endParagraphRunProperties40 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph70.Append(paragraphProperties35);
            paragraph70.Append(run46);
            paragraph70.Append(endParagraphRunProperties40);

            textBody41.Append(bodyProperties41);
            textBody41.Append(listStyle41);
            textBody41.Append(paragraph66);
            textBody41.Append(paragraph67);
            textBody41.Append(paragraph68);
            textBody41.Append(paragraph69);
            textBody41.Append(paragraph70);

            shape41.Append(nonVisualShapeProperties41);
            shape41.Append(shapeProperties41);
            shape41.Append(textBody41);

            Shape shape42 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties42 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks41 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties42.Append(shapeLocks41);

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

            applicationNonVisualDrawingProperties52.Append(placeholderShape41);

            nonVisualShapeProperties42.Append(nonVisualDrawingProperties52);
            nonVisualShapeProperties42.Append(nonVisualShapeDrawingProperties42);
            nonVisualShapeProperties42.Append(applicationNonVisualDrawingProperties52);
            ShapeProperties shapeProperties42 = new ShapeProperties();

            TextBody textBody42 = new TextBody();
            A.BodyProperties bodyProperties42 = new A.BodyProperties();
            A.ListStyle listStyle42 = new A.ListStyle();

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

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

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

            field16.Append(runProperties62);
            field16.Append(text62);
            A.EndParagraphRunProperties endParagraphRunProperties41 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph71.Append(field16);
            paragraph71.Append(endParagraphRunProperties41);

            textBody42.Append(bodyProperties42);
            textBody42.Append(listStyle42);
            textBody42.Append(paragraph71);

            shape42.Append(nonVisualShapeProperties42);
            shape42.Append(shapeProperties42);
            shape42.Append(textBody42);

            Shape shape43 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties43 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks42 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties43.Append(shapeLocks42);

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

            applicationNonVisualDrawingProperties53.Append(placeholderShape42);

            nonVisualShapeProperties43.Append(nonVisualDrawingProperties53);
            nonVisualShapeProperties43.Append(nonVisualShapeDrawingProperties43);
            nonVisualShapeProperties43.Append(applicationNonVisualDrawingProperties53);
            ShapeProperties shapeProperties43 = new ShapeProperties();

            TextBody textBody43 = new TextBody();
            A.BodyProperties bodyProperties43 = new A.BodyProperties();
            A.ListStyle listStyle43 = new A.ListStyle();

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

            paragraph72.Append(endParagraphRunProperties42);

            textBody43.Append(bodyProperties43);
            textBody43.Append(listStyle43);
            textBody43.Append(paragraph72);

            shape43.Append(nonVisualShapeProperties43);
            shape43.Append(shapeProperties43);
            shape43.Append(textBody43);

            Shape shape44 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties44 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks43 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties44.Append(shapeLocks43);

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

            applicationNonVisualDrawingProperties54.Append(placeholderShape43);

            nonVisualShapeProperties44.Append(nonVisualDrawingProperties54);
            nonVisualShapeProperties44.Append(nonVisualShapeDrawingProperties44);
            nonVisualShapeProperties44.Append(applicationNonVisualDrawingProperties54);
            ShapeProperties shapeProperties44 = new ShapeProperties();

            TextBody textBody44 = new TextBody();
            A.BodyProperties bodyProperties44 = new A.BodyProperties();
            A.ListStyle listStyle44 = new A.ListStyle();

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

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

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

            field17.Append(runProperties63);
            field17.Append(text63);
            A.EndParagraphRunProperties endParagraphRunProperties43 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph73.Append(field17);
            paragraph73.Append(endParagraphRunProperties43);

            textBody44.Append(bodyProperties44);
            textBody44.Append(listStyle44);
            textBody44.Append(paragraph73);

            shape44.Append(nonVisualShapeProperties44);
            shape44.Append(shapeProperties44);
            shape44.Append(textBody44);

            shapeTree10.Append(nonVisualGroupShapeProperties10);
            shapeTree10.Append(groupShapeProperties10);
            shapeTree10.Append(shape40);
            shapeTree10.Append(shape41);
            shapeTree10.Append(shape42);
            shapeTree10.Append(shape43);
            shapeTree10.Append(shape44);

            commonSlideData10.Append(shapeTree10);

            ColorMapOverride colorMapOverride8 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping8 = new A.MasterColorMapping();

            colorMapOverride8.Append(masterColorMapping8);

            slideLayout7.Append(commonSlideData10);
            slideLayout7.Append(colorMapOverride8);

            slideLayoutPart7.SlideLayout = slideLayout7;
        }
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellDesDescrizione(string Testo)
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "004D372B", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "004D372B" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Left };

            paragraphProperties1.Append(justification1);

            Run run1 = new Run();
            Text text1 = new Text();
            text1.Text = Testo;

            run1.Append(text1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            return paragraph1;
        }
        // Generates content of slideLayoutPart9.
        private void GenerateSlideLayoutPart9Content(SlideLayoutPart slideLayoutPart9)
        {
            SlideLayout slideLayout9 = new SlideLayout(){ Type = SlideLayoutValues.VerticalText, Preserve = true };
            slideLayout9.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout9.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout9.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData12 = new CommonSlideData(){ Name = "Title and Vertical Text" };

            ShapeTree shapeTree12 = new ShapeTree();

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

            nonVisualGroupShapeProperties12.Append(nonVisualDrawingProperties64);
            nonVisualGroupShapeProperties12.Append(nonVisualGroupShapeDrawingProperties12);
            nonVisualGroupShapeProperties12.Append(applicationNonVisualDrawingProperties64);

            GroupShapeProperties groupShapeProperties12 = new GroupShapeProperties();

            A.TransformGroup transformGroup12 = new A.TransformGroup();
            A.Offset offset37 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents37 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset12 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents12 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup12.Append(offset37);
            transformGroup12.Append(extents37);
            transformGroup12.Append(childOffset12);
            transformGroup12.Append(childExtents12);

            groupShapeProperties12.Append(transformGroup12);

            Shape shape53 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties53 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks52 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties53.Append(shapeLocks52);

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

            applicationNonVisualDrawingProperties65.Append(placeholderShape52);

            nonVisualShapeProperties53.Append(nonVisualDrawingProperties65);
            nonVisualShapeProperties53.Append(nonVisualShapeDrawingProperties53);
            nonVisualShapeProperties53.Append(applicationNonVisualDrawingProperties65);
            ShapeProperties shapeProperties53 = new ShapeProperties();

            TextBody textBody53 = new TextBody();
            A.BodyProperties bodyProperties53 = new A.BodyProperties();
            A.ListStyle listStyle53 = new A.ListStyle();

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

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

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

            run60.Append(runProperties79);
            run60.Append(text79);
            A.EndParagraphRunProperties endParagraphRunProperties50 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph90.Append(run60);
            paragraph90.Append(endParagraphRunProperties50);

            textBody53.Append(bodyProperties53);
            textBody53.Append(listStyle53);
            textBody53.Append(paragraph90);

            shape53.Append(nonVisualShapeProperties53);
            shape53.Append(shapeProperties53);
            shape53.Append(textBody53);

            Shape shape54 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties54 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks53 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties54.Append(shapeLocks53);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties66 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape53 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Orientation = DirectionValues.Vertical, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties66.Append(placeholderShape53);

            nonVisualShapeProperties54.Append(nonVisualDrawingProperties66);
            nonVisualShapeProperties54.Append(nonVisualShapeDrawingProperties54);
            nonVisualShapeProperties54.Append(applicationNonVisualDrawingProperties66);
            ShapeProperties shapeProperties54 = new ShapeProperties();

            TextBody textBody54 = new TextBody();
            A.BodyProperties bodyProperties54 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.EastAsianVetical };
            A.ListStyle listStyle54 = new A.ListStyle();

            A.Paragraph paragraph91 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties48 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run61.Append(runProperties80);
            run61.Append(text80);

            paragraph91.Append(paragraphProperties48);
            paragraph91.Append(run61);

            A.Paragraph paragraph92 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties49 = new A.ParagraphProperties(){ Level = 1 };

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

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

            run62.Append(runProperties81);
            run62.Append(text81);

            paragraph92.Append(paragraphProperties49);
            paragraph92.Append(run62);

            A.Paragraph paragraph93 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties50 = new A.ParagraphProperties(){ Level = 2 };

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

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

            run63.Append(runProperties82);
            run63.Append(text82);

            paragraph93.Append(paragraphProperties50);
            paragraph93.Append(run63);

            A.Paragraph paragraph94 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties51 = new A.ParagraphProperties(){ Level = 3 };

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

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

            run64.Append(runProperties83);
            run64.Append(text83);

            paragraph94.Append(paragraphProperties51);
            paragraph94.Append(run64);

            A.Paragraph paragraph95 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties52 = new A.ParagraphProperties(){ Level = 4 };

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

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

            run65.Append(runProperties84);
            run65.Append(text84);
            A.EndParagraphRunProperties endParagraphRunProperties51 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph95.Append(paragraphProperties52);
            paragraph95.Append(run65);
            paragraph95.Append(endParagraphRunProperties51);

            textBody54.Append(bodyProperties54);
            textBody54.Append(listStyle54);
            textBody54.Append(paragraph91);
            textBody54.Append(paragraph92);
            textBody54.Append(paragraph93);
            textBody54.Append(paragraph94);
            textBody54.Append(paragraph95);

            shape54.Append(nonVisualShapeProperties54);
            shape54.Append(shapeProperties54);
            shape54.Append(textBody54);

            Shape shape55 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties55 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks54 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties55.Append(shapeLocks54);

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

            applicationNonVisualDrawingProperties67.Append(placeholderShape54);

            nonVisualShapeProperties55.Append(nonVisualDrawingProperties67);
            nonVisualShapeProperties55.Append(nonVisualShapeDrawingProperties55);
            nonVisualShapeProperties55.Append(applicationNonVisualDrawingProperties67);
            ShapeProperties shapeProperties55 = new ShapeProperties();

            TextBody textBody55 = new TextBody();
            A.BodyProperties bodyProperties55 = new A.BodyProperties();
            A.ListStyle listStyle55 = new A.ListStyle();

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

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

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

            field20.Append(runProperties85);
            field20.Append(text85);
            A.EndParagraphRunProperties endParagraphRunProperties52 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph96.Append(field20);
            paragraph96.Append(endParagraphRunProperties52);

            textBody55.Append(bodyProperties55);
            textBody55.Append(listStyle55);
            textBody55.Append(paragraph96);

            shape55.Append(nonVisualShapeProperties55);
            shape55.Append(shapeProperties55);
            shape55.Append(textBody55);

            Shape shape56 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties56 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks55 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties56.Append(shapeLocks55);

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

            applicationNonVisualDrawingProperties68.Append(placeholderShape55);

            nonVisualShapeProperties56.Append(nonVisualDrawingProperties68);
            nonVisualShapeProperties56.Append(nonVisualShapeDrawingProperties56);
            nonVisualShapeProperties56.Append(applicationNonVisualDrawingProperties68);
            ShapeProperties shapeProperties56 = new ShapeProperties();

            TextBody textBody56 = new TextBody();
            A.BodyProperties bodyProperties56 = new A.BodyProperties();
            A.ListStyle listStyle56 = new A.ListStyle();

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

            paragraph97.Append(endParagraphRunProperties53);

            textBody56.Append(bodyProperties56);
            textBody56.Append(listStyle56);
            textBody56.Append(paragraph97);

            shape56.Append(nonVisualShapeProperties56);
            shape56.Append(shapeProperties56);
            shape56.Append(textBody56);

            Shape shape57 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties57 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks56 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties57.Append(shapeLocks56);

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

            applicationNonVisualDrawingProperties69.Append(placeholderShape56);

            nonVisualShapeProperties57.Append(nonVisualDrawingProperties69);
            nonVisualShapeProperties57.Append(nonVisualShapeDrawingProperties57);
            nonVisualShapeProperties57.Append(applicationNonVisualDrawingProperties69);
            ShapeProperties shapeProperties57 = new ShapeProperties();

            TextBody textBody57 = new TextBody();
            A.BodyProperties bodyProperties57 = new A.BodyProperties();
            A.ListStyle listStyle57 = new A.ListStyle();

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

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

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

            field21.Append(runProperties86);
            field21.Append(text86);
            A.EndParagraphRunProperties endParagraphRunProperties54 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph98.Append(field21);
            paragraph98.Append(endParagraphRunProperties54);

            textBody57.Append(bodyProperties57);
            textBody57.Append(listStyle57);
            textBody57.Append(paragraph98);

            shape57.Append(nonVisualShapeProperties57);
            shape57.Append(shapeProperties57);
            shape57.Append(textBody57);

            shapeTree12.Append(nonVisualGroupShapeProperties12);
            shapeTree12.Append(groupShapeProperties12);
            shapeTree12.Append(shape53);
            shapeTree12.Append(shape54);
            shapeTree12.Append(shape55);
            shapeTree12.Append(shape56);
            shapeTree12.Append(shape57);

            commonSlideData12.Append(shapeTree12);

            ColorMapOverride colorMapOverride10 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping10 = new A.MasterColorMapping();

            colorMapOverride10.Append(masterColorMapping10);

            slideLayout9.Append(commonSlideData12);
            slideLayout9.Append(colorMapOverride10);

            slideLayoutPart9.SlideLayout = slideLayout9;
        }
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellDesCodice(string Testo)
        {
            //Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "004D372C", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "00404EB3" };
            

            //ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            //Justification justification1 = new Justification() { Val = JustificationValues.Center };
            //DocumentFormat.OpenXml.Wordprocessing.Color color1 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };






            //paragraphProperties1.Append(color1);
            //paragraphProperties1.Append(justification1);
            //Run run2 = new Run() { RsidRunProperties = "004D372C", RsidRunAddition = "004D372B" };
            //Text text2 = new Text();
            //text2.Text = Testo;

            //run2.Append(GenerateRun_Bold(Testo, "25"));

            //paragraph1.Append(paragraphProperties1);
            //paragraph1.Append(run2);

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00604311", RsidParagraphAddition = "004D372C", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "00604311" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            DocumentFormat.OpenXml.Wordprocessing.Color color1 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };

            paragraphMarkRunProperties1.Append(color1);

            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run1 = new Run() { RsidRunProperties = "00604311" };

            RunProperties runProperties1 = new RunProperties();
            Bold bold1 = new Bold();
            DocumentFormat.OpenXml.Wordprocessing.Color color2 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };
            FontSize fontSize1 = new FontSize() { Val = "25" };

            runProperties1.Append(bold1);
            runProperties1.Append(color2);
            runProperties1.Append(fontSize1);
            Text text1 = new Text();
            text1.Text = Testo;

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

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            return paragraph1;

        }
        // 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 commonSlideData14 = new CommonSlideData(){ Name = "Picture with Caption" };

            ShapeTree shapeTree14 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties14 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties77 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties14 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties77 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties14.Append(nonVisualDrawingProperties77);
            nonVisualGroupShapeProperties14.Append(nonVisualGroupShapeDrawingProperties14);
            nonVisualGroupShapeProperties14.Append(applicationNonVisualDrawingProperties77);

            GroupShapeProperties groupShapeProperties14 = new GroupShapeProperties();

            A.TransformGroup transformGroup14 = new A.TransformGroup();
            A.Offset offset41 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents41 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset14 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents14 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup14.Append(offset41);
            transformGroup14.Append(extents41);
            transformGroup14.Append(childOffset14);
            transformGroup14.Append(childExtents14);

            groupShapeProperties14.Append(transformGroup14);

            Shape shape64 = new Shape();

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

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

            nonVisualShapeDrawingProperties64.Append(shapeLocks63);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties78 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape63 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties78.Append(placeholderShape63);

            nonVisualShapeProperties64.Append(nonVisualDrawingProperties78);
            nonVisualShapeProperties64.Append(nonVisualShapeDrawingProperties64);
            nonVisualShapeProperties64.Append(applicationNonVisualDrawingProperties78);

            ShapeProperties shapeProperties64 = new ShapeProperties();

            A.Transform2D transform2D28 = new A.Transform2D();
            A.Offset offset42 = new A.Offset(){ X = 1792288L, Y = 4800601L };
            A.Extents extents42 = new A.Extents(){ Cx = 5486400L, Cy = 566738L };

            transform2D28.Append(offset42);
            transform2D28.Append(extents42);

            shapeProperties64.Append(transform2D28);

            TextBody textBody64 = new TextBody();
            A.BodyProperties bodyProperties64 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };

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

            A.Level1ParagraphProperties level1ParagraphProperties25 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties139 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level1ParagraphProperties25.Append(defaultRunProperties139);

            listStyle64.Append(level1ParagraphProperties25);

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

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

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

            run77.Append(runProperties100);
            run77.Append(text100);
            A.EndParagraphRunProperties endParagraphRunProperties61 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph113.Append(run77);
            paragraph113.Append(endParagraphRunProperties61);

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

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

            Shape shape65 = new Shape();

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

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

            nonVisualShapeDrawingProperties65.Append(shapeLocks64);

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

            applicationNonVisualDrawingProperties79.Append(placeholderShape64);

            nonVisualShapeProperties65.Append(nonVisualDrawingProperties79);
            nonVisualShapeProperties65.Append(nonVisualShapeDrawingProperties65);
            nonVisualShapeProperties65.Append(applicationNonVisualDrawingProperties79);

            ShapeProperties shapeProperties65 = new ShapeProperties();

            A.Transform2D transform2D29 = new A.Transform2D();
            A.Offset offset43 = new A.Offset(){ X = 1792288L, Y = 612775L };
            A.Extents extents43 = new A.Extents(){ Cx = 5486400L, Cy = 4114800L };

            transform2D29.Append(offset43);
            transform2D29.Append(extents43);

            shapeProperties65.Append(transform2D29);

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

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

            A.Level1ParagraphProperties level1ParagraphProperties26 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet47 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties140 = new A.DefaultRunProperties(){ FontSize = 3200 };

            level1ParagraphProperties26.Append(noBullet47);
            level1ParagraphProperties26.Append(defaultRunProperties140);

            A.Level2ParagraphProperties level2ParagraphProperties15 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet48 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties141 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level2ParagraphProperties15.Append(noBullet48);
            level2ParagraphProperties15.Append(defaultRunProperties141);

            A.Level3ParagraphProperties level3ParagraphProperties15 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet49 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties142 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level3ParagraphProperties15.Append(noBullet49);
            level3ParagraphProperties15.Append(defaultRunProperties142);

            A.Level4ParagraphProperties level4ParagraphProperties15 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet50 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties143 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level4ParagraphProperties15.Append(noBullet50);
            level4ParagraphProperties15.Append(defaultRunProperties143);

            A.Level5ParagraphProperties level5ParagraphProperties15 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet51 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties144 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level5ParagraphProperties15.Append(noBullet51);
            level5ParagraphProperties15.Append(defaultRunProperties144);

            A.Level6ParagraphProperties level6ParagraphProperties15 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet52 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties145 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level6ParagraphProperties15.Append(noBullet52);
            level6ParagraphProperties15.Append(defaultRunProperties145);

            A.Level7ParagraphProperties level7ParagraphProperties15 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet53 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties146 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level7ParagraphProperties15.Append(noBullet53);
            level7ParagraphProperties15.Append(defaultRunProperties146);

            A.Level8ParagraphProperties level8ParagraphProperties15 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet54 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties147 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level8ParagraphProperties15.Append(noBullet54);
            level8ParagraphProperties15.Append(defaultRunProperties147);

            A.Level9ParagraphProperties level9ParagraphProperties15 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet55 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties148 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level9ParagraphProperties15.Append(noBullet55);
            level9ParagraphProperties15.Append(defaultRunProperties148);

            listStyle65.Append(level1ParagraphProperties26);
            listStyle65.Append(level2ParagraphProperties15);
            listStyle65.Append(level3ParagraphProperties15);
            listStyle65.Append(level4ParagraphProperties15);
            listStyle65.Append(level5ParagraphProperties15);
            listStyle65.Append(level6ParagraphProperties15);
            listStyle65.Append(level7ParagraphProperties15);
            listStyle65.Append(level8ParagraphProperties15);
            listStyle65.Append(level9ParagraphProperties15);

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

            paragraph114.Append(endParagraphRunProperties62);

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

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

            Shape shape66 = new Shape();

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

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

            nonVisualShapeDrawingProperties66.Append(shapeLocks65);

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

            applicationNonVisualDrawingProperties80.Append(placeholderShape65);

            nonVisualShapeProperties66.Append(nonVisualDrawingProperties80);
            nonVisualShapeProperties66.Append(nonVisualShapeDrawingProperties66);
            nonVisualShapeProperties66.Append(applicationNonVisualDrawingProperties80);

            ShapeProperties shapeProperties66 = new ShapeProperties();

            A.Transform2D transform2D30 = new A.Transform2D();
            A.Offset offset44 = new A.Offset(){ X = 1792288L, Y = 5367339L };
            A.Extents extents44 = new A.Extents(){ Cx = 5486400L, Cy = 804862L };

            transform2D30.Append(offset44);
            transform2D30.Append(extents44);

            shapeProperties66.Append(transform2D30);

            TextBody textBody66 = new TextBody();
            A.BodyProperties bodyProperties66 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties27 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet56 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties149 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level1ParagraphProperties27.Append(noBullet56);
            level1ParagraphProperties27.Append(defaultRunProperties149);

            A.Level2ParagraphProperties level2ParagraphProperties16 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet57 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties150 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties16.Append(noBullet57);
            level2ParagraphProperties16.Append(defaultRunProperties150);

            A.Level3ParagraphProperties level3ParagraphProperties16 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet58 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties151 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties16.Append(noBullet58);
            level3ParagraphProperties16.Append(defaultRunProperties151);

            A.Level4ParagraphProperties level4ParagraphProperties16 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet59 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties152 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties16.Append(noBullet59);
            level4ParagraphProperties16.Append(defaultRunProperties152);

            A.Level5ParagraphProperties level5ParagraphProperties16 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet60 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties153 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties16.Append(noBullet60);
            level5ParagraphProperties16.Append(defaultRunProperties153);

            A.Level6ParagraphProperties level6ParagraphProperties16 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet61 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties154 = new A.DefaultRunProperties(){ FontSize = 900 };

            level6ParagraphProperties16.Append(noBullet61);
            level6ParagraphProperties16.Append(defaultRunProperties154);

            A.Level7ParagraphProperties level7ParagraphProperties16 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet62 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties155 = new A.DefaultRunProperties(){ FontSize = 900 };

            level7ParagraphProperties16.Append(noBullet62);
            level7ParagraphProperties16.Append(defaultRunProperties155);

            A.Level8ParagraphProperties level8ParagraphProperties16 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet63 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties156 = new A.DefaultRunProperties(){ FontSize = 900 };

            level8ParagraphProperties16.Append(noBullet63);
            level8ParagraphProperties16.Append(defaultRunProperties156);

            A.Level9ParagraphProperties level9ParagraphProperties16 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet64 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties157 = new A.DefaultRunProperties(){ FontSize = 900 };

            level9ParagraphProperties16.Append(noBullet64);
            level9ParagraphProperties16.Append(defaultRunProperties157);

            listStyle66.Append(level1ParagraphProperties27);
            listStyle66.Append(level2ParagraphProperties16);
            listStyle66.Append(level3ParagraphProperties16);
            listStyle66.Append(level4ParagraphProperties16);
            listStyle66.Append(level5ParagraphProperties16);
            listStyle66.Append(level6ParagraphProperties16);
            listStyle66.Append(level7ParagraphProperties16);
            listStyle66.Append(level8ParagraphProperties16);
            listStyle66.Append(level9ParagraphProperties16);

            A.Paragraph paragraph115 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties63 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run78.Append(runProperties101);
            run78.Append(text101);

            paragraph115.Append(paragraphProperties63);
            paragraph115.Append(run78);

            textBody66.Append(bodyProperties66);
            textBody66.Append(listStyle66);
            textBody66.Append(paragraph115);

            shape66.Append(nonVisualShapeProperties66);
            shape66.Append(shapeProperties66);
            shape66.Append(textBody66);

            Shape shape67 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties67 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks66 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties67.Append(shapeLocks66);

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

            applicationNonVisualDrawingProperties81.Append(placeholderShape66);

            nonVisualShapeProperties67.Append(nonVisualDrawingProperties81);
            nonVisualShapeProperties67.Append(nonVisualShapeDrawingProperties67);
            nonVisualShapeProperties67.Append(applicationNonVisualDrawingProperties81);
            ShapeProperties shapeProperties67 = new ShapeProperties();

            TextBody textBody67 = new TextBody();
            A.BodyProperties bodyProperties67 = new A.BodyProperties();
            A.ListStyle listStyle67 = new A.ListStyle();

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

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

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

            field24.Append(runProperties102);
            field24.Append(text102);
            A.EndParagraphRunProperties endParagraphRunProperties63 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph116.Append(field24);
            paragraph116.Append(endParagraphRunProperties63);

            textBody67.Append(bodyProperties67);
            textBody67.Append(listStyle67);
            textBody67.Append(paragraph116);

            shape67.Append(nonVisualShapeProperties67);
            shape67.Append(shapeProperties67);
            shape67.Append(textBody67);

            Shape shape68 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties68 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks67 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties68.Append(shapeLocks67);

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

            applicationNonVisualDrawingProperties82.Append(placeholderShape67);

            nonVisualShapeProperties68.Append(nonVisualDrawingProperties82);
            nonVisualShapeProperties68.Append(nonVisualShapeDrawingProperties68);
            nonVisualShapeProperties68.Append(applicationNonVisualDrawingProperties82);
            ShapeProperties shapeProperties68 = new ShapeProperties();

            TextBody textBody68 = new TextBody();
            A.BodyProperties bodyProperties68 = new A.BodyProperties();
            A.ListStyle listStyle68 = new A.ListStyle();

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

            paragraph117.Append(endParagraphRunProperties64);

            textBody68.Append(bodyProperties68);
            textBody68.Append(listStyle68);
            textBody68.Append(paragraph117);

            shape68.Append(nonVisualShapeProperties68);
            shape68.Append(shapeProperties68);
            shape68.Append(textBody68);

            Shape shape69 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties69 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks68 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties69.Append(shapeLocks68);

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

            applicationNonVisualDrawingProperties83.Append(placeholderShape68);

            nonVisualShapeProperties69.Append(nonVisualDrawingProperties83);
            nonVisualShapeProperties69.Append(nonVisualShapeDrawingProperties69);
            nonVisualShapeProperties69.Append(applicationNonVisualDrawingProperties83);
            ShapeProperties shapeProperties69 = new ShapeProperties();

            TextBody textBody69 = new TextBody();
            A.BodyProperties bodyProperties69 = new A.BodyProperties();
            A.ListStyle listStyle69 = new A.ListStyle();

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

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

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

            field25.Append(runProperties103);
            field25.Append(text103);
            A.EndParagraphRunProperties endParagraphRunProperties65 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph118.Append(field25);
            paragraph118.Append(endParagraphRunProperties65);

            textBody69.Append(bodyProperties69);
            textBody69.Append(listStyle69);
            textBody69.Append(paragraph118);

            shape69.Append(nonVisualShapeProperties69);
            shape69.Append(shapeProperties69);
            shape69.Append(textBody69);

            shapeTree14.Append(nonVisualGroupShapeProperties14);
            shapeTree14.Append(groupShapeProperties14);
            shapeTree14.Append(shape64);
            shapeTree14.Append(shape65);
            shapeTree14.Append(shape66);
            shapeTree14.Append(shape67);
            shapeTree14.Append(shape68);
            shapeTree14.Append(shape69);

            commonSlideData14.Append(shapeTree14);

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

            colorMapOverride12.Append(masterColorMapping12);

            slideLayout11.Append(commonSlideData14);
            slideLayout11.Append(colorMapOverride12);

            slideLayoutPart11.SlideLayout = slideLayout11;
        }
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellImporto(string Testo)
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "004D372B", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "00404EB3" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };
            paragraphProperties1.Append(justification1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(GenerateRun_Bold(Testo, "25"));
            return paragraph1;
        }
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout6 = new SlideLayout()
            {
                Type = SlideLayoutValues.TitleOnly, 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 = LayoutSetting.Name
            };

            ShapeTree shapeTree8 = new ShapeTree();

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

            nonVisualGroupShapeProperties8.Append(nonVisualDrawingProperties39);
            nonVisualGroupShapeProperties8.Append(nonVisualGroupShapeDrawingProperties8);
            nonVisualGroupShapeProperties8.Append(applicationNonVisualDrawingProperties39);

            GroupShapeProperties groupShapeProperties8 = new GroupShapeProperties();

            A.TransformGroup transformGroup8 = new A.TransformGroup();
            A.Offset         offset20        = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents20 = 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(offset20);
            transformGroup8.Append(extents20);
            transformGroup8.Append(childOffset8);
            transformGroup8.Append(childExtents8);

            groupShapeProperties8.Append(transformGroup8);

            Shape shape32 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties32 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties32.Append(shapeLocks32);

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

            applicationNonVisualDrawingProperties40.Append(placeholderShape32);

            nonVisualShapeProperties32.Append(nonVisualDrawingProperties40);
            nonVisualShapeProperties32.Append(nonVisualShapeDrawingProperties32);
            nonVisualShapeProperties32.Append(applicationNonVisualDrawingProperties40);
            ShapeProperties shapeProperties32 = new ShapeProperties();

            TextBody textBody32 = new TextBody();

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

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

            A.Run           run50           = new A.Run();
            A.RunProperties runProperties62 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text62 = new A.Text();
            text62.Text = "マスター タイトルの書式設定";

            run50.Append(runProperties62);
            run50.Append(text62);
            A.EndParagraphRunProperties endParagraphRunProperties28 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph44.Append(run50);
            paragraph44.Append(endParagraphRunProperties28);

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

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

            Shape shape33 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties33 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties33.Append(shapeLocks33);

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

            applicationNonVisualDrawingProperties41.Append(placeholderShape33);

            nonVisualShapeProperties33.Append(nonVisualDrawingProperties41);
            nonVisualShapeProperties33.Append(nonVisualShapeDrawingProperties33);
            nonVisualShapeProperties33.Append(applicationNonVisualDrawingProperties41);
            ShapeProperties shapeProperties33 = new ShapeProperties();

            TextBody textBody33 = new TextBody();

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

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

            A.Field field13 = new A.Field()
            {
                Id = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties63 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties63.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text63 = new A.Text();
            text63.Text = "2018/5/3";

            field13.Append(runProperties63);
            field13.Append(text63);
            A.EndParagraphRunProperties endParagraphRunProperties29 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph45.Append(field13);
            paragraph45.Append(endParagraphRunProperties29);

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

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

            Shape shape34 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties34 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties34.Append(shapeLocks34);

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

            applicationNonVisualDrawingProperties42.Append(placeholderShape34);

            nonVisualShapeProperties34.Append(nonVisualDrawingProperties42);
            nonVisualShapeProperties34.Append(nonVisualShapeDrawingProperties34);
            nonVisualShapeProperties34.Append(applicationNonVisualDrawingProperties42);
            ShapeProperties shapeProperties34 = new ShapeProperties();

            TextBody textBody34 = new TextBody();

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

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

            paragraph46.Append(endParagraphRunProperties30);

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

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

            Shape shape35 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties35   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties43 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)5U, Name = "Slide Number Placeholder 4"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties35 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties35.Append(shapeLocks35);

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

            applicationNonVisualDrawingProperties43.Append(placeholderShape35);

            nonVisualShapeProperties35.Append(nonVisualDrawingProperties43);
            nonVisualShapeProperties35.Append(nonVisualShapeDrawingProperties35);
            nonVisualShapeProperties35.Append(applicationNonVisualDrawingProperties43);
            ShapeProperties shapeProperties35 = new ShapeProperties();

            TextBody textBody35 = new TextBody();

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

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

            A.Field field14 = new A.Field()
            {
                Id = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

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

            field14.Append(runProperties64);
            field14.Append(text64);
            A.EndParagraphRunProperties endParagraphRunProperties31 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph47.Append(field14);
            paragraph47.Append(endParagraphRunProperties31);

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

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

            shapeTree8.Append(nonVisualGroupShapeProperties8);
            shapeTree8.Append(groupShapeProperties8);
            shapeTree8.Append(shape32);
            shapeTree8.Append(shape33);
            shapeTree8.Append(shape34);
            shapeTree8.Append(shape35);

            CommonSlideDataExtensionList commonSlideDataExtensionList8 = new CommonSlideDataExtensionList();

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

            P14.CreationId creationId8 = new P14.CreationId()
            {
                Val = (UInt32Value)164729701U
            };
            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);

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

            slideLayoutPart.SlideLayout = slideLayout6;

            return(slideLayoutPart);
        }
Exemple #48
0
        public static void GenerateHandoutMasterPart1Content(HandoutMasterPart handoutMasterPart1)
        {
            HandoutMaster handoutMaster1 = new HandoutMaster();

            handoutMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            handoutMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            handoutMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData1 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference()
            {
                Index = (UInt32Value)1001U
            };

            A.SchemeColor schemeColor10 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Background1
            };

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

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList1 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension1 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement1 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{6F844995-19E8-4464-BD76-40D129E09750}\" />");

            nonVisualDrawingPropertiesExtension1.Append(openXmlUnknownElement1);

            nonVisualDrawingPropertiesExtensionList1.Append(nonVisualDrawingPropertiesExtension1);

            nonVisualDrawingProperties2.Append(nonVisualDrawingPropertiesExtensionList1);

            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 = 1L
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = 2946400L, Cy = 495300L
            };

            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.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties()
            {
                Language = "en-GB"
            };

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

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList2 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension2 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{DAB3772C-5103-431C-B581-8408B3A89922}\" />");

            nonVisualDrawingPropertiesExtension2.Append(openXmlUnknownElement2);

            nonVisualDrawingPropertiesExtensionList2.Append(nonVisualDrawingPropertiesExtension2);

            nonVisualDrawingProperties3.Append(nonVisualDrawingPropertiesExtensionList2);

            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, Size = PlaceholderSizeValues.Quarter, 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 = 3849688L, Y = 1L
            };
            A.Extents extents3 = new A.Extents()
            {
                Cx = 2946400L, Cy = 495300L
            };

            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 = "{2193C790-BB76-448B-9064-927E80682452}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Language = "en-GB"
            };
            runProperties1.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text1 = new A.Text();
            text1.Text = $"{DateTime.Now.Day}.{DateTime.Now.Month}.{DateTime.Now.Year}";

            field1.Append(runProperties1);
            field1.Append(text1);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties()
            {
                Language = "en-GB"
            };

            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 = "Footer Placeholder 3"
            };

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList3 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension3 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement3 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{8F527AE1-483F-4AAE-B350-632A657A43A5}\" />");

            nonVisualDrawingPropertiesExtension3.Append(openXmlUnknownElement3);

            nonVisualDrawingPropertiesExtensionList3.Append(nonVisualDrawingPropertiesExtension3);

            nonVisualDrawingProperties4.Append(nonVisualDrawingPropertiesExtensionList3);

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks3 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties3.Append(shapeLocks3);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties4 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape3 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, 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 = 0L, Y = 9378950L
            };
            A.Extents extents4 = new A.Extents()
            {
                Cx = 2946400L, Cy = 495300L
            };

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

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

            presetGeometry3.Append(adjustValueList3);

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

            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.Bottom
            };

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

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Left
            };
            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle3.Append(level1ParagraphProperties4);

            A.Paragraph paragraph3 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties()
            {
                Language = "en-GB"
            };

            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 = "Slide Number Placeholder 4"
            };

            A.NonVisualDrawingPropertiesExtensionList nonVisualDrawingPropertiesExtensionList4 = new A.NonVisualDrawingPropertiesExtensionList();

            A.NonVisualDrawingPropertiesExtension nonVisualDrawingPropertiesExtension4 = new A.NonVisualDrawingPropertiesExtension()
            {
                Uri = "{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"
            };

            OpenXmlUnknownElement openXmlUnknownElement4 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<a16:creationId xmlns:a16=\"http://schemas.microsoft.com/office/drawing/2014/main\" id=\"{B30BB125-185A-4706-BD59-793EEE2C8B8C}\" />");

            nonVisualDrawingPropertiesExtension4.Append(openXmlUnknownElement4);

            nonVisualDrawingPropertiesExtensionList4.Append(nonVisualDrawingPropertiesExtension4);

            nonVisualDrawingProperties5.Append(nonVisualDrawingPropertiesExtensionList4);

            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.SlideNumber, 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 = 3849688L, Y = 9378950L
            };
            A.Extents extents5 = new A.Extents()
            {
                Cx = 2946400L, Cy = 495300L
            };

            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, Anchor = A.TextAnchoringTypeValues.Bottom
            };

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

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Right
            };
            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            level1ParagraphProperties5.Append(defaultRunProperties14);

            listStyle4.Append(level1ParagraphProperties5);

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

            A.Field field2 = new A.Field()
            {
                Id = "{409988AC-3923-45CB-9D2C-0BEBFEE96CD9}", Type = "slidenum"
            };

            A.RunProperties runProperties2 = new A.RunProperties()
            {
                Language = "en-GB"
            };
            runProperties2.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text2 = new A.Text();
            text2.Text = "‹#›";

            field2.Append(runProperties2);
            field2.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties()
            {
                Language = "en-GB"
            };

            paragraph4.Append(field2);
            paragraph4.Append(endParagraphRunProperties4);

            textBody4.Append(bodyProperties4);
            textBody4.Append(listStyle4);
            textBody4.Append(paragraph4);

            shape4.Append(nonVisualShapeProperties4);
            shape4.Append(shapeProperties4);
            shape4.Append(textBody4);

            shapeTree1.Append(nonVisualGroupShapeProperties1);
            shapeTree1.Append(groupShapeProperties1);
            shapeTree1.Append(shape1);
            shapeTree1.Append(shape2);
            shapeTree1.Append(shape3);
            shapeTree1.Append(shape4);

            CommonSlideDataExtensionList commonSlideDataExtensionList1 = new CommonSlideDataExtensionList();

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

            P14.CreationId creationId1 = new P14.CreationId()
            {
                Val = (UInt32Value)1485009629U
            };
            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.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
            };

            handoutMaster1.Append(commonSlideData1);
            handoutMaster1.Append(colorMap1);

            handoutMasterPart1.HandoutMaster = handoutMaster1;
        }
        private static Paragraph AddImageParagraph(MainDocumentPart mainDocumentPart, List<TextPositon> listTextPositon)
        {
            ImagePart imagePart = mainDocumentPart.AddImagePart(ImagePartType.Jpeg);
            imageRelationshipID = mainDocumentPart.GetIdOfPart(imagePart);
            using (Stream imgStream = imagePart.GetStream())
            {
                System.Drawing.Bitmap logo = new System.Drawing.Bitmap(string.Format(@"{0}\Resources\Wedding_EnclosureCards.jpg", Environment.CurrentDirectory));
                foreach (var item in listTextPositon)
                {
                    System.Drawing.Font font = new System.Drawing.Font("Thaoma", 10, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
                    System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(logo);
                    float actualWidth = g.MeasureString(item.Text, font).Width;
                    System.Drawing.RectangleF rectf = new System.Drawing.RectangleF((330 - actualWidth) / 2 + item.X, item.Y, 330, 50);

                    g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
                    g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
                    g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.HighQuality;

                    g.DrawString(item.Text, font, System.Drawing.Brushes.Gray, rectf);

                    g.Flush();
                }
                logo.Save(imgStream, System.Drawing.Imaging.ImageFormat.Jpeg);
            }
            Paragraph p = new Paragraph();
            Run r = new Run();
            Drawing drawing = BuildImage(imageRelationshipID, "sw.gif", 600, 850);
            r.Append(drawing);
            p.Append(r);
            return p;
        }
        internal C.ValueAxis ToValueAxis(bool IsStylish = false)
        {
            C.ValueAxis va = new C.ValueAxis();
            va.AxisId = new C.AxisId() { Val = this.AxisId };

            va.Scaling = new C.Scaling();
            va.Scaling.Orientation = new C.Orientation() { Val = this.Orientation };
            if (this.LogBase != null) va.Scaling.LogBase = new C.LogBase() { Val = this.LogBase.Value };
            if (this.MaxAxisValue != null) va.Scaling.MaxAxisValue = new C.MaxAxisValue() { Val = this.MaxAxisValue.Value };
            if (this.MinAxisValue != null) va.Scaling.MinAxisValue = new C.MinAxisValue() { Val = this.MinAxisValue.Value };

            va.Delete = new C.Delete() { Val = this.Delete };

            C.AxisPositionValues axpos = this.AxisPosition;
            if (!this.ForceAxisPosition)
            {
                if (this.OtherAxisIsInReverseOrder) axpos = SLChartTool.GetOppositePosition(axpos);
                if (this.OtherAxisCrossedAtMaximum) axpos = SLChartTool.GetOppositePosition(axpos);
            }
            va.AxisPosition = new C.AxisPosition() { Val = axpos };

            if (this.ShowMajorGridlines)
            {
                va.MajorGridlines = this.MajorGridlines.ToMajorGridlines(IsStylish);
            }

            if (this.ShowMinorGridlines)
            {
                va.MinorGridlines = this.MinorGridlines.ToMinorGridlines(IsStylish);
            }

            if (this.ShowTitle)
            {
                va.Title = this.Title.ToTitle(IsStylish);
            }

            if (this.HasNumberingFormat)
            {
                va.NumberingFormat = new C.NumberingFormat()
                {
                    FormatCode = this.FormatCode,
                    SourceLinked = this.SourceLinked
                };
            }

            va.MajorTickMark = new C.MajorTickMark() { Val = this.MajorTickMark };
            va.MinorTickMark = new C.MinorTickMark() { Val = this.MinorTickMark };
            va.TickLabelPosition = new C.TickLabelPosition() { Val = this.TickLabelPosition };

            if (this.ShapeProperties.HasShapeProperties) va.ChartShapeProperties = this.ShapeProperties.ToChartShapeProperties(IsStylish);

            if (this.Rotation != null || this.Vertical != null || this.Anchor != null || this.AnchorCenter != null)
            {
                va.TextProperties = new C.TextProperties();
                va.TextProperties.BodyProperties = new A.BodyProperties();
                if (this.Rotation != null) va.TextProperties.BodyProperties.Rotation = (int)(this.Rotation.Value * SLConstants.DegreeToAngleRepresentation);
                if (this.Vertical != null) va.TextProperties.BodyProperties.Vertical = this.Vertical.Value;
                if (this.Anchor != null) va.TextProperties.BodyProperties.Anchor = this.Anchor.Value;
                if (this.AnchorCenter != null) va.TextProperties.BodyProperties.AnchorCenter = this.AnchorCenter.Value;

                va.TextProperties.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();
                para.ParagraphProperties.Append(new A.DefaultRunProperties());
                va.TextProperties.Append(para);
            }
            else if (IsStylish)
            {
                va.TextProperties = new C.TextProperties();
                va.TextProperties.BodyProperties = 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
                };
                va.TextProperties.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();

                A.DefaultRunProperties defrunprops = new A.DefaultRunProperties();
                defrunprops.FontSize = 900;
                defrunprops.Bold = false;
                defrunprops.Italic = false;
                defrunprops.Underline = A.TextUnderlineValues.None;
                defrunprops.Strike = A.TextStrikeValues.NoStrike;
                defrunprops.Kerning = 1200;
                defrunprops.Baseline = 0;

                A.SchemeColor schclr = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };
                schclr.Append(new A.LuminanceModulation() { Val = 65000 });
                schclr.Append(new A.LuminanceOffset() { Val = 35000 });
                defrunprops.Append(new A.SolidFill()
                {
                    SchemeColor = schclr
                });

                defrunprops.Append(new A.LatinFont() { Typeface = "+mn-lt" });
                defrunprops.Append(new A.EastAsianFont() { Typeface = "+mn-ea" });
                defrunprops.Append(new A.ComplexScriptFont() { Typeface = "+mn-cs" });

                para.ParagraphProperties.Append(defrunprops);
                para.Append(new A.EndParagraphRunProperties() { Language = System.Globalization.CultureInfo.CurrentCulture.Name });

                va.TextProperties.Append(para);
            }

            va.CrossingAxis = new C.CrossingAxis() { Val = this.CrossingAxis };

            if (this.IsCrosses != null)
            {
                if (this.IsCrosses.Value)
                {
                    va.Append(new C.Crosses() { Val = this.Crosses });
                }
                else
                {
                    va.Append(new C.CrossesAt() { Val = this.CrossesAt });
                }
            }

            va.Append(new C.CrossBetween() { Val = this.CrossBetween });
            if (this.ValueMajorUnit != null) va.Append(new C.MajorUnit() { Val = this.ValueMajorUnit.Value });
            if (this.ValueMinorUnit != null) va.Append(new C.MinorUnit() { Val = this.ValueMinorUnit.Value });

            if (this.BuiltInUnitValues != null)
            {
                C.DisplayUnits du = new C.DisplayUnits();
                du.Append(new C.BuiltInUnit() { Val = this.BuiltInUnitValues.Value });
                if (this.ShowDisplayUnitsLabel)
                {
                    C.DisplayUnitsLabel dul = new C.DisplayUnitsLabel();
                    dul.Layout = new C.Layout();
                    du.Append(dul);
                }
                va.Append(du);
            }

            return va;
        }
Exemple #51
0
        internal A.Paragraph ToParagraph()
        {
            A.Paragraph para = new A.Paragraph();
            para.ParagraphProperties = new A.ParagraphProperties();
            para.ParagraphProperties.Append(new A.DefaultRunProperties());

            A.Run run;

            if (this.istrReal.Text != null)
            {
                run = new A.Run();
                run.RunProperties = new A.RunProperties();
                run.Text          = new A.Text(this.istrReal.Text.Text);
                para.Append(run);
            }

            Run xrun;

            RunFont               xrunRunFont;
            Bold                  xrunBold;
            Italic                xrunItalic;
            Strike                xrunStrike;
            Color                 xrunColor;
            FontSize              xrunFontSize;
            Underline             xrunUnderline;
            VerticalTextAlignment xrunVertical;
            FontScheme            xrunScheme;

            string                     sFont;
            bool?                      bBold;
            bool?                      bItalic;
            bool?                      bStrike;
            double?                    fFontSize;
            UnderlineValues?           vUnderline;
            VerticalAlignmentRunValues?vVertical;
            bool                       bHasColor;

            SLA.SLColorTransform clrRun = new SLA.SLColorTransform(new List <System.Drawing.Color>());
            FontSchemeValues?    vScheme;

            using (OpenXmlReader oxr = OpenXmlReader.Create(this.istrReal))
            {
                while (oxr.Read())
                {
                    if (oxr.ElementType == typeof(Run))
                    {
                        run = new A.Run();
                        run.RunProperties = new A.RunProperties();

                        sFont      = string.Empty;
                        bBold      = null;
                        bItalic    = null;
                        bStrike    = null;
                        fFontSize  = null;
                        vUnderline = null;
                        vVertical  = null;
                        bHasColor  = false;
                        vScheme    = null;

                        xrun = (Run)oxr.LoadCurrentElement();
                        if (xrun.RunProperties != null)
                        {
                            using (OpenXmlReader oxrProps = OpenXmlReader.Create(xrun.RunProperties))
                            {
                                while (oxrProps.Read())
                                {
                                    if (oxrProps.ElementType == typeof(RunFont))
                                    {
                                        xrunRunFont = (RunFont)oxrProps.LoadCurrentElement();
                                        if (xrunRunFont.Val != null)
                                        {
                                            sFont = xrunRunFont.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(Bold))
                                    {
                                        xrunBold = (Bold)oxrProps.LoadCurrentElement();
                                        if (xrunBold.Val != null)
                                        {
                                            bBold = xrunBold.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(Italic))
                                    {
                                        xrunItalic = (Italic)oxrProps.LoadCurrentElement();
                                        if (xrunItalic.Val != null)
                                        {
                                            bItalic = xrunItalic.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(Strike))
                                    {
                                        xrunStrike = (Strike)oxrProps.LoadCurrentElement();
                                        if (xrunStrike.Val != null)
                                        {
                                            bStrike = xrunStrike.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(Color))
                                    {
                                        xrunColor = (Color)oxrProps.LoadCurrentElement();
                                        if (xrunColor.Rgb != null)
                                        {
                                            bHasColor = true;
                                            clrRun    = new SLA.SLColorTransform(new List <System.Drawing.Color>());
                                            clrRun.SetColor(SLTool.ToColor(xrunColor.Rgb.Value), 0);
                                        }
                                        else if (xrunColor.Theme != null)
                                        {
                                            bHasColor = true;
                                            clrRun    = new SLA.SLColorTransform(new List <System.Drawing.Color>());
                                            if (xrunColor.Tint != null)
                                            {
                                                clrRun.SetColor((SLThemeColorIndexValues)xrunColor.Theme.Value, xrunColor.Tint.Value, 0);
                                            }
                                            else
                                            {
                                                clrRun.SetColor((SLThemeColorIndexValues)xrunColor.Theme.Value, 0, 0);
                                            }
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(FontSize))
                                    {
                                        xrunFontSize = (FontSize)oxrProps.LoadCurrentElement();
                                        if (xrunFontSize.Val != null)
                                        {
                                            fFontSize = xrunFontSize.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(Underline))
                                    {
                                        xrunUnderline = (Underline)oxrProps.LoadCurrentElement();
                                        if (xrunUnderline.Val != null)
                                        {
                                            vUnderline = xrunUnderline.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(VerticalTextAlignment))
                                    {
                                        xrunVertical = (VerticalTextAlignment)oxrProps.LoadCurrentElement();
                                        if (xrunVertical.Val != null)
                                        {
                                            vVertical = xrunVertical.Val.Value;
                                        }
                                    }
                                    else if (oxrProps.ElementType == typeof(FontScheme))
                                    {
                                        xrunScheme = (FontScheme)oxrProps.LoadCurrentElement();
                                        if (xrunScheme.Val != null)
                                        {
                                            vScheme = xrunScheme.Val.Value;
                                        }
                                    }
                                }
                            }
                        }

                        if (vScheme != null)
                        {
                            if (vScheme.Value == FontSchemeValues.Major)
                            {
                                sFont = "+mj-lt";
                            }
                            else if (vScheme.Value == FontSchemeValues.Minor)
                            {
                                sFont = "+mn-lt";
                            }
                        }

                        if (bHasColor)
                        {
                            if (clrRun.IsRgbColorModelHex)
                            {
                                run.RunProperties.Append(new A.SolidFill()
                                {
                                    RgbColorModelHex = clrRun.ToRgbColorModelHex()
                                });
                            }
                            else
                            {
                                run.RunProperties.Append(new A.SolidFill()
                                {
                                    SchemeColor = clrRun.ToSchemeColor()
                                });
                            }
                        }

                        if (sFont.Length > 0)
                        {
                            run.RunProperties.Append(new A.LatinFont()
                            {
                                Typeface = sFont
                            });
                        }

                        if (fFontSize != null)
                        {
                            run.RunProperties.FontSize = (int)(fFontSize.Value * 100);
                        }

                        if (bBold != null)
                        {
                            run.RunProperties.Bold = bBold.Value;
                        }

                        if (bItalic != null)
                        {
                            run.RunProperties.Italic = bItalic.Value;
                        }

                        if (vUnderline != null)
                        {
                            if (vUnderline.Value == UnderlineValues.Single || vUnderline.Value == UnderlineValues.SingleAccounting)
                            {
                                run.RunProperties.Underline = A.TextUnderlineValues.Single;
                            }
                            else if (vUnderline.Value == UnderlineValues.Double || vUnderline.Value == UnderlineValues.DoubleAccounting)
                            {
                                run.RunProperties.Underline = A.TextUnderlineValues.Double;
                            }
                        }

                        if (bStrike != null)
                        {
                            run.RunProperties.Strike = bStrike.Value ? A.TextStrikeValues.SingleStrike : A.TextStrikeValues.NoStrike;
                        }

                        if (vVertical != null)
                        {
                            if (vVertical.Value == VerticalAlignmentRunValues.Superscript)
                            {
                                run.RunProperties.Baseline = 30000;
                            }
                            else if (vVertical.Value == VerticalAlignmentRunValues.Subscript)
                            {
                                run.RunProperties.Baseline = -25000;
                            }
                            else
                            {
                                run.RunProperties.Baseline = 0;
                            }
                        }
                        else
                        {
                            run.RunProperties.Baseline = 0;
                        }

                        run.Text = new A.Text(xrun.Text.Text);
                        para.Append(run);
                    }
                }
            }

            return(para);
        }
        private void ProcessTableCaption(HtmlEnumerator en)
        {
            if (!tables.HasContext) return;

            string att = en.StyleAttributes["text-align"];
            if (att == null) att = en.Attributes["align"];

            ProcessHtmlChunks(en, "</caption>");

            var runStyleId = htmlStyles.GetStyle("Subtle Reference", true);
            var legend = new Paragraph(
                    new ParagraphProperties(
                        new ParagraphStyleId() { Val = htmlStyles.GetStyle("caption", false) },
                        new ParagraphMarkRunProperties(
                            new RunStyle() { Val = runStyleId })),
                    new Run(
                        new RunProperties(
                            new RunStyle() { Val = runStyleId }),
                        new FieldChar() { FieldCharType = FieldCharValues.Begin }),
                    new Run(
                        new RunProperties(
                            new RunStyle() { Val = runStyleId }),
                        new FieldCode(" SEQ Tableau \\* ARABIC ") { Space = SpaceProcessingModeValues.Preserve }),
                    new Run(
                        new RunProperties(
                            new RunStyle() { Val = runStyleId }),
                        new FieldChar() { FieldCharType = FieldCharValues.End })
                );
            legend.Append(elements);
            elements.Clear();

            if (att != null)
            {
                JustificationValues? align = ConverterUtility.FormatParagraphAlign(att);
                if (align.HasValue)
                {
                    legend.InsertInProperties(new Justification { Val = align });
                }
            }
            else
            {
                // If no particular alignement has been specified for the legend, we will align the legend
                // relative to the owning table
                TableProperties props = tables.CurrentTable.GetFirstChild<TableProperties>();
                if (props != null)
                {
                    TableJustification justif = props.GetFirstChild<TableJustification>();
                    if (justif != null) legend.InsertInProperties(new Justification { Val = justif.Val.Value.ToJustification() });
                }
            }

            if (this.TableCaptionPosition == CaptionPositionValues.Above)
            {
                this.paragraphs.Insert(this.paragraphs.Count - 1, legend);
            }
            else
            {
                this.paragraphs.Add(legend);
            }

            EnsureCaptionStyle();
        }
        /// <summary>
        /// Start the parse processing.
        /// </summary>
        /// <returns>Returns a list of parsed paragraph.</returns>
        public IList<OpenXmlCompositeElement> Parse(String html)
        {
            if (String.IsNullOrEmpty(html))
                return new Paragraph[0];

            // Reset:
            elements = new List<OpenXmlElement>();
            paragraphs = new List<OpenXmlCompositeElement>();
            tables = new TableContext();
            htmlStyles.Runs.Reset();
            currentParagraph = null;

            // Start a new processing
            paragraphs.Add(currentParagraph = htmlStyles.Paragraph.NewParagraph());
            if (htmlStyles.DefaultParagraphStyle != null)
            {
                currentParagraph.Append(new ParagraphProperties(
                    new ParagraphStyleId { Val = htmlStyles.DefaultParagraphStyle }
                ));
            }

            HtmlEnumerator en = new HtmlEnumerator(html);
            ProcessHtmlChunks(en, null);

            if (elements.Count > 0)
                this.currentParagraph.Append(elements);

            // As the Parse method is public, to avoid changing the type of the return value, I use this proxy
            // that will allow me to call the recursive method RemoveEmptyParagraphs with no major changes, impacting the client.
            RemoveEmptyParagraphs();

            return paragraphs;
        }
        // Create Chart in Word document
        public void CreateChart(List <ChartSubArea> chartList)
        {
            // Get MainDocumentPart of Document
            MainDocumentPart mainPart = document.AddMainDocumentPart();

            mainPart.Document = new Document(new Body());

            // Create ChartPart object in Word Document
            ChartPart chartPart = mainPart.AddNewPart <ChartPart>("rId110");

            // the root element of chartPart
            dc.ChartSpace chartSpace = new dc.ChartSpace();
            chartSpace.Append(new dc.EditingLanguage()
            {
                Val = "en-us"
            });

            // Create Chart
            dc.Chart chart = new dc.Chart();
            chart.Append(new dc.AutoTitleDeleted()
            {
                Val = true
            });

            // Define the 3D view
            dc.View3D view3D = new dc.View3D();
            view3D.Append(new dc.RotateX()
            {
                Val = 30
            });
            view3D.Append(new dc.RotateY()
            {
                Val = 0
            });

            // Intiliazes a new instance of the PlotArea class
            dc.PlotArea plotArea = new dc.PlotArea();
            plotArea.Append(new dc.Layout());

            // the type of Chart
            dc.Pie3DChart pie3DChart = new dc.Pie3DChart();
            pie3DChart.Append(new dc.VaryColors()
            {
                Val = true
            });
            dc.PieChartSeries pieChartSers = new dc.PieChartSeries();
            pieChartSers.Append(new dc.Index()
            {
                Val = 0U
            });
            pieChartSers.Append(new dc.Order()
            {
                Val = 0U
            });
            dc.SeriesText seriesText = new dc.SeriesText();
            seriesText.Append(new dc.NumericValue()
            {
                Text = "Series"
            });

            uint   rowcount = 0;
            uint   count    = UInt32.Parse(chartList.Count.ToString());
            string endCell  = (count + 1).ToString();

            dc.ChartShapeProperties chartShapePros = new dc.ChartShapeProperties();

            // Define cell for lable information
            dc.CategoryAxisData cateAxisData = new dc.CategoryAxisData();
            dc.StringReference  stringRef    = new dc.StringReference();
            stringRef.Append(new dc.Formula()
            {
                Text = "Main!$A$2:$A$" + endCell
            });
            dc.StringCache stringCache = new dc.StringCache();
            stringCache.Append(new dc.PointCount()
            {
                Val = count
            });

            // Define cells for value information
            dc.Values          values = new dc.Values();
            dc.NumberReference numRef = new dc.NumberReference();
            numRef.Append(new dc.Formula()
            {
                Text = "Main!$B$2:$B$" + endCell
            });

            dc.NumberingCache numCache = new dc.NumberingCache();
            numCache.Append(new dc.FormatCode()
            {
                Text = "General"
            });
            numCache.Append(new dc.PointCount()
            {
                Val = count
            });

            // Fill data for chart
            foreach (var item in chartList)
            {
                if (count == 0)
                {
                    chartShapePros.Append(new d.SolidFill(new d.SchemeColor()
                    {
                        Val = item.Color
                    }));
                    pieChartSers.Append(chartShapePros);
                }
                else
                {
                    dc.DataPoint dataPoint = new dc.DataPoint();
                    dataPoint.Append(new dc.Index()
                    {
                        Val = rowcount
                    });
                    chartShapePros = new dc.ChartShapeProperties();
                    chartShapePros.Append(new d.SolidFill(new d.SchemeColor()
                    {
                        Val = item.Color
                    }));
                    dataPoint.Append(chartShapePros);
                    pieChartSers.Append(dataPoint);
                }

                dc.StringPoint stringPoint = new dc.StringPoint()
                {
                    Index = rowcount
                };
                stringPoint.Append(new dc.NumericValue()
                {
                    Text = item.Label
                });
                stringCache.Append(stringPoint);

                dc.NumericPoint numericPoint = new dc.NumericPoint()
                {
                    Index = rowcount
                };
                numericPoint.Append(new dc.NumericValue()
                {
                    Text = item.Value
                });
                numCache.Append(numericPoint);
                rowcount++;
            }

            // Create c:cat and c:val element
            stringRef.Append(stringCache);
            cateAxisData.Append(stringRef);
            numRef.Append(numCache);
            values.Append(numRef);

            // Append c:cat and c:val to the end of c:ser element
            pieChartSers.Append(cateAxisData);
            pieChartSers.Append(values);

            // Append c:ser to the end of c:pie3DChart element
            pie3DChart.Append(pieChartSers);

            // Append c:pie3DChart to the end of s:plotArea element
            plotArea.Append(pie3DChart);

            // create child elements of the c:legend element
            dc.Legend legend = new dc.Legend();
            legend.Append(new dc.LegendPosition()
            {
                Val = LegendPositionValues.Right
            });
            dc.Overlay overlay = new dc.Overlay()
            {
                Val = false
            };
            legend.Append(overlay);

            dc.TextProperties textPros = new TextProperties();
            textPros.Append(new d.BodyProperties());
            textPros.Append(new d.ListStyle());

            d.Paragraph                  paragraph       = new d.Paragraph();
            d.ParagraphProperties        paraPros        = new d.ParagraphProperties();
            d.DefaultParagraphProperties defaultParaPros = new d.DefaultParagraphProperties();
            defaultParaPros.Append(new d.LatinFont()
            {
                Typeface = "Arial", PitchFamily = 34, CharacterSet = 0
            });
            defaultParaPros.Append(new d.ComplexScriptFont()
            {
                Typeface = "Arial", PitchFamily = 34, CharacterSet = 0
            });
            paraPros.Append(defaultParaPros);
            paragraph.Append(paraPros);
            paragraph.Append(new d.EndParagraphRunProperties()
            {
                Language = "en-Us"
            });

            textPros.Append(paragraph);
            legend.Append(textPros);

            // Append c:view3D, c:plotArea and c:legend elements to the end of c:chart element
            chart.Append(view3D);
            chart.Append(plotArea);
            chart.Append(legend);

            // Append the c:chart element to the end of c:chartSpace element
            chartSpace.Append(chart);

            // Create c:spPr Elements and fill the child elements of it
            chartShapePros = new dc.ChartShapeProperties();
            d.Outline outline = new d.Outline();
            outline.Append(new d.NoFill());
            chartShapePros.Append(outline);

            // Append c:spPr element to the end of c:chartSpace element
            chartSpace.Append(chartShapePros);

            chartPart.ChartSpace = chartSpace;

            // Generate content of the MainDocumentPart
            GeneratePartContent(mainPart);
        }
Exemple #55
0
        // Creates an Paragraph instance and adds its children.
        public TableRow GenerateTableRow(IndividualInfo ii, string iid)
        {
            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00442AD3" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            CantSplit cantSplit1 = new CantSplit();

            tableRowProperties1.Append(cantSplit1);

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "4788", Type = TableWidthUnitValues.Dxa };

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run1 = new Run();
            Break break1 = new Break();

            run1.Append(break1);

            Run run2 = new Run();

            RunProperties runProperties1 = new RunProperties();
            NoProof noProof1 = new NoProof();

            runProperties1.Append(noProof1);
            Text text1 = new Text();
            text1.Text = ii.FirstName;

            run2.Append(runProperties1);
            run2.Append(text1);

            Run run3 = new Run();
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text2.Text = " ";

            run3.Append(text2);

            Run run4 = new Run();

            RunProperties runProperties2 = new RunProperties();
            NoProof noProof2 = new NoProof();

            runProperties2.Append(noProof2);
            Text text3 = new Text();
            text3.Text = ii.LastName;

            run4.Append(runProperties2);
            run4.Append(text3);

            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(run3);
            paragraph1.Append(run4);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };

            Run run5 = new Run();

            RunProperties runProperties3 = new RunProperties();
            NoProof noProof3 = new NoProof();

            runProperties3.Append(noProof3);
            Text text4 = new Text();
            text4.Text = ii.Address;

            run5.Append(runProperties3);
            run5.Append(text4);

            paragraph2.Append(run5);

            Paragraph paragraph2a = null;
            if (ii.Address2.HasValue())
            {
                paragraph2a = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };
                Run r = new Run();

                RunProperties rp = new RunProperties();
                NoProof np = new NoProof();

                rp.Append(np);
                Text tt = new Text();
                tt.Text = ii.Address;

                r.Append(rp);
                r.Append(tt);

                paragraph2a.Append(r);
            }

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };

            Run run6 = new Run();

            RunProperties runProperties4 = new RunProperties();
            NoProof noProof4 = new NoProof();

            runProperties4.Append(noProof4);
            Text text5 = new Text();
            text5.Text = ii.CityStateZip;
            run6.Append(runProperties4);
            run6.Append(text5);

            paragraph3.Append(run6);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "TableGrid" };
            TableWidth tableWidth1 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };

            TableBorders tableBorders1 = new TableBorders();
            TopBorder topBorder1 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            LeftBorder leftBorder1 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            BottomBorder bottomBorder1 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder1 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideHorizontalBorder insideHorizontalBorder1 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);
            TableLook tableLook1 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true };

            tableProperties1.Append(tableStyle1);
            tableProperties1.Append(tableWidth1);
            tableProperties1.Append(tableBorders1);
            tableProperties1.Append(tableLook1);

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "1435" };
            GridColumn gridColumn2 = new GridColumn() { Width = "3122" };

            tableGrid1.Append(gridColumn1);
            tableGrid1.Append(gridColumn2);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties2.Append(tableCellWidth2);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run11 = new Run();
            Text text10 = new Text();
            text10.Text = "Email";

            run11.Append(text10);

            paragraph5.Append(run11);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph5);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties3.Append(tableCellWidth3);
            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            paragraph6.Append(new Run(new Text(ii.Email)));

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph6);

            tableRow2.Append(tableCell2);
            tableRow2.Append(tableCell3);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties4.Append(tableCellWidth4);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run12 = new Run();
            Text text11 = new Text();
            text11.Text = "Home Phone";

            run12.Append(text11);

            paragraph7.Append(run12);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph7);

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            Run run13 = new Run();

            RunProperties runProperties7 = new RunProperties();
            NoProof noProof7 = new NoProof();

            runProperties7.Append(noProof7);
            Text text12 = new Text();
            text12.Text = ii.HomePhone.FmtFone();

            run13.Append(runProperties7);
            run13.Append(text12);

            Run run14 = new Run();
            Text text13 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text13.Text = " ";

            run14.Append(text13);

            paragraph8.Append(run13);
            paragraph8.Append(run14);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph8);

            tableRow3.Append(tableCell4);
            tableRow3.Append(tableCell5);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties6.Append(tableCellWidth6);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run15 = new Run();
            Text text14 = new Text();
            text14.Text = "Cell Phone";

            run15.Append(text14);

            paragraph9.Append(run15);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph9);

            TableCell tableCell7 = new TableCell();

            TableCellProperties tableCellProperties7 = new TableCellProperties();
            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run16 = new Run();

            RunProperties runProperties8 = new RunProperties();
            NoProof noProof8 = new NoProof();

            runProperties8.Append(noProof8);
            Text text15 = new Text();
            text15.Text = ii.CellPhone.FmtFone();

            run16.Append(runProperties8);
            run16.Append(text15);

            paragraph10.Append(run16);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph10);

            tableRow4.Append(tableCell6);
            tableRow4.Append(tableCell7);

            TableRow tableRow5 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell8 = new TableCell();

            TableCellProperties tableCellProperties8 = new TableCellProperties();
            TableCellWidth tableCellWidth8 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run17 = new Run();
            Text text16 = new Text();
            text16.Text = "Work Phone";

            run17.Append(text16);

            paragraph11.Append(run17);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph11);

            TableCell tableCell9 = new TableCell();

            TableCellProperties tableCellProperties9 = new TableCellProperties();
            TableCellWidth tableCellWidth9 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run18 = new Run();

            RunProperties runProperties9 = new RunProperties();
            NoProof noProof9 = new NoProof();

            runProperties9.Append(noProof9);
            Text text17 = new Text();
            text17.Text = ii.WorkPhone.FmtFone();

            run18.Append(runProperties9);
            run18.Append(text17);

            paragraph12.Append(run18);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph12);

            tableRow5.Append(tableCell8);
            tableRow5.Append(tableCell9);

            TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell10 = new TableCell();

            TableCellProperties tableCellProperties10 = new TableCellProperties();
            TableCellWidth tableCellWidth10 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties10.Append(tableCellWidth10);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run19 = new Run();
            Text text18 = new Text();
            text18.Text = "Birthday";

            run19.Append(text18);

            paragraph13.Append(run19);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(paragraph13);

            TableCell tableCell11 = new TableCell();

            TableCellProperties tableCellProperties11 = new TableCellProperties();
            TableCellWidth tableCellWidth11 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties11.Append(tableCellWidth11);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00BC57A3", RsidRunAdditionDefault = "00FB1F22" };

            Run run20 = new Run();

            RunProperties runProperties10 = new RunProperties();
            NoProof noProof10 = new NoProof();

            runProperties10.Append(noProof10);
            Text text19 = new Text();
            text19.Text = ii.BirthDay;

            run20.Append(runProperties10);
            run20.Append(text19);

            paragraph14.Append(run20);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph14);

            tableRow6.Append(tableCell10);
            tableRow6.Append(tableCell11);

            TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell12 = new TableCell();

            TableCellProperties tableCellProperties12 = new TableCellProperties();
            TableCellWidth tableCellWidth12 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties12.Append(tableCellWidth12);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "006D0F9D", RsidRunAdditionDefault = "00FB1F22" };

            Run run21 = new Run();
            Text text20 = new Text();
            text20.Text = "Anniversary";

            run21.Append(text20);

            paragraph15.Append(run21);

            tableCell12.Append(tableCellProperties12);
            tableCell12.Append(paragraph15);

            TableCell tableCell13 = new TableCell();

            TableCellProperties tableCellProperties13 = new TableCellProperties();
            TableCellWidth tableCellWidth13 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties13.Append(tableCellWidth13);
            Paragraph paragraph16 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            paragraph16.Append(new Run(new Text(ii.Anniversary)));

            tableCell13.Append(tableCellProperties13);
            tableCell13.Append(paragraph16);

            tableRow7.Append(tableCell12);
            tableRow7.Append(tableCell13);

            TableRow tableRow8 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell14 = new TableCell();

            TableCellProperties tableCellProperties14 = new TableCellProperties();
            TableCellWidth tableCellWidth14 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties14.Append(tableCellWidth14);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run22 = new Run();
            Text text21 = new Text();
            text21.Text = "Spouse";

            run22.Append(text21);

            paragraph17.Append(run22);

            tableCell14.Append(tableCellProperties14);
            tableCell14.Append(paragraph17);

            TableCell tableCell15 = new TableCell();

            TableCellProperties tableCellProperties15 = new TableCellProperties();
            TableCellWidth tableCellWidth15 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties15.Append(tableCellWidth15);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            NoProof noProof11 = new NoProof();

            paragraphMarkRunProperties1.Append(noProof11);

            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run23 = new Run();

            RunProperties runProperties11 = new RunProperties();
            NoProof noProof12 = new NoProof();

            runProperties11.Append(noProof12);
            Text text22 = new Text();
            text22.Text = ii.Spouse;

            run23.Append(runProperties11);
            run23.Append(text22);

            paragraph18.Append(paragraphProperties1);
            paragraph18.Append(run23);

            tableCell15.Append(tableCellProperties15);
            tableCell15.Append(paragraph18);

            tableRow8.Append(tableCell14);
            tableRow8.Append(tableCell15);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow2);
            table1.Append(tableRow3);
            table1.Append(tableRow4);
            table1.Append(tableRow5);
            table1.Append(tableRow6);
            table1.Append(tableRow7);
            table1.Append(tableRow8);
            Paragraph paragraph19 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph1);
            tableCell1.Append(paragraph2);
            if (paragraph2a != null)
                tableCell1.Append(paragraph2a);
            tableCell1.Append(paragraph3);
            tableCell1.Append(paragraph4);
            tableCell1.Append(table1);
            tableCell1.Append(paragraph19);

            TableCell tableCell16 = new TableCell();

            TableCellProperties tableCellProperties16 = new TableCellProperties();
            TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "4788", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment1 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties16.Append(tableCellWidth16);
            tableCellProperties16.Append(tableCellVerticalAlignment1);
            tableCell16.Append(tableCellProperties16);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00960953", RsidRunAdditionDefault = "00FB1F22" };
            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            paragraphProperties2.Append(justification1);
            paragraph20.Append(paragraphProperties2);

            if (iid.HasValue())
            {
                Run run24 = new Run();

                RunProperties runProperties12 = new RunProperties();
                NoProof noProof13 = new NoProof();

                runProperties12.Append(noProof13);

                Drawing drawing1 = new Drawing();

                Wp.Inline inline1 = new Wp.Inline()
                                    {
                                        DistanceFromTop = (UInt32Value)0U,
                                        DistanceFromBottom = (UInt32Value)0U,
                                        DistanceFromLeft = (UInt32Value)0U,
                                        DistanceFromRight = (UInt32Value)0U
                                    };
                Wp.Extent extent1 = new Wp.Extent() { Cx = 1428750L, Cy = 1905000L };
                Wp.EffectExtent effectExtent1 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
                Wp.DocProperties docProperties1 = new Wp.DocProperties() { Id = (UInt32Value)1U, Name = "Picture 1", Description = "D:\\Pictures\\ttt.jpg" };

                Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 =
                    new Wp.NonVisualGraphicFrameDrawingProperties();

                A.GraphicFrameLocks graphicFrameLocks1 = new A.GraphicFrameLocks() { NoChangeAspect = true };
                graphicFrameLocks1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

                nonVisualGraphicFrameDrawingProperties1.Append(graphicFrameLocks1);

                A.Graphic graphic1 = new A.Graphic();
                graphic1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

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

                Pic.Picture picture1 = new Pic.Picture();
                picture1.AddNamespaceDeclaration("pic", "http://schemas.openxmlformats.org/drawingml/2006/picture");

                Pic.NonVisualPictureProperties nonVisualPictureProperties1 = new Pic.NonVisualPictureProperties();
                Pic.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Pic.NonVisualDrawingProperties()
                                                                             {
                                                                                 Id = (UInt32Value)0U,
                                                                                 Name = "Picture 459",
                                                                                 Description = "D:\\Pictures\\ttt.jpg"
                                                                             };

                Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 =
                    new Pic.NonVisualPictureDrawingProperties();
                A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = false, NoChangeArrowheads = true };

                nonVisualPictureDrawingProperties1.Append(pictureLocks1);

                nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
                nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

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

                A.Blip blip1 = new A.Blip() { Embed = iid };

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

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

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

                blipExtension1.Append(useLocalDpi1);

                blipExtensionList1.Append(blipExtension1);

                blip1.Append(blipExtensionList1);
                A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

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

                stretch1.Append(fillRectangle1);

                blipFill1.Append(blip1);
                blipFill1.Append(sourceRectangle1);
                blipFill1.Append(stretch1);

                Pic.ShapeProperties shapeProperties1 = new Pic.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 = 1428750L, Cy = 1905000L };

                transform2D1.Append(offset1);
                transform2D1.Append(extents1);

                A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
                A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

                presetGeometry1.Append(adjustValueList1);
                A.NoFill noFill1 = new A.NoFill();

                A.Outline outline1 = new A.Outline();
                A.NoFill noFill2 = new A.NoFill();

                outline1.Append(noFill2);

                shapeProperties1.Append(transform2D1);
                shapeProperties1.Append(presetGeometry1);
                shapeProperties1.Append(noFill1);
                shapeProperties1.Append(outline1);

                picture1.Append(nonVisualPictureProperties1);
                picture1.Append(blipFill1);
                picture1.Append(shapeProperties1);

                graphicData1.Append(picture1);

                graphic1.Append(graphicData1);

                inline1.Append(extent1);
                inline1.Append(effectExtent1);
                inline1.Append(docProperties1);
                inline1.Append(nonVisualGraphicFrameDrawingProperties1);
                inline1.Append(graphic1);

                drawing1.Append(inline1);

                run24.Append(runProperties12);
                run24.Append(drawing1);

                paragraph20.Append(run24);
            }
            tableCell16.Append(paragraph20);

            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell16);
            tableRow1.Append(bookmarkStart1);
            tableRow1.Append(bookmarkEnd1);
            return tableRow1;
        }
        private static void AddNodesToDiagram(string parentNodeGuid, XmlNode currentNode, Dgm.PointList pointList, Dgm.ConnectionList connectionList, UInt32 connectionSourcePosition, bool clearExisting)
        {
            //recursive function to add nodes to an existing diagram
            if (clearExisting)
            {
                //remove all connections
                connectionList.RemoveAllChildren();
                //remove all nodes except where type = 'doc' ... NOTE: Didn't test what happens if you also remove the doc type node, but it seemed important.
                List <Dgm.Point> pts = pointList.OfType <Dgm.Point>().Where(x => x.Type != "doc").ToList();
                for (int i = pts.Count - 1; i >= 0; i--)
                {
                    pts[i].Remove();
                }                                                            //remove in reverse order.
            }

            string currentNodeGuid = "{" + Guid.NewGuid().ToString() + "}";//generate new guid, not sure if curly brackets are required (probably not).

            //create the new point
            Dgm.Point newPoint = new Dgm.Point(new Dgm.PropertySet())
            {
                ModelId = currentNodeGuid
            };
            Dgm.ShapeProperties newPointShapeProperties = new Dgm.ShapeProperties();

            if (currentNode.Attributes["highlight"] != null && currentNode.Attributes["highlight"].Value == "true")
            {
                //if we need to highlight this particular point, then add a solidfill to it
                newPointShapeProperties.Append(new A.SolidFill(new A.SchemeColor()
                {
                    Val = A.SchemeColorValues.Accent5
                }));
            }

            Dgm.TextBody newPointTextBody = new Dgm.TextBody(new A.BodyProperties(), new A.ListStyle());

            A.Paragraph     paragraph1                 = new A.Paragraph();
            A.Run           ComponentNameRun           = new A.Run();
            A.RunProperties ComponentNameRunProperties = new A.RunProperties()
            {
                Language = "en-AU"
            };
            A.Text ComponentNameText = new A.Text(currentNode.Attributes["componentName"].Value);
            ComponentNameRun.Append(ComponentNameRunProperties);
            ComponentNameRun.Append(ComponentNameText);
            paragraph1.Append(ComponentNameRun);

            A.Paragraph     paragraph2                = new A.Paragraph();
            A.Run           PositionNameRun           = new A.Run();
            A.RunProperties PositionNameRunProperties = new A.RunProperties()
            {
                Language = "en-AU"
            };
            A.Text PositionNameText = new A.Text(currentNode.Attributes["memberName"].Value);
            PositionNameRun.Append(PositionNameRunProperties);
            PositionNameRun.Append(PositionNameText);
            paragraph2.Append(PositionNameRun);

            newPointTextBody.Append(paragraph1);
            newPointTextBody.Append(paragraph2);

            newPoint.Append(newPointShapeProperties, newPointTextBody);//append to point

            //append the point to the point list

            pointList.Append(newPoint);

            if (!string.IsNullOrEmpty(parentNodeGuid))
            {
                //if parent specified, then create the connection where the parent is the source and the current node is the destination
                connectionList.Append(new Dgm.Connection()
                {
                    ModelId = "{" + Guid.NewGuid().ToString() + "}", SourceId = parentNodeGuid, DestinationId = currentNodeGuid, SourcePosition = (UInt32Value)connectionSourcePosition, DestinationPosition = (UInt32Value)0U
                });
            }

            foreach (XmlNode childNode in currentNode.ChildNodes)
            {
                //call this method for every child
                AddNodesToDiagram(currentNodeGuid, childNode, pointList, connectionList, connectionSourcePosition++, false);
            }
        }
Exemple #57
0
        internal C.Legend ToLegend(bool IsStylish)
        {
            C.Legend l = new C.Legend();
            l.LegendPosition = new C.LegendPosition()
            {
                Val = this.LegendPosition
            };

            l.Append(new C.Layout());
            l.Append(new C.Overlay()
            {
                Val = this.Overlay
            });

            if (this.ShapeProperties.HasShapeProperties)
            {
                l.Append(this.ShapeProperties.ToChartShapeProperties(IsStylish));
            }

            if (IsStylish)
            {
                C.TextProperties tp = new C.TextProperties();
                tp.BodyProperties = 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
                };
                tp.ListStyle = new A.ListStyle();

                A.Paragraph para = new A.Paragraph();
                para.ParagraphProperties = new A.ParagraphProperties();

                A.DefaultRunProperties defrunprops = new A.DefaultRunProperties();
                defrunprops.FontSize  = 900;
                defrunprops.Bold      = false;
                defrunprops.Italic    = false;
                defrunprops.Underline = A.TextUnderlineValues.None;
                defrunprops.Strike    = A.TextStrikeValues.NoStrike;
                defrunprops.Kerning   = 1200;
                defrunprops.Baseline  = 0;

                A.SchemeColor schclr = new A.SchemeColor()
                {
                    Val = A.SchemeColorValues.Text1
                };
                schclr.Append(new A.LuminanceModulation()
                {
                    Val = 65000
                });
                schclr.Append(new A.LuminanceOffset()
                {
                    Val = 35000
                });
                defrunprops.Append(new A.SolidFill()
                {
                    SchemeColor = schclr
                });

                defrunprops.Append(new A.LatinFont()
                {
                    Typeface = "+mn-lt"
                });
                defrunprops.Append(new A.EastAsianFont()
                {
                    Typeface = "+mn-ea"
                });
                defrunprops.Append(new A.ComplexScriptFont()
                {
                    Typeface = "+mn-cs"
                });

                para.ParagraphProperties.Append(defrunprops);
                para.Append(new A.EndParagraphRunProperties()
                {
                    Language = System.Globalization.CultureInfo.CurrentCulture.Name
                });

                tp.Append(para);

                l.Append(tp);
            }

            return(l);
        }
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart1 = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout1 = new SlideLayout()
            {
                Type = SlideLayoutValues.Title, Preserve = true
            };

            slideLayout1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData2 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree2 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties2 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties4    = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties2  = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties4 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties2.Append(nonVisualDrawingProperties4);
            nonVisualGroupShapeProperties2.Append(nonVisualGroupShapeDrawingProperties2);
            nonVisualGroupShapeProperties2.Append(applicationNonVisualDrawingProperties4);

            GroupShapeProperties groupShapeProperties2 = new GroupShapeProperties();

            A.TransformGroup transformGroup2 = new A.TransformGroup();
            A.Offset         offset2         = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = 0L, Cy = 0L
            };
            A.ChildOffset childOffset2 = new A.ChildOffset()
            {
                X = 0L, Y = 0L
            };
            A.ChildExtents childExtents2 = new A.ChildExtents()
            {
                Cx = 0L, Cy = 0L
            };

            transformGroup2.Append(offset2);
            transformGroup2.Append(extents2);
            transformGroup2.Append(childOffset2);
            transformGroup2.Append(childExtents2);

            groupShapeProperties2.Append(transformGroup2);

            Shape shape3 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties3   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties5 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)2U, Name = "Title 1"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks3 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties3.Append(shapeLocks3);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties5 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape3 = new PlaceholderShape()
            {
                Type = PlaceholderValues.CenteredTitle
            };

            applicationNonVisualDrawingProperties5.Append(placeholderShape3);

            nonVisualShapeProperties3.Append(nonVisualDrawingProperties5);
            nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3);
            nonVisualShapeProperties3.Append(applicationNonVisualDrawingProperties5);

            ShapeProperties shapeProperties3 = new ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset3      = new A.Offset()
            {
                X = 685800L, Y = 1122363L
            };
            A.Extents extents3 = new A.Extents()
            {
                Cx = 7772400L, Cy = 2387600L
            };

            transform2D1.Append(offset3);
            transform2D1.Append(extents3);

            shapeProperties3.Append(transform2D1);

            TextBody textBody3 = new TextBody();

            A.BodyProperties bodyProperties3 = new A.BodyProperties()
            {
                Anchor = A.TextAnchoringTypeValues.Bottom
            };

            A.ListStyle listStyle3 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties1 = new A.Level1ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties()
            {
                FontSize = 6000
            };

            level1ParagraphProperties1.Append(defaultRunProperties1);

            listStyle3.Append(level1ParagraphProperties1);

            A.Paragraph paragraph3 = new A.Paragraph();

            A.Run           run3           = new A.Run();
            A.RunProperties runProperties3 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text3 = new A.Text();
            text3.Text = "マスター タイトルの書式設定";

            run3.Append(runProperties3);
            run3.Append(text3);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph3.Append(run3);
            paragraph3.Append(endParagraphRunProperties1);

            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 nonVisualDrawingProperties6 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)3U, Name = "Subtitle 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties4 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks4 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties4.Append(shapeLocks4);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties6 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape4 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SubTitle, Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties6.Append(placeholderShape4);

            nonVisualShapeProperties4.Append(nonVisualDrawingProperties6);
            nonVisualShapeProperties4.Append(nonVisualShapeDrawingProperties4);
            nonVisualShapeProperties4.Append(applicationNonVisualDrawingProperties6);

            ShapeProperties shapeProperties4 = new ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset      offset4      = new A.Offset()
            {
                X = 1143000L, Y = 3602038L
            };
            A.Extents extents4 = new A.Extents()
            {
                Cx = 6858000L, Cy = 1655762L
            };

            transform2D2.Append(offset4);
            transform2D2.Append(extents4);

            shapeProperties4.Append(transform2D2);

            TextBody textBody4 = new TextBody();

            A.BodyProperties bodyProperties4 = new A.BodyProperties();

            A.ListStyle listStyle4 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties2 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet1             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                FontSize = 2400
            };

            level1ParagraphProperties2.Append(noBullet1);
            level1ParagraphProperties2.Append(defaultRunProperties2);

            A.Level2ParagraphProperties level2ParagraphProperties1 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet2             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level2ParagraphProperties1.Append(noBullet2);
            level2ParagraphProperties1.Append(defaultRunProperties3);

            A.Level3ParagraphProperties level3ParagraphProperties1 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet3             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties()
            {
                FontSize = 1800
            };

            level3ParagraphProperties1.Append(noBullet3);
            level3ParagraphProperties1.Append(defaultRunProperties4);

            A.Level4ParagraphProperties level4ParagraphProperties1 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet4             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level4ParagraphProperties1.Append(noBullet4);
            level4ParagraphProperties1.Append(defaultRunProperties5);

            A.Level5ParagraphProperties level5ParagraphProperties1 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet5             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level5ParagraphProperties1.Append(noBullet5);
            level5ParagraphProperties1.Append(defaultRunProperties6);

            A.Level6ParagraphProperties level6ParagraphProperties1 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet6             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level6ParagraphProperties1.Append(noBullet6);
            level6ParagraphProperties1.Append(defaultRunProperties7);

            A.Level7ParagraphProperties level7ParagraphProperties1 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet7             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level7ParagraphProperties1.Append(noBullet7);
            level7ParagraphProperties1.Append(defaultRunProperties8);

            A.Level8ParagraphProperties level8ParagraphProperties1 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet8             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level8ParagraphProperties1.Append(noBullet8);
            level8ParagraphProperties1.Append(defaultRunProperties9);

            A.Level9ParagraphProperties level9ParagraphProperties1 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet9 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level9ParagraphProperties1.Append(noBullet9);
            level9ParagraphProperties1.Append(defaultRunProperties10);

            listStyle4.Append(level1ParagraphProperties2);
            listStyle4.Append(level2ParagraphProperties1);
            listStyle4.Append(level3ParagraphProperties1);
            listStyle4.Append(level4ParagraphProperties1);
            listStyle4.Append(level5ParagraphProperties1);
            listStyle4.Append(level6ParagraphProperties1);
            listStyle4.Append(level7ParagraphProperties1);
            listStyle4.Append(level8ParagraphProperties1);
            listStyle4.Append(level9ParagraphProperties1);

            A.Paragraph paragraph4 = new A.Paragraph();

            A.Run           run4           = new A.Run();
            A.RunProperties runProperties4 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text4 = new A.Text();
            text4.Text = "マスター サブタイトルの書式設定";

            run4.Append(runProperties4);
            run4.Append(text4);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph4.Append(run4);
            paragraph4.Append(endParagraphRunProperties2);

            textBody4.Append(bodyProperties4);
            textBody4.Append(listStyle4);
            textBody4.Append(paragraph4);

            shape4.Append(nonVisualShapeProperties4);
            shape4.Append(shapeProperties4);
            shape4.Append(textBody4);

            Shape shape5 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties5   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties7 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)4U, Name = "Date Placeholder 3"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties5 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks5 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties5.Append(shapeLocks5);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties7 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape5 = new PlaceholderShape()
            {
                Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)10U
            };

            applicationNonVisualDrawingProperties7.Append(placeholderShape5);

            nonVisualShapeProperties5.Append(nonVisualDrawingProperties7);
            nonVisualShapeProperties5.Append(nonVisualShapeDrawingProperties5);
            nonVisualShapeProperties5.Append(applicationNonVisualDrawingProperties7);
            ShapeProperties shapeProperties5 = new ShapeProperties();

            TextBody textBody5 = new TextBody();

            A.BodyProperties bodyProperties5 = new A.BodyProperties();
            A.ListStyle      listStyle5      = new A.ListStyle();

            A.Paragraph paragraph5 = new A.Paragraph();

            A.Field field1 = new A.Field()
            {
                Id = "{BFFF7C5F-97F4-4B42-9C39-61661A529470}", Type = "datetimeFigureOut"
            };

            A.RunProperties runProperties5 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties5.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text5 = new A.Text();
            text5.Text = "2018/5/3";

            field1.Append(runProperties5);
            field1.Append(text5);
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph5.Append(field1);
            paragraph5.Append(endParagraphRunProperties3);

            textBody5.Append(bodyProperties5);
            textBody5.Append(listStyle5);
            textBody5.Append(paragraph5);

            shape5.Append(nonVisualShapeProperties5);
            shape5.Append(shapeProperties5);
            shape5.Append(textBody5);

            Shape shape6 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties6   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties8 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)5U, Name = "Footer Placeholder 4"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties6 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks6 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties6.Append(shapeLocks6);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties8 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape6 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)11U
            };

            applicationNonVisualDrawingProperties8.Append(placeholderShape6);

            nonVisualShapeProperties6.Append(nonVisualDrawingProperties8);
            nonVisualShapeProperties6.Append(nonVisualShapeDrawingProperties6);
            nonVisualShapeProperties6.Append(applicationNonVisualDrawingProperties8);
            ShapeProperties shapeProperties6 = new ShapeProperties();

            TextBody textBody6 = new TextBody();

            A.BodyProperties bodyProperties6 = new A.BodyProperties();
            A.ListStyle      listStyle6      = new A.ListStyle();

            A.Paragraph paragraph6 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph6.Append(endParagraphRunProperties4);

            textBody6.Append(bodyProperties6);
            textBody6.Append(listStyle6);
            textBody6.Append(paragraph6);

            shape6.Append(nonVisualShapeProperties6);
            shape6.Append(shapeProperties6);
            shape6.Append(textBody6);

            Shape shape7 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties7   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties9 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)6U, Name = "Slide Number Placeholder 5"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties7 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks7 = new A.ShapeLocks()
            {
                NoGrouping = true
            };

            nonVisualShapeDrawingProperties7.Append(shapeLocks7);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties9 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape7 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)12U
            };

            applicationNonVisualDrawingProperties9.Append(placeholderShape7);

            nonVisualShapeProperties7.Append(nonVisualDrawingProperties9);
            nonVisualShapeProperties7.Append(nonVisualShapeDrawingProperties7);
            nonVisualShapeProperties7.Append(applicationNonVisualDrawingProperties9);
            ShapeProperties shapeProperties7 = new ShapeProperties();

            TextBody textBody7 = new TextBody();

            A.BodyProperties bodyProperties7 = new A.BodyProperties();
            A.ListStyle      listStyle7      = new A.ListStyle();

            A.Paragraph paragraph7 = new A.Paragraph();

            A.Field field2 = new A.Field()
            {
                Id = "{10647DAF-1A54-42E0-9176-57F2D0EA6A3B}", Type = "slidenum"
            };

            A.RunProperties runProperties6 = new A.RunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            runProperties6.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text6 = new A.Text();
            text6.Text = "‹#›";

            field2.Append(runProperties6);
            field2.Append(text6);
            A.EndParagraphRunProperties endParagraphRunProperties5 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph7.Append(field2);
            paragraph7.Append(endParagraphRunProperties5);

            textBody7.Append(bodyProperties7);
            textBody7.Append(listStyle7);
            textBody7.Append(paragraph7);

            shape7.Append(nonVisualShapeProperties7);
            shape7.Append(shapeProperties7);
            shape7.Append(textBody7);

            shapeTree2.Append(nonVisualGroupShapeProperties2);
            shapeTree2.Append(groupShapeProperties2);
            shapeTree2.Append(shape3);
            shapeTree2.Append(shape4);
            shapeTree2.Append(shape5);
            shapeTree2.Append(shape6);
            shapeTree2.Append(shape7);

            CommonSlideDataExtensionList commonSlideDataExtensionList2 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension2 = new CommonSlideDataExtension()
            {
                Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}"
            };

            P14.CreationId creationId2 = new P14.CreationId()
            {
                Val = (UInt32Value)1819264479U
            };
            creationId2.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension2.Append(creationId2);

            commonSlideDataExtensionList2.Append(commonSlideDataExtension2);

            commonSlideData2.Append(shapeTree2);
            commonSlideData2.Append(commonSlideDataExtensionList2);

            ColorMapOverride colorMapOverride2 = new ColorMapOverride();

            A.MasterColorMapping masterColorMapping2 = new A.MasterColorMapping();

            colorMapOverride2.Append(masterColorMapping2);

            slideLayout1.Append(commonSlideData2);
            slideLayout1.Append(colorMapOverride2);

            slideLayoutPart1.SlideLayout = slideLayout1;

            return(slideLayoutPart1);
        }
Exemple #59
0
        /// <summary>
        /// Converts the paragraph.
        /// </summary>
        /// <param name="worksheetPart">The worksheet part.</param>
        /// <param name="RTFSection">The RTF section.</param>
        /// <param name="matchShape">The match shape.</param>
        /// <returns></returns>
        public static DrawingSpreadsheet.Shape ConvertParagraph(WorksheetPart worksheetPart, Section RTFSection, DrawingSpreadsheet.Shape matchShape)
        {
            DrawingSpreadsheet.Shape           NewShape = new DrawingSpreadsheet.Shape();
            DocumentFormat.OpenXml.Drawing.Run ShapeRun = null;

            // get the graphic frame from the source anchor
            var sourceAnchor = worksheetPart.DrawingsPart.WorksheetDrawing.GetFirstChild <DrawingSpreadsheet.TwoCellAnchor>();
            var sourceShape  = sourceAnchor.Descendants <DrawingSpreadsheet.Shape>().FirstOrDefault();

            // add it to the target anchor (ie. the one with the shape removed)
            DocumentFormat.OpenXml.Drawing.Spreadsheet.Shape targetShape = (DocumentFormat.OpenXml.Drawing.Spreadsheet.Shape)NewShape.CloneNode(true);

            targetShape.Append(matchShape.NonVisualShapeProperties.CloneNode(true));
            targetShape.Append(matchShape.ShapeProperties.CloneNode(true));
            targetShape.Append(matchShape.ShapeStyle.CloneNode(true));

            targetShape.Append(matchShape.TextBody.CloneNode(true));

            //Remove the text associated with the shape

            foreach (DocumentFormat.OpenXml.Drawing.Paragraph Paragraph in targetShape.TextBody.Descendants <DocumentFormat.OpenXml.Drawing.Paragraph>())
            {
                foreach (DocumentFormat.OpenXml.Drawing.Run RunToRemove in Paragraph.Descendants <DocumentFormat.OpenXml.Drawing.Run>())
                {
                    RunToRemove.Remove();
                }
            }

            try
            {
                foreach (System.Windows.Documents.Paragraph p in RTFSection.Blocks)
                {
                    InlineCollection ParagraphInLines = p.Inlines;


                    DocumentFormat.OpenXml.Drawing.Paragraph ShapeParagraph = new DocumentFormat.OpenXml.Drawing.Paragraph();

                    foreach (var InLine in ParagraphInLines)
                    {
                        if (InLine.GetType() == typeof(System.Windows.Documents.Span))
                        {
                            Span s = (Span)InLine;

                            Brush SourceTextColour = s.Foreground;

                            foreach (System.Windows.Documents.Run r in s.Inlines)
                            {
                                if (r.Text != "\n")
                                {
                                    ShapeRun = new DocumentFormat.OpenXml.Drawing.Run();

                                    DocumentFormat.OpenXml.Drawing.RunProperties ShapeRunProperties = new DocumentFormat.OpenXml.Drawing.RunProperties();
                                    DocumentFormat.OpenXml.Drawing.Text          ShapeText          = new DocumentFormat.OpenXml.Drawing.Text(r.Text);

                                    //the font family will be inherited from the sheet of the target shape
                                    ShapeRunProperties.FontSize = new Int32Value(System.Convert.ToInt32(s.FontSize * 100));

                                    SolidFill textFill = new SolidFill();

                                    SystemColor textColour = new SystemColor();

                                    textColour.Val = new EnumValue <SystemColorValues>(SystemColorValues.WindowText);

                                    Int64Value ColourMask   = 0xFF000000;
                                    Int64Value SourceColour = System.Convert.ToInt64(SourceTextColour.ToString().Replace("#", "0x"), 16);

                                    SourceColour = SourceColour % ColourMask;

                                    textColour.LastColor = new HexBinaryValue(string.Format("{0,10:X}", SourceColour));

                                    textFill.SystemColor = textColour;

                                    ShapeRunProperties.Append(textFill);

                                    if (r.FontWeight == System.Windows.FontWeights.Bold)
                                    {
                                        ShapeRunProperties.Bold = true;
                                    }

                                    if (r.FontStyle == System.Windows.FontStyles.Italic)
                                    {
                                        ShapeRunProperties.Italic = true;
                                    }

                                    if (r.TextDecorations == System.Windows.TextDecorations.Underline)
                                    {
                                        ShapeRunProperties.Underline = new EnumValue <TextUnderlineValues>(TextUnderlineValues.Single);
                                    }

                                    ShapeRun.Text          = ShapeText;
                                    ShapeRun.RunProperties = ShapeRunProperties;

                                    ShapeParagraph.Append(ShapeRun);
                                }
                            }
                        }
                        else
                        {
                            //do something else
                        }
                    }

                    targetShape.TextBody.Append(ShapeParagraph);
                }
            }
            catch (System.Exception ex)
            {
                throw ex;
            }

            return(targetShape);
        }
Exemple #60
0
        // Generates content of chartPart1.
        private void GenerateChartPart1Content(ChartPart chartPart1, Chart chart)
        {
            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");
            chartSpace1.AddNamespaceDeclaration("c16r2", "http://schemas.microsoft.com/office/drawing/2015/06/chart");
            C.Date1904 date19041 = new C.Date1904()
            {
                Val = false
            };
            C.EditingLanguage editingLanguage1 = new C.EditingLanguage()
            {
                Val = "en-US"
            };
            C.RoundedCorners roundedCorners1 = new C.RoundedCorners()
            {
                Val = true
            };

            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 style1 = new C14.Style()
            {
                Val = 110
            };

            alternateContentChoice1.Append(style1);

            AlternateContentFallback alternateContentFallback1 = new AlternateContentFallback();

            C.Style style2 = new C.Style()
            {
                Val = 10
            };

            alternateContentFallback1.Append(style2);

            alternateContent1.Append(alternateContentChoice1);
            alternateContent1.Append(alternateContentFallback1);

            C.Chart chart1 = new C.Chart();

            C.Title title1 = new C.Title();

            C.ChartText chartText1 = new C.ChartText();

            C.RichText       richText1       = new C.RichText();
            A.BodyProperties bodyProperties1 = new A.BodyProperties();
            A.ListStyle      listStyle1      = new A.ListStyle();

            A.Paragraph paragraph1 = new A.Paragraph();

            A.ParagraphProperties  paragraphProperties1  = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties();

            paragraphProperties1.Append(defaultRunProperties1);

            A.Run           run1           = new A.Run();
            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Language = "en-US", FontSize = 800
            };
            A.Text text1 = new A.Text();
            text1.Text = "";

            run1.Append(runProperties1);
            run1.Append(text1);

            A.Run           run2           = new A.Run();
            A.RunProperties runProperties2 = new A.RunProperties()
            {
                Language = "en-US", FontSize = 800, Baseline = 0
            };
            A.Text text2 = new A.Text();
            text2.Text = chart.Title;

            run2.Append(runProperties2);
            run2.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", FontSize = 800
            };

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(endParagraphRunProperties1);

            richText1.Append(bodyProperties1);
            richText1.Append(listStyle1);
            richText1.Append(paragraph1);

            chartText1.Append(richText1);

            C.Layout layout1 = new C.Layout();

            C.ManualLayout manualLayout1 = new C.ManualLayout();
            C.LeftMode     leftMode1     = new C.LeftMode()
            {
                Val = C.LayoutModeValues.Edge
            };
            C.TopMode topMode1 = new C.TopMode()
            {
                Val = C.LayoutModeValues.Edge
            };
            C.Left left1 = new C.Left()
            {
                Val = 0.14936699324798144D
            };
            C.Top top1 = new C.Top()
            {
                Val = 7.5867300613079197E-2D
            };

            manualLayout1.Append(leftMode1);
            manualLayout1.Append(topMode1);
            manualLayout1.Append(left1);
            manualLayout1.Append(top1);

            layout1.Append(manualLayout1);
            C.Overlay overlay1 = new C.Overlay()
            {
                Val = true
            };

            title1.Append(chartText1);
            title1.Append(layout1);
            title1.Append(overlay1);
            C.AutoTitleDeleted autoTitleDeleted1 = new C.AutoTitleDeleted()
            {
                Val = false
            };

            C.PlotArea plotArea1 = new C.PlotArea();

            C.Layout layout2 = new C.Layout();

            C.ManualLayout manualLayout2 = new C.ManualLayout();
            C.LayoutTarget layoutTarget1 = new C.LayoutTarget()
            {
                Val = C.LayoutTargetValues.Inner
            };
            C.LeftMode leftMode2 = new C.LeftMode()
            {
                Val = C.LayoutModeValues.Edge
            };
            C.TopMode topMode2 = new C.TopMode()
            {
                Val = C.LayoutModeValues.Edge
            };
            C.Left left2 = new C.Left()
            {
                Val = 0.10245464404093282D
            };
            C.Top top2 = new C.Top()
            {
                Val = 4.7416814491091287E-2D
            };
            C.Width width1 = new C.Width()
            {
                Val = 0.88919609910728359D
            };
            C.Height height1 = new C.Height()
            {
                Val = 0.86D
            };

            manualLayout2.Append(layoutTarget1);
            manualLayout2.Append(leftMode2);
            manualLayout2.Append(topMode2);
            manualLayout2.Append(left2);
            manualLayout2.Append(top2);
            manualLayout2.Append(width1);
            manualLayout2.Append(height1);

            layout2.Append(manualLayout2);

            C.AreaChart areaChart1 = new C.AreaChart();
            C.Grouping  grouping1  = new C.Grouping()
            {
                Val = C.GroupingValues.Standard
            };
            C.VaryColors varyColors1 = new C.VaryColors()
            {
                Val = true
            };

            C.AreaChartSeries areaChartSeries1 = new C.AreaChartSeries();
            C.Index           index1           = new C.Index()
            {
                Val = (UInt32Value)0U
            };
            C.Order order1 = new C.Order()
            {
                Val = (UInt32Value)0U
            };

            C.SeriesText   seriesText1   = new C.SeriesText();
            C.NumericValue numericValue1 = new C.NumericValue();
            numericValue1.Text = chart.LegendTitle;

            seriesText1.Append(numericValue1);

            C.CategoryAxisData categoryAxisData1 = new C.CategoryAxisData();

            C.NumberReference numberReference1 = new C.NumberReference();

            C.NumRefExtensionList numRefExtensionList1 = new C.NumRefExtensionList();

            C.NumRefExtension numRefExtension1 = new C.NumRefExtension()
            {
                Uri = "{02D57815-91ED-43cb-92C2-25804820EDAC}"
            };
            numRefExtension1.AddNamespaceDeclaration("c15", "http://schemas.microsoft.com/office/drawing/2012/chart");

            C15.FullReference        fullReference1        = new C15.FullReference();
            C15.SequenceOfReferences sequenceOfReferences1 = new C15.SequenceOfReferences();
            sequenceOfReferences1.Text = chart.AxisX;

            fullReference1.Append(sequenceOfReferences1);

            numRefExtension1.Append(fullReference1);

            numRefExtensionList1.Append(numRefExtension1);
            C.Formula formula1 = new C.Formula();
            formula1.Text = chart.AxisX;

            C.NumberingCache numberingCache1 = new C.NumberingCache();
            C.FormatCode     formatCode1     = new C.FormatCode();
            formatCode1.Text = "General";
            C.PointCount pointCount1 = new C.PointCount()
            {
                Val = (UInt32Value)(uint)chart.Labels.Count
            };

            numberingCache1.Append(formatCode1);
            numberingCache1.Append(pointCount1);

            for (uint i = 0; i < chart.Labels.Count; i++)
            {
                C.NumericPoint numericPoint1 = new C.NumericPoint()
                {
                    Index = (UInt32Value)i
                };
                C.NumericValue numericValue2 = new C.NumericValue();
                numericValue2.Text = chart.Labels[(int)i];

                numericPoint1.Append(numericValue2);

                numberingCache1.Append(numericPoint1);
            }

            numberReference1.Append(numRefExtensionList1);
            numberReference1.Append(formula1);
            numberReference1.Append(numberingCache1);

            categoryAxisData1.Append(numberReference1);

            C.Values values1 = new C.Values();

            C.NumberReference numberReference2 = new C.NumberReference();

            C.NumRefExtensionList numRefExtensionList2 = new C.NumRefExtensionList();

            C.NumRefExtension numRefExtension2 = new C.NumRefExtension()
            {
                Uri = "{02D57815-91ED-43cb-92C2-25804820EDAC}"
            };
            numRefExtension2.AddNamespaceDeclaration("c15", "http://schemas.microsoft.com/office/drawing/2012/chart");

            C15.FullReference        fullReference2        = new C15.FullReference();
            C15.SequenceOfReferences sequenceOfReferences2 = new C15.SequenceOfReferences();
            sequenceOfReferences2.Text = chart.AxisY;

            fullReference2.Append(sequenceOfReferences2);

            numRefExtension2.Append(fullReference2);

            numRefExtensionList2.Append(numRefExtension2);
            C.Formula formula2 = new C.Formula();
            formula2.Text = chart.AxisY;

            C.NumberingCache numberingCache2 = new C.NumberingCache();
            C.FormatCode     formatCode2     = new C.FormatCode();
            formatCode2.Text = "0.00%";
            C.PointCount pointCount2 = new C.PointCount()
            {
                Val = (UInt32Value)(uint)chart.Values.Count
            };

            numberingCache2.Append(formatCode2);
            numberingCache2.Append(pointCount2);

            for (uint i = 0; i < chart.Values.Count; i++)
            {
                C.NumericPoint numericPoint27 = new C.NumericPoint()
                {
                    Index = (UInt32Value)i
                };
                C.NumericValue numericValue28 = new C.NumericValue();
                numericValue28.Text = chart.Values[(int)i];

                numericPoint27.Append(numericValue28);

                numberingCache2.Append(numericPoint27);
            }

            numberReference2.Append(numRefExtensionList2);
            numberReference2.Append(formula2);
            numberReference2.Append(numberingCache2);

            values1.Append(numberReference2);

            C.AreaSerExtensionList areaSerExtensionList1 = new C.AreaSerExtensionList();

            C.AreaSerExtension areaSerExtension1 = new C.AreaSerExtension()
            {
                Uri = "{C3380CC4-5D6E-409C-BE32-E72D297353CC}"
            };
            areaSerExtension1.AddNamespaceDeclaration("c16", "http://schemas.microsoft.com/office/drawing/2014/chart");

            OpenXmlUnknownElement openXmlUnknownElement2 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<c16:uniqueId val=\"{00000000-69FF-4CCD-9302-CEC5CC8046DF}\" xmlns:c16=\"http://schemas.microsoft.com/office/drawing/2014/chart\" />");

            areaSerExtension1.Append(openXmlUnknownElement2);

            areaSerExtensionList1.Append(areaSerExtension1);

            areaChartSeries1.Append(index1);
            areaChartSeries1.Append(order1);
            areaChartSeries1.Append(seriesText1);
            areaChartSeries1.Append(categoryAxisData1);
            areaChartSeries1.Append(values1);
            areaChartSeries1.Append(areaSerExtensionList1);

            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.AxisId axisId1 = new C.AxisId()
            {
                Val = (UInt32Value)78173696U
            };
            C.AxisId axisId2 = new C.AxisId()
            {
                Val = (UInt32Value)78175232U
            };

            areaChart1.Append(grouping1);
            areaChart1.Append(varyColors1);
            areaChart1.Append(areaChartSeries1);
            areaChart1.Append(dataLabels1);
            areaChart1.Append(axisId1);
            areaChart1.Append(axisId2);

            C.CategoryAxis categoryAxis1 = new C.CategoryAxis();
            C.AxisId       axisId3       = new C.AxisId()
            {
                Val = (UInt32Value)78173696U
            };

            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 = true
            };
            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.Cross
            };
            C.TickLabelPosition tickLabelPosition1 = new C.TickLabelPosition()
            {
                Val = C.TickLabelPositionValues.NextTo
            };
            C.CrossingAxis crossingAxis1 = new C.CrossingAxis()
            {
                Val = (UInt32Value)78175232U
            };
            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 = true
            };

            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(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)78175232U
            };

            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 = true
            };
            C.AxisPosition axisPosition2 = new C.AxisPosition()
            {
                Val = C.AxisPositionValues.Left
            };
            C.MajorGridlines  majorGridlines1  = new C.MajorGridlines();
            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.Cross
            };
            C.TickLabelPosition tickLabelPosition2 = new C.TickLabelPosition()
            {
                Val = C.TickLabelPositionValues.NextTo
            };
            C.CrossingAxis crossingAxis2 = new C.CrossingAxis()
            {
                Val = (UInt32Value)78173696U
            };
            C.Crosses crosses2 = new C.Crosses()
            {
                Val = C.CrossesValues.AutoZero
            };
            C.CrossBetween crossBetween1 = new C.CrossBetween()
            {
                Val = C.CrossBetweenValues.MidpointCategory
            };

            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(crossingAxis2);
            valueAxis1.Append(crosses2);
            valueAxis1.Append(crossBetween1);

            C.DataTable            dataTable1            = new C.DataTable();
            C.ShowHorizontalBorder showHorizontalBorder1 = new C.ShowHorizontalBorder()
            {
                Val = true
            };
            C.ShowVerticalBorder showVerticalBorder1 = new C.ShowVerticalBorder()
            {
                Val = true
            };
            C.ShowOutlineBorder showOutlineBorder1 = new C.ShowOutlineBorder()
            {
                Val = true
            };
            C.ShowKeys showKeys1 = new C.ShowKeys()
            {
                Val = true
            };

            dataTable1.Append(showHorizontalBorder1);
            dataTable1.Append(showVerticalBorder1);
            dataTable1.Append(showOutlineBorder1);
            dataTable1.Append(showKeys1);

            C.ShapeProperties shapeProperties1 = new C.ShapeProperties();

            A.Outline outline1 = new A.Outline();
            A.NoFill  noFill1  = new A.NoFill();

            outline1.Append(noFill1);

            shapeProperties1.Append(outline1);

            plotArea1.Append(layout2);
            plotArea1.Append(areaChart1);
            plotArea1.Append(categoryAxis1);
            plotArea1.Append(valueAxis1);
            plotArea1.Append(dataTable1);
            plotArea1.Append(shapeProperties1);
            C.PlotVisibleOnly plotVisibleOnly1 = new C.PlotVisibleOnly()
            {
                Val = true
            };
            C.DisplayBlanksAs displayBlanksAs1 = new C.DisplayBlanksAs()
            {
                Val = C.DisplayBlanksAsValues.Zero
            };
            C.ShowDataLabelsOverMaximum showDataLabelsOverMaximum1 = new C.ShowDataLabelsOverMaximum()
            {
                Val = true
            };

            chart1.Append(title1);
            chart1.Append(autoTitleDeleted1);
            chart1.Append(plotArea1);
            chart1.Append(plotVisibleOnly1);
            chart1.Append(displayBlanksAs1);
            chart1.Append(showDataLabelsOverMaximum1);

            C.ShapeProperties shapeProperties2 = new C.ShapeProperties();

            A.Outline outline2 = new A.Outline();
            A.NoFill  noFill2  = new A.NoFill();

            outline2.Append(noFill2);

            shapeProperties2.Append(outline2);

            C.TextProperties textProperties1 = new C.TextProperties();
            A.BodyProperties bodyProperties2 = new A.BodyProperties();
            A.ListStyle      listStyle2      = new A.ListStyle();

            A.Paragraph paragraph2 = new A.Paragraph();

            A.ParagraphProperties  paragraphProperties2  = new A.ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                FontSize = 700
            };

            paragraphProperties2.Append(defaultRunProperties2);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties()
            {
                Language = "en-US"
            };

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(endParagraphRunProperties2);

            textProperties1.Append(bodyProperties2);
            textProperties1.Append(listStyle2);
            textProperties1.Append(paragraph2);

            C.PrintSettings printSettings1 = new C.PrintSettings();
            C.HeaderFooter  headerFooter1  = new C.HeaderFooter();
            C.PageMargins   pageMargins1   = new C.PageMargins()
            {
                Left = 0.70000000000000018D, Right = 0.70000000000000018D, Top = 0.75000000000000022D, Bottom = 0.75000000000000022D, Header = 0.3000000000000001D, Footer = 0.3000000000000001D
            };
            C.PageSetup pageSetup1 = new C.PageSetup()
            {
                Orientation = C.PageSetupOrientationValues.Landscape
            };

            printSettings1.Append(headerFooter1);
            printSettings1.Append(pageMargins1);
            printSettings1.Append(pageSetup1);

            chartSpace1.Append(date19041);
            chartSpace1.Append(editingLanguage1);
            chartSpace1.Append(roundedCorners1);
            chartSpace1.Append(alternateContent1);
            chartSpace1.Append(chart1);
            chartSpace1.Append(shapeProperties2);
            chartSpace1.Append(textProperties1);
            chartSpace1.Append(printSettings1);

            chartPart1.ChartSpace = chartSpace1;
        }