Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public Bullet(A.ParagraphProperties xmlParagraphProperties)
 {
     _xmlParagraphProperties = xmlParagraphProperties;
     _type     = new Lazy <BulletType>(ParseType);
     _colorHex = new Lazy <string>(ParseColorHex);
     _char     = new Lazy <string>(ParseChar);
     _fontName = new Lazy <string>(ParseFontName);
     _size     = new Lazy <int>(ParseSize);
 }
Ejemplo n.º 3
0
        public static a.Paragraph SetTextAlignment(this a.Paragraph paragraph, a.TextAlignmentTypeValues textAlignment)
        {
            var paragraphProperties = paragraph.GetFirstChild <a.ParagraphProperties>();

            if (paragraphProperties == null)
            {
                paragraphProperties = new a.ParagraphProperties();
                paragraph.PrependChild(paragraphProperties);
            }
            paragraphProperties.Alignment = textAlignment;
            return(paragraph);
        }
Ejemplo n.º 4
0
        public static void FormatBlPoint(SlidePart slidePart)
        {
            IEnumerable <Shape> bulletPointShapes = slidePart.Slide.Descendants <Shape>().Where(d => d.Descendants <NonVisualDrawingProperties>().Where(e => e.Name.InnerText.Contains(Constants._TEXTBOX_)).Count() > 0);

            foreach (Shape shape in bulletPointShapes)
            {
                IEnumerable <D.Paragraph> paragraphs = shape.Descendants <D.Paragraph>().Where(d => d.Descendants <D.ParagraphProperties>().Count() > 0);
                foreach (D.Paragraph paragraph in paragraphs)
                {
                    D.ParagraphProperties paragProps = paragraph.Descendants <D.ParagraphProperties>().FirstOrDefault();
                    if (paragProps != default(D.ParagraphProperties))
                    {
                        D.BulletFont bulletFont = paragProps.Descendants <D.BulletFont>().FirstOrDefault();
                        if (bulletFont != default(D.BulletFont))
                        {
                            bulletFont.CharacterSet = 0;
                            bulletFont.PitchFamily  = 34;
                            bulletFont.Typeface     = "Arial";
                        }

                        D.CharacterBullet characterBullet = paragProps.Descendants <D.CharacterBullet>().FirstOrDefault();

                        if (characterBullet != default(D.CharacterBullet))
                        {
                            characterBullet.Char = new DocumentFormat.OpenXml.StringValue("•");
                        }
                        else
                        {
                            D.AutoNumberedBullet autoNumberedBullet = paragProps.Descendants <D.AutoNumberedBullet>().FirstOrDefault();
                            if (autoNumberedBullet != default(D.AutoNumberedBullet))
                            {
                                autoNumberedBullet.Remove();
                                slidePart.Slide.Save();
                            }
                            characterBullet = new D.CharacterBullet()
                            {
                                Char = new DocumentFormat.OpenXml.StringValue("•")
                            };
                            paragProps.AppendChild(characterBullet);
                        }
                        D.Run run = paragraph.Descendants <D.Run>().FirstOrDefault();
                        run.RunProperties.Italic    = false;
                        run.RunProperties.Bold      = false;
                        run.RunProperties.Underline = D.TextUnderlineValues.None;
                    }
                }
            }
            slidePart.Slide.Save();
        }
Ejemplo n.º 5
0
        public static a.Paragraph SetLineSpace(this a.Paragraph paragraph, float heightMultiplier)
        {
            var paragraphProperties = paragraph.GetFirstChild <a.ParagraphProperties>();

            if (paragraphProperties == null)
            {
                paragraphProperties = new a.ParagraphProperties();
                paragraph.PrependChild(paragraphProperties);
            }
            paragraphProperties.LineSpacing = new a.LineSpacing(new a.SpacingPercent()
            {
                Val = (int)(heightMultiplier * 100000)
            });
            return(paragraph);
        }
Ejemplo n.º 6
0
        // 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;
        }
Ejemplo n.º 7
0
        // Generates content of notesMasterPart1.
        private void GenerateNotesMasterPart1Content(NotesMasterPart notesMasterPart1)
        {
            NotesMaster notesMaster1 = new NotesMaster();
            notesMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            notesMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            notesMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData1 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference(){ Index = (UInt32Value)1002U };
            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference1.Append(schemeColor10);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree1 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties1 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties1 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties1 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties1 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties1.Append(nonVisualDrawingProperties1);
            nonVisualGroupShapeProperties1.Append(nonVisualGroupShapeDrawingProperties1);
            nonVisualGroupShapeProperties1.Append(applicationNonVisualDrawingProperties1);

            GroupShapeProperties groupShapeProperties1 = new GroupShapeProperties();

            A.TransformGroup transformGroup1 = new A.TransformGroup();
            A.Offset offset1 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset1 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents1 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup1.Append(offset1);
            transformGroup1.Append(extents1);
            transformGroup1.Append(childOffset1);
            transformGroup1.Append(childExtents1);

            groupShapeProperties1.Append(transformGroup1);

            Shape shape1 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties1 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties2 = new NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Header Placeholder 1" };

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

            nonVisualShapeDrawingProperties1.Append(shapeLocks1);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties2 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape1 = new PlaceholderShape(){ Type = PlaceholderValues.Header, Size = PlaceholderSizeValues.Quarter };

            applicationNonVisualDrawingProperties2.Append(placeholderShape1);

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

            ShapeProperties shapeProperties1 = new ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset2 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents2 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

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

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

            presetGeometry1.Append(adjustValueList1);

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

            TextBody textBody1 = new TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };

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

            A.Level1ParagraphProperties level1ParagraphProperties2 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties11 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties2.Append(defaultRunProperties11);

            listStyle1.Append(level1ParagraphProperties2);

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

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

            A.RunProperties runProperties1 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties1.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text1 = new A.Text();
            text1.Text = "Adding Header to Notes ";

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

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

            A.RunProperties runProperties2 = new A.RunProperties(){ Language = "en-US", Dirty = false, SpellingError = true };
            runProperties2.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text2 = new A.Text();
            text2.Text = "MAster";

            run2.Append(runProperties2);
            run2.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(endParagraphRunProperties1);

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

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

            Shape shape2 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties2 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks2 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties2.Append(shapeLocks2);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties3 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape2 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties3.Append(placeholderShape2);

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

            ShapeProperties shapeProperties2 = new ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset3 = new A.Offset(){ X = 5179484L, Y = 0L };
            A.Extents extents3 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

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

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

            presetGeometry2.Append(adjustValueList2);

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

            TextBody textBody2 = new TextBody();
            A.BodyProperties bodyProperties2 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, RightToLeftColumns = false };

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

            A.Level1ParagraphProperties level1ParagraphProperties3 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right };
            A.DefaultRunProperties defaultRunProperties12 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties3.Append(defaultRunProperties12);

            listStyle2.Append(level1ParagraphProperties3);

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

            A.Field field1 = new A.Field(){ Id = "{CA3F9B49-9B0F-4F41-BDD8-B26D6525A1C4}", Type = "datetimeFigureOut" };

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

            field1.Append(runProperties3);
            field1.Append(text3);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph2.Append(field1);
            paragraph2.Append(endParagraphRunProperties2);

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

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

            Shape shape3 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties3 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties4 = new NonVisualDrawingProperties(){ Id = (UInt32Value)4U, Name = "Slide Image Placeholder 3" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks3 = new A.ShapeLocks(){ NoGrouping = true, NoRotation = true, NoChangeAspect = true };

            nonVisualShapeDrawingProperties3.Append(shapeLocks3);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties4 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape3 = new PlaceholderShape(){ Type = PlaceholderValues.SlideImage, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties4.Append(placeholderShape3);

            nonVisualShapeProperties3.Append(nonVisualDrawingProperties4);
            nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3);
            nonVisualShapeProperties3.Append(applicationNonVisualDrawingProperties4);

            ShapeProperties shapeProperties3 = new ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset4 = new A.Offset(){ X = 2857500L, Y = 514350L };
            A.Extents extents4 = new A.Extents(){ Cx = 3429000L, Cy = 2571750L };

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

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

            presetGeometry3.Append(adjustValueList3);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline1 = new A.Outline(){ Width = 12700 };

            A.SolidFill solidFill10 = new A.SolidFill();
            A.PresetColor presetColor1 = new A.PresetColor(){ Val = A.PresetColorValues.Black };

            solidFill10.Append(presetColor1);

            outline1.Append(solidFill10);

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

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

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

            paragraph3.Append(endParagraphRunProperties3);

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

            shape3.Append(nonVisualShapeProperties3);
            shape3.Append(shapeProperties3);
            shape3.Append(textBody3);

            Shape shape4 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties4 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties5 = new NonVisualDrawingProperties(){ Id = (UInt32Value)5U, Name = "Notes Placeholder 4" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties4 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks4 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties4.Append(shapeLocks4);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties5 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape4 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties5.Append(placeholderShape4);

            nonVisualShapeProperties4.Append(nonVisualDrawingProperties5);
            nonVisualShapeProperties4.Append(nonVisualShapeDrawingProperties4);
            nonVisualShapeProperties4.Append(applicationNonVisualDrawingProperties5);

            ShapeProperties shapeProperties4 = new ShapeProperties();

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset5 = new A.Offset(){ X = 914400L, Y = 3257550L };
            A.Extents extents5 = new A.Extents(){ Cx = 7315200L, Cy = 3086100L };

            transform2D4.Append(offset5);
            transform2D4.Append(extents5);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList4);

            shapeProperties4.Append(transform2D4);
            shapeProperties4.Append(presetGeometry4);

            TextBody textBody4 = new TextBody();

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

            bodyProperties4.Append(normalAutoFit1);
            A.ListStyle listStyle4 = new A.ListStyle();

            A.Paragraph paragraph4 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties(){ Level = 0 };

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

            A.RunProperties runProperties4 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties4.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text4 = new A.Text();
            text4.Text = "Testing text on Notes Master";

            run3.Append(runProperties4);
            run3.Append(text4);

            paragraph4.Append(paragraphProperties1);
            paragraph4.Append(run3);

            A.Paragraph paragraph5 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties5 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties5.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text5 = new A.Text();
            text5.Text = "Second level";

            run4.Append(runProperties5);
            run4.Append(text5);

            paragraph5.Append(paragraphProperties2);
            paragraph5.Append(run4);

            A.Paragraph paragraph6 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties6 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties6.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text6 = new A.Text();
            text6.Text = "Third level";

            run5.Append(runProperties6);
            run5.Append(text6);

            paragraph6.Append(paragraphProperties3);
            paragraph6.Append(run5);

            A.Paragraph paragraph7 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties7 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties7.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text7 = new A.Text();
            text7.Text = "Fourth level";

            run6.Append(runProperties7);
            run6.Append(text7);

            paragraph7.Append(paragraphProperties4);
            paragraph7.Append(run6);

            A.Paragraph paragraph8 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties8 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties8.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text8 = new A.Text();
            text8.Text = "Fifth level";

            run7.Append(runProperties8);
            run7.Append(text8);
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph8.Append(paragraphProperties5);
            paragraph8.Append(run7);
            paragraph8.Append(endParagraphRunProperties4);

            textBody4.Append(bodyProperties4);
            textBody4.Append(listStyle4);
            textBody4.Append(paragraph4);
            textBody4.Append(paragraph5);
            textBody4.Append(paragraph6);
            textBody4.Append(paragraph7);
            textBody4.Append(paragraph8);

            shape4.Append(nonVisualShapeProperties4);
            shape4.Append(shapeProperties4);
            shape4.Append(textBody4);

            Shape shape5 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties5 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks5 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties5.Append(shapeLocks5);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties6 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape5 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties6.Append(placeholderShape5);

            nonVisualShapeProperties5.Append(nonVisualDrawingProperties6);
            nonVisualShapeProperties5.Append(nonVisualShapeDrawingProperties5);
            nonVisualShapeProperties5.Append(applicationNonVisualDrawingProperties6);

            ShapeProperties shapeProperties5 = new ShapeProperties();

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset6 = new A.Offset(){ X = 0L, Y = 6513910L };
            A.Extents extents6 = new A.Extents(){ Cx = 3962400L, Cy = 342900L };

            transform2D5.Append(offset6);
            transform2D5.Append(extents6);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);

            shapeProperties5.Append(transform2D5);
            shapeProperties5.Append(presetGeometry5);

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

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

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle5.Append(level1ParagraphProperties4);

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

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

            A.RunProperties runProperties9 = new A.RunProperties(){ Language = "en-US", Dirty = false };
            runProperties9.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text9 = new A.Text();
            text9.Text = "Adding Footer to Notes Master";

            run8.Append(runProperties9);
            run8.Append(text9);
            A.EndParagraphRunProperties endParagraphRunProperties5 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph9.Append(run8);
            paragraph9.Append(endParagraphRunProperties5);

            textBody5.Append(bodyProperties5);
            textBody5.Append(listStyle5);
            textBody5.Append(paragraph9);

            shape5.Append(nonVisualShapeProperties5);
            shape5.Append(shapeProperties5);
            shape5.Append(textBody5);

            shapeTree1.Append(nonVisualGroupShapeProperties1);
            shapeTree1.Append(groupShapeProperties1);
            shapeTree1.Append(shape1);
            shapeTree1.Append(shape2);
            shapeTree1.Append(shape3);
            shapeTree1.Append(shape4);
            shapeTree1.Append(shape5);

            CommonSlideDataExtensionList commonSlideDataExtensionList1 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension1.Append(creationId1);

            commonSlideDataExtensionList1.Append(commonSlideDataExtension1);

            commonSlideData1.Append(background1);
            commonSlideData1.Append(shapeTree1);
            commonSlideData1.Append(commonSlideDataExtensionList1);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            NotesStyle notesStyle1 = new NotesStyle();

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

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ FontSize = 1200, Kerning = 1200, Baseline = 0 };

            A.SolidFill solidFill11 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill11.Append(schemeColor11);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties14.Append(solidFill11);
            defaultRunProperties14.Append(latinFont10);
            defaultRunProperties14.Append(eastAsianFont10);
            defaultRunProperties14.Append(complexScriptFont10);

            level1ParagraphProperties5.Append(defaultRunProperties14);

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

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

            A.SolidFill solidFill12 = new A.SolidFill();
            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill12.Append(schemeColor12);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties15.Append(solidFill12);
            defaultRunProperties15.Append(latinFont11);
            defaultRunProperties15.Append(eastAsianFont11);
            defaultRunProperties15.Append(complexScriptFont11);

            level2ParagraphProperties2.Append(defaultRunProperties15);

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

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

            A.SolidFill solidFill13 = new A.SolidFill();
            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill13.Append(schemeColor13);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties16.Append(solidFill13);
            defaultRunProperties16.Append(latinFont12);
            defaultRunProperties16.Append(eastAsianFont12);
            defaultRunProperties16.Append(complexScriptFont12);

            level3ParagraphProperties2.Append(defaultRunProperties16);

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

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

            A.SolidFill solidFill14 = new A.SolidFill();
            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill14.Append(schemeColor14);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill14);
            defaultRunProperties17.Append(latinFont13);
            defaultRunProperties17.Append(eastAsianFont13);
            defaultRunProperties17.Append(complexScriptFont13);

            level4ParagraphProperties2.Append(defaultRunProperties17);

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

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

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill15.Append(schemeColor15);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill15);
            defaultRunProperties18.Append(latinFont14);
            defaultRunProperties18.Append(eastAsianFont14);
            defaultRunProperties18.Append(complexScriptFont14);

            level5ParagraphProperties2.Append(defaultRunProperties18);

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

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

            A.SolidFill solidFill16 = new A.SolidFill();
            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill16.Append(schemeColor16);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill16);
            defaultRunProperties19.Append(latinFont15);
            defaultRunProperties19.Append(eastAsianFont15);
            defaultRunProperties19.Append(complexScriptFont15);

            level6ParagraphProperties2.Append(defaultRunProperties19);

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

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

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill17.Append(schemeColor17);
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties20.Append(solidFill17);
            defaultRunProperties20.Append(latinFont16);
            defaultRunProperties20.Append(eastAsianFont16);
            defaultRunProperties20.Append(complexScriptFont16);

            level7ParagraphProperties2.Append(defaultRunProperties20);

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

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

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill18.Append(schemeColor18);
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties21.Append(solidFill18);
            defaultRunProperties21.Append(latinFont17);
            defaultRunProperties21.Append(eastAsianFont17);
            defaultRunProperties21.Append(complexScriptFont17);

            level8ParagraphProperties2.Append(defaultRunProperties21);

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

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

            A.SolidFill solidFill19 = new A.SolidFill();
            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill19.Append(schemeColor19);
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties22.Append(solidFill19);
            defaultRunProperties22.Append(latinFont18);
            defaultRunProperties22.Append(eastAsianFont18);
            defaultRunProperties22.Append(complexScriptFont18);

            level9ParagraphProperties2.Append(defaultRunProperties22);

            notesStyle1.Append(level1ParagraphProperties5);
            notesStyle1.Append(level2ParagraphProperties2);
            notesStyle1.Append(level3ParagraphProperties2);
            notesStyle1.Append(level4ParagraphProperties2);
            notesStyle1.Append(level5ParagraphProperties2);
            notesStyle1.Append(level6ParagraphProperties2);
            notesStyle1.Append(level7ParagraphProperties2);
            notesStyle1.Append(level8ParagraphProperties2);
            notesStyle1.Append(level9ParagraphProperties2);

            notesMaster1.Append(commonSlideData1);
            notesMaster1.Append(colorMap1);
            notesMaster1.Append(notesStyle1);

            notesMasterPart1.NotesMaster = notesMaster1;
        }
