예제 #1
0
        private static DocumentSettingsPart CreateDocumentSettingsPart(OpenXmlPartContainer mainDocumentPart)
        {
            var part = mainDocumentPart.AddNewPart <DocumentSettingsPart>();

            part.Settings = new Settings();
            return(part);
        }
예제 #2
0
        public T CopyPart <T>(T part, string id, OpenXmlPartContainer container) where T : OpenXmlPart, IFixedContentTypePart
        {
            try
            {
                T newPart = container.AddNewPart <T>(id);
                //if (newPart is OpenXmlPartContainer subContainer)
                //{
                //    foreach (var subPart in part.Parts)
                //    {
                //        CopyPart(subPart.OpenXmlPart, subPart.RelationshipId, subContainer);
                //    }
                //}
                using (var reader = part.GetStream())
                    newPart.FeedData(reader);


                // copy all external relationships
                foreach (ExternalRelationship externalRel in part.ExternalRelationships)
                {
                    newPart.AddExternalRelationship(externalRel.RelationshipType, externalRel.Uri, externalRel.Id);
                }

                // copy all hyperlink relationships
                foreach (HyperlinkRelationship hyperlinkRel in part.HyperlinkRelationships)
                {
                    newPart.AddHyperlinkRelationship(hyperlinkRel.Uri, hyperlinkRel.IsExternal, hyperlinkRel.Id);
                }

                // First, we need copy the referenced media data part.
                foreach (var dataPartReferenceRelationship in part.DataPartReferenceRelationships)
                {
                }
                return(newPart);
            }
            catch (Exception ex)
            {
                Helper.OnException(ex);
            }
            return(null);
        }
예제 #3
0
        internal static string AddPictureToOOXMLDocument(OpenXmlPartContainer mainPart, Image image, int index, out string imageName)
        {
            //Set variables for image
            var rid = string.Format(CultureInfo.CurrentCulture, "rId{0}", index);

            imageName = string.Format(CultureInfo.CurrentCulture, "Picture {0}", index);

            //Create the imagepart as an JPEG
            while (mainPart.Parts.Any(p => p.RelationshipId == rid))
            {
                rid       = string.Format(CultureInfo.CurrentCulture, "image{0}", index++);
                imageName = string.Format(CultureInfo.CurrentCulture, "Picture {0}", index);
            }
            var imagePart = mainPart.AddNewPart <ImagePart>("image/jpeg", rid);

            //Write the image with in image part
            var bmp = new Bitmap(image);

            bmp.Save(imagePart.GetStream(), ImageFormat.Jpeg);

            return(rid);
        }
예제 #4
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);
        }
예제 #5
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart1 = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout1 = new SlideLayout()
            {
                Type = SlideLayoutValues.Title, Preserve = true
            };

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

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

            ShapeTree shapeTree2 = new ShapeTree();

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

            nonVisualGroupShapeProperties2.Append(nonVisualDrawingProperties4);
            nonVisualGroupShapeProperties2.Append(nonVisualGroupShapeDrawingProperties2);
            nonVisualGroupShapeProperties2.Append(applicationNonVisualDrawingProperties4);

            GroupShapeProperties groupShapeProperties2 = new GroupShapeProperties();

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

            transformGroup2.Append(offset2);
            transformGroup2.Append(extents2);
            transformGroup2.Append(childOffset2);
            transformGroup2.Append(childExtents2);

            groupShapeProperties2.Append(transformGroup2);

            Shape shape3 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties3.Append(shapeLocks3);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties5 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape3 = new PlaceholderShape()
            {
                Type = PlaceholderValues.CenteredTitle
            };

            applicationNonVisualDrawingProperties5.Append(placeholderShape3);

            nonVisualShapeProperties3.Append(nonVisualDrawingProperties5);
            nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3);
            nonVisualShapeProperties3.Append(applicationNonVisualDrawingProperties5);

            ShapeProperties shapeProperties3 = new ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset3      = new A.Offset()
            {
                X = 685800L, Y = 1122363L
            };
            A.Extents extents3 = new A.Extents()
            {
                Cx = 7772400L, Cy = 2387600L
            };

            transform2D1.Append(offset3);
            transform2D1.Append(extents3);

            shapeProperties3.Append(transform2D1);

            TextBody textBody3 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties1 = new A.Level1ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };
            A.DefaultRunProperties defaultRunProperties1 = new A.DefaultRunProperties()
            {
                FontSize = 6000
            };

            level1ParagraphProperties1.Append(defaultRunProperties1);

            listStyle3.Append(level1ParagraphProperties1);

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

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

            run3.Append(runProperties3);
            run3.Append(text3);
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph3.Append(run3);
            paragraph3.Append(endParagraphRunProperties1);

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

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

            Shape shape4 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties4   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties6 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)3U, Name = "Subtitle 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties4 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties4.Append(shapeLocks4);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties6 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape4 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SubTitle, Index = (UInt32Value)1U
            };

            applicationNonVisualDrawingProperties6.Append(placeholderShape4);

            nonVisualShapeProperties4.Append(nonVisualDrawingProperties6);
            nonVisualShapeProperties4.Append(nonVisualShapeDrawingProperties4);
            nonVisualShapeProperties4.Append(applicationNonVisualDrawingProperties6);

            ShapeProperties shapeProperties4 = new ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset      offset4      = new A.Offset()
            {
                X = 1143000L, Y = 3602038L
            };
            A.Extents extents4 = new A.Extents()
            {
                Cx = 6858000L, Cy = 1655762L
            };

            transform2D2.Append(offset4);
            transform2D2.Append(extents4);

            shapeProperties4.Append(transform2D2);

            TextBody textBody4 = new TextBody();

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

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

            A.Level1ParagraphProperties level1ParagraphProperties2 = new A.Level1ParagraphProperties()
            {
                LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet1             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties2 = new A.DefaultRunProperties()
            {
                FontSize = 2400
            };

            level1ParagraphProperties2.Append(noBullet1);
            level1ParagraphProperties2.Append(defaultRunProperties2);

            A.Level2ParagraphProperties level2ParagraphProperties1 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 457200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet2             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties3 = new A.DefaultRunProperties()
            {
                FontSize = 2000
            };

            level2ParagraphProperties1.Append(noBullet2);
            level2ParagraphProperties1.Append(defaultRunProperties3);

            A.Level3ParagraphProperties level3ParagraphProperties1 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 914400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet3             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties4 = new A.DefaultRunProperties()
            {
                FontSize = 1800
            };

            level3ParagraphProperties1.Append(noBullet3);
            level3ParagraphProperties1.Append(defaultRunProperties4);

            A.Level4ParagraphProperties level4ParagraphProperties1 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1371600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet4             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties5 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level4ParagraphProperties1.Append(noBullet4);
            level4ParagraphProperties1.Append(defaultRunProperties5);

            A.Level5ParagraphProperties level5ParagraphProperties1 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 1828800, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet5             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties6 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level5ParagraphProperties1.Append(noBullet5);
            level5ParagraphProperties1.Append(defaultRunProperties6);

            A.Level6ParagraphProperties level6ParagraphProperties1 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2286000, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet6             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties7 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level6ParagraphProperties1.Append(noBullet6);
            level6ParagraphProperties1.Append(defaultRunProperties7);

            A.Level7ParagraphProperties level7ParagraphProperties1 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2743200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet7             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties8 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level7ParagraphProperties1.Append(noBullet7);
            level7ParagraphProperties1.Append(defaultRunProperties8);

            A.Level8ParagraphProperties level8ParagraphProperties1 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3200400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet8             = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties9 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level8ParagraphProperties1.Append(noBullet8);
            level8ParagraphProperties1.Append(defaultRunProperties9);

            A.Level9ParagraphProperties level9ParagraphProperties1 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3657600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center
            };
            A.NoBullet             noBullet9 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties10 = new A.DefaultRunProperties()
            {
                FontSize = 1600
            };

            level9ParagraphProperties1.Append(noBullet9);
            level9ParagraphProperties1.Append(defaultRunProperties10);

            listStyle4.Append(level1ParagraphProperties2);
            listStyle4.Append(level2ParagraphProperties1);
            listStyle4.Append(level3ParagraphProperties1);
            listStyle4.Append(level4ParagraphProperties1);
            listStyle4.Append(level5ParagraphProperties1);
            listStyle4.Append(level6ParagraphProperties1);
            listStyle4.Append(level7ParagraphProperties1);
            listStyle4.Append(level8ParagraphProperties1);
            listStyle4.Append(level9ParagraphProperties1);

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

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

            run4.Append(runProperties4);
            run4.Append(text4);
            A.EndParagraphRunProperties endParagraphRunProperties2 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph4.Append(run4);
            paragraph4.Append(endParagraphRunProperties2);

            textBody4.Append(bodyProperties4);
            textBody4.Append(listStyle4);
            textBody4.Append(paragraph4);

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

            Shape shape5 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties5 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties5.Append(shapeLocks5);

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

            applicationNonVisualDrawingProperties7.Append(placeholderShape5);

            nonVisualShapeProperties5.Append(nonVisualDrawingProperties7);
            nonVisualShapeProperties5.Append(nonVisualShapeDrawingProperties5);
            nonVisualShapeProperties5.Append(applicationNonVisualDrawingProperties7);
            ShapeProperties shapeProperties5 = new ShapeProperties();

            TextBody textBody5 = new TextBody();

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

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

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

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

            field1.Append(runProperties5);
            field1.Append(text5);
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph5.Append(field1);
            paragraph5.Append(endParagraphRunProperties3);

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

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

            Shape shape6 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties6 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties6.Append(shapeLocks6);

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

            applicationNonVisualDrawingProperties8.Append(placeholderShape6);

            nonVisualShapeProperties6.Append(nonVisualDrawingProperties8);
            nonVisualShapeProperties6.Append(nonVisualShapeDrawingProperties6);
            nonVisualShapeProperties6.Append(applicationNonVisualDrawingProperties8);
            ShapeProperties shapeProperties6 = new ShapeProperties();

            TextBody textBody6 = new TextBody();

            A.BodyProperties bodyProperties6 = new A.BodyProperties();
            A.ListStyle      listStyle6      = new A.ListStyle();

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

            paragraph6.Append(endParagraphRunProperties4);

            textBody6.Append(bodyProperties6);
            textBody6.Append(listStyle6);
            textBody6.Append(paragraph6);

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

            Shape shape7 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties7 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties7.Append(shapeLocks7);

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

            applicationNonVisualDrawingProperties9.Append(placeholderShape7);

            nonVisualShapeProperties7.Append(nonVisualDrawingProperties9);
            nonVisualShapeProperties7.Append(nonVisualShapeDrawingProperties7);
            nonVisualShapeProperties7.Append(applicationNonVisualDrawingProperties9);
            ShapeProperties shapeProperties7 = new ShapeProperties();

            TextBody textBody7 = new TextBody();

            A.BodyProperties bodyProperties7 = new A.BodyProperties();
            A.ListStyle      listStyle7      = new A.ListStyle();

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

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

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

            field2.Append(runProperties6);
            field2.Append(text6);
            A.EndParagraphRunProperties endParagraphRunProperties5 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph7.Append(field2);
            paragraph7.Append(endParagraphRunProperties5);

            textBody7.Append(bodyProperties7);
            textBody7.Append(listStyle7);
            textBody7.Append(paragraph7);

            shape7.Append(nonVisualShapeProperties7);
            shape7.Append(shapeProperties7);
            shape7.Append(textBody7);

            shapeTree2.Append(nonVisualGroupShapeProperties2);
            shapeTree2.Append(groupShapeProperties2);
            shapeTree2.Append(shape3);
            shapeTree2.Append(shape4);
            shapeTree2.Append(shape5);
            shapeTree2.Append(shape6);
            shapeTree2.Append(shape7);

            CommonSlideDataExtensionList commonSlideDataExtensionList2 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension2.Append(creationId2);

            commonSlideDataExtensionList2.Append(commonSlideDataExtension2);

            commonSlideData2.Append(shapeTree2);
            commonSlideData2.Append(commonSlideDataExtensionList2);

            ColorMapOverride colorMapOverride2 = new ColorMapOverride();

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

            colorMapOverride2.Append(masterColorMapping2);

            slideLayout1.Append(commonSlideData2);
            slideLayout1.Append(colorMapOverride2);

            slideLayoutPart1.SlideLayout = slideLayout1;

            return(slideLayoutPart1);
        }