Ejemplo n.º 8
0
        // 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;
        }
        // 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);
        }
Ejemplo n.º 10
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;
        }
Ejemplo n.º 11
0
    private void AppendOcularMotility(string OcMota, string OcMotb, bool large = false)
    {
        Table tbl = new Table();
        TableProperties tableProperties = new TableProperties();
        //tableProperties.Append(new TableWidth() { Type = TableWidthUnitValues.Pct, Width = "5000" });
        tableProperties.Append(new TableBorders()
        {
            TopBorder = new TopBorder() { Val = BorderValues.Single },
            BottomBorder = new BottomBorder() { Val = BorderValues.Single },
            LeftBorder = new LeftBorder() { Val = BorderValues.Single },
            RightBorder = new RightBorder() { Val = BorderValues.Single }
        });

        tbl.Append(tableProperties);
        paragraph.Append(tbl);

        TableRow tr = new TableRow();
        tbl.Append(tr);

        TableCell tc = new TableCell();
        tr.Append(tc);
        TableCellProperties properties = new TableCellProperties();
        int width = 1500;
        if (large)
            width = 2500;
        properties.Append(new TableCellWidth() { Type = TableWidthUnitValues.Dxa, Width = width.ToString() });
        properties.Append(new TableCellBorders()
        {
            TopBorder = new TopBorder() { Val = BorderValues.Single },
            BottomBorder = new BottomBorder() { Val = BorderValues.Single },
            LeftBorder = new LeftBorder() { Val = BorderValues.Single },
            RightBorder = new RightBorder() { Val = BorderValues.Single }
        });
        tc.Append(properties);

        paragraph = new Paragraph();
        ParagraphProperties paraProperties = new ParagraphProperties();
        //paraProperties.Append(new Justification() { Val = justification });
        paraProperties.Append(new SpacingBetweenLines() { After = "10", Line = "240", LineRule = LineSpacingRuleValues.Auto });

        paragraph.Append(paraProperties);
        tc.Append(paragraph);

        Run run = GetRun();
        run.Append(new Text(dict[OcMota]));

        tc = new TableCell();
        tr.Append(tc);
        properties = new TableCellProperties();
        properties.Append(new TableCellWidth() { Type = TableWidthUnitValues.Dxa, Width = width.ToString() });
        properties.Append(new TableCellBorders()
        {
            TopBorder = new TopBorder() { Val = BorderValues.Single },
            BottomBorder = new BottomBorder() { Val = BorderValues.Single },
            LeftBorder = new LeftBorder() { Val = BorderValues.Single },
            RightBorder = new RightBorder() { Val = BorderValues.Single }
        });
        tc.Append(properties);

        paragraph = new Paragraph();
        paraProperties = new ParagraphProperties();
        //paraProperties.Append(new Justification() { Val = justification });
        paraProperties.Append(new SpacingBetweenLines() { After = "10", Line = "240", LineRule = LineSpacingRuleValues.Auto });

        paragraph.Append(paraProperties);
        tc.Append(paragraph);

        run = GetRun();
        run.Append(new Text(dict[OcMotb]));

    }
Ejemplo n.º 12
0
    private Run GetTableCellRun(TableRow tr, int width, int gridSpan, JustificationValues justification, int fontSize, bool globalTC)
    {
        TableCell tcRun = new TableCell();
        TableCellProperties properties = new TableCellProperties();
        if(width > 0)
            properties.Append(new TableCellWidth() { Type = TableWidthUnitValues.Dxa, Width = StringValue.FromString(width.ToString()) });

        if (gridSpan > 0)
            properties.Append(new GridSpan() { Val = gridSpan });

        tcRun.Append(properties);
        
        paragraph = new Paragraph();
        ParagraphProperties paraProperties = new ParagraphProperties();
        paraProperties.Append(new Justification() { Val = justification });
        paraProperties.Append(new SpacingBetweenLines() { After = "10", Line = "240", LineRule = LineSpacingRuleValues.Auto });

        paragraph.Append(paraProperties);
        Run run = new Run();

        if (fontSize != 0)
        {
            RunProperties runProperties = new RunProperties();
            FontSize size = new FontSize();
            size.Val = StringValue.FromString(fontSize.ToString());
            runProperties.Append(size);
            run.Append(runProperties);
        }

        paragraph.Append(run);
        tcRun.Append(paragraph);
        tr.Append(tcRun);

        //if (globalTC)
        //    tcLetter = tcRun;
        firstLine = false;
        return run;
    }
        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);
        }
        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;
        }
Ejemplo n.º 15
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);
        }
Ejemplo n.º 16
0
        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;
        }
Ejemplo n.º 17
0
        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;
        }
Ejemplo n.º 18
0
        // 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;
        }
Ejemplo n.º 19
0
        // Generates content of slideLayoutPart11.
        private void GenerateSlideLayoutPart11Content(SlideLayoutPart slideLayoutPart11)
        {
            SlideLayout slideLayout11 = new SlideLayout(){ Type = SlideLayoutValues.PictureText, Preserve = true };
            slideLayout11.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout11.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout11.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData 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;
        }
Ejemplo n.º 20
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);
        }
Ejemplo n.º 21
0
    private void AppendHeadLine(string title, bool show, bool underline, uint lineSize, params string[] keys)
    {
        Run run;
        if (!show)
        {
            foreach (string key in keys)
            {
                if (key == "")
                    continue;
                if (GetKeyText(key) != "")
                {
                    show = true;
                    break;
                }
            }
        }
        if (show)
        {
            if (underline)
            {
                //run = GetParaRun(false);
                paragraph = new Paragraph();
                //ParagraphProperties paraProperties = paragraph.GetFirstChild<ParagraphProperties>();
                ParagraphProperties paraProperties = new ParagraphProperties();
                paraProperties.Append(new SpacingBetweenLines() { Before = "0", After = "3", Line = "200", LineRule = LineSpacingRuleValues.Auto });
                paraProperties.Append(new ParagraphBorders(new BottomBorder() { Val = BorderValues.Single, Size = UInt32Value.FromUInt32(lineSize) }));
                paragraph.Append(paraProperties);
                run = new Run();
                RunProperties runProperties = new RunProperties();
                runProperties.Append(new RunFonts() { Ascii = "Cambria" });
                runProperties.Append(new FontSize() { Val = "8" });
                run.Append(runProperties);
                run.Append(new Text("."));
                paragraph.Append(run);
                body.Append(paragraph);
            }

            run = GetParaRun(false);
            if(title != "")
                AppendText(title, "");
        }
    }
Ejemplo n.º 22
0
        // 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 commonSlideData4 = new CommonSlideData(){ Name = "Content with Caption" };

            ShapeTree shapeTree4 = new ShapeTree();

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

            nonVisualGroupShapeProperties4.Append(nonVisualDrawingProperties21);
            nonVisualGroupShapeProperties4.Append(nonVisualGroupShapeDrawingProperties4);
            nonVisualGroupShapeProperties4.Append(applicationNonVisualDrawingProperties21);

            GroupShapeProperties groupShapeProperties4 = new GroupShapeProperties();

            A.TransformGroup transformGroup4 = new A.TransformGroup();
            A.Offset offset16 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents16 = 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(offset16);
            transformGroup4.Append(extents16);
            transformGroup4.Append(childOffset4);
            transformGroup4.Append(childExtents4);

            groupShapeProperties4.Append(transformGroup4);

            Shape shape13 = new Shape();

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

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

            nonVisualShapeDrawingProperties13.Append(shapeLocks13);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties22 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape13 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties22.Append(placeholderShape13);

            nonVisualShapeProperties13.Append(nonVisualDrawingProperties22);
            nonVisualShapeProperties13.Append(nonVisualShapeDrawingProperties13);
            nonVisualShapeProperties13.Append(applicationNonVisualDrawingProperties22);

            ShapeProperties shapeProperties18 = new ShapeProperties();

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset offset17 = new A.Offset(){ X = 7086857L, Y = 685800L };
            A.Extents extents17 = new A.Extents(){ Cx = 3658553L, Cy = 1371600L };

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

            shapeProperties18.Append(transform2D13);

            TextBody textBody13 = new TextBody();

            A.BodyProperties bodyProperties13 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit5 = new A.NormalAutoFit();

            bodyProperties13.Append(normalAutoFit5);

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

            A.Level1ParagraphProperties level1ParagraphProperties10 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties52 = new A.DefaultRunProperties(){ FontSize = 2400, Bold = false };

            level1ParagraphProperties10.Append(defaultRunProperties52);

            listStyle13.Append(level1ParagraphProperties10);

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

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

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

            run12.Append(runProperties16);
            run12.Append(text16);
            A.EndParagraphRunProperties endParagraphRunProperties13 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph17.Append(run12);
            paragraph17.Append(endParagraphRunProperties13);

            textBody13.Append(bodyProperties13);
            textBody13.Append(listStyle13);
            textBody13.Append(paragraph17);

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

            Shape shape14 = new Shape();

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

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

            nonVisualShapeDrawingProperties14.Append(shapeLocks14);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties23 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape14 = new PlaceholderShape(){ Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties23.Append(placeholderShape14);

            nonVisualShapeProperties14.Append(nonVisualDrawingProperties23);
            nonVisualShapeProperties14.Append(nonVisualShapeDrawingProperties14);
            nonVisualShapeProperties14.Append(applicationNonVisualDrawingProperties23);

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.Transform2D transform2D14 = new A.Transform2D();
            A.Offset offset18 = new A.Offset(){ X = 684391L, Y = 685800L };
            A.Extents extents18 = new A.Extents(){ Cx = 5945149L, Cy = 5308600L };

            transform2D14.Append(offset18);
            transform2D14.Append(extents18);

            shapeProperties19.Append(transform2D14);

            TextBody textBody14 = new TextBody();

            A.BodyProperties bodyProperties14 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit6 = new A.NormalAutoFit();

            bodyProperties14.Append(normalAutoFit6);

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

            A.Level1ParagraphProperties level1ParagraphProperties11 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties53 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level1ParagraphProperties11.Append(defaultRunProperties53);

            A.Level2ParagraphProperties level2ParagraphProperties6 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties54 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level2ParagraphProperties6.Append(defaultRunProperties54);

            A.Level3ParagraphProperties level3ParagraphProperties6 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties55 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level3ParagraphProperties6.Append(defaultRunProperties55);

            A.Level4ParagraphProperties level4ParagraphProperties6 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties56 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level4ParagraphProperties6.Append(defaultRunProperties56);

            A.Level5ParagraphProperties level5ParagraphProperties6 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties57 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level5ParagraphProperties6.Append(defaultRunProperties57);

            A.Level6ParagraphProperties level6ParagraphProperties6 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties58 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level6ParagraphProperties6.Append(defaultRunProperties58);

            A.Level7ParagraphProperties level7ParagraphProperties6 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties59 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level7ParagraphProperties6.Append(defaultRunProperties59);

            A.Level8ParagraphProperties level8ParagraphProperties6 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties60 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level8ParagraphProperties6.Append(defaultRunProperties60);

            A.Level9ParagraphProperties level9ParagraphProperties6 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties61 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level9ParagraphProperties6.Append(defaultRunProperties61);

            listStyle14.Append(level1ParagraphProperties11);
            listStyle14.Append(level2ParagraphProperties6);
            listStyle14.Append(level3ParagraphProperties6);
            listStyle14.Append(level4ParagraphProperties6);
            listStyle14.Append(level5ParagraphProperties6);
            listStyle14.Append(level6ParagraphProperties6);
            listStyle14.Append(level7ParagraphProperties6);
            listStyle14.Append(level8ParagraphProperties6);
            listStyle14.Append(level9ParagraphProperties6);

            A.Paragraph paragraph18 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties6 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run13.Append(runProperties17);
            run13.Append(text17);

            paragraph18.Append(paragraphProperties6);
            paragraph18.Append(run13);

            A.Paragraph paragraph19 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties(){ Level = 1 };

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

            A.RunProperties runProperties18 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties18.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text18 = new A.Text();
            text18.Text = "Second level";

            run14.Append(runProperties18);
            run14.Append(text18);

            paragraph19.Append(paragraphProperties7);
            paragraph19.Append(run14);

            A.Paragraph paragraph20 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties8 = new A.ParagraphProperties(){ Level = 2 };

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

            A.RunProperties runProperties19 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties19.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text19 = new A.Text();
            text19.Text = "Third level";

            run15.Append(runProperties19);
            run15.Append(text19);

            paragraph20.Append(paragraphProperties8);
            paragraph20.Append(run15);

            A.Paragraph paragraph21 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties9 = new A.ParagraphProperties(){ Level = 3 };

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

            A.RunProperties runProperties20 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties20.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text20 = new A.Text();
            text20.Text = "Fourth level";

            run16.Append(runProperties20);
            run16.Append(text20);

            paragraph21.Append(paragraphProperties9);
            paragraph21.Append(run16);

            A.Paragraph paragraph22 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties10 = new A.ParagraphProperties(){ Level = 4 };

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

            A.RunProperties runProperties21 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties21.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text21 = new A.Text();
            text21.Text = "Fifth level";

            run17.Append(runProperties21);
            run17.Append(text21);
            A.EndParagraphRunProperties endParagraphRunProperties14 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph22.Append(paragraphProperties10);
            paragraph22.Append(run17);
            paragraph22.Append(endParagraphRunProperties14);

            textBody14.Append(bodyProperties14);
            textBody14.Append(listStyle14);
            textBody14.Append(paragraph18);
            textBody14.Append(paragraph19);
            textBody14.Append(paragraph20);
            textBody14.Append(paragraph21);
            textBody14.Append(paragraph22);

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

            Shape shape15 = new Shape();

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

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

            nonVisualShapeDrawingProperties15.Append(shapeLocks15);

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

            applicationNonVisualDrawingProperties24.Append(placeholderShape15);

            nonVisualShapeProperties15.Append(nonVisualDrawingProperties24);
            nonVisualShapeProperties15.Append(nonVisualShapeDrawingProperties15);
            nonVisualShapeProperties15.Append(applicationNonVisualDrawingProperties24);

            ShapeProperties shapeProperties20 = new ShapeProperties();

            A.Transform2D transform2D15 = new A.Transform2D();
            A.Offset offset19 = new A.Offset(){ X = 7086857L, Y = 2209800L };
            A.Extents extents19 = new A.Extents(){ Cx = 3658553L, Cy = 2091267L };

            transform2D15.Append(offset19);
            transform2D15.Append(extents19);

            shapeProperties20.Append(transform2D15);

            TextBody textBody15 = new TextBody();

            A.BodyProperties bodyProperties15 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit7 = new A.NormalAutoFit();

            bodyProperties15.Append(normalAutoFit7);

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

            A.Level1ParagraphProperties level1ParagraphProperties12 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet11 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties62 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level1ParagraphProperties12.Append(noBullet11);
            level1ParagraphProperties12.Append(defaultRunProperties62);

            A.Level2ParagraphProperties level2ParagraphProperties7 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet12 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties63 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties7.Append(noBullet12);
            level2ParagraphProperties7.Append(defaultRunProperties63);

            A.Level3ParagraphProperties level3ParagraphProperties7 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet13 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties64 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties7.Append(noBullet13);
            level3ParagraphProperties7.Append(defaultRunProperties64);

            A.Level4ParagraphProperties level4ParagraphProperties7 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet14 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties65 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties7.Append(noBullet14);
            level4ParagraphProperties7.Append(defaultRunProperties65);

            A.Level5ParagraphProperties level5ParagraphProperties7 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet15 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties66 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties7.Append(noBullet15);
            level5ParagraphProperties7.Append(defaultRunProperties66);

            A.Level6ParagraphProperties level6ParagraphProperties7 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet16 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties67 = new A.DefaultRunProperties(){ FontSize = 900 };

            level6ParagraphProperties7.Append(noBullet16);
            level6ParagraphProperties7.Append(defaultRunProperties67);

            A.Level7ParagraphProperties level7ParagraphProperties7 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet17 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties68 = new A.DefaultRunProperties(){ FontSize = 900 };

            level7ParagraphProperties7.Append(noBullet17);
            level7ParagraphProperties7.Append(defaultRunProperties68);

            A.Level8ParagraphProperties level8ParagraphProperties7 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet18 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties69 = new A.DefaultRunProperties(){ FontSize = 900 };

            level8ParagraphProperties7.Append(noBullet18);
            level8ParagraphProperties7.Append(defaultRunProperties69);

            A.Level9ParagraphProperties level9ParagraphProperties7 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet19 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties70 = new A.DefaultRunProperties(){ FontSize = 900 };

            level9ParagraphProperties7.Append(noBullet19);
            level9ParagraphProperties7.Append(defaultRunProperties70);

            listStyle15.Append(level1ParagraphProperties12);
            listStyle15.Append(level2ParagraphProperties7);
            listStyle15.Append(level3ParagraphProperties7);
            listStyle15.Append(level4ParagraphProperties7);
            listStyle15.Append(level5ParagraphProperties7);
            listStyle15.Append(level6ParagraphProperties7);
            listStyle15.Append(level7ParagraphProperties7);
            listStyle15.Append(level8ParagraphProperties7);
            listStyle15.Append(level9ParagraphProperties7);

            A.Paragraph paragraph23 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties11 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run18.Append(runProperties22);
            run18.Append(text22);

            paragraph23.Append(paragraphProperties11);
            paragraph23.Append(run18);

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

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

            Shape shape16 = new Shape();

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

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

            nonVisualShapeDrawingProperties16.Append(shapeLocks16);

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

            applicationNonVisualDrawingProperties25.Append(placeholderShape16);

            nonVisualShapeProperties16.Append(nonVisualDrawingProperties25);
            nonVisualShapeProperties16.Append(nonVisualShapeDrawingProperties16);
            nonVisualShapeProperties16.Append(applicationNonVisualDrawingProperties25);
            ShapeProperties shapeProperties21 = new ShapeProperties();

            TextBody textBody16 = new TextBody();
            A.BodyProperties bodyProperties16 = new A.BodyProperties();
            A.ListStyle listStyle16 = new A.ListStyle();

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

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

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

            field5.Append(runProperties23);
            field5.Append(text23);
            A.EndParagraphRunProperties endParagraphRunProperties15 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph24.Append(field5);
            paragraph24.Append(endParagraphRunProperties15);

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

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

            Shape shape17 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties17 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks17 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties17.Append(shapeLocks17);

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

            applicationNonVisualDrawingProperties26.Append(placeholderShape17);

            nonVisualShapeProperties17.Append(nonVisualDrawingProperties26);
            nonVisualShapeProperties17.Append(nonVisualShapeDrawingProperties17);
            nonVisualShapeProperties17.Append(applicationNonVisualDrawingProperties26);
            ShapeProperties shapeProperties22 = new ShapeProperties();

            TextBody textBody17 = new TextBody();
            A.BodyProperties bodyProperties17 = new A.BodyProperties();
            A.ListStyle listStyle17 = new A.ListStyle();

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

            paragraph25.Append(endParagraphRunProperties16);

            textBody17.Append(bodyProperties17);
            textBody17.Append(listStyle17);
            textBody17.Append(paragraph25);

            shape17.Append(nonVisualShapeProperties17);
            shape17.Append(shapeProperties22);
            shape17.Append(textBody17);

            Shape shape18 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties18 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks18 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties18.Append(shapeLocks18);

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

            applicationNonVisualDrawingProperties27.Append(placeholderShape18);

            nonVisualShapeProperties18.Append(nonVisualDrawingProperties27);
            nonVisualShapeProperties18.Append(nonVisualShapeDrawingProperties18);
            nonVisualShapeProperties18.Append(applicationNonVisualDrawingProperties27);
            ShapeProperties shapeProperties23 = new ShapeProperties();

            TextBody textBody18 = new TextBody();
            A.BodyProperties bodyProperties18 = new A.BodyProperties();
            A.ListStyle listStyle18 = new A.ListStyle();

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

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

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

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

            paragraph26.Append(field6);
            paragraph26.Append(endParagraphRunProperties17);

            textBody18.Append(bodyProperties18);
            textBody18.Append(listStyle18);
            textBody18.Append(paragraph26);

            shape18.Append(nonVisualShapeProperties18);
            shape18.Append(shapeProperties23);
            shape18.Append(textBody18);

            ConnectionShape connectionShape6 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties6 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties28 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties6 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties28 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties6.Append(nonVisualDrawingProperties28);
            nonVisualConnectionShapeProperties6.Append(nonVisualConnectorShapeDrawingProperties6);
            nonVisualConnectionShapeProperties6.Append(applicationNonVisualDrawingProperties28);

            ShapeProperties shapeProperties24 = new ShapeProperties();

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

            transform2D16.Append(offset20);
            transform2D16.Append(extents20);

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

            presetGeometry11.Append(adjustValueList11);

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

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

            solidFill54.Append(schemeColor80);

            outline7.Append(solidFill54);

            shapeProperties24.Append(transform2D16);
            shapeProperties24.Append(presetGeometry11);
            shapeProperties24.Append(outline7);

            ShapeStyle shapeStyle6 = new ShapeStyle();

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

            lineReference6.Append(schemeColor81);

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

            fillReference6.Append(schemeColor82);

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

            effectReference6.Append(schemeColor83);

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

            fontReference6.Append(schemeColor84);

            shapeStyle6.Append(lineReference6);
            shapeStyle6.Append(fillReference6);
            shapeStyle6.Append(effectReference6);
            shapeStyle6.Append(fontReference6);

            connectionShape6.Append(nonVisualConnectionShapeProperties6);
            connectionShape6.Append(shapeProperties24);
            connectionShape6.Append(shapeStyle6);

            ConnectionShape connectionShape7 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties7 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties29 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties7 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties29 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties7.Append(nonVisualDrawingProperties29);
            nonVisualConnectionShapeProperties7.Append(nonVisualConnectorShapeDrawingProperties7);
            nonVisualConnectionShapeProperties7.Append(applicationNonVisualDrawingProperties29);

            ShapeProperties shapeProperties25 = new ShapeProperties();

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

            transform2D17.Append(offset21);
            transform2D17.Append(extents21);

            A.PresetGeometry presetGeometry12 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList12 = new A.AdjustValueList();

            presetGeometry12.Append(adjustValueList12);

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

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

            solidFill55.Append(schemeColor85);

            outline8.Append(solidFill55);

            shapeProperties25.Append(transform2D17);
            shapeProperties25.Append(presetGeometry12);
            shapeProperties25.Append(outline8);

            ShapeStyle shapeStyle7 = new ShapeStyle();

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

            lineReference7.Append(schemeColor86);

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

            fillReference7.Append(schemeColor87);

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

            effectReference7.Append(schemeColor88);

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

            fontReference7.Append(schemeColor89);

            shapeStyle7.Append(lineReference7);
            shapeStyle7.Append(fillReference7);
            shapeStyle7.Append(effectReference7);
            shapeStyle7.Append(fontReference7);

            connectionShape7.Append(nonVisualConnectionShapeProperties7);
            connectionShape7.Append(shapeProperties25);
            connectionShape7.Append(shapeStyle7);

            ConnectionShape connectionShape8 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties8 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties30 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties8 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties30 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties8.Append(nonVisualDrawingProperties30);
            nonVisualConnectionShapeProperties8.Append(nonVisualConnectorShapeDrawingProperties8);
            nonVisualConnectionShapeProperties8.Append(applicationNonVisualDrawingProperties30);

            ShapeProperties shapeProperties26 = new ShapeProperties();

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

            transform2D18.Append(offset22);
            transform2D18.Append(extents22);

            A.PresetGeometry presetGeometry13 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList13 = new A.AdjustValueList();

            presetGeometry13.Append(adjustValueList13);

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

            A.SolidFill solidFill56 = new A.SolidFill();
            A.SchemeColor schemeColor90 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill56.Append(schemeColor90);

            outline9.Append(solidFill56);

            shapeProperties26.Append(transform2D18);
            shapeProperties26.Append(presetGeometry13);
            shapeProperties26.Append(outline9);

            ShapeStyle shapeStyle8 = new ShapeStyle();

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

            lineReference8.Append(schemeColor91);

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

            fillReference8.Append(schemeColor92);

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

            effectReference8.Append(schemeColor93);

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

            fontReference8.Append(schemeColor94);

            shapeStyle8.Append(lineReference8);
            shapeStyle8.Append(fillReference8);
            shapeStyle8.Append(effectReference8);
            shapeStyle8.Append(fontReference8);

            connectionShape8.Append(nonVisualConnectionShapeProperties8);
            connectionShape8.Append(shapeProperties26);
            connectionShape8.Append(shapeStyle8);

            ConnectionShape connectionShape9 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties9 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties31 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties9 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties31 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties9.Append(nonVisualDrawingProperties31);
            nonVisualConnectionShapeProperties9.Append(nonVisualConnectorShapeDrawingProperties9);
            nonVisualConnectionShapeProperties9.Append(applicationNonVisualDrawingProperties31);

            ShapeProperties shapeProperties27 = new ShapeProperties();

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

            transform2D19.Append(offset23);
            transform2D19.Append(extents23);

            A.PresetGeometry presetGeometry14 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList14 = new A.AdjustValueList();

            presetGeometry14.Append(adjustValueList14);

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

            A.SolidFill solidFill57 = new A.SolidFill();
            A.SchemeColor schemeColor95 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill57.Append(schemeColor95);

            outline10.Append(solidFill57);

            shapeProperties27.Append(transform2D19);
            shapeProperties27.Append(presetGeometry14);
            shapeProperties27.Append(outline10);

            ShapeStyle shapeStyle9 = new ShapeStyle();

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

            lineReference9.Append(schemeColor96);

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

            fillReference9.Append(schemeColor97);

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

            effectReference9.Append(schemeColor98);

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

            fontReference9.Append(schemeColor99);

            shapeStyle9.Append(lineReference9);
            shapeStyle9.Append(fillReference9);
            shapeStyle9.Append(effectReference9);
            shapeStyle9.Append(fontReference9);

            connectionShape9.Append(nonVisualConnectionShapeProperties9);
            connectionShape9.Append(shapeProperties27);
            connectionShape9.Append(shapeStyle9);

            ConnectionShape connectionShape10 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties10 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties32 = new NonVisualDrawingProperties(){ Id = (UInt32Value)12U, Name = "Straight Connector 11" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties10 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties32 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties10.Append(nonVisualDrawingProperties32);
            nonVisualConnectionShapeProperties10.Append(nonVisualConnectorShapeDrawingProperties10);
            nonVisualConnectionShapeProperties10.Append(applicationNonVisualDrawingProperties32);

            ShapeProperties shapeProperties28 = new ShapeProperties();

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

            transform2D20.Append(offset24);
            transform2D20.Append(extents24);

            A.PresetGeometry presetGeometry15 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList15 = new A.AdjustValueList();

            presetGeometry15.Append(adjustValueList15);

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

            A.SolidFill solidFill58 = new A.SolidFill();
            A.SchemeColor schemeColor100 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill58.Append(schemeColor100);

            outline11.Append(solidFill58);

            shapeProperties28.Append(transform2D20);
            shapeProperties28.Append(presetGeometry15);
            shapeProperties28.Append(outline11);

            ShapeStyle shapeStyle10 = new ShapeStyle();

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

            lineReference10.Append(schemeColor101);

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

            fillReference10.Append(schemeColor102);

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

            effectReference10.Append(schemeColor103);

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

            fontReference10.Append(schemeColor104);

            shapeStyle10.Append(lineReference10);
            shapeStyle10.Append(fillReference10);
            shapeStyle10.Append(effectReference10);
            shapeStyle10.Append(fontReference10);

            connectionShape10.Append(nonVisualConnectionShapeProperties10);
            connectionShape10.Append(shapeProperties28);
            connectionShape10.Append(shapeStyle10);

            shapeTree4.Append(nonVisualGroupShapeProperties4);
            shapeTree4.Append(groupShapeProperties4);
            shapeTree4.Append(shape13);
            shapeTree4.Append(shape14);
            shapeTree4.Append(shape15);
            shapeTree4.Append(shape16);
            shapeTree4.Append(shape17);
            shapeTree4.Append(shape18);
            shapeTree4.Append(connectionShape6);
            shapeTree4.Append(connectionShape7);
            shapeTree4.Append(connectionShape8);
            shapeTree4.Append(connectionShape9);
            shapeTree4.Append(connectionShape10);

            CommonSlideDataExtensionList commonSlideDataExtensionList4 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension4.Append(creationId4);

            commonSlideDataExtensionList4.Append(commonSlideDataExtension4);

            commonSlideData4.Append(shapeTree4);
            commonSlideData4.Append(commonSlideDataExtensionList4);

            ColorMapOverride colorMapOverride3 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping3 = new A.MasterColorMapping();

            colorMapOverride3.Append(masterColorMapping3);

            Timing timing4 = new Timing();

            TimeNodeList timeNodeList4 = new TimeNodeList();

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

            parallelTimeNode4.Append(commonTimeNode4);

            timeNodeList4.Append(parallelTimeNode4);

            timing4.Append(timeNodeList4);

            slideLayout2.Append(commonSlideData4);
            slideLayout2.Append(colorMapOverride3);
            slideLayout2.Append(timing4);

            slideLayoutPart2.SlideLayout = slideLayout2;
        }
Ejemplo n.º 23
0
        public static A.ParagraphProperties CrateParagraphProperties(PPTXText Content)
        {
            var paragraphPorp = new A.ParagraphProperties();

            var firstTextRun = Content.Texts.FirstOrDefault();

            if (firstTextRun == null)
            {
                return(paragraphPorp);
            }

            switch (firstTextRun.Font.HAlign)
            {
            case EPPTXHAlign.Left:
                paragraphPorp.Alignment = A.TextAlignmentTypeValues.Left;
                break;

            case EPPTXHAlign.Center:
                paragraphPorp.Alignment = A.TextAlignmentTypeValues.Center;
                break;

            case EPPTXHAlign.Right:
                paragraphPorp.Alignment = A.TextAlignmentTypeValues.Right;
                break;
            }

            switch (Content.Bullet)
            {
            case PPTXBullet.None:
                paragraphPorp.Append(new A.NoBullet());
                break;

            case PPTXBullet.Circle:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "l"
                });
                break;

            case PPTXBullet.Rectangle:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "n"
                });
                break;

            case PPTXBullet.Diamond:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "u"
                });
                break;

            case PPTXBullet.RectangleBorder:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "p"
                });
                break;

            case PPTXBullet.Check:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "ü"
                });
                break;

            case PPTXBullet.Arrow:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "Wingdings", Panose = "05000000000000000000", PitchFamily = 2, CharacterSet = 2
                });
                paragraphPorp.Append(new A.CharacterBullet()
                {
                    Char = "Ø"
                });
                break;

            case PPTXBullet.MiniCircle:
                break;

            case PPTXBullet.Number:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "+mj-lt"
                });
                paragraphPorp.Append(new A.AutoNumberedBullet()
                {
                    Type = A.TextAutoNumberSchemeValues.ArabicPeriod
                });
                break;

            case PPTXBullet.CircleNumber:
                paragraphPorp.Append(new A.BulletFont()
                {
                    Typeface = "+mj-ea"
                });
                paragraphPorp.Append(new A.AutoNumberedBullet()
                {
                    Type = A.TextAutoNumberSchemeValues.CircleNumberDoubleBytePlain
                });
                break;
            }

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

            CommonSlideData commonSlideData5 = new CommonSlideData(){ Name = "Name Card" };

            ShapeTree shapeTree5 = new ShapeTree();

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

            nonVisualGroupShapeProperties5.Append(nonVisualDrawingProperties33);
            nonVisualGroupShapeProperties5.Append(nonVisualGroupShapeDrawingProperties5);
            nonVisualGroupShapeProperties5.Append(applicationNonVisualDrawingProperties33);

            GroupShapeProperties groupShapeProperties5 = new GroupShapeProperties();

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

            transformGroup5.Append(offset25);
            transformGroup5.Append(extents25);
            transformGroup5.Append(childOffset5);
            transformGroup5.Append(childExtents5);

            groupShapeProperties5.Append(transformGroup5);

            Shape shape19 = new Shape();

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

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

            nonVisualShapeDrawingProperties19.Append(shapeLocks19);

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

            applicationNonVisualDrawingProperties34.Append(placeholderShape19);

            nonVisualShapeProperties19.Append(nonVisualDrawingProperties34);
            nonVisualShapeProperties19.Append(nonVisualShapeDrawingProperties19);
            nonVisualShapeProperties19.Append(applicationNonVisualDrawingProperties34);

            ShapeProperties shapeProperties29 = new ShapeProperties();

            A.Transform2D transform2D21 = new A.Transform2D();
            A.Offset offset26 = new A.Offset(){ X = 684390L, Y = 3429000L };
            A.Extents extents26 = new A.Extents(){ Cx = 8536623L, Cy = 1697400L };

            transform2D21.Append(offset26);
            transform2D21.Append(extents26);

            shapeProperties29.Append(transform2D21);

            TextBody textBody19 = new TextBody();

            A.BodyProperties bodyProperties19 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit8 = new A.NormalAutoFit();

            bodyProperties19.Append(normalAutoFit8);

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

            A.Level1ParagraphProperties level1ParagraphProperties13 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties71 = new A.DefaultRunProperties(){ FontSize = 3200, Bold = false, Capital = A.TextCapsValues.All };

            level1ParagraphProperties13.Append(defaultRunProperties71);

            listStyle19.Append(level1ParagraphProperties13);

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

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

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

            run19.Append(runProperties25);
            run19.Append(text25);
            A.EndParagraphRunProperties endParagraphRunProperties18 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph27.Append(run19);
            paragraph27.Append(endParagraphRunProperties18);

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

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

            Shape shape20 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties20 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties35 = 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 applicationNonVisualDrawingProperties35 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape20 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties35.Append(placeholderShape20);

            nonVisualShapeProperties20.Append(nonVisualDrawingProperties35);
            nonVisualShapeProperties20.Append(nonVisualShapeDrawingProperties20);
            nonVisualShapeProperties20.Append(applicationNonVisualDrawingProperties35);

            ShapeProperties shapeProperties30 = new ShapeProperties();

            A.Transform2D transform2D22 = new A.Transform2D();
            A.Offset offset27 = new A.Offset(){ X = 684389L, Y = 5132981L };
            A.Extents extents27 = new A.Extents(){ Cx = 8538213L, Cy = 860400L };

            transform2D22.Append(offset27);
            transform2D22.Append(extents27);

            shapeProperties30.Append(transform2D22);

            TextBody textBody20 = new TextBody();

            A.BodyProperties bodyProperties20 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit9 = new A.NormalAutoFit();

            bodyProperties20.Append(normalAutoFit9);

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

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

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

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

            A.SchemeColor schemeColor105 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation10 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor105.Append(luminanceModulation10);

            solidFill59.Append(schemeColor105);

            defaultRunProperties72.Append(solidFill59);

            level1ParagraphProperties14.Append(noBullet20);
            level1ParagraphProperties14.Append(defaultRunProperties72);

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

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

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

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

            schemeColor106.Append(tint9);

            solidFill60.Append(schemeColor106);

            defaultRunProperties73.Append(solidFill60);

            level2ParagraphProperties8.Append(noBullet21);
            level2ParagraphProperties8.Append(defaultRunProperties73);

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

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

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

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

            schemeColor107.Append(tint10);

            solidFill61.Append(schemeColor107);

            defaultRunProperties74.Append(solidFill61);

            level3ParagraphProperties8.Append(noBullet22);
            level3ParagraphProperties8.Append(defaultRunProperties74);

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

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

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

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

            schemeColor108.Append(tint11);

            solidFill62.Append(schemeColor108);

            defaultRunProperties75.Append(solidFill62);

            level4ParagraphProperties8.Append(noBullet23);
            level4ParagraphProperties8.Append(defaultRunProperties75);

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

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

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

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

            schemeColor109.Append(tint12);

            solidFill63.Append(schemeColor109);

            defaultRunProperties76.Append(solidFill63);

            level5ParagraphProperties8.Append(noBullet24);
            level5ParagraphProperties8.Append(defaultRunProperties76);

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

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

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

            A.SchemeColor schemeColor110 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint13 = new A.Tint(){ Val = 75000 };

            schemeColor110.Append(tint13);

            solidFill64.Append(schemeColor110);

            defaultRunProperties77.Append(solidFill64);

            level6ParagraphProperties8.Append(noBullet25);
            level6ParagraphProperties8.Append(defaultRunProperties77);

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

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

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

            A.SchemeColor schemeColor111 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint14 = new A.Tint(){ Val = 75000 };

            schemeColor111.Append(tint14);

            solidFill65.Append(schemeColor111);

            defaultRunProperties78.Append(solidFill65);

            level7ParagraphProperties8.Append(noBullet26);
            level7ParagraphProperties8.Append(defaultRunProperties78);

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

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

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

            A.SchemeColor schemeColor112 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint15 = new A.Tint(){ Val = 75000 };

            schemeColor112.Append(tint15);

            solidFill66.Append(schemeColor112);

            defaultRunProperties79.Append(solidFill66);

            level8ParagraphProperties8.Append(noBullet27);
            level8ParagraphProperties8.Append(defaultRunProperties79);

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

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

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

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

            schemeColor113.Append(tint16);

            solidFill67.Append(schemeColor113);

            defaultRunProperties80.Append(solidFill67);

            level9ParagraphProperties8.Append(noBullet28);
            level9ParagraphProperties8.Append(defaultRunProperties80);

            listStyle20.Append(level1ParagraphProperties14);
            listStyle20.Append(level2ParagraphProperties8);
            listStyle20.Append(level3ParagraphProperties8);
            listStyle20.Append(level4ParagraphProperties8);
            listStyle20.Append(level5ParagraphProperties8);
            listStyle20.Append(level6ParagraphProperties8);
            listStyle20.Append(level7ParagraphProperties8);
            listStyle20.Append(level8ParagraphProperties8);
            listStyle20.Append(level9ParagraphProperties8);

            A.Paragraph paragraph28 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run20.Append(runProperties26);
            run20.Append(text26);

            paragraph28.Append(paragraphProperties12);
            paragraph28.Append(run20);

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

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

            Shape shape21 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties21 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties36 = 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 applicationNonVisualDrawingProperties36 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape21 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)10U };

            applicationNonVisualDrawingProperties36.Append(placeholderShape21);

            nonVisualShapeProperties21.Append(nonVisualDrawingProperties36);
            nonVisualShapeProperties21.Append(nonVisualShapeDrawingProperties21);
            nonVisualShapeProperties21.Append(applicationNonVisualDrawingProperties36);
            ShapeProperties shapeProperties31 = 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 = "{CE1A2D98-1BBD-4706-A118-AAC2A16BEAD3}", Type = "datetimeFigureOut" };

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

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

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

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

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

            Shape shape22 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties22 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties37 = 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 applicationNonVisualDrawingProperties37 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape22 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)11U };

            applicationNonVisualDrawingProperties37.Append(placeholderShape22);

            nonVisualShapeProperties22.Append(nonVisualDrawingProperties37);
            nonVisualShapeProperties22.Append(nonVisualShapeDrawingProperties22);
            nonVisualShapeProperties22.Append(applicationNonVisualDrawingProperties37);
            ShapeProperties shapeProperties32 = new ShapeProperties();

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

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

            paragraph30.Append(endParagraphRunProperties20);

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

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

            Shape shape23 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties23 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties38 = 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 applicationNonVisualDrawingProperties38 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape23 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)12U };

            applicationNonVisualDrawingProperties38.Append(placeholderShape23);

            nonVisualShapeProperties23.Append(nonVisualDrawingProperties38);
            nonVisualShapeProperties23.Append(nonVisualShapeDrawingProperties23);
            nonVisualShapeProperties23.Append(applicationNonVisualDrawingProperties38);
            ShapeProperties shapeProperties33 = 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 = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field8.Append(runProperties28);
            field8.Append(text28);
            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph31.Append(field8);
            paragraph31.Append(endParagraphRunProperties21);

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

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

            ConnectionShape connectionShape11 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties11 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties39 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties11 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties39 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties11.Append(nonVisualDrawingProperties39);
            nonVisualConnectionShapeProperties11.Append(nonVisualConnectorShapeDrawingProperties11);
            nonVisualConnectionShapeProperties11.Append(applicationNonVisualDrawingProperties39);

            ShapeProperties shapeProperties34 = new ShapeProperties();

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

            transform2D23.Append(offset28);
            transform2D23.Append(extents28);

            A.PresetGeometry presetGeometry16 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList16 = new A.AdjustValueList();

            presetGeometry16.Append(adjustValueList16);

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

            A.SolidFill solidFill68 = new A.SolidFill();
            A.SchemeColor schemeColor114 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill68.Append(schemeColor114);

            outline12.Append(solidFill68);

            shapeProperties34.Append(transform2D23);
            shapeProperties34.Append(presetGeometry16);
            shapeProperties34.Append(outline12);

            ShapeStyle shapeStyle11 = new ShapeStyle();

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

            lineReference11.Append(schemeColor115);

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

            fillReference11.Append(schemeColor116);

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

            effectReference11.Append(schemeColor117);

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

            fontReference11.Append(schemeColor118);

            shapeStyle11.Append(lineReference11);
            shapeStyle11.Append(fillReference11);
            shapeStyle11.Append(effectReference11);
            shapeStyle11.Append(fontReference11);

            connectionShape11.Append(nonVisualConnectionShapeProperties11);
            connectionShape11.Append(shapeProperties34);
            connectionShape11.Append(shapeStyle11);

            ConnectionShape connectionShape12 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties12 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties40 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties12 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties40 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties12.Append(nonVisualDrawingProperties40);
            nonVisualConnectionShapeProperties12.Append(nonVisualConnectorShapeDrawingProperties12);
            nonVisualConnectionShapeProperties12.Append(applicationNonVisualDrawingProperties40);

            ShapeProperties shapeProperties35 = new ShapeProperties();

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

            transform2D24.Append(offset29);
            transform2D24.Append(extents29);

            A.PresetGeometry presetGeometry17 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList17 = new A.AdjustValueList();

            presetGeometry17.Append(adjustValueList17);

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

            A.SolidFill solidFill69 = new A.SolidFill();
            A.SchemeColor schemeColor119 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill69.Append(schemeColor119);

            outline13.Append(solidFill69);

            shapeProperties35.Append(transform2D24);
            shapeProperties35.Append(presetGeometry17);
            shapeProperties35.Append(outline13);

            ShapeStyle shapeStyle12 = new ShapeStyle();

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

            lineReference12.Append(schemeColor120);

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

            fillReference12.Append(schemeColor121);

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

            effectReference12.Append(schemeColor122);

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

            fontReference12.Append(schemeColor123);

            shapeStyle12.Append(lineReference12);
            shapeStyle12.Append(fillReference12);
            shapeStyle12.Append(effectReference12);
            shapeStyle12.Append(fontReference12);

            connectionShape12.Append(nonVisualConnectionShapeProperties12);
            connectionShape12.Append(shapeProperties35);
            connectionShape12.Append(shapeStyle12);

            ConnectionShape connectionShape13 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties13 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties41 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties13 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties41 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties13.Append(nonVisualDrawingProperties41);
            nonVisualConnectionShapeProperties13.Append(nonVisualConnectorShapeDrawingProperties13);
            nonVisualConnectionShapeProperties13.Append(applicationNonVisualDrawingProperties41);

            ShapeProperties shapeProperties36 = new ShapeProperties();

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

            transform2D25.Append(offset30);
            transform2D25.Append(extents30);

            A.PresetGeometry presetGeometry18 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList18 = new A.AdjustValueList();

            presetGeometry18.Append(adjustValueList18);

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

            A.SolidFill solidFill70 = new A.SolidFill();
            A.SchemeColor schemeColor124 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill70.Append(schemeColor124);

            outline14.Append(solidFill70);

            shapeProperties36.Append(transform2D25);
            shapeProperties36.Append(presetGeometry18);
            shapeProperties36.Append(outline14);

            ShapeStyle shapeStyle13 = new ShapeStyle();

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

            lineReference13.Append(schemeColor125);

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

            fillReference13.Append(schemeColor126);

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

            effectReference13.Append(schemeColor127);

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

            fontReference13.Append(schemeColor128);

            shapeStyle13.Append(lineReference13);
            shapeStyle13.Append(fillReference13);
            shapeStyle13.Append(effectReference13);
            shapeStyle13.Append(fontReference13);

            connectionShape13.Append(nonVisualConnectionShapeProperties13);
            connectionShape13.Append(shapeProperties36);
            connectionShape13.Append(shapeStyle13);

            ConnectionShape connectionShape14 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties14 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties42 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties14 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties42 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties14.Append(nonVisualDrawingProperties42);
            nonVisualConnectionShapeProperties14.Append(nonVisualConnectorShapeDrawingProperties14);
            nonVisualConnectionShapeProperties14.Append(applicationNonVisualDrawingProperties42);

            ShapeProperties shapeProperties37 = new ShapeProperties();

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

            transform2D26.Append(offset31);
            transform2D26.Append(extents31);

            A.PresetGeometry presetGeometry19 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList19 = new A.AdjustValueList();

            presetGeometry19.Append(adjustValueList19);

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

            A.SolidFill solidFill71 = new A.SolidFill();
            A.SchemeColor schemeColor129 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill71.Append(schemeColor129);

            outline15.Append(solidFill71);

            shapeProperties37.Append(transform2D26);
            shapeProperties37.Append(presetGeometry19);
            shapeProperties37.Append(outline15);

            ShapeStyle shapeStyle14 = new ShapeStyle();

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

            lineReference14.Append(schemeColor130);

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

            fillReference14.Append(schemeColor131);

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

            effectReference14.Append(schemeColor132);

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

            fontReference14.Append(schemeColor133);

            shapeStyle14.Append(lineReference14);
            shapeStyle14.Append(fillReference14);
            shapeStyle14.Append(effectReference14);
            shapeStyle14.Append(fontReference14);

            connectionShape14.Append(nonVisualConnectionShapeProperties14);
            connectionShape14.Append(shapeProperties37);
            connectionShape14.Append(shapeStyle14);

            ConnectionShape connectionShape15 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties15 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties43 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties15 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties43 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties15.Append(nonVisualDrawingProperties43);
            nonVisualConnectionShapeProperties15.Append(nonVisualConnectorShapeDrawingProperties15);
            nonVisualConnectionShapeProperties15.Append(applicationNonVisualDrawingProperties43);

            ShapeProperties shapeProperties38 = new ShapeProperties();

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

            transform2D27.Append(offset32);
            transform2D27.Append(extents32);

            A.PresetGeometry presetGeometry20 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList20 = new A.AdjustValueList();

            presetGeometry20.Append(adjustValueList20);

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

            A.SolidFill solidFill72 = new A.SolidFill();
            A.SchemeColor schemeColor134 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill72.Append(schemeColor134);

            outline16.Append(solidFill72);

            shapeProperties38.Append(transform2D27);
            shapeProperties38.Append(presetGeometry20);
            shapeProperties38.Append(outline16);

            ShapeStyle shapeStyle15 = new ShapeStyle();

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

            lineReference15.Append(schemeColor135);

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

            fillReference15.Append(schemeColor136);

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

            effectReference15.Append(schemeColor137);

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

            fontReference15.Append(schemeColor138);

            shapeStyle15.Append(lineReference15);
            shapeStyle15.Append(fillReference15);
            shapeStyle15.Append(effectReference15);
            shapeStyle15.Append(fontReference15);

            connectionShape15.Append(nonVisualConnectionShapeProperties15);
            connectionShape15.Append(shapeProperties38);
            connectionShape15.Append(shapeStyle15);

            shapeTree5.Append(nonVisualGroupShapeProperties5);
            shapeTree5.Append(groupShapeProperties5);
            shapeTree5.Append(shape19);
            shapeTree5.Append(shape20);
            shapeTree5.Append(shape21);
            shapeTree5.Append(shape22);
            shapeTree5.Append(shape23);
            shapeTree5.Append(connectionShape11);
            shapeTree5.Append(connectionShape12);
            shapeTree5.Append(connectionShape13);
            shapeTree5.Append(connectionShape14);
            shapeTree5.Append(connectionShape15);

            CommonSlideDataExtensionList commonSlideDataExtensionList5 = new CommonSlideDataExtensionList();

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

            P14.CreationId creationId5 = new P14.CreationId(){ Val = (UInt32Value)283821911U };
            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);

            Timing timing5 = new Timing();

            TimeNodeList timeNodeList5 = new TimeNodeList();

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

            parallelTimeNode5.Append(commonTimeNode5);

            timeNodeList5.Append(parallelTimeNode5);

            timing5.Append(timeNodeList5);

            slideLayout3.Append(commonSlideData5);
            slideLayout3.Append(colorMapOverride4);
            slideLayout3.Append(timing5);

            slideLayoutPart3.SlideLayout = slideLayout3;
        }