예제 #6
0
 private static DocumentSettingsPart CreateDocumentSettingsPart(OpenXmlPartContainer mainDocumentPart)
 {
     var part = mainDocumentPart.AddNewPart<DocumentSettingsPart>();
     part.Settings = new Settings();
     return part;
 }
예제 #7
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);
        }
예제 #8
0
 static void AddStyleDefinitionPart(OpenXmlPartContainer oxpc) => new Styles().Save(oxpc.AddNewPart <StyleDefinitionsPart>());
예제 #9
0
 internal static void AddStyleDefinitionPart(OpenXmlPartContainer oxpc)
 {
     new Styles().Save(oxpc.AddNewPart<StyleDefinitionsPart>());
 }
예제 #10
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);
        }
        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);
        }
예제 #12
0
 public static TPart AddNewPartDefaultId <TPart>(this OpenXmlPartContainer parent, out string id) where TPart : OpenXmlPart, IFixedContentTypePart
 {
     id = parent.GetNextRelationshipId();
     return(parent.AddNewPart <TPart>(id));
 }
예제 #13
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout4 = new SlideLayout()
            {
                Type = SlideLayoutValues.Blank, Preserve = true
            };

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

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

            ShapeTree shapeTree6 = new ShapeTree();

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

            nonVisualGroupShapeProperties6.Append(nonVisualDrawingProperties29);
            nonVisualGroupShapeProperties6.Append(nonVisualGroupShapeDrawingProperties6);
            nonVisualGroupShapeProperties6.Append(applicationNonVisualDrawingProperties29);

            GroupShapeProperties groupShapeProperties6 = new GroupShapeProperties();

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

            transformGroup6.Append(offset18);
            transformGroup6.Append(extents18);
            transformGroup6.Append(childOffset6);
            transformGroup6.Append(childExtents6);

            groupShapeProperties6.Append(transformGroup6);

            Shape shape24 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties24 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties24.Append(shapeLocks24);

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

            applicationNonVisualDrawingProperties30.Append(placeholderShape24);

            nonVisualShapeProperties24.Append(nonVisualDrawingProperties30);
            nonVisualShapeProperties24.Append(nonVisualShapeDrawingProperties24);
            nonVisualShapeProperties24.Append(applicationNonVisualDrawingProperties30);
            ShapeProperties shapeProperties24 = new ShapeProperties();

            TextBody textBody24 = new TextBody();

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

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

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

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

            field9.Append(runProperties44);
            field9.Append(text44);
            A.EndParagraphRunProperties endParagraphRunProperties20 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph32.Append(field9);
            paragraph32.Append(endParagraphRunProperties20);

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

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

            Shape shape25 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties25 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties25.Append(shapeLocks25);

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

            applicationNonVisualDrawingProperties31.Append(placeholderShape25);

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

            paragraph33.Append(endParagraphRunProperties21);

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

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

            Shape shape26 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties26 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties26.Append(shapeLocks26);

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

            applicationNonVisualDrawingProperties32.Append(placeholderShape26);

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

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

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

            field10.Append(runProperties45);
            field10.Append(text45);
            A.EndParagraphRunProperties endParagraphRunProperties22 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph34.Append(field10);
            paragraph34.Append(endParagraphRunProperties22);

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

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

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

            CommonSlideDataExtensionList commonSlideDataExtensionList6 = new CommonSlideDataExtensionList();

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

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

            slideLayout4.Append(commonSlideData6);
            slideLayout4.Append(colorMapOverride5);

            slideLayoutPart.SlideLayout = slideLayout4;

            return(slideLayoutPart);
        }