Ejemplo n.º 26
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            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 commonSlideData4 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree4 = new ShapeTree();

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

            nonVisualGroupShapeProperties4.Append(nonVisualDrawingProperties16);
            nonVisualGroupShapeProperties4.Append(nonVisualGroupShapeDrawingProperties4);
            nonVisualGroupShapeProperties4.Append(applicationNonVisualDrawingProperties16);

            GroupShapeProperties groupShapeProperties4 = new GroupShapeProperties();

            A.TransformGroup transformGroup4 = new A.TransformGroup();
            A.Offset         offset11        = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents11 = 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(offset11);
            transformGroup4.Append(extents11);
            transformGroup4.Append(childOffset4);
            transformGroup4.Append(childExtents4);

            groupShapeProperties4.Append(transformGroup4);

            Shape shape13 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties13 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties13.Append(shapeLocks13);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties17 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape13 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Title
            };

            applicationNonVisualDrawingProperties17.Append(placeholderShape13);

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

            ShapeProperties shapeProperties13 = new ShapeProperties();

            A.Transform2D transform2D8 = new A.Transform2D();
            A.Offset      offset12     = new A.Offset()
            {
                X = 629841L, Y = 457200L
            };
            A.Extents extents12 = new A.Extents()
            {
                Cx = 2949178L, Cy = 1600200L
            };

            transform2D8.Append(offset12);
            transform2D8.Append(extents12);

            shapeProperties13.Append(transform2D8);

            TextBody textBody13 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties34     = new A.DefaultRunProperties()
            {
                FontSize = 3200
            };

            level1ParagraphProperties9.Append(defaultRunProperties34);

            listStyle13.Append(level1ParagraphProperties9);

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

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

            run19.Append(runProperties23);
            run19.Append(text23);
            A.EndParagraphRunProperties endParagraphRunProperties11 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph17.Append(run19);
            paragraph17.Append(endParagraphRunProperties11);

            textBody13.Append(bodyProperties13);
            textBody13.Append(listStyle13);
            textBody13.Append(paragraph17);

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

            Shape shape14 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties14 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties14.Append(shapeLocks14);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties18 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape14 = new PlaceholderShape()
            {
                Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties18.Append(placeholderShape14);

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

            ShapeProperties shapeProperties14 = new ShapeProperties();

            A.Transform2D transform2D9 = new A.Transform2D();
            A.Offset      offset13     = new A.Offset()
            {
                X = 3887391L, Y = 987426L
            };
            A.Extents extents13 = new A.Extents()
            {
                Cx = 4629150L, Cy = 4873625L
            };

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

            shapeProperties14.Append(transform2D9);

            TextBody textBody14 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties10 = new A.Level1ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties35      = new A.DefaultRunProperties()
            {
                FontSize = 3200
            };

            level1ParagraphProperties10.Append(defaultRunProperties35);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties36     = new A.DefaultRunProperties()
            {
                FontSize = 2800
            };

            level2ParagraphProperties4.Append(defaultRunProperties36);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties37     = new A.DefaultRunProperties()
            {
                FontSize = 2400
            };

            level3ParagraphProperties4.Append(defaultRunProperties37);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties38     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level4ParagraphProperties4.Append(defaultRunProperties38);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties39     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level5ParagraphProperties4.Append(defaultRunProperties39);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties40     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level6ParagraphProperties4.Append(defaultRunProperties40);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties41     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level7ParagraphProperties4.Append(defaultRunProperties41);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties42     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level8ParagraphProperties4.Append(defaultRunProperties42);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties();
            A.DefaultRunProperties      defaultRunProperties43     = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level9ParagraphProperties4.Append(defaultRunProperties43);

            listStyle14.Append(level1ParagraphProperties10);
            listStyle14.Append(level2ParagraphProperties4);
            listStyle14.Append(level3ParagraphProperties4);
            listStyle14.Append(level4ParagraphProperties4);
            listStyle14.Append(level5ParagraphProperties4);
            listStyle14.Append(level6ParagraphProperties4);
            listStyle14.Append(level7ParagraphProperties4);
            listStyle14.Append(level8ParagraphProperties4);
            listStyle14.Append(level9ParagraphProperties4);

            A.Paragraph           paragraph18          = new A.Paragraph();
            A.ParagraphProperties paragraphProperties6 = new A.ParagraphProperties()
            {
                Level = 0
            };

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

            run20.Append(runProperties24);
            run20.Append(text24);

            paragraph18.Append(paragraphProperties6);
            paragraph18.Append(run20);

            A.Paragraph           paragraph19          = new A.Paragraph();
            A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run21           = new A.Run();
            A.RunProperties runProperties25 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text25 = new A.Text();
            text25.Text = "第 ";

            run21.Append(runProperties25);
            run21.Append(text25);

            A.Run           run22           = new A.Run();
            A.RunProperties runProperties26 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text26 = new A.Text();
            text26.Text = "2 ";

            run22.Append(runProperties26);
            run22.Append(text26);

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

            run23.Append(runProperties27);
            run23.Append(text27);

            paragraph19.Append(paragraphProperties7);
            paragraph19.Append(run21);
            paragraph19.Append(run22);
            paragraph19.Append(run23);

            A.Paragraph           paragraph20          = new A.Paragraph();
            A.ParagraphProperties paragraphProperties8 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run24           = new A.Run();
            A.RunProperties runProperties28 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text28 = new A.Text();
            text28.Text = "第 ";

            run24.Append(runProperties28);
            run24.Append(text28);

            A.Run           run25           = new A.Run();
            A.RunProperties runProperties29 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text29 = new A.Text();
            text29.Text = "3 ";

            run25.Append(runProperties29);
            run25.Append(text29);

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

            run26.Append(runProperties30);
            run26.Append(text30);

            paragraph20.Append(paragraphProperties8);
            paragraph20.Append(run24);
            paragraph20.Append(run25);
            paragraph20.Append(run26);

            A.Paragraph           paragraph21          = new A.Paragraph();
            A.ParagraphProperties paragraphProperties9 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run27           = new A.Run();
            A.RunProperties runProperties31 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text31 = new A.Text();
            text31.Text = "第 ";

            run27.Append(runProperties31);
            run27.Append(text31);

            A.Run           run28           = new A.Run();
            A.RunProperties runProperties32 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text32 = new A.Text();
            text32.Text = "4 ";

            run28.Append(runProperties32);
            run28.Append(text32);

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

            run29.Append(runProperties33);
            run29.Append(text33);

            paragraph21.Append(paragraphProperties9);
            paragraph21.Append(run27);
            paragraph21.Append(run28);
            paragraph21.Append(run29);

            A.Paragraph           paragraph22           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties10 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run30           = new A.Run();
            A.RunProperties runProperties34 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text34 = new A.Text();
            text34.Text = "第 ";

            run30.Append(runProperties34);
            run30.Append(text34);

            A.Run           run31           = new A.Run();
            A.RunProperties runProperties35 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text35 = new A.Text();
            text35.Text = "5 ";

            run31.Append(runProperties35);
            run31.Append(text35);

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

            run32.Append(runProperties36);
            run32.Append(text36);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph22.Append(paragraphProperties10);
            paragraph22.Append(run30);
            paragraph22.Append(run31);
            paragraph22.Append(run32);
            paragraph22.Append(endParagraphRunProperties12);

            textBody14.Append(bodyProperties14);
            textBody14.Append(listStyle14);
            textBody14.Append(paragraph18);
            textBody14.Append(paragraph19);
            textBody14.Append(paragraph20);
            textBody14.Append(paragraph21);
            textBody14.Append(paragraph22);

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

            Shape shape15 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties15 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties15.Append(shapeLocks15);

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

            applicationNonVisualDrawingProperties19.Append(placeholderShape15);

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

            ShapeProperties shapeProperties15 = new ShapeProperties();

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset      offset14      = new A.Offset()
            {
                X = 629841L, Y = 2057400L
            };
            A.Extents extents14 = new A.Extents()
            {
                Cx = 2949178L, Cy = 3811588L
            };

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

            shapeProperties15.Append(transform2D10);

            TextBody textBody15 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties11 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0
            };
            A.NoBullet             noBullet11             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties44 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level1ParagraphProperties11.Append(noBullet11);
            level1ParagraphProperties11.Append(defaultRunProperties44);

            A.Level2ParagraphProperties level2ParagraphProperties5 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Indent = 0
            };
            A.NoBullet             noBullet12             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties45 = new A.DefaultRunProperties()
            {
                FontSize = 1400
            };

            level2ParagraphProperties5.Append(noBullet12);
            level2ParagraphProperties5.Append(defaultRunProperties45);

            A.Level3ParagraphProperties level3ParagraphProperties5 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Indent = 0
            };
            A.NoBullet             noBullet13             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties46 = new A.DefaultRunProperties()
            {
                FontSize = 1200
            };

            level3ParagraphProperties5.Append(noBullet13);
            level3ParagraphProperties5.Append(defaultRunProperties46);

            A.Level4ParagraphProperties level4ParagraphProperties5 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Indent = 0
            };
            A.NoBullet             noBullet14             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties47 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level4ParagraphProperties5.Append(noBullet14);
            level4ParagraphProperties5.Append(defaultRunProperties47);

            A.Level5ParagraphProperties level5ParagraphProperties5 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Indent = 0
            };
            A.NoBullet             noBullet15             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties48 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level5ParagraphProperties5.Append(noBullet15);
            level5ParagraphProperties5.Append(defaultRunProperties48);

            A.Level6ParagraphProperties level6ParagraphProperties5 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Indent = 0
            };
            A.NoBullet             noBullet16             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties49 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level6ParagraphProperties5.Append(noBullet16);
            level6ParagraphProperties5.Append(defaultRunProperties49);

            A.Level7ParagraphProperties level7ParagraphProperties5 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Indent = 0
            };
            A.NoBullet             noBullet17             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties50 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level7ParagraphProperties5.Append(noBullet17);
            level7ParagraphProperties5.Append(defaultRunProperties50);

            A.Level8ParagraphProperties level8ParagraphProperties5 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Indent = 0
            };
            A.NoBullet             noBullet18             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties51 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level8ParagraphProperties5.Append(noBullet18);
            level8ParagraphProperties5.Append(defaultRunProperties51);

            A.Level9ParagraphProperties level9ParagraphProperties5 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Indent = 0
            };
            A.NoBullet             noBullet19             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties52 = new A.DefaultRunProperties()
            {
                FontSize = 1000
            };

            level9ParagraphProperties5.Append(noBullet19);
            level9ParagraphProperties5.Append(defaultRunProperties52);

            listStyle15.Append(level1ParagraphProperties11);
            listStyle15.Append(level2ParagraphProperties5);
            listStyle15.Append(level3ParagraphProperties5);
            listStyle15.Append(level4ParagraphProperties5);
            listStyle15.Append(level5ParagraphProperties5);
            listStyle15.Append(level6ParagraphProperties5);
            listStyle15.Append(level7ParagraphProperties5);
            listStyle15.Append(level8ParagraphProperties5);
            listStyle15.Append(level9ParagraphProperties5);

            A.Paragraph           paragraph23           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties11 = new A.ParagraphProperties()
            {
                Level = 0
            };

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

            run33.Append(runProperties37);
            run33.Append(text37);

            paragraph23.Append(paragraphProperties11);
            paragraph23.Append(run33);

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

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

            Shape shape16 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties16 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties16.Append(shapeLocks16);

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

            applicationNonVisualDrawingProperties20.Append(placeholderShape16);

            nonVisualShapeProperties16.Append(nonVisualDrawingProperties20);
            nonVisualShapeProperties16.Append(nonVisualShapeDrawingProperties16);
            nonVisualShapeProperties16.Append(applicationNonVisualDrawingProperties20);
            ShapeProperties shapeProperties16 = new ShapeProperties();

            TextBody textBody16 = new TextBody();

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

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

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

            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 = "2018/5/3";

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

            paragraph24.Append(field5);
            paragraph24.Append(endParagraphRunProperties13);

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

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

            Shape shape17 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties17 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties17.Append(shapeLocks17);

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

            applicationNonVisualDrawingProperties21.Append(placeholderShape17);

            nonVisualShapeProperties17.Append(nonVisualDrawingProperties21);
            nonVisualShapeProperties17.Append(nonVisualShapeDrawingProperties17);
            nonVisualShapeProperties17.Append(applicationNonVisualDrawingProperties21);
            ShapeProperties shapeProperties17 = new ShapeProperties();

            TextBody textBody17 = new TextBody();

            A.BodyProperties bodyProperties17 = new A.BodyProperties();
            A.ListStyle      listStyle17      = new A.ListStyle();

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

            paragraph25.Append(endParagraphRunProperties14);

            textBody17.Append(bodyProperties17);
            textBody17.Append(listStyle17);
            textBody17.Append(paragraph25);

            shape17.Append(nonVisualShapeProperties17);
            shape17.Append(shapeProperties17);
            shape17.Append(textBody17);

            Shape shape18 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties18 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties18.Append(shapeLocks18);

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

            applicationNonVisualDrawingProperties22.Append(placeholderShape18);

            nonVisualShapeProperties18.Append(nonVisualDrawingProperties22);
            nonVisualShapeProperties18.Append(nonVisualShapeDrawingProperties18);
            nonVisualShapeProperties18.Append(applicationNonVisualDrawingProperties22);
            ShapeProperties shapeProperties18 = new ShapeProperties();

            TextBody textBody18 = new TextBody();

            A.BodyProperties bodyProperties18 = new A.BodyProperties();
            A.ListStyle      listStyle18      = new A.ListStyle();

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

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

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

            field6.Append(runProperties39);
            field6.Append(text39);
            A.EndParagraphRunProperties endParagraphRunProperties15 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph26.Append(field6);
            paragraph26.Append(endParagraphRunProperties15);

            textBody18.Append(bodyProperties18);
            textBody18.Append(listStyle18);
            textBody18.Append(paragraph26);

            shape18.Append(nonVisualShapeProperties18);
            shape18.Append(shapeProperties18);
            shape18.Append(textBody18);

            shapeTree4.Append(nonVisualGroupShapeProperties4);
            shapeTree4.Append(groupShapeProperties4);
            shapeTree4.Append(shape13);
            shapeTree4.Append(shape14);
            shapeTree4.Append(shape15);
            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)539195624U
            };
            creationId4.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension4.Append(creationId4);

            commonSlideDataExtensionList4.Append(commonSlideDataExtension4);

            commonSlideData4.Append(shapeTree4);
            commonSlideData4.Append(commonSlideDataExtensionList4);

            ColorMapOverride colorMapOverride3 = new ColorMapOverride();

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

            colorMapOverride3.Append(masterColorMapping3);

            slideLayout2.Append(commonSlideData4);
            slideLayout2.Append(colorMapOverride3);

            slideLayoutPart.SlideLayout = slideLayout2;

            return(slideLayoutPart);
        }