예제 #14
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);
        }
        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);
        }
예제 #16
0
        public override SlideLayoutPart CreateSlideLayoutPart(OpenXmlPartContainer containerPart)
        {
            SlideLayoutPart slideLayoutPart = containerPart.AddNewPart <SlideLayoutPart>(LayoutSetting.ID);

            SlideLayout slideLayout6 = new SlideLayout()
            {
                Type = SlideLayoutValues.TitleOnly, Preserve = true
            };

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

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

            ShapeTree shapeTree8 = new ShapeTree();

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

            nonVisualGroupShapeProperties8.Append(nonVisualDrawingProperties39);
            nonVisualGroupShapeProperties8.Append(nonVisualGroupShapeDrawingProperties8);
            nonVisualGroupShapeProperties8.Append(applicationNonVisualDrawingProperties39);

            GroupShapeProperties groupShapeProperties8 = new GroupShapeProperties();

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

            transformGroup8.Append(offset20);
            transformGroup8.Append(extents20);
            transformGroup8.Append(childOffset8);
            transformGroup8.Append(childExtents8);

            groupShapeProperties8.Append(transformGroup8);

            Shape shape32 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties32 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties32.Append(shapeLocks32);

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

            applicationNonVisualDrawingProperties40.Append(placeholderShape32);

            nonVisualShapeProperties32.Append(nonVisualDrawingProperties40);
            nonVisualShapeProperties32.Append(nonVisualShapeDrawingProperties32);
            nonVisualShapeProperties32.Append(applicationNonVisualDrawingProperties40);
            ShapeProperties shapeProperties32 = new ShapeProperties();

            TextBody textBody32 = new TextBody();

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

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

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

            run50.Append(runProperties62);
            run50.Append(text62);
            A.EndParagraphRunProperties endParagraphRunProperties28 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", Dirty = false
            };

            paragraph44.Append(run50);
            paragraph44.Append(endParagraphRunProperties28);

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

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

            Shape shape33 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties33 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties33.Append(shapeLocks33);

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

            applicationNonVisualDrawingProperties41.Append(placeholderShape33);

            nonVisualShapeProperties33.Append(nonVisualDrawingProperties41);
            nonVisualShapeProperties33.Append(nonVisualShapeDrawingProperties33);
            nonVisualShapeProperties33.Append(applicationNonVisualDrawingProperties41);
            ShapeProperties shapeProperties33 = new ShapeProperties();

            TextBody textBody33 = new TextBody();

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

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

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

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

            field13.Append(runProperties63);
            field13.Append(text63);
            A.EndParagraphRunProperties endParagraphRunProperties29 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph45.Append(field13);
            paragraph45.Append(endParagraphRunProperties29);

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

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

            Shape shape34 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties34 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties34.Append(shapeLocks34);

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

            applicationNonVisualDrawingProperties42.Append(placeholderShape34);

            nonVisualShapeProperties34.Append(nonVisualDrawingProperties42);
            nonVisualShapeProperties34.Append(nonVisualShapeDrawingProperties34);
            nonVisualShapeProperties34.Append(applicationNonVisualDrawingProperties42);
            ShapeProperties shapeProperties34 = new ShapeProperties();

            TextBody textBody34 = new TextBody();

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

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

            paragraph46.Append(endParagraphRunProperties30);

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

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

            Shape shape35 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties35 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties35.Append(shapeLocks35);

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

            applicationNonVisualDrawingProperties43.Append(placeholderShape35);

            nonVisualShapeProperties35.Append(nonVisualDrawingProperties43);
            nonVisualShapeProperties35.Append(nonVisualShapeDrawingProperties35);
            nonVisualShapeProperties35.Append(applicationNonVisualDrawingProperties43);
            ShapeProperties shapeProperties35 = new ShapeProperties();

            TextBody textBody35 = new TextBody();

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

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

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

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

            field14.Append(runProperties64);
            field14.Append(text64);
            A.EndParagraphRunProperties endParagraphRunProperties31 = new A.EndParagraphRunProperties()
            {
                Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US"
            };

            paragraph47.Append(field14);
            paragraph47.Append(endParagraphRunProperties31);

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

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

            shapeTree8.Append(nonVisualGroupShapeProperties8);
            shapeTree8.Append(groupShapeProperties8);
            shapeTree8.Append(shape32);
            shapeTree8.Append(shape33);
            shapeTree8.Append(shape34);
            shapeTree8.Append(shape35);

            CommonSlideDataExtensionList commonSlideDataExtensionList8 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension8.Append(creationId8);

            commonSlideDataExtensionList8.Append(commonSlideDataExtension8);

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

            ColorMapOverride colorMapOverride7 = new ColorMapOverride();

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

            colorMapOverride7.Append(masterColorMapping7);

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

            slideLayoutPart.SlideLayout = slideLayout6;

            return(slideLayoutPart);
        }
예제 #17
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);
        }