Ejemplo n.º 27
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);
        }
Ejemplo n.º 28
0
        // Generates content of slideLayoutPart4.
        private void GenerateSlideLayoutPart4Content(SlideLayoutPart slideLayoutPart4)
        {
            SlideLayout slideLayout4 = new SlideLayout(){ Type = SlideLayoutValues.SectionHeader, 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 commonSlideData6 = new CommonSlideData(){ Name = "Section Header" };

            ShapeTree shapeTree6 = new ShapeTree();

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

            nonVisualGroupShapeProperties6.Append(nonVisualDrawingProperties44);
            nonVisualGroupShapeProperties6.Append(nonVisualGroupShapeDrawingProperties6);
            nonVisualGroupShapeProperties6.Append(applicationNonVisualDrawingProperties44);

            GroupShapeProperties groupShapeProperties6 = new GroupShapeProperties();

            A.TransformGroup transformGroup6 = new A.TransformGroup();
            A.Offset offset33 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents33 = 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(offset33);
            transformGroup6.Append(extents33);
            transformGroup6.Append(childOffset6);
            transformGroup6.Append(childExtents6);

            groupShapeProperties6.Append(transformGroup6);

            Shape shape24 = new Shape();

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

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

            nonVisualShapeDrawingProperties24.Append(shapeLocks24);

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

            applicationNonVisualDrawingProperties45.Append(placeholderShape24);

            nonVisualShapeProperties24.Append(nonVisualDrawingProperties45);
            nonVisualShapeProperties24.Append(nonVisualShapeDrawingProperties24);
            nonVisualShapeProperties24.Append(applicationNonVisualDrawingProperties45);

            ShapeProperties shapeProperties39 = new ShapeProperties();

            A.Transform2D transform2D28 = new A.Transform2D();
            A.Offset offset34 = new A.Offset(){ X = 684390L, Y = 2006600L };
            A.Extents extents34 = new A.Extents(){ Cx = 8536624L, Cy = 2281600L };

            transform2D28.Append(offset34);
            transform2D28.Append(extents34);

            shapeProperties39.Append(transform2D28);

            TextBody textBody24 = new TextBody();

            A.BodyProperties bodyProperties24 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit10 = new A.NormalAutoFit();

            bodyProperties24.Append(normalAutoFit10);

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

            A.Level1ParagraphProperties level1ParagraphProperties15 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties81 = new A.DefaultRunProperties(){ FontSize = 3600, Bold = false, Capital = A.TextCapsValues.All };

            level1ParagraphProperties15.Append(defaultRunProperties81);

            listStyle24.Append(level1ParagraphProperties15);

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

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

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

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

            paragraph32.Append(run21);
            paragraph32.Append(endParagraphRunProperties22);

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

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

            Shape shape25 = new Shape();

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

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

            nonVisualShapeDrawingProperties25.Append(shapeLocks25);

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

            applicationNonVisualDrawingProperties46.Append(placeholderShape25);

            nonVisualShapeProperties25.Append(nonVisualDrawingProperties46);
            nonVisualShapeProperties25.Append(nonVisualShapeDrawingProperties25);
            nonVisualShapeProperties25.Append(applicationNonVisualDrawingProperties46);

            ShapeProperties shapeProperties40 = new ShapeProperties();

            A.Transform2D transform2D29 = new A.Transform2D();
            A.Offset offset35 = new A.Offset(){ X = 684391L, Y = 4495800L };
            A.Extents extents35 = new A.Extents(){ Cx = 8536623L, Cy = 1498600L };

            transform2D29.Append(offset35);
            transform2D29.Append(extents35);

            shapeProperties40.Append(transform2D29);

            TextBody textBody25 = new TextBody();

            A.BodyProperties bodyProperties25 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit11 = new A.NormalAutoFit();

            bodyProperties25.Append(normalAutoFit11);

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

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

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

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

            A.SchemeColor schemeColor152 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };
            A.LuminanceModulation luminanceModulation18 = new A.LuminanceModulation(){ Val = 75000 };

            schemeColor152.Append(luminanceModulation18);

            solidFill78.Append(schemeColor152);

            defaultRunProperties82.Append(solidFill78);

            level1ParagraphProperties16.Append(noBullet29);
            level1ParagraphProperties16.Append(defaultRunProperties82);

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

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

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

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

            schemeColor153.Append(tint23);

            solidFill79.Append(schemeColor153);

            defaultRunProperties83.Append(solidFill79);

            level2ParagraphProperties9.Append(noBullet30);
            level2ParagraphProperties9.Append(defaultRunProperties83);

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

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

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

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

            schemeColor154.Append(tint24);

            solidFill80.Append(schemeColor154);

            defaultRunProperties84.Append(solidFill80);

            level3ParagraphProperties9.Append(noBullet31);
            level3ParagraphProperties9.Append(defaultRunProperties84);

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

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

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

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

            schemeColor155.Append(tint25);

            solidFill81.Append(schemeColor155);

            defaultRunProperties85.Append(solidFill81);

            level4ParagraphProperties9.Append(noBullet32);
            level4ParagraphProperties9.Append(defaultRunProperties85);

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

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

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

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

            schemeColor156.Append(tint26);

            solidFill82.Append(schemeColor156);

            defaultRunProperties86.Append(solidFill82);

            level5ParagraphProperties9.Append(noBullet33);
            level5ParagraphProperties9.Append(defaultRunProperties86);

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

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

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

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

            schemeColor157.Append(tint27);

            solidFill83.Append(schemeColor157);

            defaultRunProperties87.Append(solidFill83);

            level6ParagraphProperties9.Append(noBullet34);
            level6ParagraphProperties9.Append(defaultRunProperties87);

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

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

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

            A.SchemeColor schemeColor158 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint28 = new A.Tint(){ Val = 75000 };

            schemeColor158.Append(tint28);

            solidFill84.Append(schemeColor158);

            defaultRunProperties88.Append(solidFill84);

            level7ParagraphProperties9.Append(noBullet35);
            level7ParagraphProperties9.Append(defaultRunProperties88);

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

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

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

            A.SchemeColor schemeColor159 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint29 = new A.Tint(){ Val = 75000 };

            schemeColor159.Append(tint29);

            solidFill85.Append(schemeColor159);

            defaultRunProperties89.Append(solidFill85);

            level8ParagraphProperties9.Append(noBullet36);
            level8ParagraphProperties9.Append(defaultRunProperties89);

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

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

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

            A.SchemeColor schemeColor160 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Tint tint30 = new A.Tint(){ Val = 75000 };

            schemeColor160.Append(tint30);

            solidFill86.Append(schemeColor160);

            defaultRunProperties90.Append(solidFill86);

            level9ParagraphProperties9.Append(noBullet37);
            level9ParagraphProperties9.Append(defaultRunProperties90);

            listStyle25.Append(level1ParagraphProperties16);
            listStyle25.Append(level2ParagraphProperties9);
            listStyle25.Append(level3ParagraphProperties9);
            listStyle25.Append(level4ParagraphProperties9);
            listStyle25.Append(level5ParagraphProperties9);
            listStyle25.Append(level6ParagraphProperties9);
            listStyle25.Append(level7ParagraphProperties9);
            listStyle25.Append(level8ParagraphProperties9);
            listStyle25.Append(level9ParagraphProperties9);

            A.Paragraph paragraph33 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties13 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run22.Append(runProperties30);
            run22.Append(text30);

            paragraph33.Append(paragraphProperties13);
            paragraph33.Append(run22);

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

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

            Shape shape26 = new Shape();

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

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

            nonVisualShapeDrawingProperties26.Append(shapeLocks26);

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

            applicationNonVisualDrawingProperties47.Append(placeholderShape26);

            nonVisualShapeProperties26.Append(nonVisualDrawingProperties47);
            nonVisualShapeProperties26.Append(nonVisualShapeDrawingProperties26);
            nonVisualShapeProperties26.Append(applicationNonVisualDrawingProperties47);
            ShapeProperties shapeProperties41 = new ShapeProperties();

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

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

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

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

            field9.Append(runProperties31);
            field9.Append(text31);
            A.EndParagraphRunProperties endParagraphRunProperties23 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph34.Append(field9);
            paragraph34.Append(endParagraphRunProperties23);

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

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

            Shape shape27 = new Shape();

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

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

            nonVisualShapeDrawingProperties27.Append(shapeLocks27);

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

            applicationNonVisualDrawingProperties48.Append(placeholderShape27);

            nonVisualShapeProperties27.Append(nonVisualDrawingProperties48);
            nonVisualShapeProperties27.Append(nonVisualShapeDrawingProperties27);
            nonVisualShapeProperties27.Append(applicationNonVisualDrawingProperties48);
            ShapeProperties shapeProperties42 = 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.EndParagraphRunProperties endParagraphRunProperties24 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph35.Append(endParagraphRunProperties24);

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

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

            Shape shape28 = new Shape();

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

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

            nonVisualShapeDrawingProperties28.Append(shapeLocks28);

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

            applicationNonVisualDrawingProperties49.Append(placeholderShape28);

            nonVisualShapeProperties28.Append(nonVisualDrawingProperties49);
            nonVisualShapeProperties28.Append(nonVisualShapeDrawingProperties28);
            nonVisualShapeProperties28.Append(applicationNonVisualDrawingProperties49);
            ShapeProperties shapeProperties43 = 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.Field field10 = new A.Field(){ Id = "{D107CD50-7081-433F-A1F2-156B4E14F4F4}", Type = "slidenum" };

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

            field10.Append(runProperties32);
            field10.Append(text32);
            A.EndParagraphRunProperties endParagraphRunProperties25 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph36.Append(field10);
            paragraph36.Append(endParagraphRunProperties25);

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

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

            ConnectionShape connectionShape16 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties16 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties50 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties16 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties50 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties16.Append(nonVisualDrawingProperties50);
            nonVisualConnectionShapeProperties16.Append(nonVisualConnectorShapeDrawingProperties16);
            nonVisualConnectionShapeProperties16.Append(applicationNonVisualDrawingProperties50);

            ShapeProperties shapeProperties44 = new ShapeProperties();

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

            transform2D30.Append(offset36);
            transform2D30.Append(extents36);

            A.PresetGeometry presetGeometry21 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList21 = new A.AdjustValueList();

            presetGeometry21.Append(adjustValueList21);

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

            A.SolidFill solidFill87 = new A.SolidFill();
            A.SchemeColor schemeColor161 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill87.Append(schemeColor161);

            outline20.Append(solidFill87);

            shapeProperties44.Append(transform2D30);
            shapeProperties44.Append(presetGeometry21);
            shapeProperties44.Append(outline20);

            ShapeStyle shapeStyle16 = new ShapeStyle();

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

            lineReference16.Append(schemeColor162);

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

            fillReference16.Append(schemeColor163);

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

            effectReference16.Append(schemeColor164);

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

            fontReference16.Append(schemeColor165);

            shapeStyle16.Append(lineReference16);
            shapeStyle16.Append(fillReference16);
            shapeStyle16.Append(effectReference16);
            shapeStyle16.Append(fontReference16);

            connectionShape16.Append(nonVisualConnectionShapeProperties16);
            connectionShape16.Append(shapeProperties44);
            connectionShape16.Append(shapeStyle16);

            ConnectionShape connectionShape17 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties17 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties51 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties17 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties51 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties17.Append(nonVisualDrawingProperties51);
            nonVisualConnectionShapeProperties17.Append(nonVisualConnectorShapeDrawingProperties17);
            nonVisualConnectionShapeProperties17.Append(applicationNonVisualDrawingProperties51);

            ShapeProperties shapeProperties45 = new ShapeProperties();

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

            transform2D31.Append(offset37);
            transform2D31.Append(extents37);

            A.PresetGeometry presetGeometry22 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList22 = new A.AdjustValueList();

            presetGeometry22.Append(adjustValueList22);

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

            A.SolidFill solidFill88 = new A.SolidFill();
            A.SchemeColor schemeColor166 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill88.Append(schemeColor166);

            outline21.Append(solidFill88);

            shapeProperties45.Append(transform2D31);
            shapeProperties45.Append(presetGeometry22);
            shapeProperties45.Append(outline21);

            ShapeStyle shapeStyle17 = new ShapeStyle();

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

            lineReference17.Append(schemeColor167);

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

            fillReference17.Append(schemeColor168);

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

            effectReference17.Append(schemeColor169);

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

            fontReference17.Append(schemeColor170);

            shapeStyle17.Append(lineReference17);
            shapeStyle17.Append(fillReference17);
            shapeStyle17.Append(effectReference17);
            shapeStyle17.Append(fontReference17);

            connectionShape17.Append(nonVisualConnectionShapeProperties17);
            connectionShape17.Append(shapeProperties45);
            connectionShape17.Append(shapeStyle17);

            ConnectionShape connectionShape18 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties18 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties52 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties18 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties52 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties18.Append(nonVisualDrawingProperties52);
            nonVisualConnectionShapeProperties18.Append(nonVisualConnectorShapeDrawingProperties18);
            nonVisualConnectionShapeProperties18.Append(applicationNonVisualDrawingProperties52);

            ShapeProperties shapeProperties46 = new ShapeProperties();

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

            transform2D32.Append(offset38);
            transform2D32.Append(extents38);

            A.PresetGeometry presetGeometry23 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList23 = new A.AdjustValueList();

            presetGeometry23.Append(adjustValueList23);

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

            A.SolidFill solidFill89 = new A.SolidFill();
            A.SchemeColor schemeColor171 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill89.Append(schemeColor171);

            outline22.Append(solidFill89);

            shapeProperties46.Append(transform2D32);
            shapeProperties46.Append(presetGeometry23);
            shapeProperties46.Append(outline22);

            ShapeStyle shapeStyle18 = new ShapeStyle();

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

            lineReference18.Append(schemeColor172);

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

            fillReference18.Append(schemeColor173);

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

            effectReference18.Append(schemeColor174);

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

            fontReference18.Append(schemeColor175);

            shapeStyle18.Append(lineReference18);
            shapeStyle18.Append(fillReference18);
            shapeStyle18.Append(effectReference18);
            shapeStyle18.Append(fontReference18);

            connectionShape18.Append(nonVisualConnectionShapeProperties18);
            connectionShape18.Append(shapeProperties46);
            connectionShape18.Append(shapeStyle18);

            ConnectionShape connectionShape19 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties19 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties53 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties19 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties53 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties19.Append(nonVisualDrawingProperties53);
            nonVisualConnectionShapeProperties19.Append(nonVisualConnectorShapeDrawingProperties19);
            nonVisualConnectionShapeProperties19.Append(applicationNonVisualDrawingProperties53);

            ShapeProperties shapeProperties47 = new ShapeProperties();

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

            transform2D33.Append(offset39);
            transform2D33.Append(extents39);

            A.PresetGeometry presetGeometry24 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList24 = new A.AdjustValueList();

            presetGeometry24.Append(adjustValueList24);

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

            A.SolidFill solidFill90 = new A.SolidFill();
            A.SchemeColor schemeColor176 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill90.Append(schemeColor176);

            outline23.Append(solidFill90);

            shapeProperties47.Append(transform2D33);
            shapeProperties47.Append(presetGeometry24);
            shapeProperties47.Append(outline23);

            ShapeStyle shapeStyle19 = new ShapeStyle();

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

            lineReference19.Append(schemeColor177);

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

            fillReference19.Append(schemeColor178);

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

            effectReference19.Append(schemeColor179);

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

            fontReference19.Append(schemeColor180);

            shapeStyle19.Append(lineReference19);
            shapeStyle19.Append(fillReference19);
            shapeStyle19.Append(effectReference19);
            shapeStyle19.Append(fontReference19);

            connectionShape19.Append(nonVisualConnectionShapeProperties19);
            connectionShape19.Append(shapeProperties47);
            connectionShape19.Append(shapeStyle19);

            ConnectionShape connectionShape20 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties20 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties54 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties20 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties54 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties20.Append(nonVisualDrawingProperties54);
            nonVisualConnectionShapeProperties20.Append(nonVisualConnectorShapeDrawingProperties20);
            nonVisualConnectionShapeProperties20.Append(applicationNonVisualDrawingProperties54);

            ShapeProperties shapeProperties48 = new ShapeProperties();

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

            transform2D34.Append(offset40);
            transform2D34.Append(extents40);

            A.PresetGeometry presetGeometry25 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList25 = new A.AdjustValueList();

            presetGeometry25.Append(adjustValueList25);

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

            A.SolidFill solidFill91 = new A.SolidFill();
            A.SchemeColor schemeColor181 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill91.Append(schemeColor181);

            outline24.Append(solidFill91);

            shapeProperties48.Append(transform2D34);
            shapeProperties48.Append(presetGeometry25);
            shapeProperties48.Append(outline24);

            ShapeStyle shapeStyle20 = new ShapeStyle();

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

            lineReference20.Append(schemeColor182);

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

            fillReference20.Append(schemeColor183);

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

            effectReference20.Append(schemeColor184);

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

            fontReference20.Append(schemeColor185);

            shapeStyle20.Append(lineReference20);
            shapeStyle20.Append(fillReference20);
            shapeStyle20.Append(effectReference20);
            shapeStyle20.Append(fontReference20);

            connectionShape20.Append(nonVisualConnectionShapeProperties20);
            connectionShape20.Append(shapeProperties48);
            connectionShape20.Append(shapeStyle20);

            shapeTree6.Append(nonVisualGroupShapeProperties6);
            shapeTree6.Append(groupShapeProperties6);
            shapeTree6.Append(shape24);
            shapeTree6.Append(shape25);
            shapeTree6.Append(shape26);
            shapeTree6.Append(shape27);
            shapeTree6.Append(shape28);
            shapeTree6.Append(connectionShape16);
            shapeTree6.Append(connectionShape17);
            shapeTree6.Append(connectionShape18);
            shapeTree6.Append(connectionShape19);
            shapeTree6.Append(connectionShape20);

            CommonSlideDataExtensionList commonSlideDataExtensionList6 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension6.Append(creationId6);

            commonSlideDataExtensionList6.Append(commonSlideDataExtension6);

            commonSlideData6.Append(shapeTree6);
            commonSlideData6.Append(commonSlideDataExtensionList6);

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

            colorMapOverride5.Append(masterColorMapping5);

            Timing timing6 = new Timing();

            TimeNodeList timeNodeList6 = new TimeNodeList();

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

            parallelTimeNode6.Append(commonTimeNode6);

            timeNodeList6.Append(parallelTimeNode6);

            timing6.Append(timeNodeList6);

            slideLayout4.Append(commonSlideData6);
            slideLayout4.Append(colorMapOverride5);
            slideLayout4.Append(timing6);

            slideLayoutPart4.SlideLayout = slideLayout4;
        }
Ejemplo n.º 29
0
        // Generates content of slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

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

            CommonSlideData 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;
        }
Ejemplo n.º 32
0
        // 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;
        }
Ejemplo n.º 33
0
        // 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;
        }
Ejemplo n.º 34
0
        // 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;
        }
Ejemplo n.º 35
0
        // 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;
        }
Ejemplo n.º 36
0
        // 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;
        }
Ejemplo n.º 37
0
        // 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;
        }
Ejemplo n.º 38
0
        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);
        }
Ejemplo n.º 39
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);
        }
Ejemplo n.º 40
0
        // 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;
        }
Ejemplo n.º 41
0
    protected void GetLetter(string xml, DateTime dtExam, DateTime dob, string doctorName)
    {
        Run run;

        dict = WebUtil.GetDictionary(xml, false);


        bool premature = false;

        if (dict["BirthHist1"] == "Premature")
            premature = true;

        if (dict.ContainsKey("Premature"))
            premature = Convert.ToBoolean(dict["Premature"]);


        int patientMonths = monthDifference(dob, DateTime.Now);

        if (patientMonths >= 6)
            premature = false;

        paragraph = new Paragraph();
        ParagraphProperties paraProperties = new ParagraphProperties();
        paraProperties.Append(new Justification() { Val = JustificationValues.Left });
        paraProperties.Append(new SpacingBetweenLines() { Before="0", After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto });
        paraProperties.Append(new ParagraphBorders(new BottomBorder() { Val = BorderValues.Single, Size = UInt32Value.FromUInt32(12) }));
        paragraph.Append(paraProperties);
        
        paragraph.Append(GetTextRun(doctorName, "Cambria", 24, true, false, 1));
        //paragraph.Append(GetTextRun("", "Cambria", 10, false, false, 1));
        paragraph.Append(GetTextRun("Pediatric Ophthalmology of New York, P.C", "Cambria", 30, true, false, 0));
        //paragraph.Append(GetTextRun("", "Century Gothic", 3, false, false, 2));
        body.Append(paragraph);

        //EXAMDATE
        run = GetParaRun();
        run.Append(new Text(dtExam.ToString("MMMM dd, yyyy")));

        TableRow trLetter;

        trLetter = GetTable(false);

        AppendTableCell(trLetter, "Patient Name", "Greeting", "FirstName", "MiddleName", "LastName");
        AppendTableCell(trLetter, "DOB", "DOB");
        AppendTableCell(trLetter, "Age", "tbAge");
        AppendTableCell(trLetter, "Sex", "Sex");
        AppendTableCell(trLetter, "Premature", "Premature");

        trLetter = GetTable(true);
        AppendTableCell(trLetter, "Hx From", "HxFrom");
        AppendTableCell(trLetter, "Ref'd By", "Refd");
        AppendTableCell(trLetter, "Ref'd Dr", "RefDoctor");

        trLetter = GetTable(true);
        AppendTableCell(trLetter, "Allergies", "Allergies");
        AppendTableCell(trLetter, "Grade Level/Occupation", "Occupation");

        run = GetParaRun();
        //CHIEFCO & subjhx
        AppendLine("Chief Complaint", "Compliant");
        AppendLine("History", "SubjectiveHistory");
        AppendLine("Mentation", "Mentation1", "Mentation2");

        //Past Ocular/Medical History
        AppendHeadLine("Past Ocular/Medical History", true, true, 4);
        trLetter = GetTable(true);
        AppendTableCell(trLetter, "", "");
        AppendLine("Glasses since", "Glasses1", "Glasses2");
        AppendLine("Last Exam", "LastExam", "LastExamElse");
        AppendLine("Contact Lens Hx", "ContactLens1", "ContactLens2");
        AppendLine("Disease/Trauma", "DiseaseTrauma1", "DiseaseTrauma2", "DiseaseTrauma3", "DiseaseTrauma4", "DiseaseTrauma5", "DiseaseTrauma6");
        AppendLine("Surgery/Treatment", "SurgeryTreatment1", "SurgeryTreatment2", "SurgeryTreatment3", "SurgeryTreatment4", "SurgeryTreatment5");
        AppendTableCell(trLetter, "", "");
        AppendLine("Medications", "Medications");
        AppendLine("PMH", "PMH1", "PMH2", "PMH3", "PHM4");
        AppendLine("Birth Hx", "BirthHist1", "BirthHist2");
        AppendLine("GA", "GA", "BirthHist3");
        AppendLine("PC Age", "PCA");
        AppendLine("Birth Wt", "BirthWt");
        AppendLine("Development Hx", "DevelopHist1", "DevelopHist2", "DevelopHist3", "DevelopHist4");
        AppendLine("Family Hx", "FH1", "FH2", "FH3", "FH4", "FH5", "FH6");


        //Acuity/VF/Pupils
        //run = GetParaRun();
        AppendHeadLine("Acuity", true, true, 4);
        if (DataExists("VisualAcuity", "Binocsc1", "Binocsc2"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("Tested with", "VisualAcuity");
            AppendTableCell(trLetter, "", "");
            AppendLine("BINOC sc Dist", "Binocsc1", "Binocsc2");
        }
        if (DataExists("VAscOD1", "VAscOD2", "DistOS1", "DistOS2", "VAccOD1", "VAccOD2", "DistOS3", "DistOS4", "VAOD1", "VAOD2", "NearOS1", "NearOS2"))
        {
            trLetter = GetTable(true);
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA sc Dist", "VAscOD1", "VAscOD2", "DistOS1", "DistOS2", "NoPref");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA cc Dist", "VAccOD1", "VAccOD2", "DistOS3", "DistOS4", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA Near", "VAOD1", "VAOD2", "NearOS1", "NearOS2", "");
        }
        if (DataExists("SpcWr1OD", "SpcWr1OS", "SpcWr2OD", "SpcWr2OS", "SpcWr3OD", "SpcWr3OS"))
        {
            trLetter = GetTable(true);
            AppendTableCell(trLetter, "", "");
            AppendVALine("Spc Wr1", "SpcWr1OD", "", "SpcWr1OS", "", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("Spc Wr2", "SpcWr2OD", "", "SpcWr2OS", "", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("Spc Wr3", "SpcWr3OD", "", "SpcWr3OS", "", "");
        }

        if (DataExists("ManRfxOD1", "ManRfxOD2", "ManRfxOS1", "ManRfxOS2", "ManVAOD1", "ManVAOD2", "ManVSOS1", "ManVSOS2"
                    , "CycRfxOD", "CycRfxOS", "CycVAOD3", "CycVAOD4", "CycVSOS1", "CycVSOS2"))
        {
            trLetter = GetTable(true);
            AppendTableCell(trLetter, "", "");
            AppendVALine("Man Rfx", "ManRfxOD1", "ManRfxOD2", "ManRfxOS1", "ManRfxOS2", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA", "ManVAOD1", "ManVAOD2", "ManVSOS1", "ManVSOS2", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("Cyc Rfx", "CycRfxOD", "", "CycRfxOS", "", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA", "CycVAOD3", "CycVAOD4", "CycVSOS1", "CycVSOS2", "");
        }

        if (DataExists("LastManRfxOD1", "LastManRfxOD2", "LastManRfxOS1", "LastManRfxOS2"
            , "LastManVAOD1", "LastManVAOD2", "LastManVSOS1", "LastManVSOS2", "LastCycRfxOD", "LastCycRfxOS"
            , "LastCycVAOD3", "LastCycVAOD4", "LastCycVSOS1", "LastCycVSOS2"))
        {
            AppendHeadLine("PriorExam", true, true, 4);
            trLetter = GetTable(true);
            AppendTableCell(trLetter, "", "");
            AppendVALine("Man Rfx", "LastManRfxOD1", "LastManRfxOD2", "LastManRfxOS1", "LastManRfxOS2", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA", "LastManVAOD1", "LastManVAOD2", "LastManVSOS1", "LastManVSOS2", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("Cyc Rfx", "LastCycRfxOD", "", "LastCycRfxOS", "", "");
            AppendTableCell(trLetter, "", "");
            AppendVALine("VA", "LastCycVAOD3", "LastCycVAOD4", "LastCycVSOS1", "LastCycVSOS2", "");
        }

        AppendODOSLine("Rx given", new string[] { "RxOD1", "RxOD2" }, new string[] { "RXOS1", "RXOS2", "RXOS3", "RXOS4" });
        AppendODOSLine("CTL Rx", new string[] { "CTLRxOD1", "CTLRxOD2", "CTLRxOD3" }, new string[] { "CTLRxOS1", "CTLRxOS2", "CTLRxOS3" });

        run = GetParaRun();
        AppendLine("Visual Fields", "Confront1", "Confront2", "Confront3");
        AppendLine("Pupils", "PupilOD1", "PupilOD2", "PupilOS1", "PupilOS2", "Pupil");

        AppendHeadLine("", true, true, 4);
        //run = GetParaRun();
        //Ocular Motility      
        AppendLine("Ocular motility testing", "OcularMotility6", "OcularMotility1", "OcularMotility5", "OcularMotility2", "OcularMotility4");

        trLetter = GetTable(false);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot1a", "OcMot1b");
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot2a", "OcMot2b", true);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot3a", "OcMot3b");
        trLetter = GetTable(false);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot4a", "OcMot4b");
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot5a", "OcMot5b", true);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot6a", "OcMot6b");
        trLetter = GetTable(false);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot7a", "OcMot7b");
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot8a", "OcMot8b", true);
        AppendTableCell(trLetter, "", "");
        AppendOcularMotility("OcMot9a", "OcMot9b");


        trLetter = GetTable(true);
        AppendTableCell(trLetter, "", "");
        //run = GetParaRun();
        AppendLine("Head Tilt Right", "HeadTiltRight1", "HeadTiltRight2");
        AppendLine("Head Tilt Left", "HeadTiltLeft1", "HeadTiltLeft2");
        AppendLine("Adaptive Head Positions", "HeadPosition1", "HeadPosition2");
        AppendLine("Double Maddox Rod", "DMR2");
        AppendLine("Preference", "Preference");

        //OCVE
        AppendTableCell(trLetter, "", "");
        AppendLine("Ocular versions", "OcularVersions1", "OcularVersions11", "OcularVersions2", "OcularVersions3", "OcularVersions31", "OcularVersions4", "OcularVersions5");
        AppendLine("Nystagmus", "Nystagmus1", "Nystagmus2");

        AppendTableCell(trLetter, "", "");
        Paragraph para = paragraph;
        AppendH("OcularVersionOD1", "OcularVersionOD2", "OcularVersionOD3", "OcularVersionOD4", "OcularVersionOD5", "OcularVersionOD6");
        paragraph = para;
        AppendTableCell(trLetter, "", "");
        AppendH("OcularVersionOS1", "OcularVersionOS2", "OcularVersionOS3", "OcularVersionOS4", "OcularVersionOS5", "OcularVersionOS6");


        if (DataExists("FusAmpBO", "FusAmpBI", "FusAmpBU", "FusAmpBD", "Convergence", "Accommodation", "LVRR1", "LVRR2", "LVRL1", "LVRL2"))
        {
            run = GetParaRun();
            AppendHeadLine("FUSIONAL AMPLITUDES", true, false, 4);
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("BO", "FusAmpBO");
            AppendTableCell(trLetter, "", "");
            AppendLine("BI", "FusAmpBI");
            AppendTableCell(trLetter, "", "");
            AppendLine("Convergence", "Convergence");
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("BU", "FusAmpBU");
            AppendTableCell(trLetter, "", "");
            AppendLine("BD", "FusAmpBD");
            AppendTableCell(trLetter, "", "");
            AppendLine("Accommodation", "Accommodation");
            trLetter = GetTable(true);
            AppendTableCell(trLetter, "", "");
            AppendLine("LVR", "LVRR1-R", "LVRR2");
            AppendTableCell(trLetter, "", "");
            AppendLine("", "LVRL1-L", "LVRL2");
        }

        run = GetParaRun();
        AppendLine("BINOCULARITY", "Binocularity1", "Binocularity2", "Binocularity3", "Binocularity4");
        if (DataExists("W4DNear1", "W4DNear2", "W4DDistance1", "W4DDistance2"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("W4D Near", "W4DNear1", "W4DNear2");
            AppendTableCell(trLetter, "", "");
            AppendLine("W4D  Distance", "W4DDistance1", "W4DDistance2");
            run = GetParaRun();
        }
        AppendLine("Stereoacuity (Titmus)", "Stereo1", "Stereo2");
        AppendLine("+ 4 diopter base out", "DiopterBaseOut");
        AppendHeadLine("", true, true, 4);

        //ANTSEG4
        string antSegExam = "Ant Seg Exam";
        if (GetKeyText("SLE") == "True")
            antSegExam += " (SLE)";
        else if (GetKeyText("PenLight") == "True")
            antSegExam += " (Pen-light)";
        AppendLine(antSegExam, "AnteriorSegment");
        //trLetter = GetTable(false);
        //AppendTableCell(trLetter, "", "");
        //AppendLine("SLE", "SLE");
        //AppendTableCell(trLetter, "", "");
        //AppendLine("Pen-light", "PenLight");
        
        run = GetParaRun(false);
        AppendLine("Lids/Lashes/Lacrimal", "LidLashLacrimal1", "LidLashLacrimal2", "LidLashLacrimal3", "LidLashLacrimal4", "LidLashLacrimal5");
        if (DataExists("Exophthalmometry", "ExophthalmometryOD", "ExophthalmometryOS"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("Exophthalmometry", "Exophthalmometry");
            AppendTableCell(trLetter, "", "");
            AppendLine("OD", "ExophthalmometryOD");
            AppendTableCell(trLetter, "", "");
            AppendLine("OS", "ExophthalmometryOS");
        }

        if (DataExists("Exophthalmometry", "ExophthalmometryOD", "ExophthalmometryOS"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("OD PF", "ODPF");
            AppendTableCell(trLetter, "", "");
            AppendLine("MRD1", "ODMRD1");
            AppendTableCell(trLetter, "", "");
            AppendLine("MRD2", "ODMRD2");
            AppendTableCell(trLetter, "", "");
            AppendLine("Levator Fxn", "ODLevatorFxn1", "ODLevatorFxn2");

            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("OS PF", "OSPF");
            AppendTableCell(trLetter, "", "");
            AppendLine("MRD1", "OSMRD1");
            AppendTableCell(trLetter, "", "");
            AppendLine("MRD2", "OSMRD2");
            AppendTableCell(trLetter, "", "");
            AppendLine("Levator Fxn", "OSLevatorFxn1", "OSLevatorFxn2");
        }

        trLetter = GetTable(false);
        AppendTableCell(trLetter, "", "");
        AppendLine("Conj/Sclera", "ConjSclera1", "ConjSclera2", "ConjSclera3", "ConjSclera4", "ConjSclera5");
        AppendLine("Cornea", "Cornea1", "Cornea2", "Cornea3", "Cornea4", "Cornea5");
        AppendLine("Ant Chamber", "AntChamber1", "AntChamber2", "AntChamber3", "AntChamber4", "AntChamber5");
        AppendTableCell(trLetter, "", "");
        AppendLine("Iris", "Iris1", "Iris2", "Iris3", "Iris4", "Iris5");
        AppendLine("Lens", "Lens1", "Lens2", "Lens3", "Lens4", "Lens5");
        AppendLine("Tono", "Tono1", "Tono2", "Tono3-OD", "Tono4-OS");

        run = GetParaRun();
        if (dict["Fundus1"] != "" && dict["Fundus2"] != "")
        {
            AppendLine("Dilated", "Dilate3");
            AppendLine("Fundus Exam: Optic nerve heads are", "Fundus1");
            Append(" with", "Fundus2");
            AppendLine("Retina and Mac OU", "RetinaOU");
        }
        if (DataExists("RetOD", "RetOS"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("Ret Vessels OD", "RetOD");
            AppendTableCell(trLetter, "", "");
            AppendLine("Ret Vessels OS", "RetOS");
        }
        if (DataExists("MaculaOD", "MaculaOS"))
        {
            trLetter = GetTable(false);
            AppendTableCell(trLetter, "", "");
            AppendLine("Macula OD", "MaculaOD");
            AppendTableCell(trLetter, "", "");
            AppendLine("Macula OS", "MaculaOS");
        }

        AppendHeadLine("", true, true, 4);
        AppendLine("Summary", "Summary");
        if (dict.ContainsKey("Discussed"))
        {
            AppendLine("Discussed", "Discussed");
        }
        AppendLine("Advised", "Advised");
        AppendLine("Follow-up", "FollowUp1", "FollowUp2", "FollowUp3", "FollowUp4");
        AppendLine("Letter To", "CopyTo");
        if (dict.ContainsKey("ExamNoteTo"))
        {
            AppendLine("Exam Note To", "ExamNoteTo");
        }
        AppendLine("Notes", "Notes");
    }
Ejemplo n.º 42
0
        // 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;
        }
Ejemplo n.º 43
0
    private Run GetParaRun(bool linebreak = true)
    {
        paragraph = new Paragraph();
        ParagraphProperties paraProperties = new ParagraphProperties();
        paraProperties.Append(new SpacingBetweenLines() { Before="0", After = "0", Line = "200", LineRule = LineSpacingRuleValues.Auto });
        paragraph.Append(paraProperties);
        body.Append(paragraph);

        Run run = GetRun();
        if (linebreak)
        {
            RunProperties runProperties = new RunProperties();
            runProperties.Append(new RunFonts() { Ascii = "Cambria" });
            runProperties.Append(new FontSize() { Val = "5" });
            run.Append(runProperties);
            run.Append(new Break());
        }
        firstLine = false;
        return GetRun();
    }
Ejemplo n.º 44
0
        // 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;
        }
Ejemplo n.º 45
0
    private TableRow GetTable(bool blankLine, Paragraph para = null)
    {
        if (blankLine)
        {
            paragraph = new Paragraph();
            ParagraphProperties paraProperties = new ParagraphProperties();
            paraProperties.Append(new Justification() { Val = JustificationValues.Left });
            paraProperties.Append(new SpacingBetweenLines() { After = "10", Line = "240", LineRule = LineSpacingRuleValues.Auto });
            paragraph.Append(paraProperties);
            body.Append(paragraph);
            Run run = new Run();
            RunProperties runProperties = new RunProperties();
            runProperties.Append(new RunFonts() { Ascii = "Cambria" });
            runProperties.Append(new FontSize() { Val = "3" });
            run.Append(runProperties);
            run.Append(new Text(".") { Space = SpaceProcessingModeValues.Preserve });
            paragraph.Append(run);
        }

        Table tbl = new Table();
        TableProperties tableProperties = new TableProperties();
        if(para != null)  // this is used only for drawing the H
            tableProperties.Append(new TableWidth() { Type = TableWidthUnitValues.Auto, Width = "0" });
        else
            tableProperties.Append(new TableWidth() { Type = TableWidthUnitValues.Pct, Width = "5000" });
        tableProperties.Append(new TableBorders(){
                                    TopBorder = new TopBorder() { Val = BorderValues.None },
                                    BottomBorder = new BottomBorder() { Val = BorderValues.None },
                                    LeftBorder = new LeftBorder() { Val = BorderValues.None },
                                    RightBorder = new RightBorder() { Val = BorderValues.None }
                                });
        tableProperties.Append(new AutofitToFirstFixedWidthCell());
        tbl.Append(tableProperties);
        if (para != null)
            para.Append(tbl);
        else
            body.Append(tbl);
        TableRow trLetter = new TableRow();
        tbl.Append(trLetter);
        
        return trLetter;
    }
Ejemplo n.º 46
0
        // 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;

        }
Ejemplo n.º 47
0
        // 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;
        }
Ejemplo n.º 48
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;
        }
Ejemplo n.º 49
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;
        }
Ejemplo n.º 50
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            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 commonSlideData12 = new CommonSlideData()
            {
                Name = LayoutSetting.Name
            };

            ShapeTree shapeTree12 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties12 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties    nonVisualDrawingProperties65    = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)1U, Name = ""
            };
            NonVisualGroupShapeDrawingProperties  nonVisualGroupShapeDrawingProperties12  = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties65 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties12.Append(nonVisualDrawingProperties65);
            nonVisualGroupShapeProperties12.Append(nonVisualGroupShapeDrawingProperties12);
            nonVisualGroupShapeProperties12.Append(applicationNonVisualDrawingProperties65);

            GroupShapeProperties groupShapeProperties12 = new GroupShapeProperties();

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

            transformGroup12.Append(offset31);
            transformGroup12.Append(extents31);
            transformGroup12.Append(childOffset12);
            transformGroup12.Append(childExtents12);

            groupShapeProperties12.Append(transformGroup12);

            Shape shape54 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties54 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties54.Append(shapeLocks54);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties66 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape54 = new PlaceholderShape()
            {
                Type = PlaceholderValues.Title
            };

            applicationNonVisualDrawingProperties66.Append(placeholderShape54);

            nonVisualShapeProperties54.Append(nonVisualDrawingProperties66);
            nonVisualShapeProperties54.Append(nonVisualShapeDrawingProperties54);
            nonVisualShapeProperties54.Append(applicationNonVisualDrawingProperties66);
            ShapeProperties shapeProperties54 = new ShapeProperties();

            TextBody textBody54 = new TextBody();

            A.BodyProperties bodyProperties54 = new A.BodyProperties();
            A.ListStyle      listStyle54      = new A.ListStyle();

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

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

            run108.Append(runProperties128);
            run108.Append(text128);
            A.EndParagraphRunProperties endParagraphRunProperties48 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph82.Append(run108);
            paragraph82.Append(endParagraphRunProperties48);

            textBody54.Append(bodyProperties54);
            textBody54.Append(listStyle54);
            textBody54.Append(paragraph82);

            shape54.Append(nonVisualShapeProperties54);
            shape54.Append(shapeProperties54);
            shape54.Append(textBody54);

            Shape shape55 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties55 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties55.Append(shapeLocks55);

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

            applicationNonVisualDrawingProperties67.Append(placeholderShape55);

            nonVisualShapeProperties55.Append(nonVisualDrawingProperties67);
            nonVisualShapeProperties55.Append(nonVisualShapeDrawingProperties55);
            nonVisualShapeProperties55.Append(applicationNonVisualDrawingProperties67);

            ShapeProperties shapeProperties55 = new ShapeProperties();

            A.Transform2D transform2D20 = new A.Transform2D();
            A.Offset      offset32      = new A.Offset()
            {
                X = 628650L, Y = 1825625L
            };
            A.Extents extents32 = new A.Extents()
            {
                Cx = 3886200L, Cy = 4351338L
            };

            transform2D20.Append(offset32);
            transform2D20.Append(extents32);

            shapeProperties55.Append(transform2D20);

            TextBody textBody55 = new TextBody();

            A.BodyProperties bodyProperties55 = new A.BodyProperties();
            A.ListStyle      listStyle55      = new A.ListStyle();

            A.Paragraph           paragraph83           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties40 = new A.ParagraphProperties()
            {
                Level = 0
            };

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

            run109.Append(runProperties129);
            run109.Append(text129);

            paragraph83.Append(paragraphProperties40);
            paragraph83.Append(run109);

            A.Paragraph           paragraph84           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties41 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run110           = new A.Run();
            A.RunProperties runProperties130 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text130 = new A.Text();
            text130.Text = "第 ";

            run110.Append(runProperties130);
            run110.Append(text130);

            A.Run           run111           = new A.Run();
            A.RunProperties runProperties131 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text131 = new A.Text();
            text131.Text = "2 ";

            run111.Append(runProperties131);
            run111.Append(text131);

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

            run112.Append(runProperties132);
            run112.Append(text132);

            paragraph84.Append(paragraphProperties41);
            paragraph84.Append(run110);
            paragraph84.Append(run111);
            paragraph84.Append(run112);

            A.Paragraph           paragraph85           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties42 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run113           = new A.Run();
            A.RunProperties runProperties133 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text133 = new A.Text();
            text133.Text = "第 ";

            run113.Append(runProperties133);
            run113.Append(text133);

            A.Run           run114           = new A.Run();
            A.RunProperties runProperties134 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text134 = new A.Text();
            text134.Text = "3 ";

            run114.Append(runProperties134);
            run114.Append(text134);

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

            run115.Append(runProperties135);
            run115.Append(text135);

            paragraph85.Append(paragraphProperties42);
            paragraph85.Append(run113);
            paragraph85.Append(run114);
            paragraph85.Append(run115);

            A.Paragraph           paragraph86           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties43 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run116           = new A.Run();
            A.RunProperties runProperties136 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text136 = new A.Text();
            text136.Text = "第 ";

            run116.Append(runProperties136);
            run116.Append(text136);

            A.Run           run117           = new A.Run();
            A.RunProperties runProperties137 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text137 = new A.Text();
            text137.Text = "4 ";

            run117.Append(runProperties137);
            run117.Append(text137);

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

            run118.Append(runProperties138);
            run118.Append(text138);

            paragraph86.Append(paragraphProperties43);
            paragraph86.Append(run116);
            paragraph86.Append(run117);
            paragraph86.Append(run118);

            A.Paragraph           paragraph87           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties44 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run119           = new A.Run();
            A.RunProperties runProperties139 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text139 = new A.Text();
            text139.Text = "第 ";

            run119.Append(runProperties139);
            run119.Append(text139);

            A.Run           run120           = new A.Run();
            A.RunProperties runProperties140 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text140 = new A.Text();
            text140.Text = "5 ";

            run120.Append(runProperties140);
            run120.Append(text140);

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

            run121.Append(runProperties141);
            run121.Append(text141);
            A.EndParagraphRunProperties endParagraphRunProperties49 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph87.Append(paragraphProperties44);
            paragraph87.Append(run119);
            paragraph87.Append(run120);
            paragraph87.Append(run121);
            paragraph87.Append(endParagraphRunProperties49);

            textBody55.Append(bodyProperties55);
            textBody55.Append(listStyle55);
            textBody55.Append(paragraph83);
            textBody55.Append(paragraph84);
            textBody55.Append(paragraph85);
            textBody55.Append(paragraph86);
            textBody55.Append(paragraph87);

            shape55.Append(nonVisualShapeProperties55);
            shape55.Append(shapeProperties55);
            shape55.Append(textBody55);

            Shape shape56 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties56 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties56.Append(shapeLocks56);

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

            applicationNonVisualDrawingProperties68.Append(placeholderShape56);

            nonVisualShapeProperties56.Append(nonVisualDrawingProperties68);
            nonVisualShapeProperties56.Append(nonVisualShapeDrawingProperties56);
            nonVisualShapeProperties56.Append(applicationNonVisualDrawingProperties68);

            ShapeProperties shapeProperties56 = new ShapeProperties();

            A.Transform2D transform2D21 = new A.Transform2D();
            A.Offset      offset33      = new A.Offset()
            {
                X = 4629150L, Y = 1825625L
            };
            A.Extents extents33 = new A.Extents()
            {
                Cx = 3886200L, Cy = 4351338L
            };

            transform2D21.Append(offset33);
            transform2D21.Append(extents33);

            shapeProperties56.Append(transform2D21);

            TextBody textBody56 = new TextBody();

            A.BodyProperties bodyProperties56 = new A.BodyProperties();
            A.ListStyle      listStyle56      = new A.ListStyle();

            A.Paragraph           paragraph88           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties45 = new A.ParagraphProperties()
            {
                Level = 0
            };

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

            run122.Append(runProperties142);
            run122.Append(text142);

            paragraph88.Append(paragraphProperties45);
            paragraph88.Append(run122);

            A.Paragraph           paragraph89           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties46 = new A.ParagraphProperties()
            {
                Level = 1
            };

            A.Run           run123           = new A.Run();
            A.RunProperties runProperties143 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text143 = new A.Text();
            text143.Text = "第 ";

            run123.Append(runProperties143);
            run123.Append(text143);

            A.Run           run124           = new A.Run();
            A.RunProperties runProperties144 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text144 = new A.Text();
            text144.Text = "2 ";

            run124.Append(runProperties144);
            run124.Append(text144);

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

            run125.Append(runProperties145);
            run125.Append(text145);

            paragraph89.Append(paragraphProperties46);
            paragraph89.Append(run123);
            paragraph89.Append(run124);
            paragraph89.Append(run125);

            A.Paragraph           paragraph90           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties47 = new A.ParagraphProperties()
            {
                Level = 2
            };

            A.Run           run126           = new A.Run();
            A.RunProperties runProperties146 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text146 = new A.Text();
            text146.Text = "第 ";

            run126.Append(runProperties146);
            run126.Append(text146);

            A.Run           run127           = new A.Run();
            A.RunProperties runProperties147 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text147 = new A.Text();
            text147.Text = "3 ";

            run127.Append(runProperties147);
            run127.Append(text147);

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

            run128.Append(runProperties148);
            run128.Append(text148);

            paragraph90.Append(paragraphProperties47);
            paragraph90.Append(run126);
            paragraph90.Append(run127);
            paragraph90.Append(run128);

            A.Paragraph           paragraph91           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties48 = new A.ParagraphProperties()
            {
                Level = 3
            };

            A.Run           run129           = new A.Run();
            A.RunProperties runProperties149 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text149 = new A.Text();
            text149.Text = "第 ";

            run129.Append(runProperties149);
            run129.Append(text149);

            A.Run           run130           = new A.Run();
            A.RunProperties runProperties150 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text150 = new A.Text();
            text150.Text = "4 ";

            run130.Append(runProperties150);
            run130.Append(text150);

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

            run131.Append(runProperties151);
            run131.Append(text151);

            paragraph91.Append(paragraphProperties48);
            paragraph91.Append(run129);
            paragraph91.Append(run130);
            paragraph91.Append(run131);

            A.Paragraph           paragraph92           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties49 = new A.ParagraphProperties()
            {
                Level = 4
            };

            A.Run           run132           = new A.Run();
            A.RunProperties runProperties152 = new A.RunProperties()
            {
                Language = "ja-JP", AlternativeLanguage = "en-US"
            };
            A.Text text152 = new A.Text();
            text152.Text = "第 ";

            run132.Append(runProperties152);
            run132.Append(text152);

            A.Run           run133           = new A.Run();
            A.RunProperties runProperties153 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "ja-JP"
            };
            A.Text text153 = new A.Text();
            text153.Text = "5 ";

            run133.Append(runProperties153);
            run133.Append(text153);

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

            run134.Append(runProperties154);
            run134.Append(text154);
            A.EndParagraphRunProperties endParagraphRunProperties50 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph92.Append(paragraphProperties49);
            paragraph92.Append(run132);
            paragraph92.Append(run133);
            paragraph92.Append(run134);
            paragraph92.Append(endParagraphRunProperties50);

            textBody56.Append(bodyProperties56);
            textBody56.Append(listStyle56);
            textBody56.Append(paragraph88);
            textBody56.Append(paragraph89);
            textBody56.Append(paragraph90);
            textBody56.Append(paragraph91);
            textBody56.Append(paragraph92);

            shape56.Append(nonVisualShapeProperties56);
            shape56.Append(shapeProperties56);
            shape56.Append(textBody56);

            Shape shape57 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties57 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties57.Append(shapeLocks57);

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

            applicationNonVisualDrawingProperties69.Append(placeholderShape57);

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

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

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

            field21.Append(runProperties155);
            field21.Append(text155);
            A.EndParagraphRunProperties endParagraphRunProperties51 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph93.Append(field21);
            paragraph93.Append(endParagraphRunProperties51);

            textBody57.Append(bodyProperties57);
            textBody57.Append(listStyle57);
            textBody57.Append(paragraph93);

            shape57.Append(nonVisualShapeProperties57);
            shape57.Append(shapeProperties57);
            shape57.Append(textBody57);

            Shape shape58 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties58 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties58.Append(shapeLocks58);

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

            applicationNonVisualDrawingProperties70.Append(placeholderShape58);

            nonVisualShapeProperties58.Append(nonVisualDrawingProperties70);
            nonVisualShapeProperties58.Append(nonVisualShapeDrawingProperties58);
            nonVisualShapeProperties58.Append(applicationNonVisualDrawingProperties70);
            ShapeProperties shapeProperties58 = new ShapeProperties();

            TextBody textBody58 = new TextBody();

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

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

            paragraph94.Append(endParagraphRunProperties52);

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

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

            Shape shape59 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties59 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties59.Append(shapeLocks59);

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

            applicationNonVisualDrawingProperties71.Append(placeholderShape59);

            nonVisualShapeProperties59.Append(nonVisualDrawingProperties71);
            nonVisualShapeProperties59.Append(nonVisualShapeDrawingProperties59);
            nonVisualShapeProperties59.Append(applicationNonVisualDrawingProperties71);
            ShapeProperties shapeProperties59 = new ShapeProperties();

            TextBody textBody59 = new TextBody();

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

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

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

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

            field22.Append(runProperties156);
            field22.Append(text156);
            A.EndParagraphRunProperties endParagraphRunProperties53 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph95.Append(field22);
            paragraph95.Append(endParagraphRunProperties53);

            textBody59.Append(bodyProperties59);
            textBody59.Append(listStyle59);
            textBody59.Append(paragraph95);

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

            shapeTree12.Append(nonVisualGroupShapeProperties12);
            shapeTree12.Append(groupShapeProperties12);
            shapeTree12.Append(shape54);
            shapeTree12.Append(shape55);
            shapeTree12.Append(shape56);
            shapeTree12.Append(shape57);
            shapeTree12.Append(shape58);
            shapeTree12.Append(shape59);

            CommonSlideDataExtensionList commonSlideDataExtensionList12 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension12.Append(creationId12);

            commonSlideDataExtensionList12.Append(commonSlideDataExtension12);

            commonSlideData12.Append(shapeTree12);
            commonSlideData12.Append(commonSlideDataExtensionList12);

            ColorMapOverride colorMapOverride11 = new ColorMapOverride();

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

            colorMapOverride11.Append(masterColorMapping11);

            slideLayout10.Append(commonSlideData12);
            slideLayout10.Append(colorMapOverride11);

            slideLayoutPart.SlideLayout = slideLayout10;

            return(slideLayoutPart);
        }