Ejemplo n.º 1
0
        public static a.Outline SetSolidFill(this a.Outline outline, sysDr.Color?fillColor = null, float alpha = 1f)
        {
            var solidFill = outline.GetFirstChild <a.SolidFill>();

            if (!fillColor.HasValue && solidFill != null)
            {
                return(outline);
            }
            if (solidFill == null)
            {
                solidFill = new a.SolidFill();
                outline.Append(solidFill);
            }
            solidFill.RemoveAllChildren();
            var _c            = fillColor ?? sysDr.Color.Black;
            var fillColorElem = new a.RgbColorModelHex()
            {
                Val = _c.ToHex()
            };

            solidFill.Append(fillColorElem);
            var alphaElem = new a.Alpha()
            {
                Val = (int)(alpha * 100000)
            };

            fillColorElem.Append(alphaElem);

            return(outline);
        }
Ejemplo n.º 2
0
        public static xdr.ShapeProperties SetSolidFill(this xdr.ShapeProperties shapeProperties, sysDr.Color fillColor, float alpha = 1f)
        {
            if (shapeProperties == null)
            {
                return(null);
            }
            shapeProperties.RemoveAllChildren <a.NoFill>();
            shapeProperties.RemoveAllChildren <a.GradientFill>();
            shapeProperties.RemoveAllChildren <a.BlipFill>();
            shapeProperties.RemoveAllChildren <a.GroupFill>();
            shapeProperties.RemoveAllChildren <a.SolidFill>();
            var solidFill = new a.SolidFill();

            shapeProperties.Insert(solidFill).AfterOneOf(typeof(a.PresetGeometry));
            var fillColorModel = new a.RgbColorModelHex();

            fillColorModel.Val = fillColor.ToHex();
            solidFill.Append(fillColorModel);
            var colorAlpha = new a.Alpha()
            {
                Val = (int)(alpha * 100000)
            };                                                              // FillAlpha - def = val / 1000

            fillColorModel.Append(colorAlpha);
            return(shapeProperties);
        }
Ejemplo n.º 3
0
        private void DrawShape(Wpg.WordprocessingGroup wordprocessingGroup1, Rect extents, A.ShapeTypeValues shape, string colour)
        {
            UInt32Value bondLineId   = UInt32Value.FromUInt32((uint)_ooxmlId++);
            string      bondLineName = "shape" + bondLineId;

            Int64Value width1  = OoXmlHelper.ScaleCmlToEmu(extents.Width);
            Int64Value height1 = OoXmlHelper.ScaleCmlToEmu(extents.Height);
            Int64Value top1    = OoXmlHelper.ScaleCmlToEmu(extents.Top);
            Int64Value left1   = OoXmlHelper.ScaleCmlToEmu(extents.Left);

            Point pp1 = new Point(left1, top1);
            Size  ss2 = new Size(width1, height1);

            pp1.Offset(OoXmlHelper.ScaleCmlToEmu(-_canvasExtents.Left), OoXmlHelper.ScaleCmlToEmu(-_canvasExtents.Top));
            Rect boundingBox = new Rect(pp1, ss2);

            Int64Value width  = (Int64Value)boundingBox.Width;
            Int64Value height = (Int64Value)boundingBox.Height;
            Int64Value top    = (Int64Value)boundingBox.Top;
            Int64Value left   = (Int64Value)boundingBox.Left;

            A.Extents        extents2        = null;
            A.PresetGeometry presetGeometry1 = null;
            extents2 = new A.Extents()
            {
                Cx = width, Cy = height
            };
            presetGeometry1 = new A.PresetGeometry()
            {
                Preset = shape
            };

            Wps.WordprocessingShape        wordprocessingShape1        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Wps.NonVisualDrawingProperties()
            {
                Id   = bondLineId,
                Name = bondLineName
            };

            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties();
            Wps.ShapeProperties shapeProperties1 = new Wps.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = left, Y = top
            };

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

            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);
            A.SolidFill solidFill1 = new A.SolidFill();

            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = colour
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };
            solidFill1.Append(rgbColorModelHex1);

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

            Wps.ShapeStyle  shapeStyle1    = new Wps.ShapeStyle();
            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);
            Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties();

            wordprocessingShape1.Append(nonVisualDrawingProperties1);
            wordprocessingShape1.Append(nonVisualDrawingShapeProperties1);
            wordprocessingShape1.Append(shapeProperties1);
            wordprocessingShape1.Append(shapeStyle1);
            wordprocessingShape1.Append(textBodyProperties1);

            wordprocessingGroup1.Append(wordprocessingShape1);
        }
Ejemplo n.º 4
0
        // Generates content of slideLayoutPart3.
        private void GenerateSlideLayoutPart3Content(SlideLayoutPart slideLayoutPart3)
        {
            SlideLayout slideLayout3 = new SlideLayout(){ Type = SlideLayoutValues.SectionHeader, Preserve = true };
            slideLayout3.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout3.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData5 = new CommonSlideData(){ Name = "Section Header" };

            Background background2 = new Background();

            BackgroundStyleReference backgroundStyleReference2 = new BackgroundStyleReference(){ Index = (UInt32Value)1003U };
            A.SchemeColor schemeColor49 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference2.Append(schemeColor49);

            background2.Append(backgroundStyleReference2);

            ShapeTree shapeTree5 = new ShapeTree();

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

            nonVisualGroupShapeProperties5.Append(nonVisualDrawingProperties23);
            nonVisualGroupShapeProperties5.Append(nonVisualGroupShapeDrawingProperties5);
            nonVisualGroupShapeProperties5.Append(applicationNonVisualDrawingProperties23);

            GroupShapeProperties groupShapeProperties5 = new GroupShapeProperties();

            A.TransformGroup transformGroup5 = new A.TransformGroup();
            A.Offset offset15 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents15 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset5 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents5 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup5.Append(offset15);
            transformGroup5.Append(extents15);
            transformGroup5.Append(childOffset5);
            transformGroup5.Append(childExtents5);

            groupShapeProperties5.Append(transformGroup5);

            Shape shape19 = new Shape();

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

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

            nonVisualShapeDrawingProperties19.Append(shapeLocks19);

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

            applicationNonVisualDrawingProperties24.Append(placeholderShape19);

            nonVisualShapeProperties19.Append(nonVisualDrawingProperties24);
            nonVisualShapeProperties19.Append(nonVisualShapeDrawingProperties19);
            nonVisualShapeProperties19.Append(applicationNonVisualDrawingProperties24);

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.Transform2D transform2D11 = new A.Transform2D();
            A.Offset offset16 = new A.Offset(){ X = 2133600L, Y = 609600L };
            A.Extents extents16 = new A.Extents(){ Cx = 9448800L, Cy = 1828800L };

            transform2D11.Append(offset16);
            transform2D11.Append(extents16);

            shapeProperties19.Append(transform2D11);

            TextBody textBody19 = new TextBody();

            A.BodyProperties bodyProperties19 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NoAutoFit noAutoFit1 = new A.NoAutoFit();

            A.Scene3DType scene3DType3 = new A.Scene3DType();
            A.Camera camera3 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig3 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation3 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 17220000 };

            lightRig3.Append(rotation3);

            scene3DType3.Append(camera3);
            scene3DType3.Append(lightRig3);

            A.Shape3DType shape3DType4 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };
            A.BevelTop bevelTop3 = new A.BevelTop(){ Width = 38100L, Height = 38100L };

            A.ContourColor contourColor1 = new A.ContourColor();

            A.SchemeColor schemeColor50 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };
            A.Shade shade5 = new A.Shade(){ Val = 50000 };

            schemeColor50.Append(shade5);

            contourColor1.Append(schemeColor50);

            shape3DType4.Append(bevelTop3);
            shape3DType4.Append(contourColor1);

            bodyProperties19.Append(noAutoFit1);
            bodyProperties19.Append(scene3DType3);
            bodyProperties19.Append(shape3DType4);

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

            A.Level1ParagraphProperties level1ParagraphProperties13 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false };

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

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

            A.DefaultRunProperties defaultRunProperties46 = new A.DefaultRunProperties(){ FontSize = 4800, Bold = true, Capital = A.TextCapsValues.None, Baseline = 0 };

            A.Outline outline4 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill4 = new A.NoFill();

            outline4.Append(noFill4);

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

            A.SchemeColor schemeColor51 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint8 = new A.Tint(){ Val = 90000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 120000 };

            schemeColor51.Append(tint8);
            schemeColor51.Append(saturationModulation8);

            solidFill33.Append(schemeColor51);

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

            A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 114300L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 40000 };

            rgbColorModelHex3.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex3);

            effectList3.Append(outerShadow3);
            A.LatinFont latinFont29 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties46.Append(outline4);
            defaultRunProperties46.Append(solidFill33);
            defaultRunProperties46.Append(effectList3);
            defaultRunProperties46.Append(latinFont29);
            defaultRunProperties46.Append(eastAsianFont29);
            defaultRunProperties46.Append(complexScriptFont29);

            level1ParagraphProperties13.Append(spaceBefore11);
            level1ParagraphProperties13.Append(noBullet17);
            level1ParagraphProperties13.Append(defaultRunProperties46);

            listStyle19.Append(level1ParagraphProperties13);

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

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

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

            run16.Append(runProperties22);
            run16.Append(text22);
            A.EndParagraphRunProperties endParagraphRunProperties18 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph27.Append(run16);
            paragraph27.Append(endParagraphRunProperties18);

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

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

            Shape shape20 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties20 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks20 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties20.Append(shapeLocks20);

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

            applicationNonVisualDrawingProperties25.Append(placeholderShape20);

            nonVisualShapeProperties20.Append(nonVisualDrawingProperties25);
            nonVisualShapeProperties20.Append(nonVisualShapeDrawingProperties20);
            nonVisualShapeProperties20.Append(applicationNonVisualDrawingProperties25);

            ShapeProperties shapeProperties20 = new ShapeProperties();

            A.Transform2D transform2D12 = new A.Transform2D();
            A.Offset offset17 = new A.Offset(){ X = 2133600L, Y = 2507786L };
            A.Extents extents17 = new A.Extents(){ Cx = 9448800L, Cy = 1509712L };

            transform2D12.Append(offset17);
            transform2D12.Append(extents17);

            shapeProperties20.Append(transform2D12);

            TextBody textBody20 = new TextBody();
            A.BodyProperties bodyProperties20 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };

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

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

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

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

            solidFill34.Append(schemeColor52);

            defaultRunProperties47.Append(solidFill34);

            level1ParagraphProperties14.Append(noBullet18);
            level1ParagraphProperties14.Append(defaultRunProperties47);

            A.Level2ParagraphProperties level2ParagraphProperties7 = new A.Level2ParagraphProperties();
            A.NoBullet noBullet19 = new A.NoBullet();

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

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

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

            schemeColor53.Append(tint9);

            solidFill35.Append(schemeColor53);

            defaultRunProperties48.Append(solidFill35);

            level2ParagraphProperties7.Append(noBullet19);
            level2ParagraphProperties7.Append(defaultRunProperties48);

            A.Level3ParagraphProperties level3ParagraphProperties7 = new A.Level3ParagraphProperties();
            A.NoBullet noBullet20 = new A.NoBullet();

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

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

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

            schemeColor54.Append(tint10);

            solidFill36.Append(schemeColor54);

            defaultRunProperties49.Append(solidFill36);

            level3ParagraphProperties7.Append(noBullet20);
            level3ParagraphProperties7.Append(defaultRunProperties49);

            A.Level4ParagraphProperties level4ParagraphProperties7 = new A.Level4ParagraphProperties();
            A.NoBullet noBullet21 = new A.NoBullet();

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

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

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

            schemeColor55.Append(tint11);

            solidFill37.Append(schemeColor55);

            defaultRunProperties50.Append(solidFill37);

            level4ParagraphProperties7.Append(noBullet21);
            level4ParagraphProperties7.Append(defaultRunProperties50);

            A.Level5ParagraphProperties level5ParagraphProperties7 = new A.Level5ParagraphProperties();
            A.NoBullet noBullet22 = new A.NoBullet();

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

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

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

            schemeColor56.Append(tint12);

            solidFill38.Append(schemeColor56);

            defaultRunProperties51.Append(solidFill38);

            level5ParagraphProperties7.Append(noBullet22);
            level5ParagraphProperties7.Append(defaultRunProperties51);

            listStyle20.Append(level1ParagraphProperties14);
            listStyle20.Append(level2ParagraphProperties7);
            listStyle20.Append(level3ParagraphProperties7);
            listStyle20.Append(level4ParagraphProperties7);
            listStyle20.Append(level5ParagraphProperties7);

            A.Paragraph paragraph28 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties12 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run17.Append(runProperties23);
            run17.Append(text23);

            paragraph28.Append(paragraphProperties12);
            paragraph28.Append(run17);

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

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

            Shape shape21 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties21 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks21 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties21.Append(shapeLocks21);

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

            applicationNonVisualDrawingProperties26.Append(placeholderShape21);

            nonVisualShapeProperties21.Append(nonVisualDrawingProperties26);
            nonVisualShapeProperties21.Append(nonVisualShapeDrawingProperties21);
            nonVisualShapeProperties21.Append(applicationNonVisualDrawingProperties26);
            ShapeProperties shapeProperties21 = new ShapeProperties();

            TextBody textBody21 = new TextBody();
            A.BodyProperties bodyProperties21 = new A.BodyProperties();
            A.ListStyle listStyle21 = new A.ListStyle();

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

            A.Field field7 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

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

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

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

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

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

            Shape shape22 = new Shape();

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

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

            nonVisualShapeDrawingProperties22.Append(shapeLocks22);

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

            applicationNonVisualDrawingProperties27.Append(placeholderShape22);

            nonVisualShapeProperties22.Append(nonVisualDrawingProperties27);
            nonVisualShapeProperties22.Append(nonVisualShapeDrawingProperties22);
            nonVisualShapeProperties22.Append(applicationNonVisualDrawingProperties27);
            ShapeProperties shapeProperties22 = new ShapeProperties();

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

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

            paragraph30.Append(endParagraphRunProperties20);

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

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

            Shape shape23 = new Shape();

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

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

            nonVisualShapeDrawingProperties23.Append(shapeLocks23);

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

            applicationNonVisualDrawingProperties28.Append(placeholderShape23);

            nonVisualShapeProperties23.Append(nonVisualDrawingProperties28);
            nonVisualShapeProperties23.Append(nonVisualShapeDrawingProperties23);
            nonVisualShapeProperties23.Append(applicationNonVisualDrawingProperties28);

            ShapeProperties shapeProperties23 = new ShapeProperties();

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset offset18 = new A.Offset(){ X = 10566400L, Y = 6416676L };
            A.Extents extents18 = new A.Extents(){ Cx = 1016000L, Cy = 365125L };

            transform2D13.Append(offset18);
            transform2D13.Append(extents18);

            shapeProperties23.Append(transform2D13);

            TextBody textBody23 = new TextBody();
            A.BodyProperties bodyProperties23 = new A.BodyProperties();
            A.ListStyle listStyle23 = new A.ListStyle();

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

            A.Field field8 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

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

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

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

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

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

            shapeTree5.Append(nonVisualGroupShapeProperties5);
            shapeTree5.Append(groupShapeProperties5);
            shapeTree5.Append(shape19);
            shapeTree5.Append(shape20);
            shapeTree5.Append(shape21);
            shapeTree5.Append(shape22);
            shapeTree5.Append(shape23);

            CommonSlideDataExtensionList commonSlideDataExtensionList5 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension5.Append(creationId5);

            commonSlideDataExtensionList5.Append(commonSlideDataExtension5);

            commonSlideData5.Append(background2);
            commonSlideData5.Append(shapeTree5);
            commonSlideData5.Append(commonSlideDataExtensionList5);

            ColorMapOverride colorMapOverride4 = new ColorMapOverride();
            A.OverrideColorMapping overrideColorMapping1 = new A.OverrideColorMapping(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            colorMapOverride4.Append(overrideColorMapping1);

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

            slideLayoutPart3.SlideLayout = slideLayout3;
        }
Ejemplo n.º 5
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme() { Name = "Office Theme" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "44546A" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "E7E6E6" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "5B9BD5" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "ED7D31" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "A5A5A5" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "FFC000" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4472C4" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "70AD47" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0563C1" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "954F72" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Calibri Light", Panose = "020F0302020204030204" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" };

            majorFont1.Append(latinFont1);
            majorFont1.Append(eastAsianFont1);
            majorFont1.Append(complexScriptFont1);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Calibri", Panose = "020F0502020204030204" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS 明朝" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Thai", Typeface = "Cordia New" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont() { Script = "Geor", Typeface = "Sylfaen" };

            minorFont1.Append(latinFont2);
            minorFont1.Append(eastAsianFont2);
            minorFont1.Append(complexScriptFont2);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill1 = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 110000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 105000 };
            A.Tint tint1 = new A.Tint() { Val = 67000 };

            schemeColor2.Append(luminanceModulation1);
            schemeColor2.Append(saturationModulation1);
            schemeColor2.Append(tint1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 105000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 103000 };
            A.Tint tint2 = new A.Tint() { Val = 73000 };

            schemeColor3.Append(luminanceModulation2);
            schemeColor3.Append(saturationModulation2);
            schemeColor3.Append(tint2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 105000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 109000 };
            A.Tint tint3 = new A.Tint() { Val = 81000 };

            schemeColor4.Append(luminanceModulation3);
            schemeColor4.Append(saturationModulation3);
            schemeColor4.Append(tint3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 103000 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation() { Val = 102000 };
            A.Tint tint4 = new A.Tint() { Val = 94000 };

            schemeColor5.Append(saturationModulation4);
            schemeColor5.Append(luminanceModulation4);
            schemeColor5.Append(tint4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 110000 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation() { Val = 100000 };
            A.Shade shade1 = new A.Shade() { Val = 100000 };

            schemeColor6.Append(saturationModulation5);
            schemeColor6.Append(luminanceModulation5);
            schemeColor6.Append(shade1);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation() { Val = 99000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 120000 };
            A.Shade shade2 = new A.Shade() { Val = 78000 };

            schemeColor7.Append(luminanceModulation6);
            schemeColor7.Append(saturationModulation6);
            schemeColor7.Append(shade2);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill1);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline() { Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter1 = new A.Miter() { Limit = 800000 };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);
            outline1.Append(miter1);

            A.Outline outline2 = new A.Outline() { Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill3 = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter2 = new A.Miter() { Limit = 800000 };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);
            outline2.Append(miter2);

            A.Outline outline3 = new A.Outline() { Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill4 = new A.SolidFill();
            A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Miter miter3 = new A.Miter() { Limit = 800000 };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);
            outline3.Append(miter3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList1 = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList effectList2 = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" };
            A.Alpha alpha1 = new A.Alpha() { Val = 63000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill5 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill5.Append(schemeColor11);

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

            A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint5 = new A.Tint() { Val = 95000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 170000 };

            schemeColor12.Append(tint5);
            schemeColor12.Append(saturationModulation7);

            solidFill6.Append(schemeColor12);

            A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint6 = new A.Tint() { Val = 93000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 150000 };
            A.Shade shade3 = new A.Shade() { Val = 98000 };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation() { Val = 102000 };

            schemeColor13.Append(tint6);
            schemeColor13.Append(saturationModulation8);
            schemeColor13.Append(shade3);
            schemeColor13.Append(luminanceModulation7);

            gradientStop7.Append(schemeColor13);

            A.GradientStop gradientStop8 = new A.GradientStop() { Position = 50000 };

            A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint7 = new A.Tint() { Val = 98000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 130000 };
            A.Shade shade4 = new A.Shade() { Val = 90000 };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation() { Val = 103000 };

            schemeColor14.Append(tint7);
            schemeColor14.Append(saturationModulation9);
            schemeColor14.Append(shade4);
            schemeColor14.Append(luminanceModulation8);

            gradientStop8.Append(schemeColor14);

            A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade5 = new A.Shade() { Val = 63000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 120000 };

            schemeColor15.Append(shade5);
            schemeColor15.Append(saturationModulation10);

            gradientStop9.Append(schemeColor15);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill() { Angle = 5400000, Scaled = false };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(solidFill6);
            backgroundFillStyleList1.Append(gradientFill3);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.ExtensionList extensionList1 = new A.ExtensionList();

            A.Extension extension1 = new A.Extension() { Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" };

            OpenXmlUnknownElement openXmlUnknownElement3 = OpenXmlUnknownElement.CreateOpenXmlUnknownElement("<thm15:themeFamily xmlns:thm15=\"http://schemas.microsoft.com/office/thememl/2012/main\" name=\"Office Theme\" id=\"{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}\" vid=\"{4A3C46E8-61CC-4603-A589-7422A47A8E4A}\" />");

            extension1.Append(openXmlUnknownElement3);

            extensionList1.Append(extension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(extensionList1);

            themePart1.Theme = theme1;
        }
        private void GenerateThemePartContent(ThemePart themePart)
        {
            var theme1 = new Theme {Name = "Office Theme"};
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            var themeElements1 = new ThemeElements();

            var colorScheme1 = new ColorScheme {Name = "Office"};

            var dark1Color1 = new Dark1Color();
            var systemColor1 = new SystemColor
            {
                Val = SystemColorValues.WindowText,
                LastColor = Theme.Text1.Color.ToHex().Substring(2)
            };

            dark1Color1.AppendChild(systemColor1);

            var light1Color1 = new Light1Color();
            var systemColor2 = new SystemColor
            {
                Val = SystemColorValues.Window,
                LastColor = Theme.Background1.Color.ToHex().Substring(2)
            };

            light1Color1.AppendChild(systemColor2);

            var dark2Color1 = new Dark2Color();
            var rgbColorModelHex1 = new RgbColorModelHex {Val = Theme.Text2.Color.ToHex().Substring(2)};

            dark2Color1.AppendChild(rgbColorModelHex1);

            var light2Color1 = new Light2Color();
            var rgbColorModelHex2 = new RgbColorModelHex {Val = Theme.Background2.Color.ToHex().Substring(2)};

            light2Color1.AppendChild(rgbColorModelHex2);

            var accent1Color1 = new Accent1Color();
            var rgbColorModelHex3 = new RgbColorModelHex {Val = Theme.Accent1.Color.ToHex().Substring(2)};

            accent1Color1.AppendChild(rgbColorModelHex3);

            var accent2Color1 = new Accent2Color();
            var rgbColorModelHex4 = new RgbColorModelHex {Val = Theme.Accent2.Color.ToHex().Substring(2)};

            accent2Color1.AppendChild(rgbColorModelHex4);

            var accent3Color1 = new Accent3Color();
            var rgbColorModelHex5 = new RgbColorModelHex {Val = Theme.Accent3.Color.ToHex().Substring(2)};

            accent3Color1.AppendChild(rgbColorModelHex5);

            var accent4Color1 = new Accent4Color();
            var rgbColorModelHex6 = new RgbColorModelHex {Val = Theme.Accent4.Color.ToHex().Substring(2)};

            accent4Color1.AppendChild(rgbColorModelHex6);

            var accent5Color1 = new Accent5Color();
            var rgbColorModelHex7 = new RgbColorModelHex {Val = Theme.Accent5.Color.ToHex().Substring(2)};

            accent5Color1.AppendChild(rgbColorModelHex7);

            var accent6Color1 = new Accent6Color();
            var rgbColorModelHex8 = new RgbColorModelHex {Val = Theme.Accent6.Color.ToHex().Substring(2)};

            accent6Color1.AppendChild(rgbColorModelHex8);

            var hyperlink1 = new DocumentFormat.OpenXml.Drawing.Hyperlink();
            var rgbColorModelHex9 = new RgbColorModelHex {Val = Theme.Hyperlink.Color.ToHex().Substring(2)};

            hyperlink1.AppendChild(rgbColorModelHex9);

            var followedHyperlinkColor1 = new FollowedHyperlinkColor();
            var rgbColorModelHex10 = new RgbColorModelHex {Val = Theme.FollowedHyperlink.Color.ToHex().Substring(2)};

            followedHyperlinkColor1.AppendChild(rgbColorModelHex10);

            colorScheme1.AppendChild(dark1Color1);
            colorScheme1.AppendChild(light1Color1);
            colorScheme1.AppendChild(dark2Color1);
            colorScheme1.AppendChild(light2Color1);
            colorScheme1.AppendChild(accent1Color1);
            colorScheme1.AppendChild(accent2Color1);
            colorScheme1.AppendChild(accent3Color1);
            colorScheme1.AppendChild(accent4Color1);
            colorScheme1.AppendChild(accent5Color1);
            colorScheme1.AppendChild(accent6Color1);
            colorScheme1.AppendChild(hyperlink1);
            colorScheme1.AppendChild(followedHyperlinkColor1);

            var fontScheme2 = new FontScheme {Name = "Office"};

            var majorFont1 = new MajorFont();
            var latinFont1 = new LatinFont {Typeface = "Cambria"};
            var eastAsianFont1 = new EastAsianFont {Typeface = ""};
            var complexScriptFont1 = new ComplexScriptFont {Typeface = ""};
            var supplementalFont1 = new SupplementalFont {Script = "Jpan", Typeface = "MS Pゴシック"};
            var supplementalFont2 = new SupplementalFont {Script = "Hang", Typeface = "맑은 고딕"};
            var supplementalFont3 = new SupplementalFont {Script = "Hans", Typeface = "宋体"};
            var supplementalFont4 = new SupplementalFont {Script = "Hant", Typeface = "新細明體"};
            var supplementalFont5 = new SupplementalFont {Script = "Arab", Typeface = "Times New Roman"};
            var supplementalFont6 = new SupplementalFont {Script = "Hebr", Typeface = "Times New Roman"};
            var supplementalFont7 = new SupplementalFont {Script = "Thai", Typeface = "Tahoma"};
            var supplementalFont8 = new SupplementalFont {Script = "Ethi", Typeface = "Nyala"};
            var supplementalFont9 = new SupplementalFont {Script = "Beng", Typeface = "Vrinda"};
            var supplementalFont10 = new SupplementalFont {Script = "Gujr", Typeface = "Shruti"};
            var supplementalFont11 = new SupplementalFont {Script = "Khmr", Typeface = "MoolBoran"};
            var supplementalFont12 = new SupplementalFont {Script = "Knda", Typeface = "Tunga"};
            var supplementalFont13 = new SupplementalFont {Script = "Guru", Typeface = "Raavi"};
            var supplementalFont14 = new SupplementalFont {Script = "Cans", Typeface = "Euphemia"};
            var supplementalFont15 = new SupplementalFont {Script = "Cher", Typeface = "Plantagenet Cherokee"};
            var supplementalFont16 = new SupplementalFont {Script = "Yiii", Typeface = "Microsoft Yi Baiti"};
            var supplementalFont17 = new SupplementalFont {Script = "Tibt", Typeface = "Microsoft Himalaya"};
            var supplementalFont18 = new SupplementalFont {Script = "Thaa", Typeface = "MV Boli"};
            var supplementalFont19 = new SupplementalFont {Script = "Deva", Typeface = "Mangal"};
            var supplementalFont20 = new SupplementalFont {Script = "Telu", Typeface = "Gautami"};
            var supplementalFont21 = new SupplementalFont {Script = "Taml", Typeface = "Latha"};
            var supplementalFont22 = new SupplementalFont {Script = "Syrc", Typeface = "Estrangelo Edessa"};
            var supplementalFont23 = new SupplementalFont {Script = "Orya", Typeface = "Kalinga"};
            var supplementalFont24 = new SupplementalFont {Script = "Mlym", Typeface = "Kartika"};
            var supplementalFont25 = new SupplementalFont {Script = "Laoo", Typeface = "DokChampa"};
            var supplementalFont26 = new SupplementalFont {Script = "Sinh", Typeface = "Iskoola Pota"};
            var supplementalFont27 = new SupplementalFont {Script = "Mong", Typeface = "Mongolian Baiti"};
            var supplementalFont28 = new SupplementalFont {Script = "Viet", Typeface = "Times New Roman"};
            var supplementalFont29 = new SupplementalFont {Script = "Uigh", Typeface = "Microsoft Uighur"};

            majorFont1.AppendChild(latinFont1);
            majorFont1.AppendChild(eastAsianFont1);
            majorFont1.AppendChild(complexScriptFont1);
            majorFont1.AppendChild(supplementalFont1);
            majorFont1.AppendChild(supplementalFont2);
            majorFont1.AppendChild(supplementalFont3);
            majorFont1.AppendChild(supplementalFont4);
            majorFont1.AppendChild(supplementalFont5);
            majorFont1.AppendChild(supplementalFont6);
            majorFont1.AppendChild(supplementalFont7);
            majorFont1.AppendChild(supplementalFont8);
            majorFont1.AppendChild(supplementalFont9);
            majorFont1.AppendChild(supplementalFont10);
            majorFont1.AppendChild(supplementalFont11);
            majorFont1.AppendChild(supplementalFont12);
            majorFont1.AppendChild(supplementalFont13);
            majorFont1.AppendChild(supplementalFont14);
            majorFont1.AppendChild(supplementalFont15);
            majorFont1.AppendChild(supplementalFont16);
            majorFont1.AppendChild(supplementalFont17);
            majorFont1.AppendChild(supplementalFont18);
            majorFont1.AppendChild(supplementalFont19);
            majorFont1.AppendChild(supplementalFont20);
            majorFont1.AppendChild(supplementalFont21);
            majorFont1.AppendChild(supplementalFont22);
            majorFont1.AppendChild(supplementalFont23);
            majorFont1.AppendChild(supplementalFont24);
            majorFont1.AppendChild(supplementalFont25);
            majorFont1.AppendChild(supplementalFont26);
            majorFont1.AppendChild(supplementalFont27);
            majorFont1.AppendChild(supplementalFont28);
            majorFont1.AppendChild(supplementalFont29);

            var minorFont1 = new MinorFont();
            var latinFont2 = new LatinFont {Typeface = "Calibri"};
            var eastAsianFont2 = new EastAsianFont {Typeface = ""};
            var complexScriptFont2 = new ComplexScriptFont {Typeface = ""};
            var supplementalFont30 = new SupplementalFont {Script = "Jpan", Typeface = "MS Pゴシック"};
            var supplementalFont31 = new SupplementalFont {Script = "Hang", Typeface = "맑은 고딕"};
            var supplementalFont32 = new SupplementalFont {Script = "Hans", Typeface = "宋体"};
            var supplementalFont33 = new SupplementalFont {Script = "Hant", Typeface = "新細明體"};
            var supplementalFont34 = new SupplementalFont {Script = "Arab", Typeface = "Arial"};
            var supplementalFont35 = new SupplementalFont {Script = "Hebr", Typeface = "Arial"};
            var supplementalFont36 = new SupplementalFont {Script = "Thai", Typeface = "Tahoma"};
            var supplementalFont37 = new SupplementalFont {Script = "Ethi", Typeface = "Nyala"};
            var supplementalFont38 = new SupplementalFont {Script = "Beng", Typeface = "Vrinda"};
            var supplementalFont39 = new SupplementalFont {Script = "Gujr", Typeface = "Shruti"};
            var supplementalFont40 = new SupplementalFont {Script = "Khmr", Typeface = "DaunPenh"};
            var supplementalFont41 = new SupplementalFont {Script = "Knda", Typeface = "Tunga"};
            var supplementalFont42 = new SupplementalFont {Script = "Guru", Typeface = "Raavi"};
            var supplementalFont43 = new SupplementalFont {Script = "Cans", Typeface = "Euphemia"};
            var supplementalFont44 = new SupplementalFont {Script = "Cher", Typeface = "Plantagenet Cherokee"};
            var supplementalFont45 = new SupplementalFont {Script = "Yiii", Typeface = "Microsoft Yi Baiti"};
            var supplementalFont46 = new SupplementalFont {Script = "Tibt", Typeface = "Microsoft Himalaya"};
            var supplementalFont47 = new SupplementalFont {Script = "Thaa", Typeface = "MV Boli"};
            var supplementalFont48 = new SupplementalFont {Script = "Deva", Typeface = "Mangal"};
            var supplementalFont49 = new SupplementalFont {Script = "Telu", Typeface = "Gautami"};
            var supplementalFont50 = new SupplementalFont {Script = "Taml", Typeface = "Latha"};
            var supplementalFont51 = new SupplementalFont {Script = "Syrc", Typeface = "Estrangelo Edessa"};
            var supplementalFont52 = new SupplementalFont {Script = "Orya", Typeface = "Kalinga"};
            var supplementalFont53 = new SupplementalFont {Script = "Mlym", Typeface = "Kartika"};
            var supplementalFont54 = new SupplementalFont {Script = "Laoo", Typeface = "DokChampa"};
            var supplementalFont55 = new SupplementalFont {Script = "Sinh", Typeface = "Iskoola Pota"};
            var supplementalFont56 = new SupplementalFont {Script = "Mong", Typeface = "Mongolian Baiti"};
            var supplementalFont57 = new SupplementalFont {Script = "Viet", Typeface = "Arial"};
            var supplementalFont58 = new SupplementalFont {Script = "Uigh", Typeface = "Microsoft Uighur"};

            minorFont1.AppendChild(latinFont2);
            minorFont1.AppendChild(eastAsianFont2);
            minorFont1.AppendChild(complexScriptFont2);
            minorFont1.AppendChild(supplementalFont30);
            minorFont1.AppendChild(supplementalFont31);
            minorFont1.AppendChild(supplementalFont32);
            minorFont1.AppendChild(supplementalFont33);
            minorFont1.AppendChild(supplementalFont34);
            minorFont1.AppendChild(supplementalFont35);
            minorFont1.AppendChild(supplementalFont36);
            minorFont1.AppendChild(supplementalFont37);
            minorFont1.AppendChild(supplementalFont38);
            minorFont1.AppendChild(supplementalFont39);
            minorFont1.AppendChild(supplementalFont40);
            minorFont1.AppendChild(supplementalFont41);
            minorFont1.AppendChild(supplementalFont42);
            minorFont1.AppendChild(supplementalFont43);
            minorFont1.AppendChild(supplementalFont44);
            minorFont1.AppendChild(supplementalFont45);
            minorFont1.AppendChild(supplementalFont46);
            minorFont1.AppendChild(supplementalFont47);
            minorFont1.AppendChild(supplementalFont48);
            minorFont1.AppendChild(supplementalFont49);
            minorFont1.AppendChild(supplementalFont50);
            minorFont1.AppendChild(supplementalFont51);
            minorFont1.AppendChild(supplementalFont52);
            minorFont1.AppendChild(supplementalFont53);
            minorFont1.AppendChild(supplementalFont54);
            minorFont1.AppendChild(supplementalFont55);
            minorFont1.AppendChild(supplementalFont56);
            minorFont1.AppendChild(supplementalFont57);
            minorFont1.AppendChild(supplementalFont58);

            fontScheme2.AppendChild(majorFont1);
            fontScheme2.AppendChild(minorFont1);

            var formatScheme1 = new FormatScheme {Name = "Office"};

            var fillStyleList1 = new FillStyleList();

            var solidFill1 = new SolidFill();
            var schemeColor1 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill1.AppendChild(schemeColor1);

            var gradientFill1 = new GradientFill {RotateWithShape = true};

            var gradientStopList1 = new GradientStopList();

            var gradientStop1 = new GradientStop {Position = 0};

            var schemeColor2 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint1 = new Tint {Val = 50000};
            var saturationModulation1 = new SaturationModulation {Val = 300000};

            schemeColor2.AppendChild(tint1);
            schemeColor2.AppendChild(saturationModulation1);

            gradientStop1.AppendChild(schemeColor2);

            var gradientStop2 = new GradientStop {Position = 35000};

            var schemeColor3 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint2 = new Tint {Val = 37000};
            var saturationModulation2 = new SaturationModulation {Val = 300000};

            schemeColor3.AppendChild(tint2);
            schemeColor3.AppendChild(saturationModulation2);

            gradientStop2.AppendChild(schemeColor3);

            var gradientStop3 = new GradientStop {Position = 100000};

            var schemeColor4 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint3 = new Tint {Val = 15000};
            var saturationModulation3 = new SaturationModulation {Val = 350000};

            schemeColor4.AppendChild(tint3);
            schemeColor4.AppendChild(saturationModulation3);

            gradientStop3.AppendChild(schemeColor4);

            gradientStopList1.AppendChild(gradientStop1);
            gradientStopList1.AppendChild(gradientStop2);
            gradientStopList1.AppendChild(gradientStop3);
            var linearGradientFill1 = new LinearGradientFill {Angle = 16200000, Scaled = true};

            gradientFill1.AppendChild(gradientStopList1);
            gradientFill1.AppendChild(linearGradientFill1);

            var gradientFill2 = new GradientFill {RotateWithShape = true};

            var gradientStopList2 = new GradientStopList();

            var gradientStop4 = new GradientStop {Position = 0};

            var schemeColor5 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade1 = new Shade {Val = 51000};
            var saturationModulation4 = new SaturationModulation {Val = 130000};

            schemeColor5.AppendChild(shade1);
            schemeColor5.AppendChild(saturationModulation4);

            gradientStop4.AppendChild(schemeColor5);

            var gradientStop5 = new GradientStop {Position = 80000};

            var schemeColor6 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade2 = new Shade {Val = 93000};
            var saturationModulation5 = new SaturationModulation {Val = 130000};

            schemeColor6.AppendChild(shade2);
            schemeColor6.AppendChild(saturationModulation5);

            gradientStop5.AppendChild(schemeColor6);

            var gradientStop6 = new GradientStop {Position = 100000};

            var schemeColor7 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade3 = new Shade {Val = 94000};
            var saturationModulation6 = new SaturationModulation {Val = 135000};

            schemeColor7.AppendChild(shade3);
            schemeColor7.AppendChild(saturationModulation6);

            gradientStop6.AppendChild(schemeColor7);

            gradientStopList2.AppendChild(gradientStop4);
            gradientStopList2.AppendChild(gradientStop5);
            gradientStopList2.AppendChild(gradientStop6);
            var linearGradientFill2 = new LinearGradientFill {Angle = 16200000, Scaled = false};

            gradientFill2.AppendChild(gradientStopList2);
            gradientFill2.AppendChild(linearGradientFill2);

            fillStyleList1.AppendChild(solidFill1);
            fillStyleList1.AppendChild(gradientFill1);
            fillStyleList1.AppendChild(gradientFill2);

            var lineStyleList1 = new LineStyleList();

            var outline1 = new Outline
            {
                Width = 9525,
                CapType = LineCapValues.Flat,
                CompoundLineType = CompoundLineValues.Single,
                Alignment = PenAlignmentValues.Center
            };

            var solidFill2 = new SolidFill();

            var schemeColor8 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade4 = new Shade {Val = 95000};
            var saturationModulation7 = new SaturationModulation {Val = 105000};

            schemeColor8.AppendChild(shade4);
            schemeColor8.AppendChild(saturationModulation7);

            solidFill2.AppendChild(schemeColor8);
            var presetDash1 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline1.AppendChild(solidFill2);
            outline1.AppendChild(presetDash1);

            var outline2 = new Outline
            {
                Width = 25400,
                CapType = LineCapValues.Flat,
                CompoundLineType = CompoundLineValues.Single,
                Alignment = PenAlignmentValues.Center
            };

            var solidFill3 = new SolidFill();
            var schemeColor9 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill3.AppendChild(schemeColor9);
            var presetDash2 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline2.AppendChild(solidFill3);
            outline2.AppendChild(presetDash2);

            var outline3 = new Outline
            {
                Width = 38100,
                CapType = LineCapValues.Flat,
                CompoundLineType = CompoundLineValues.Single,
                Alignment = PenAlignmentValues.Center
            };

            var solidFill4 = new SolidFill();
            var schemeColor10 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill4.AppendChild(schemeColor10);
            var presetDash3 = new PresetDash {Val = PresetLineDashValues.Solid};

            outline3.AppendChild(solidFill4);
            outline3.AppendChild(presetDash3);

            lineStyleList1.AppendChild(outline1);
            lineStyleList1.AppendChild(outline2);
            lineStyleList1.AppendChild(outline3);

            var effectStyleList1 = new EffectStyleList();

            var effectStyle1 = new EffectStyle();

            var effectList1 = new EffectList();

            var outerShadow1 = new OuterShadow
            {
                BlurRadius = 40000L,
                Distance = 20000L,
                Direction = 5400000,
                RotateWithShape = false
            };

            var rgbColorModelHex11 = new RgbColorModelHex {Val = "000000"};
            var alpha1 = new Alpha {Val = 38000};

            rgbColorModelHex11.AppendChild(alpha1);

            outerShadow1.AppendChild(rgbColorModelHex11);

            effectList1.AppendChild(outerShadow1);

            effectStyle1.AppendChild(effectList1);

            var effectStyle2 = new EffectStyle();

            var effectList2 = new EffectList();

            var outerShadow2 = new OuterShadow
            {
                BlurRadius = 40000L,
                Distance = 23000L,
                Direction = 5400000,
                RotateWithShape = false
            };

            var rgbColorModelHex12 = new RgbColorModelHex {Val = "000000"};
            var alpha2 = new Alpha {Val = 35000};

            rgbColorModelHex12.AppendChild(alpha2);

            outerShadow2.AppendChild(rgbColorModelHex12);

            effectList2.AppendChild(outerShadow2);

            effectStyle2.AppendChild(effectList2);

            var effectStyle3 = new EffectStyle();

            var effectList3 = new EffectList();

            var outerShadow3 = new OuterShadow
            {
                BlurRadius = 40000L,
                Distance = 23000L,
                Direction = 5400000,
                RotateWithShape = false
            };

            var rgbColorModelHex13 = new RgbColorModelHex {Val = "000000"};
            var alpha3 = new Alpha {Val = 35000};

            rgbColorModelHex13.AppendChild(alpha3);

            outerShadow3.AppendChild(rgbColorModelHex13);

            effectList3.AppendChild(outerShadow3);

            var scene3DType1 = new Scene3DType();

            var camera1 = new Camera {Preset = PresetCameraValues.OrthographicFront};
            var rotation1 = new Rotation {Latitude = 0, Longitude = 0, Revolution = 0};

            camera1.AppendChild(rotation1);

            var lightRig1 = new LightRig {Rig = LightRigValues.ThreePoints, Direction = LightRigDirectionValues.Top};
            var rotation2 = new Rotation {Latitude = 0, Longitude = 0, Revolution = 1200000};

            lightRig1.AppendChild(rotation2);

            scene3DType1.AppendChild(camera1);
            scene3DType1.AppendChild(lightRig1);

            var shape3DType1 = new Shape3DType();
            var bevelTop1 = new BevelTop {Width = 63500L, Height = 25400L};

            shape3DType1.AppendChild(bevelTop1);

            effectStyle3.AppendChild(effectList3);
            effectStyle3.AppendChild(scene3DType1);
            effectStyle3.AppendChild(shape3DType1);

            effectStyleList1.AppendChild(effectStyle1);
            effectStyleList1.AppendChild(effectStyle2);
            effectStyleList1.AppendChild(effectStyle3);

            var backgroundFillStyleList1 = new BackgroundFillStyleList();

            var solidFill5 = new SolidFill();
            var schemeColor11 = new SchemeColor {Val = SchemeColorValues.PhColor};

            solidFill5.AppendChild(schemeColor11);

            var gradientFill3 = new GradientFill {RotateWithShape = true};

            var gradientStopList3 = new GradientStopList();

            var gradientStop7 = new GradientStop {Position = 0};

            var schemeColor12 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint4 = new Tint {Val = 40000};
            var saturationModulation8 = new SaturationModulation {Val = 350000};

            schemeColor12.AppendChild(tint4);
            schemeColor12.AppendChild(saturationModulation8);

            gradientStop7.AppendChild(schemeColor12);

            var gradientStop8 = new GradientStop {Position = 40000};

            var schemeColor13 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint5 = new Tint {Val = 45000};
            var shade5 = new Shade {Val = 99000};
            var saturationModulation9 = new SaturationModulation {Val = 350000};

            schemeColor13.AppendChild(tint5);
            schemeColor13.AppendChild(shade5);
            schemeColor13.AppendChild(saturationModulation9);

            gradientStop8.AppendChild(schemeColor13);

            var gradientStop9 = new GradientStop {Position = 100000};

            var schemeColor14 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade6 = new Shade {Val = 20000};
            var saturationModulation10 = new SaturationModulation {Val = 255000};

            schemeColor14.AppendChild(shade6);
            schemeColor14.AppendChild(saturationModulation10);

            gradientStop9.AppendChild(schemeColor14);

            gradientStopList3.AppendChild(gradientStop7);
            gradientStopList3.AppendChild(gradientStop8);
            gradientStopList3.AppendChild(gradientStop9);

            var pathGradientFill1 = new PathGradientFill {Path = PathShadeValues.Circle};
            var fillToRectangle1 = new FillToRectangle {Left = 50000, Top = -80000, Right = 50000, Bottom = 180000};

            pathGradientFill1.AppendChild(fillToRectangle1);

            gradientFill3.AppendChild(gradientStopList3);
            gradientFill3.AppendChild(pathGradientFill1);

            var gradientFill4 = new GradientFill {RotateWithShape = true};

            var gradientStopList4 = new GradientStopList();

            var gradientStop10 = new GradientStop {Position = 0};

            var schemeColor15 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var tint6 = new Tint {Val = 80000};
            var saturationModulation11 = new SaturationModulation {Val = 300000};

            schemeColor15.AppendChild(tint6);
            schemeColor15.AppendChild(saturationModulation11);

            gradientStop10.AppendChild(schemeColor15);

            var gradientStop11 = new GradientStop {Position = 100000};

            var schemeColor16 = new SchemeColor {Val = SchemeColorValues.PhColor};
            var shade7 = new Shade {Val = 30000};
            var saturationModulation12 = new SaturationModulation {Val = 200000};

            schemeColor16.AppendChild(shade7);
            schemeColor16.AppendChild(saturationModulation12);

            gradientStop11.AppendChild(schemeColor16);

            gradientStopList4.AppendChild(gradientStop10);
            gradientStopList4.AppendChild(gradientStop11);

            var pathGradientFill2 = new PathGradientFill {Path = PathShadeValues.Circle};
            var fillToRectangle2 = new FillToRectangle {Left = 50000, Top = 50000, Right = 50000, Bottom = 50000};

            pathGradientFill2.AppendChild(fillToRectangle2);

            gradientFill4.AppendChild(gradientStopList4);
            gradientFill4.AppendChild(pathGradientFill2);

            backgroundFillStyleList1.AppendChild(solidFill5);
            backgroundFillStyleList1.AppendChild(gradientFill3);
            backgroundFillStyleList1.AppendChild(gradientFill4);

            formatScheme1.AppendChild(fillStyleList1);
            formatScheme1.AppendChild(lineStyleList1);
            formatScheme1.AppendChild(effectStyleList1);
            formatScheme1.AppendChild(backgroundFillStyleList1);

            themeElements1.AppendChild(colorScheme1);
            themeElements1.AppendChild(fontScheme2);
            themeElements1.AppendChild(formatScheme1);
            var objectDefaults1 = new ObjectDefaults();
            var extraColorSchemeList1 = new ExtraColorSchemeList();

            theme1.AppendChild(themeElements1);
            theme1.AppendChild(objectDefaults1);
            theme1.AppendChild(extraColorSchemeList1);

            themePart.Theme = theme1;
        }
Ejemplo n.º 7
0
        private void DrawDashedLine(Wpg.WordprocessingGroup wordprocessingGroup1, Rect extents, Point bondStart, Point bondEnd)
        {
            UInt32Value bondLineId   = UInt32Value.FromUInt32((uint)m_ooxmlId++);
            string      bondLineName = "DashedBondLine" + bondLineId;

            Int64Value width  = OoXmlHelper.ScaleCmlToEmu(extents.Width);
            Int64Value height = OoXmlHelper.ScaleCmlToEmu(extents.Height);
            Int64Value top    = OoXmlHelper.ScaleCmlToEmu(extents.Top);
            Int64Value left   = OoXmlHelper.ScaleCmlToEmu(extents.Left);

            Wps.WordprocessingShape        wordprocessingShape1        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Wps.NonVisualDrawingProperties()
            {
                Id = bondLineId, Name = bondLineName
            };
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties();

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = left, Y = top
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = width, Cy = height
            };

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

            A.CustomGeometry  customGeometry1  = new A.CustomGeometry();
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();
            A.Rectangle       rectangle1       = new A.Rectangle()
            {
                Left = "l", Top = "t", Right = "r", Bottom = "b"
            };

            A.PathList pathList1 = new A.PathList();

            A.Path path1 = new A.Path()
            {
                Width = width, Height = height
            };

            A.MoveTo moveTo1 = new A.MoveTo();
            A.Point  point1  = new A.Point()
            {
                X = OoXmlHelper.ScaleCmlToEmu(bondStart.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondStart.Y).ToString()
            };

            moveTo1.Append(point1);

            A.LineTo lineTo1 = new A.LineTo();
            A.Point  point2  = new A.Point()
            {
                X = OoXmlHelper.ScaleCmlToEmu(bondEnd.X).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondEnd.Y).ToString()
            };

            lineTo1.Append(point2);

            path1.Append(moveTo1);
            path1.Append(lineTo1);

            pathList1.Append(path1);

            customGeometry1.Append(adjustValueList1);
            customGeometry1.Append(rectangle1);
            customGeometry1.Append(pathList1);

            A.Outline outline1 = new A.Outline()
            {
                Width = 9525, CapType = A.LineCapValues.Round
            };

            A.SolidFill  solidFill1  = new A.SolidFill();
            A.PresetDash presetDash1 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.LargeDash
            };

            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };

            rgbColorModelHex1.Append(alpha1);

            solidFill1.Append(rgbColorModelHex1);

            outline1.Append(solidFill1);
            outline1.Append(presetDash1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(customGeometry1);
            shapeProperties1.Append(outline1);

            Wps.ShapeStyle  shapeStyle1    = new Wps.ShapeStyle();
            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);
            Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties();

            wordprocessingShape1.Append(nonVisualDrawingProperties1);
            wordprocessingShape1.Append(nonVisualDrawingShapeProperties1);
            wordprocessingShape1.Append(shapeProperties1);
            wordprocessingShape1.Append(shapeStyle1);
            wordprocessingShape1.Append(textBodyProperties1);

            wordprocessingGroup1.Append(wordprocessingShape1);
        }
        // Generates content of themePart1.
        private static void GenerateThemePart1Content(ThemePart themePart1)
        {
            var theme1 = new A.Theme {
                Name = "Larissa"
            };

            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            var themeElements1 = new A.ThemeElements();

            var colorScheme1 = new A.ColorScheme {
                Name = "Larissa"
            };

            var dark1Color1  = new A.Dark1Color();
            var systemColor1 = new A.SystemColor {
                Val = A.SystemColorValues.WindowText, LastColor = "000000"
            };

            dark1Color1.Append(systemColor1);

            var light1Color1 = new A.Light1Color();
            var systemColor2 = new A.SystemColor {
                Val = A.SystemColorValues.Window, LastColor = "FFFFFF"
            };

            light1Color1.Append(systemColor2);

            var dark2Color1       = new A.Dark2Color();
            var rgbColorModelHex1 = new A.RgbColorModelHex {
                Val = "1F497D"
            };

            dark2Color1.Append(rgbColorModelHex1);

            var light2Color1      = new A.Light2Color();
            var rgbColorModelHex2 = new A.RgbColorModelHex {
                Val = "EEECE1"
            };

            light2Color1.Append(rgbColorModelHex2);

            var accent1Color1     = new A.Accent1Color();
            var rgbColorModelHex3 = new A.RgbColorModelHex {
                Val = "4F81BD"
            };

            accent1Color1.Append(rgbColorModelHex3);

            var accent2Color1     = new A.Accent2Color();
            var rgbColorModelHex4 = new A.RgbColorModelHex {
                Val = "C0504D"
            };

            accent2Color1.Append(rgbColorModelHex4);

            var accent3Color1     = new A.Accent3Color();
            var rgbColorModelHex5 = new A.RgbColorModelHex {
                Val = "9BBB59"
            };

            accent3Color1.Append(rgbColorModelHex5);

            var accent4Color1     = new A.Accent4Color();
            var rgbColorModelHex6 = new A.RgbColorModelHex {
                Val = "8064A2"
            };

            accent4Color1.Append(rgbColorModelHex6);

            var accent5Color1     = new A.Accent5Color();
            var rgbColorModelHex7 = new A.RgbColorModelHex {
                Val = "4BACC6"
            };

            accent5Color1.Append(rgbColorModelHex7);

            var accent6Color1     = new A.Accent6Color();
            var rgbColorModelHex8 = new A.RgbColorModelHex {
                Val = "F79646"
            };

            accent6Color1.Append(rgbColorModelHex8);

            var hyperlink1        = new A.Hyperlink();
            var rgbColorModelHex9 = new A.RgbColorModelHex {
                Val = "0000FF"
            };

            hyperlink1.Append(rgbColorModelHex9);

            var followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            var rgbColorModelHex10      = new A.RgbColorModelHex {
                Val = "800080"
            };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            var fontScheme2 = new A.FontScheme {
                Name = "Larissa"
            };

            var majorFont1 = new A.MajorFont();
            var latinFont1 = new A.LatinFont {
                Typeface = "Cambria"
            };
            var eastAsianFont1 = new A.EastAsianFont {
                Typeface = ""
            };
            var complexScriptFont1 = new A.ComplexScriptFont {
                Typeface = ""
            };
            var supplementalFont1 = new A.SupplementalFont {
                Script = "Jpan", Typeface = "MS Pゴシック"
            };
            var supplementalFont2 = new A.SupplementalFont {
                Script = "Hang", Typeface = "맑은 고딕"
            };
            var supplementalFont3 = new A.SupplementalFont {
                Script = "Hans", Typeface = "宋体"
            };
            var supplementalFont4 = new A.SupplementalFont {
                Script = "Hant", Typeface = "新細明體"
            };
            var supplementalFont5 = new A.SupplementalFont {
                Script = "Arab", Typeface = "Times New Roman"
            };
            var supplementalFont6 = new A.SupplementalFont {
                Script = "Hebr", Typeface = "Times New Roman"
            };
            var supplementalFont7 = new A.SupplementalFont {
                Script = "Thai", Typeface = "Tahoma"
            };
            var supplementalFont8 = new A.SupplementalFont {
                Script = "Ethi", Typeface = "Nyala"
            };
            var supplementalFont9 = new A.SupplementalFont {
                Script = "Beng", Typeface = "Vrinda"
            };
            var supplementalFont10 = new A.SupplementalFont {
                Script = "Gujr", Typeface = "Shruti"
            };
            var supplementalFont11 = new A.SupplementalFont {
                Script = "Khmr", Typeface = "MoolBoran"
            };
            var supplementalFont12 = new A.SupplementalFont {
                Script = "Knda", Typeface = "Tunga"
            };
            var supplementalFont13 = new A.SupplementalFont {
                Script = "Guru", Typeface = "Raavi"
            };
            var supplementalFont14 = new A.SupplementalFont {
                Script = "Cans", Typeface = "Euphemia"
            };
            var supplementalFont15 = new A.SupplementalFont {
                Script = "Cher", Typeface = "Plantagenet Cherokee"
            };
            var supplementalFont16 = new A.SupplementalFont {
                Script = "Yiii", Typeface = "Microsoft Yi Baiti"
            };
            var supplementalFont17 = new A.SupplementalFont {
                Script = "Tibt", Typeface = "Microsoft Himalaya"
            };
            var supplementalFont18 = new A.SupplementalFont {
                Script = "Thaa", Typeface = "MV Boli"
            };
            var supplementalFont19 = new A.SupplementalFont {
                Script = "Deva", Typeface = "Mangal"
            };
            var supplementalFont20 = new A.SupplementalFont {
                Script = "Telu", Typeface = "Gautami"
            };
            var supplementalFont21 = new A.SupplementalFont {
                Script = "Taml", Typeface = "Latha"
            };
            var supplementalFont22 = new A.SupplementalFont {
                Script = "Syrc", Typeface = "Estrangelo Edessa"
            };
            var supplementalFont23 = new A.SupplementalFont {
                Script = "Orya", Typeface = "Kalinga"
            };
            var supplementalFont24 = new A.SupplementalFont {
                Script = "Mlym", Typeface = "Kartika"
            };
            var supplementalFont25 = new A.SupplementalFont {
                Script = "Laoo", Typeface = "DokChampa"
            };
            var supplementalFont26 = new A.SupplementalFont {
                Script = "Sinh", Typeface = "Iskoola Pota"
            };
            var supplementalFont27 = new A.SupplementalFont {
                Script = "Mong", Typeface = "Mongolian Baiti"
            };
            var supplementalFont28 = new A.SupplementalFont {
                Script = "Viet", Typeface = "Times New Roman"
            };
            var supplementalFont29 = new A.SupplementalFont {
                Script = "Uigh", Typeface = "Microsoft Uighur"
            };
            var supplementalFont30 = new A.SupplementalFont {
                Script = "Geor", Typeface = "Sylfaen"
            };

            majorFont1.Append(latinFont1);
            majorFont1.Append(eastAsianFont1);
            majorFont1.Append(complexScriptFont1);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);

            var minorFont1 = new A.MinorFont();
            var latinFont2 = new A.LatinFont {
                Typeface = "Calibri"
            };
            var eastAsianFont2 = new A.EastAsianFont {
                Typeface = ""
            };
            var complexScriptFont2 = new A.ComplexScriptFont {
                Typeface = ""
            };
            var supplementalFont31 = new A.SupplementalFont {
                Script = "Jpan", Typeface = "MS Pゴシック"
            };
            var supplementalFont32 = new A.SupplementalFont {
                Script = "Hang", Typeface = "맑은 고딕"
            };
            var supplementalFont33 = new A.SupplementalFont {
                Script = "Hans", Typeface = "宋体"
            };
            var supplementalFont34 = new A.SupplementalFont {
                Script = "Hant", Typeface = "新細明體"
            };
            var supplementalFont35 = new A.SupplementalFont {
                Script = "Arab", Typeface = "Arial"
            };
            var supplementalFont36 = new A.SupplementalFont {
                Script = "Hebr", Typeface = "Arial"
            };
            var supplementalFont37 = new A.SupplementalFont {
                Script = "Thai", Typeface = "Tahoma"
            };
            var supplementalFont38 = new A.SupplementalFont {
                Script = "Ethi", Typeface = "Nyala"
            };
            var supplementalFont39 = new A.SupplementalFont {
                Script = "Beng", Typeface = "Vrinda"
            };
            var supplementalFont40 = new A.SupplementalFont {
                Script = "Gujr", Typeface = "Shruti"
            };
            var supplementalFont41 = new A.SupplementalFont {
                Script = "Khmr", Typeface = "DaunPenh"
            };
            var supplementalFont42 = new A.SupplementalFont {
                Script = "Knda", Typeface = "Tunga"
            };
            var supplementalFont43 = new A.SupplementalFont {
                Script = "Guru", Typeface = "Raavi"
            };
            var supplementalFont44 = new A.SupplementalFont {
                Script = "Cans", Typeface = "Euphemia"
            };
            var supplementalFont45 = new A.SupplementalFont {
                Script = "Cher", Typeface = "Plantagenet Cherokee"
            };
            var supplementalFont46 = new A.SupplementalFont {
                Script = "Yiii", Typeface = "Microsoft Yi Baiti"
            };
            var supplementalFont47 = new A.SupplementalFont {
                Script = "Tibt", Typeface = "Microsoft Himalaya"
            };
            var supplementalFont48 = new A.SupplementalFont {
                Script = "Thaa", Typeface = "MV Boli"
            };
            var supplementalFont49 = new A.SupplementalFont {
                Script = "Deva", Typeface = "Mangal"
            };
            var supplementalFont50 = new A.SupplementalFont {
                Script = "Telu", Typeface = "Gautami"
            };
            var supplementalFont51 = new A.SupplementalFont {
                Script = "Taml", Typeface = "Latha"
            };
            var supplementalFont52 = new A.SupplementalFont {
                Script = "Syrc", Typeface = "Estrangelo Edessa"
            };
            var supplementalFont53 = new A.SupplementalFont {
                Script = "Orya", Typeface = "Kalinga"
            };
            var supplementalFont54 = new A.SupplementalFont {
                Script = "Mlym", Typeface = "Kartika"
            };
            var supplementalFont55 = new A.SupplementalFont {
                Script = "Laoo", Typeface = "DokChampa"
            };
            var supplementalFont56 = new A.SupplementalFont {
                Script = "Sinh", Typeface = "Iskoola Pota"
            };
            var supplementalFont57 = new A.SupplementalFont {
                Script = "Mong", Typeface = "Mongolian Baiti"
            };
            var supplementalFont58 = new A.SupplementalFont {
                Script = "Viet", Typeface = "Arial"
            };
            var supplementalFont59 = new A.SupplementalFont {
                Script = "Uigh", Typeface = "Microsoft Uighur"
            };
            var supplementalFont60 = new A.SupplementalFont {
                Script = "Geor", Typeface = "Sylfaen"
            };

            minorFont1.Append(latinFont2);
            minorFont1.Append(eastAsianFont2);
            minorFont1.Append(complexScriptFont2);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);

            fontScheme2.Append(majorFont1);
            fontScheme2.Append(minorFont1);

            var formatScheme1 = new A.FormatScheme {
                Name = "Larissa"
            };

            var fillStyleList1 = new A.FillStyleList();

            var solidFill1   = new A.SolidFill();
            var schemeColor1 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill1.Append(schemeColor1);

            var gradientFill1 = new A.GradientFill {
                RotateWithShape = true
            };

            var gradientStopList1 = new A.GradientStopList();

            var gradientStop1 = new A.GradientStop {
                Position = 0
            };

            var schemeColor2 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint1 = new A.Tint {
                Val = 50000
            };
            var saturationModulation1 = new A.SaturationModulation {
                Val = 300000
            };

            schemeColor2.Append(tint1);
            schemeColor2.Append(saturationModulation1);

            gradientStop1.Append(schemeColor2);

            var gradientStop2 = new A.GradientStop {
                Position = 35000
            };

            var schemeColor3 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint2 = new A.Tint {
                Val = 37000
            };
            var saturationModulation2 = new A.SaturationModulation {
                Val = 300000
            };

            schemeColor3.Append(tint2);
            schemeColor3.Append(saturationModulation2);

            gradientStop2.Append(schemeColor3);

            var gradientStop3 = new A.GradientStop {
                Position = 100000
            };

            var schemeColor4 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint3 = new A.Tint {
                Val = 15000
            };
            var saturationModulation3 = new A.SaturationModulation {
                Val = 350000
            };

            schemeColor4.Append(tint3);
            schemeColor4.Append(saturationModulation3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            var linearGradientFill1 = new A.LinearGradientFill {
                Angle = 16200000, Scaled = true
            };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            var gradientFill2 = new A.GradientFill {
                RotateWithShape = true
            };

            var gradientStopList2 = new A.GradientStopList();

            var gradientStop4 = new A.GradientStop {
                Position = 0
            };

            var schemeColor5 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade1 = new A.Shade {
                Val = 51000
            };
            var saturationModulation4 = new A.SaturationModulation {
                Val = 130000
            };

            schemeColor5.Append(shade1);
            schemeColor5.Append(saturationModulation4);

            gradientStop4.Append(schemeColor5);

            var gradientStop5 = new A.GradientStop {
                Position = 80000
            };

            var schemeColor6 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade2 = new A.Shade {
                Val = 93000
            };
            var saturationModulation5 = new A.SaturationModulation {
                Val = 130000
            };

            schemeColor6.Append(shade2);
            schemeColor6.Append(saturationModulation5);

            gradientStop5.Append(schemeColor6);

            var gradientStop6 = new A.GradientStop {
                Position = 100000
            };

            var schemeColor7 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade3 = new A.Shade {
                Val = 94000
            };
            var saturationModulation6 = new A.SaturationModulation {
                Val = 135000
            };

            schemeColor7.Append(shade3);
            schemeColor7.Append(saturationModulation6);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            var linearGradientFill2 = new A.LinearGradientFill {
                Angle = 16200000, Scaled = false
            };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill1);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            var lineStyleList1 = new A.LineStyleList();

            var outline1 = new A.Outline {
                Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            var solidFill2 = new A.SolidFill();

            var schemeColor8 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade4 = new A.Shade {
                Val = 95000
            };
            var saturationModulation7 = new A.SaturationModulation {
                Val = 105000
            };

            schemeColor8.Append(shade4);
            schemeColor8.Append(saturationModulation7);

            solidFill2.Append(schemeColor8);
            var presetDash1 = new A.PresetDash {
                Val = A.PresetLineDashValues.Solid
            };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);

            var outline2 = new A.Outline {
                Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            var solidFill3   = new A.SolidFill();
            var schemeColor9 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill3.Append(schemeColor9);
            var presetDash2 = new A.PresetDash {
                Val = A.PresetLineDashValues.Solid
            };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);

            var outline3 = new A.Outline {
                Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            var solidFill4    = new A.SolidFill();
            var schemeColor10 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill4.Append(schemeColor10);
            var presetDash3 = new A.PresetDash {
                Val = A.PresetLineDashValues.Solid
            };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            var effectStyleList1 = new A.EffectStyleList();

            var effectStyle1 = new A.EffectStyle();

            var effectList1 = new A.EffectList();

            var outerShadow1 = new A.OuterShadow {
                BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false
            };

            var rgbColorModelHex11 = new A.RgbColorModelHex {
                Val = "000000"
            };
            var alpha1 = new A.Alpha {
                Val = 38000
            };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList1.Append(outerShadow1);

            effectStyle1.Append(effectList1);

            var effectStyle2 = new A.EffectStyle();

            var effectList2 = new A.EffectList();

            var outerShadow2 = new A.OuterShadow {
                BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false
            };

            var rgbColorModelHex12 = new A.RgbColorModelHex {
                Val = "000000"
            };
            var alpha2 = new A.Alpha {
                Val = 35000
            };

            rgbColorModelHex12.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex12);

            effectList2.Append(outerShadow2);

            effectStyle2.Append(effectList2);

            var effectStyle3 = new A.EffectStyle();

            var effectList3 = new A.EffectList();

            var outerShadow3 = new A.OuterShadow {
                BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false
            };

            var rgbColorModelHex13 = new A.RgbColorModelHex {
                Val = "000000"
            };
            var alpha3 = new A.Alpha {
                Val = 35000
            };

            rgbColorModelHex13.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex13);

            effectList3.Append(outerShadow3);

            var scene3DType1 = new A.Scene3DType();

            var camera1 = new A.Camera {
                Preset = A.PresetCameraValues.OrthographicFront
            };
            var rotation1 = new A.Rotation {
                Latitude = 0, Longitude = 0, Revolution = 0
            };

            camera1.Append(rotation1);

            var lightRig1 = new A.LightRig {
                Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top
            };
            var rotation2 = new A.Rotation {
                Latitude = 0, Longitude = 0, Revolution = 1200000
            };

            lightRig1.Append(rotation2);

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            var shape3DType1 = new A.Shape3DType();
            var bevelTop1    = new A.BevelTop {
                Width = 63500L, Height = 25400L
            };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList3);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            var backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            var solidFill5    = new A.SolidFill();
            var schemeColor11 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill5.Append(schemeColor11);

            var gradientFill3 = new A.GradientFill {
                RotateWithShape = true
            };

            var gradientStopList3 = new A.GradientStopList();

            var gradientStop7 = new A.GradientStop {
                Position = 0
            };

            var schemeColor12 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint4 = new A.Tint {
                Val = 40000
            };
            var saturationModulation8 = new A.SaturationModulation {
                Val = 350000
            };

            schemeColor12.Append(tint4);
            schemeColor12.Append(saturationModulation8);

            gradientStop7.Append(schemeColor12);

            var gradientStop8 = new A.GradientStop {
                Position = 40000
            };

            var schemeColor13 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint5 = new A.Tint {
                Val = 45000
            };
            var shade5 = new A.Shade {
                Val = 99000
            };
            var saturationModulation9 = new A.SaturationModulation {
                Val = 350000
            };

            schemeColor13.Append(tint5);
            schemeColor13.Append(shade5);
            schemeColor13.Append(saturationModulation9);

            gradientStop8.Append(schemeColor13);

            var gradientStop9 = new A.GradientStop {
                Position = 100000
            };

            var schemeColor14 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade6 = new A.Shade {
                Val = 20000
            };
            var saturationModulation10 = new A.SaturationModulation {
                Val = 255000
            };

            schemeColor14.Append(shade6);
            schemeColor14.Append(saturationModulation10);

            gradientStop9.Append(schemeColor14);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);

            var pathGradientFill1 = new A.PathGradientFill {
                Path = A.PathShadeValues.Circle
            };
            var fillToRectangle1 = new A.FillToRectangle {
                Left = 50000, Top = -80000, Right = 50000, Bottom = 180000
            };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            var gradientFill4 = new A.GradientFill {
                RotateWithShape = true
            };

            var gradientStopList4 = new A.GradientStopList();

            var gradientStop10 = new A.GradientStop {
                Position = 0
            };

            var schemeColor15 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var tint6 = new A.Tint {
                Val = 80000
            };
            var saturationModulation11 = new A.SaturationModulation {
                Val = 300000
            };

            schemeColor15.Append(tint6);
            schemeColor15.Append(saturationModulation11);

            gradientStop10.Append(schemeColor15);

            var gradientStop11 = new A.GradientStop {
                Position = 100000
            };

            var schemeColor16 = new A.SchemeColor {
                Val = A.SchemeColorValues.PhColor
            };
            var shade7 = new A.Shade {
                Val = 30000
            };
            var saturationModulation12 = new A.SaturationModulation {
                Val = 200000
            };

            schemeColor16.Append(shade7);
            schemeColor16.Append(saturationModulation12);

            gradientStop11.Append(schemeColor16);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            var pathGradientFill2 = new A.PathGradientFill {
                Path = A.PathShadeValues.Circle
            };
            var fillToRectangle2 = new A.FillToRectangle {
                Left = 50000, Top = 50000, Right = 50000, Bottom = 50000
            };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill2);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme2);
            themeElements1.Append(formatScheme1);
            var objectDefaults1       = new A.ObjectDefaults();
            var extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 9
0
        // Generates content of themePart2.
        private void GenerateThemePart2Content(ThemePart themePart2)
        {
            A.Theme theme2 = new A.Theme(){ Name = "Office Theme" };
            theme2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements2 = new A.ThemeElements();

            A.ColorScheme colorScheme2 = new A.ColorScheme(){ Name = "Office" };

            A.Dark1Color dark1Color2 = new A.Dark1Color();
            A.SystemColor systemColor3 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color2.Append(systemColor3);

            A.Light1Color light1Color2 = new A.Light1Color();
            A.SystemColor systemColor4 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color2.Append(systemColor4);

            A.Dark2Color dark2Color2 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex(){ Val = "1F497D" };

            dark2Color2.Append(rgbColorModelHex18);

            A.Light2Color light2Color2 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex19 = new A.RgbColorModelHex(){ Val = "EEECE1" };

            light2Color2.Append(rgbColorModelHex19);

            A.Accent1Color accent1Color2 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex20 = new A.RgbColorModelHex(){ Val = "4F81BD" };

            accent1Color2.Append(rgbColorModelHex20);

            A.Accent2Color accent2Color2 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex21 = new A.RgbColorModelHex(){ Val = "C0504D" };

            accent2Color2.Append(rgbColorModelHex21);

            A.Accent3Color accent3Color2 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex22 = new A.RgbColorModelHex(){ Val = "9BBB59" };

            accent3Color2.Append(rgbColorModelHex22);

            A.Accent4Color accent4Color2 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex23 = new A.RgbColorModelHex(){ Val = "8064A2" };

            accent4Color2.Append(rgbColorModelHex23);

            A.Accent5Color accent5Color2 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex24 = new A.RgbColorModelHex(){ Val = "4BACC6" };

            accent5Color2.Append(rgbColorModelHex24);

            A.Accent6Color accent6Color2 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex25 = new A.RgbColorModelHex(){ Val = "F79646" };

            accent6Color2.Append(rgbColorModelHex25);

            A.Hyperlink hyperlink2 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex26 = new A.RgbColorModelHex(){ Val = "0000FF" };

            hyperlink2.Append(rgbColorModelHex26);

            A.FollowedHyperlinkColor followedHyperlinkColor2 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex27 = new A.RgbColorModelHex(){ Val = "800080" };

            followedHyperlinkColor2.Append(rgbColorModelHex27);

            colorScheme2.Append(dark1Color2);
            colorScheme2.Append(light1Color2);
            colorScheme2.Append(dark2Color2);
            colorScheme2.Append(light2Color2);
            colorScheme2.Append(accent1Color2);
            colorScheme2.Append(accent2Color2);
            colorScheme2.Append(accent3Color2);
            colorScheme2.Append(accent4Color2);
            colorScheme2.Append(accent5Color2);
            colorScheme2.Append(accent6Color2);
            colorScheme2.Append(hyperlink2);
            colorScheme2.Append(followedHyperlinkColor2);

            A.FontScheme fontScheme2 = new A.FontScheme(){ Name = "Office" };

            A.MajorFont majorFont2 = new A.MajorFont();
            A.LatinFont latinFont40 = new A.LatinFont(){ Typeface = "Calibri" };
            A.EastAsianFont eastAsianFont40 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont40 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont65 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont66 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont67 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont68 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont69 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont70 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont71 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont72 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont73 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont74 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont75 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont76 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont77 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont78 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont79 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont80 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont81 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont82 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont83 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont84 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont85 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont86 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont87 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            majorFont2.Append(latinFont40);
            majorFont2.Append(eastAsianFont40);
            majorFont2.Append(complexScriptFont40);
            majorFont2.Append(supplementalFont59);
            majorFont2.Append(supplementalFont60);
            majorFont2.Append(supplementalFont61);
            majorFont2.Append(supplementalFont62);
            majorFont2.Append(supplementalFont63);
            majorFont2.Append(supplementalFont64);
            majorFont2.Append(supplementalFont65);
            majorFont2.Append(supplementalFont66);
            majorFont2.Append(supplementalFont67);
            majorFont2.Append(supplementalFont68);
            majorFont2.Append(supplementalFont69);
            majorFont2.Append(supplementalFont70);
            majorFont2.Append(supplementalFont71);
            majorFont2.Append(supplementalFont72);
            majorFont2.Append(supplementalFont73);
            majorFont2.Append(supplementalFont74);
            majorFont2.Append(supplementalFont75);
            majorFont2.Append(supplementalFont76);
            majorFont2.Append(supplementalFont77);
            majorFont2.Append(supplementalFont78);
            majorFont2.Append(supplementalFont79);
            majorFont2.Append(supplementalFont80);
            majorFont2.Append(supplementalFont81);
            majorFont2.Append(supplementalFont82);
            majorFont2.Append(supplementalFont83);
            majorFont2.Append(supplementalFont84);
            majorFont2.Append(supplementalFont85);
            majorFont2.Append(supplementalFont86);
            majorFont2.Append(supplementalFont87);

            A.MinorFont minorFont2 = new A.MinorFont();
            A.LatinFont latinFont41 = new A.LatinFont(){ Typeface = "Calibri" };
            A.EastAsianFont eastAsianFont41 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont41 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont88 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS Pゴシック" };
            A.SupplementalFont supplementalFont89 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont90 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont91 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont92 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" };
            A.SupplementalFont supplementalFont93 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" };
            A.SupplementalFont supplementalFont94 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" };
            A.SupplementalFont supplementalFont95 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont96 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont97 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont98 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont99 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont100 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont101 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont102 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont103 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont104 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont105 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont106 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont107 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont108 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont109 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont110 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont111 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont112 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont113 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont114 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont115 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" };
            A.SupplementalFont supplementalFont116 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            minorFont2.Append(latinFont41);
            minorFont2.Append(eastAsianFont41);
            minorFont2.Append(complexScriptFont41);
            minorFont2.Append(supplementalFont88);
            minorFont2.Append(supplementalFont89);
            minorFont2.Append(supplementalFont90);
            minorFont2.Append(supplementalFont91);
            minorFont2.Append(supplementalFont92);
            minorFont2.Append(supplementalFont93);
            minorFont2.Append(supplementalFont94);
            minorFont2.Append(supplementalFont95);
            minorFont2.Append(supplementalFont96);
            minorFont2.Append(supplementalFont97);
            minorFont2.Append(supplementalFont98);
            minorFont2.Append(supplementalFont99);
            minorFont2.Append(supplementalFont100);
            minorFont2.Append(supplementalFont101);
            minorFont2.Append(supplementalFont102);
            minorFont2.Append(supplementalFont103);
            minorFont2.Append(supplementalFont104);
            minorFont2.Append(supplementalFont105);
            minorFont2.Append(supplementalFont106);
            minorFont2.Append(supplementalFont107);
            minorFont2.Append(supplementalFont108);
            minorFont2.Append(supplementalFont109);
            minorFont2.Append(supplementalFont110);
            minorFont2.Append(supplementalFont111);
            minorFont2.Append(supplementalFont112);
            minorFont2.Append(supplementalFont113);
            minorFont2.Append(supplementalFont114);
            minorFont2.Append(supplementalFont115);
            minorFont2.Append(supplementalFont116);

            fontScheme2.Append(majorFont2);
            fontScheme2.Append(minorFont2);

            A.FormatScheme formatScheme2 = new A.FormatScheme(){ Name = "Office" };

            A.FillStyleList fillStyleList2 = new A.FillStyleList();

            A.SolidFill solidFill65 = new A.SolidFill();
            A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill65.Append(schemeColor77);

            A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList5 = new A.GradientStopList();

            A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint28 = new A.Tint(){ Val = 50000 };
            A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor78.Append(tint28);
            schemeColor78.Append(saturationModulation13);

            gradientStop12.Append(schemeColor78);

            A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 35000 };

            A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint29 = new A.Tint(){ Val = 37000 };
            A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor79.Append(tint29);
            schemeColor79.Append(saturationModulation14);

            gradientStop13.Append(schemeColor79);

            A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor80 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint30 = new A.Tint(){ Val = 15000 };
            A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor80.Append(tint30);
            schemeColor80.Append(saturationModulation15);

            gradientStop14.Append(schemeColor80);

            gradientStopList5.Append(gradientStop12);
            gradientStopList5.Append(gradientStop13);
            gradientStopList5.Append(gradientStop14);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true };

            gradientFill5.Append(gradientStopList5);
            gradientFill5.Append(linearGradientFill3);

            A.GradientFill gradientFill6 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList6 = new A.GradientStopList();

            A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor81 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade8 = new A.Shade(){ Val = 51000 };
            A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor81.Append(shade8);
            schemeColor81.Append(saturationModulation16);

            gradientStop15.Append(schemeColor81);

            A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 80000 };

            A.SchemeColor schemeColor82 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade9 = new A.Shade(){ Val = 93000 };
            A.SaturationModulation saturationModulation17 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor82.Append(shade9);
            schemeColor82.Append(saturationModulation17);

            gradientStop16.Append(schemeColor82);

            A.GradientStop gradientStop17 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor83 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade10 = new A.Shade(){ Val = 94000 };
            A.SaturationModulation saturationModulation18 = new A.SaturationModulation(){ Val = 135000 };

            schemeColor83.Append(shade10);
            schemeColor83.Append(saturationModulation18);

            gradientStop17.Append(schemeColor83);

            gradientStopList6.Append(gradientStop15);
            gradientStopList6.Append(gradientStop16);
            gradientStopList6.Append(gradientStop17);
            A.LinearGradientFill linearGradientFill4 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false };

            gradientFill6.Append(gradientStopList6);
            gradientFill6.Append(linearGradientFill4);

            fillStyleList2.Append(solidFill65);
            fillStyleList2.Append(gradientFill5);
            fillStyleList2.Append(gradientFill6);

            A.LineStyleList lineStyleList2 = new A.LineStyleList();

            A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor84 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade11 = new A.Shade(){ Val = 95000 };
            A.SaturationModulation saturationModulation19 = new A.SaturationModulation(){ Val = 105000 };

            schemeColor84.Append(shade11);
            schemeColor84.Append(saturationModulation19);

            solidFill66.Append(schemeColor84);
            A.PresetDash presetDash4 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline5.Append(solidFill66);
            outline5.Append(presetDash4);

            A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill67 = new A.SolidFill();
            A.SchemeColor schemeColor85 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill67.Append(schemeColor85);
            A.PresetDash presetDash5 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline6.Append(solidFill67);
            outline6.Append(presetDash5);

            A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill68 = new A.SolidFill();
            A.SchemeColor schemeColor86 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill68.Append(schemeColor86);
            A.PresetDash presetDash6 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline7.Append(solidFill68);
            outline7.Append(presetDash6);

            lineStyleList2.Append(outline5);
            lineStyleList2.Append(outline6);
            lineStyleList2.Append(outline7);

            A.EffectStyleList effectStyleList2 = new A.EffectStyleList();

            A.EffectStyle effectStyle4 = new A.EffectStyle();

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

            A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex28 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha4 = new A.Alpha(){ Val = 38000 };

            rgbColorModelHex28.Append(alpha4);

            outerShadow4.Append(rgbColorModelHex28);

            effectList4.Append(outerShadow4);

            effectStyle4.Append(effectList4);

            A.EffectStyle effectStyle5 = new A.EffectStyle();

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

            A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex29 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha5 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex29.Append(alpha5);

            outerShadow5.Append(rgbColorModelHex29);

            effectList5.Append(outerShadow5);

            effectStyle5.Append(effectList5);

            A.EffectStyle effectStyle6 = new A.EffectStyle();

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

            A.OuterShadow outerShadow6 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex30 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha6 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex30.Append(alpha6);

            outerShadow6.Append(rgbColorModelHex30);

            effectList6.Append(outerShadow6);

            A.Scene3DType scene3DType2 = new A.Scene3DType();

            A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation3 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera2.Append(rotation3);

            A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 };

            lightRig2.Append(rotation4);

            scene3DType2.Append(camera2);
            scene3DType2.Append(lightRig2);

            A.Shape3DType shape3DType2 = new A.Shape3DType();
            A.BevelTop bevelTop2 = new A.BevelTop(){ Width = 63500L, Height = 25400L };

            shape3DType2.Append(bevelTop2);

            effectStyle6.Append(effectList6);
            effectStyle6.Append(scene3DType2);
            effectStyle6.Append(shape3DType2);

            effectStyleList2.Append(effectStyle4);
            effectStyleList2.Append(effectStyle5);
            effectStyleList2.Append(effectStyle6);

            A.BackgroundFillStyleList backgroundFillStyleList2 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill69 = new A.SolidFill();
            A.SchemeColor schemeColor87 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill69.Append(schemeColor87);

            A.GradientFill gradientFill7 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList7 = new A.GradientStopList();

            A.GradientStop gradientStop18 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor88 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint31 = new A.Tint(){ Val = 40000 };
            A.SaturationModulation saturationModulation20 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor88.Append(tint31);
            schemeColor88.Append(saturationModulation20);

            gradientStop18.Append(schemeColor88);

            A.GradientStop gradientStop19 = new A.GradientStop(){ Position = 40000 };

            A.SchemeColor schemeColor89 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint32 = new A.Tint(){ Val = 45000 };
            A.Shade shade12 = new A.Shade(){ Val = 99000 };
            A.SaturationModulation saturationModulation21 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor89.Append(tint32);
            schemeColor89.Append(shade12);
            schemeColor89.Append(saturationModulation21);

            gradientStop19.Append(schemeColor89);

            A.GradientStop gradientStop20 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor90 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade13 = new A.Shade(){ Val = 20000 };
            A.SaturationModulation saturationModulation22 = new A.SaturationModulation(){ Val = 255000 };

            schemeColor90.Append(shade13);
            schemeColor90.Append(saturationModulation22);

            gradientStop20.Append(schemeColor90);

            gradientStopList7.Append(gradientStop18);
            gradientStopList7.Append(gradientStop19);
            gradientStopList7.Append(gradientStop20);

            A.PathGradientFill pathGradientFill3 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle3 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 };

            pathGradientFill3.Append(fillToRectangle3);

            gradientFill7.Append(gradientStopList7);
            gradientFill7.Append(pathGradientFill3);

            A.GradientFill gradientFill8 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList8 = new A.GradientStopList();

            A.GradientStop gradientStop21 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor91 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint33 = new A.Tint(){ Val = 80000 };
            A.SaturationModulation saturationModulation23 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor91.Append(tint33);
            schemeColor91.Append(saturationModulation23);

            gradientStop21.Append(schemeColor91);

            A.GradientStop gradientStop22 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor92 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade14 = new A.Shade(){ Val = 30000 };
            A.SaturationModulation saturationModulation24 = new A.SaturationModulation(){ Val = 200000 };

            schemeColor92.Append(shade14);
            schemeColor92.Append(saturationModulation24);

            gradientStop22.Append(schemeColor92);

            gradientStopList8.Append(gradientStop21);
            gradientStopList8.Append(gradientStop22);

            A.PathGradientFill pathGradientFill4 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle4 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill4.Append(fillToRectangle4);

            gradientFill8.Append(gradientStopList8);
            gradientFill8.Append(pathGradientFill4);

            backgroundFillStyleList2.Append(solidFill69);
            backgroundFillStyleList2.Append(gradientFill7);
            backgroundFillStyleList2.Append(gradientFill8);

            formatScheme2.Append(fillStyleList2);
            formatScheme2.Append(lineStyleList2);
            formatScheme2.Append(effectStyleList2);
            formatScheme2.Append(backgroundFillStyleList2);

            themeElements2.Append(colorScheme2);
            themeElements2.Append(fontScheme2);
            themeElements2.Append(formatScheme2);
            A.ObjectDefaults objectDefaults2 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList2 = new A.ExtraColorSchemeList();

            theme2.Append(themeElements2);
            theme2.Append(objectDefaults2);
            theme2.Append(extraColorSchemeList2);

            themePart2.Theme = theme2;
        }
        // Generates content of diagramColorsPart1.
        private void GenerateDiagramColorsPart1Content(DiagramColorsPart diagramColorsPart1)
        {
            Dgm.ColorsDefinition colorsDefinition1 = new Dgm.ColorsDefinition() { UniqueId = "urn:microsoft.com/office/officeart/2005/8/colors/accent1_2" };
            colorsDefinition1.AddNamespaceDeclaration("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram");
            colorsDefinition1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            Dgm.ColorDefinitionTitle colorDefinitionTitle1 = new Dgm.ColorDefinitionTitle() { Val = "" };
            Dgm.ColorTransformDescription colorTransformDescription1 = new Dgm.ColorTransformDescription() { Val = "" };

            Dgm.ColorTransformCategories colorTransformCategories1 = new Dgm.ColorTransformCategories();
            Dgm.ColorTransformCategory colorTransformCategory1 = new Dgm.ColorTransformCategory() { Type = "accent1", Priority = (UInt32Value)11200U };

            colorTransformCategories1.Append(colorTransformCategory1);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel1 = new Dgm.ColorTransformStyleLabel() { Name = "node0" };

            Dgm.FillColorList fillColorList1 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor60 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList1.Append(schemeColor60);

            Dgm.LineColorList lineColorList1 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor61 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList1.Append(schemeColor61);
            Dgm.EffectColorList effectColorList1 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList1 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList1 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList1 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel1.Append(fillColorList1);
            colorTransformStyleLabel1.Append(lineColorList1);
            colorTransformStyleLabel1.Append(effectColorList1);
            colorTransformStyleLabel1.Append(textLineColorList1);
            colorTransformStyleLabel1.Append(textFillColorList1);
            colorTransformStyleLabel1.Append(textEffectColorList1);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel2 = new Dgm.ColorTransformStyleLabel() { Name = "alignNode1" };

            Dgm.FillColorList fillColorList2 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor62 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList2.Append(schemeColor62);

            Dgm.LineColorList lineColorList2 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor63 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList2.Append(schemeColor63);
            Dgm.EffectColorList effectColorList2 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList2 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList2 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList2 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel2.Append(fillColorList2);
            colorTransformStyleLabel2.Append(lineColorList2);
            colorTransformStyleLabel2.Append(effectColorList2);
            colorTransformStyleLabel2.Append(textLineColorList2);
            colorTransformStyleLabel2.Append(textFillColorList2);
            colorTransformStyleLabel2.Append(textEffectColorList2);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel3 = new Dgm.ColorTransformStyleLabel() { Name = "node1" };

            Dgm.FillColorList fillColorList3 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor64 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList3.Append(schemeColor64);

            Dgm.LineColorList lineColorList3 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor65 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList3.Append(schemeColor65);
            Dgm.EffectColorList effectColorList3 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList3 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList3 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList3 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel3.Append(fillColorList3);
            colorTransformStyleLabel3.Append(lineColorList3);
            colorTransformStyleLabel3.Append(effectColorList3);
            colorTransformStyleLabel3.Append(textLineColorList3);
            colorTransformStyleLabel3.Append(textFillColorList3);
            colorTransformStyleLabel3.Append(textEffectColorList3);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel4 = new Dgm.ColorTransformStyleLabel() { Name = "lnNode1" };

            Dgm.FillColorList fillColorList4 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor66 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList4.Append(schemeColor66);

            Dgm.LineColorList lineColorList4 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor67 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList4.Append(schemeColor67);
            Dgm.EffectColorList effectColorList4 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList4 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList4 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList4 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel4.Append(fillColorList4);
            colorTransformStyleLabel4.Append(lineColorList4);
            colorTransformStyleLabel4.Append(effectColorList4);
            colorTransformStyleLabel4.Append(textLineColorList4);
            colorTransformStyleLabel4.Append(textFillColorList4);
            colorTransformStyleLabel4.Append(textEffectColorList4);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel5 = new Dgm.ColorTransformStyleLabel() { Name = "vennNode1" };

            Dgm.FillColorList fillColorList5 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor68 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha4 = new A.Alpha() { Val = 50000 };

            schemeColor68.Append(alpha4);

            fillColorList5.Append(schemeColor68);

            Dgm.LineColorList lineColorList5 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor69 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList5.Append(schemeColor69);
            Dgm.EffectColorList effectColorList5 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList5 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList5 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList5 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel5.Append(fillColorList5);
            colorTransformStyleLabel5.Append(lineColorList5);
            colorTransformStyleLabel5.Append(effectColorList5);
            colorTransformStyleLabel5.Append(textLineColorList5);
            colorTransformStyleLabel5.Append(textFillColorList5);
            colorTransformStyleLabel5.Append(textEffectColorList5);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel6 = new Dgm.ColorTransformStyleLabel() { Name = "node2" };

            Dgm.FillColorList fillColorList6 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor70 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList6.Append(schemeColor70);

            Dgm.LineColorList lineColorList6 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor71 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList6.Append(schemeColor71);
            Dgm.EffectColorList effectColorList6 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList6 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList6 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList6 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel6.Append(fillColorList6);
            colorTransformStyleLabel6.Append(lineColorList6);
            colorTransformStyleLabel6.Append(effectColorList6);
            colorTransformStyleLabel6.Append(textLineColorList6);
            colorTransformStyleLabel6.Append(textFillColorList6);
            colorTransformStyleLabel6.Append(textEffectColorList6);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel7 = new Dgm.ColorTransformStyleLabel() { Name = "node3" };

            Dgm.FillColorList fillColorList7 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor72 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList7.Append(schemeColor72);

            Dgm.LineColorList lineColorList7 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor73 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList7.Append(schemeColor73);
            Dgm.EffectColorList effectColorList7 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList7 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList7 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList7 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel7.Append(fillColorList7);
            colorTransformStyleLabel7.Append(lineColorList7);
            colorTransformStyleLabel7.Append(effectColorList7);
            colorTransformStyleLabel7.Append(textLineColorList7);
            colorTransformStyleLabel7.Append(textFillColorList7);
            colorTransformStyleLabel7.Append(textEffectColorList7);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel8 = new Dgm.ColorTransformStyleLabel() { Name = "node4" };

            Dgm.FillColorList fillColorList8 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor74 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList8.Append(schemeColor74);

            Dgm.LineColorList lineColorList8 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor75 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList8.Append(schemeColor75);
            Dgm.EffectColorList effectColorList8 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList8 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList8 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList8 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel8.Append(fillColorList8);
            colorTransformStyleLabel8.Append(lineColorList8);
            colorTransformStyleLabel8.Append(effectColorList8);
            colorTransformStyleLabel8.Append(textLineColorList8);
            colorTransformStyleLabel8.Append(textFillColorList8);
            colorTransformStyleLabel8.Append(textEffectColorList8);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel9 = new Dgm.ColorTransformStyleLabel() { Name = "fgImgPlace1" };

            Dgm.FillColorList fillColorList9 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor76 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint8 = new A.Tint() { Val = 50000 };

            schemeColor76.Append(tint8);

            fillColorList9.Append(schemeColor76);

            Dgm.LineColorList lineColorList9 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor77 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList9.Append(schemeColor77);
            Dgm.EffectColorList effectColorList9 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList9 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList9 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor78 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList9.Append(schemeColor78);
            Dgm.TextEffectColorList textEffectColorList9 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel9.Append(fillColorList9);
            colorTransformStyleLabel9.Append(lineColorList9);
            colorTransformStyleLabel9.Append(effectColorList9);
            colorTransformStyleLabel9.Append(textLineColorList9);
            colorTransformStyleLabel9.Append(textFillColorList9);
            colorTransformStyleLabel9.Append(textEffectColorList9);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel10 = new Dgm.ColorTransformStyleLabel() { Name = "alignImgPlace1" };

            Dgm.FillColorList fillColorList10 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor79 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint9 = new A.Tint() { Val = 50000 };

            schemeColor79.Append(tint9);

            fillColorList10.Append(schemeColor79);

            Dgm.LineColorList lineColorList10 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor80 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList10.Append(schemeColor80);
            Dgm.EffectColorList effectColorList10 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList10 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList10 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor81 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList10.Append(schemeColor81);
            Dgm.TextEffectColorList textEffectColorList10 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel10.Append(fillColorList10);
            colorTransformStyleLabel10.Append(lineColorList10);
            colorTransformStyleLabel10.Append(effectColorList10);
            colorTransformStyleLabel10.Append(textLineColorList10);
            colorTransformStyleLabel10.Append(textFillColorList10);
            colorTransformStyleLabel10.Append(textEffectColorList10);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel11 = new Dgm.ColorTransformStyleLabel() { Name = "bgImgPlace1" };

            Dgm.FillColorList fillColorList11 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor82 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint10 = new A.Tint() { Val = 50000 };

            schemeColor82.Append(tint10);

            fillColorList11.Append(schemeColor82);

            Dgm.LineColorList lineColorList11 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor83 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList11.Append(schemeColor83);
            Dgm.EffectColorList effectColorList11 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList11 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList11 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor84 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList11.Append(schemeColor84);
            Dgm.TextEffectColorList textEffectColorList11 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel11.Append(fillColorList11);
            colorTransformStyleLabel11.Append(lineColorList11);
            colorTransformStyleLabel11.Append(effectColorList11);
            colorTransformStyleLabel11.Append(textLineColorList11);
            colorTransformStyleLabel11.Append(textFillColorList11);
            colorTransformStyleLabel11.Append(textEffectColorList11);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel12 = new Dgm.ColorTransformStyleLabel() { Name = "sibTrans2D1" };

            Dgm.FillColorList fillColorList12 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor85 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint11 = new A.Tint() { Val = 60000 };

            schemeColor85.Append(tint11);

            fillColorList12.Append(schemeColor85);

            Dgm.LineColorList lineColorList12 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor86 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint12 = new A.Tint() { Val = 60000 };

            schemeColor86.Append(tint12);

            lineColorList12.Append(schemeColor86);
            Dgm.EffectColorList effectColorList12 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList12 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList12 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList12 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel12.Append(fillColorList12);
            colorTransformStyleLabel12.Append(lineColorList12);
            colorTransformStyleLabel12.Append(effectColorList12);
            colorTransformStyleLabel12.Append(textLineColorList12);
            colorTransformStyleLabel12.Append(textFillColorList12);
            colorTransformStyleLabel12.Append(textEffectColorList12);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel13 = new Dgm.ColorTransformStyleLabel() { Name = "fgSibTrans2D1" };

            Dgm.FillColorList fillColorList13 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor87 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint13 = new A.Tint() { Val = 60000 };

            schemeColor87.Append(tint13);

            fillColorList13.Append(schemeColor87);

            Dgm.LineColorList lineColorList13 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor88 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint14 = new A.Tint() { Val = 60000 };

            schemeColor88.Append(tint14);

            lineColorList13.Append(schemeColor88);
            Dgm.EffectColorList effectColorList13 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList13 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList13 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList13 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel13.Append(fillColorList13);
            colorTransformStyleLabel13.Append(lineColorList13);
            colorTransformStyleLabel13.Append(effectColorList13);
            colorTransformStyleLabel13.Append(textLineColorList13);
            colorTransformStyleLabel13.Append(textFillColorList13);
            colorTransformStyleLabel13.Append(textEffectColorList13);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel14 = new Dgm.ColorTransformStyleLabel() { Name = "bgSibTrans2D1" };

            Dgm.FillColorList fillColorList14 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor89 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint15 = new A.Tint() { Val = 60000 };

            schemeColor89.Append(tint15);

            fillColorList14.Append(schemeColor89);

            Dgm.LineColorList lineColorList14 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor90 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint16 = new A.Tint() { Val = 60000 };

            schemeColor90.Append(tint16);

            lineColorList14.Append(schemeColor90);
            Dgm.EffectColorList effectColorList14 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList14 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList14 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList14 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel14.Append(fillColorList14);
            colorTransformStyleLabel14.Append(lineColorList14);
            colorTransformStyleLabel14.Append(effectColorList14);
            colorTransformStyleLabel14.Append(textLineColorList14);
            colorTransformStyleLabel14.Append(textFillColorList14);
            colorTransformStyleLabel14.Append(textEffectColorList14);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel15 = new Dgm.ColorTransformStyleLabel() { Name = "sibTrans1D1" };

            Dgm.FillColorList fillColorList15 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor91 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList15.Append(schemeColor91);

            Dgm.LineColorList lineColorList15 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor92 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList15.Append(schemeColor92);
            Dgm.EffectColorList effectColorList15 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList15 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList15 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor93 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList15.Append(schemeColor93);
            Dgm.TextEffectColorList textEffectColorList15 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel15.Append(fillColorList15);
            colorTransformStyleLabel15.Append(lineColorList15);
            colorTransformStyleLabel15.Append(effectColorList15);
            colorTransformStyleLabel15.Append(textLineColorList15);
            colorTransformStyleLabel15.Append(textFillColorList15);
            colorTransformStyleLabel15.Append(textEffectColorList15);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel16 = new Dgm.ColorTransformStyleLabel() { Name = "callout" };

            Dgm.FillColorList fillColorList16 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor94 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList16.Append(schemeColor94);

            Dgm.LineColorList lineColorList16 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor95 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint17 = new A.Tint() { Val = 50000 };

            schemeColor95.Append(tint17);

            lineColorList16.Append(schemeColor95);
            Dgm.EffectColorList effectColorList16 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList16 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList16 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor96 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList16.Append(schemeColor96);
            Dgm.TextEffectColorList textEffectColorList16 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel16.Append(fillColorList16);
            colorTransformStyleLabel16.Append(lineColorList16);
            colorTransformStyleLabel16.Append(effectColorList16);
            colorTransformStyleLabel16.Append(textLineColorList16);
            colorTransformStyleLabel16.Append(textFillColorList16);
            colorTransformStyleLabel16.Append(textEffectColorList16);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel17 = new Dgm.ColorTransformStyleLabel() { Name = "asst0" };

            Dgm.FillColorList fillColorList17 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor97 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList17.Append(schemeColor97);

            Dgm.LineColorList lineColorList17 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor98 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList17.Append(schemeColor98);
            Dgm.EffectColorList effectColorList17 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList17 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList17 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList17 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel17.Append(fillColorList17);
            colorTransformStyleLabel17.Append(lineColorList17);
            colorTransformStyleLabel17.Append(effectColorList17);
            colorTransformStyleLabel17.Append(textLineColorList17);
            colorTransformStyleLabel17.Append(textFillColorList17);
            colorTransformStyleLabel17.Append(textEffectColorList17);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel18 = new Dgm.ColorTransformStyleLabel() { Name = "asst1" };

            Dgm.FillColorList fillColorList18 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor99 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList18.Append(schemeColor99);

            Dgm.LineColorList lineColorList18 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor100 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList18.Append(schemeColor100);
            Dgm.EffectColorList effectColorList18 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList18 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList18 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList18 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel18.Append(fillColorList18);
            colorTransformStyleLabel18.Append(lineColorList18);
            colorTransformStyleLabel18.Append(effectColorList18);
            colorTransformStyleLabel18.Append(textLineColorList18);
            colorTransformStyleLabel18.Append(textFillColorList18);
            colorTransformStyleLabel18.Append(textEffectColorList18);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel19 = new Dgm.ColorTransformStyleLabel() { Name = "asst2" };

            Dgm.FillColorList fillColorList19 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor101 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList19.Append(schemeColor101);

            Dgm.LineColorList lineColorList19 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor102 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList19.Append(schemeColor102);
            Dgm.EffectColorList effectColorList19 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList19 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList19 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList19 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel19.Append(fillColorList19);
            colorTransformStyleLabel19.Append(lineColorList19);
            colorTransformStyleLabel19.Append(effectColorList19);
            colorTransformStyleLabel19.Append(textLineColorList19);
            colorTransformStyleLabel19.Append(textFillColorList19);
            colorTransformStyleLabel19.Append(textEffectColorList19);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel20 = new Dgm.ColorTransformStyleLabel() { Name = "asst3" };

            Dgm.FillColorList fillColorList20 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor103 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList20.Append(schemeColor103);

            Dgm.LineColorList lineColorList20 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor104 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList20.Append(schemeColor104);
            Dgm.EffectColorList effectColorList20 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList20 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList20 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList20 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel20.Append(fillColorList20);
            colorTransformStyleLabel20.Append(lineColorList20);
            colorTransformStyleLabel20.Append(effectColorList20);
            colorTransformStyleLabel20.Append(textLineColorList20);
            colorTransformStyleLabel20.Append(textFillColorList20);
            colorTransformStyleLabel20.Append(textEffectColorList20);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel21 = new Dgm.ColorTransformStyleLabel() { Name = "asst4" };

            Dgm.FillColorList fillColorList21 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor105 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList21.Append(schemeColor105);

            Dgm.LineColorList lineColorList21 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor106 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList21.Append(schemeColor106);
            Dgm.EffectColorList effectColorList21 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList21 = new Dgm.TextLineColorList();
            Dgm.TextFillColorList textFillColorList21 = new Dgm.TextFillColorList();
            Dgm.TextEffectColorList textEffectColorList21 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel21.Append(fillColorList21);
            colorTransformStyleLabel21.Append(lineColorList21);
            colorTransformStyleLabel21.Append(effectColorList21);
            colorTransformStyleLabel21.Append(textLineColorList21);
            colorTransformStyleLabel21.Append(textFillColorList21);
            colorTransformStyleLabel21.Append(textEffectColorList21);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel22 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D1" };

            Dgm.FillColorList fillColorList22 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor107 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint18 = new A.Tint() { Val = 60000 };

            schemeColor107.Append(tint18);

            fillColorList22.Append(schemeColor107);

            Dgm.LineColorList lineColorList22 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor108 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint19 = new A.Tint() { Val = 60000 };

            schemeColor108.Append(tint19);

            lineColorList22.Append(schemeColor108);
            Dgm.EffectColorList effectColorList22 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList22 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList22 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor109 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList22.Append(schemeColor109);
            Dgm.TextEffectColorList textEffectColorList22 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel22.Append(fillColorList22);
            colorTransformStyleLabel22.Append(lineColorList22);
            colorTransformStyleLabel22.Append(effectColorList22);
            colorTransformStyleLabel22.Append(textLineColorList22);
            colorTransformStyleLabel22.Append(textFillColorList22);
            colorTransformStyleLabel22.Append(textEffectColorList22);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel23 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D2" };

            Dgm.FillColorList fillColorList23 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor110 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList23.Append(schemeColor110);

            Dgm.LineColorList lineColorList23 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor111 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList23.Append(schemeColor111);
            Dgm.EffectColorList effectColorList23 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList23 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList23 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor112 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList23.Append(schemeColor112);
            Dgm.TextEffectColorList textEffectColorList23 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel23.Append(fillColorList23);
            colorTransformStyleLabel23.Append(lineColorList23);
            colorTransformStyleLabel23.Append(effectColorList23);
            colorTransformStyleLabel23.Append(textLineColorList23);
            colorTransformStyleLabel23.Append(textFillColorList23);
            colorTransformStyleLabel23.Append(textEffectColorList23);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel24 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D3" };

            Dgm.FillColorList fillColorList24 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor113 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList24.Append(schemeColor113);

            Dgm.LineColorList lineColorList24 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor114 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList24.Append(schemeColor114);
            Dgm.EffectColorList effectColorList24 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList24 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList24 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor115 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList24.Append(schemeColor115);
            Dgm.TextEffectColorList textEffectColorList24 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel24.Append(fillColorList24);
            colorTransformStyleLabel24.Append(lineColorList24);
            colorTransformStyleLabel24.Append(effectColorList24);
            colorTransformStyleLabel24.Append(textLineColorList24);
            colorTransformStyleLabel24.Append(textFillColorList24);
            colorTransformStyleLabel24.Append(textEffectColorList24);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel25 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans2D4" };

            Dgm.FillColorList fillColorList25 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor116 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList25.Append(schemeColor116);

            Dgm.LineColorList lineColorList25 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor117 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList25.Append(schemeColor117);
            Dgm.EffectColorList effectColorList25 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList25 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList25 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor118 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList25.Append(schemeColor118);
            Dgm.TextEffectColorList textEffectColorList25 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel25.Append(fillColorList25);
            colorTransformStyleLabel25.Append(lineColorList25);
            colorTransformStyleLabel25.Append(effectColorList25);
            colorTransformStyleLabel25.Append(textLineColorList25);
            colorTransformStyleLabel25.Append(textFillColorList25);
            colorTransformStyleLabel25.Append(textEffectColorList25);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel26 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D1" };

            Dgm.FillColorList fillColorList26 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor119 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList26.Append(schemeColor119);

            Dgm.LineColorList lineColorList26 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor120 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade10 = new A.Shade() { Val = 60000 };

            schemeColor120.Append(shade10);

            lineColorList26.Append(schemeColor120);
            Dgm.EffectColorList effectColorList26 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList26 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList26 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor121 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList26.Append(schemeColor121);
            Dgm.TextEffectColorList textEffectColorList26 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel26.Append(fillColorList26);
            colorTransformStyleLabel26.Append(lineColorList26);
            colorTransformStyleLabel26.Append(effectColorList26);
            colorTransformStyleLabel26.Append(textLineColorList26);
            colorTransformStyleLabel26.Append(textFillColorList26);
            colorTransformStyleLabel26.Append(textEffectColorList26);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel27 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D2" };

            Dgm.FillColorList fillColorList27 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor122 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList27.Append(schemeColor122);

            Dgm.LineColorList lineColorList27 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor123 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade11 = new A.Shade() { Val = 60000 };

            schemeColor123.Append(shade11);

            lineColorList27.Append(schemeColor123);
            Dgm.EffectColorList effectColorList27 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList27 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList27 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor124 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList27.Append(schemeColor124);
            Dgm.TextEffectColorList textEffectColorList27 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel27.Append(fillColorList27);
            colorTransformStyleLabel27.Append(lineColorList27);
            colorTransformStyleLabel27.Append(effectColorList27);
            colorTransformStyleLabel27.Append(textLineColorList27);
            colorTransformStyleLabel27.Append(textFillColorList27);
            colorTransformStyleLabel27.Append(textEffectColorList27);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel28 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D3" };

            Dgm.FillColorList fillColorList28 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor125 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList28.Append(schemeColor125);

            Dgm.LineColorList lineColorList28 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor126 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade12 = new A.Shade() { Val = 80000 };

            schemeColor126.Append(shade12);

            lineColorList28.Append(schemeColor126);
            Dgm.EffectColorList effectColorList28 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList28 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList28 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor127 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList28.Append(schemeColor127);
            Dgm.TextEffectColorList textEffectColorList28 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel28.Append(fillColorList28);
            colorTransformStyleLabel28.Append(lineColorList28);
            colorTransformStyleLabel28.Append(effectColorList28);
            colorTransformStyleLabel28.Append(textLineColorList28);
            colorTransformStyleLabel28.Append(textFillColorList28);
            colorTransformStyleLabel28.Append(textEffectColorList28);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel29 = new Dgm.ColorTransformStyleLabel() { Name = "parChTrans1D4" };

            Dgm.FillColorList fillColorList29 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor128 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillColorList29.Append(schemeColor128);

            Dgm.LineColorList lineColorList29 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor129 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade13 = new A.Shade() { Val = 80000 };

            schemeColor129.Append(shade13);

            lineColorList29.Append(schemeColor129);
            Dgm.EffectColorList effectColorList29 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList29 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList29 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor130 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList29.Append(schemeColor130);
            Dgm.TextEffectColorList textEffectColorList29 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel29.Append(fillColorList29);
            colorTransformStyleLabel29.Append(lineColorList29);
            colorTransformStyleLabel29.Append(effectColorList29);
            colorTransformStyleLabel29.Append(textLineColorList29);
            colorTransformStyleLabel29.Append(textFillColorList29);
            colorTransformStyleLabel29.Append(textEffectColorList29);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel30 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc1" };

            Dgm.FillColorList fillColorList30 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor131 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha5 = new A.Alpha() { Val = 90000 };

            schemeColor131.Append(alpha5);

            fillColorList30.Append(schemeColor131);

            Dgm.LineColorList lineColorList30 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor132 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList30.Append(schemeColor132);
            Dgm.EffectColorList effectColorList30 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList30 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList30 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor133 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList30.Append(schemeColor133);
            Dgm.TextEffectColorList textEffectColorList30 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel30.Append(fillColorList30);
            colorTransformStyleLabel30.Append(lineColorList30);
            colorTransformStyleLabel30.Append(effectColorList30);
            colorTransformStyleLabel30.Append(textLineColorList30);
            colorTransformStyleLabel30.Append(textFillColorList30);
            colorTransformStyleLabel30.Append(textEffectColorList30);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel31 = new Dgm.ColorTransformStyleLabel() { Name = "conFgAcc1" };

            Dgm.FillColorList fillColorList31 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor134 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha6 = new A.Alpha() { Val = 90000 };

            schemeColor134.Append(alpha6);

            fillColorList31.Append(schemeColor134);

            Dgm.LineColorList lineColorList31 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor135 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList31.Append(schemeColor135);
            Dgm.EffectColorList effectColorList31 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList31 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList31 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor136 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList31.Append(schemeColor136);
            Dgm.TextEffectColorList textEffectColorList31 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel31.Append(fillColorList31);
            colorTransformStyleLabel31.Append(lineColorList31);
            colorTransformStyleLabel31.Append(effectColorList31);
            colorTransformStyleLabel31.Append(textLineColorList31);
            colorTransformStyleLabel31.Append(textFillColorList31);
            colorTransformStyleLabel31.Append(textEffectColorList31);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel32 = new Dgm.ColorTransformStyleLabel() { Name = "alignAcc1" };

            Dgm.FillColorList fillColorList32 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor137 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha7 = new A.Alpha() { Val = 90000 };

            schemeColor137.Append(alpha7);

            fillColorList32.Append(schemeColor137);

            Dgm.LineColorList lineColorList32 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor138 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList32.Append(schemeColor138);
            Dgm.EffectColorList effectColorList32 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList32 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList32 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor139 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList32.Append(schemeColor139);
            Dgm.TextEffectColorList textEffectColorList32 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel32.Append(fillColorList32);
            colorTransformStyleLabel32.Append(lineColorList32);
            colorTransformStyleLabel32.Append(effectColorList32);
            colorTransformStyleLabel32.Append(textLineColorList32);
            colorTransformStyleLabel32.Append(textFillColorList32);
            colorTransformStyleLabel32.Append(textEffectColorList32);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel33 = new Dgm.ColorTransformStyleLabel() { Name = "trAlignAcc1" };

            Dgm.FillColorList fillColorList33 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor140 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha8 = new A.Alpha() { Val = 40000 };

            schemeColor140.Append(alpha8);

            fillColorList33.Append(schemeColor140);

            Dgm.LineColorList lineColorList33 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor141 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList33.Append(schemeColor141);
            Dgm.EffectColorList effectColorList33 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList33 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList33 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor142 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList33.Append(schemeColor142);
            Dgm.TextEffectColorList textEffectColorList33 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel33.Append(fillColorList33);
            colorTransformStyleLabel33.Append(lineColorList33);
            colorTransformStyleLabel33.Append(effectColorList33);
            colorTransformStyleLabel33.Append(textLineColorList33);
            colorTransformStyleLabel33.Append(textFillColorList33);
            colorTransformStyleLabel33.Append(textEffectColorList33);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel34 = new Dgm.ColorTransformStyleLabel() { Name = "bgAcc1" };

            Dgm.FillColorList fillColorList34 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor143 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha9 = new A.Alpha() { Val = 90000 };

            schemeColor143.Append(alpha9);

            fillColorList34.Append(schemeColor143);

            Dgm.LineColorList lineColorList34 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor144 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList34.Append(schemeColor144);
            Dgm.EffectColorList effectColorList34 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList34 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList34 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor145 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList34.Append(schemeColor145);
            Dgm.TextEffectColorList textEffectColorList34 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel34.Append(fillColorList34);
            colorTransformStyleLabel34.Append(lineColorList34);
            colorTransformStyleLabel34.Append(effectColorList34);
            colorTransformStyleLabel34.Append(textLineColorList34);
            colorTransformStyleLabel34.Append(textFillColorList34);
            colorTransformStyleLabel34.Append(textEffectColorList34);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel35 = new Dgm.ColorTransformStyleLabel() { Name = "solidFgAcc1" };

            Dgm.FillColorList fillColorList35 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor146 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList35.Append(schemeColor146);

            Dgm.LineColorList lineColorList35 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor147 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList35.Append(schemeColor147);
            Dgm.EffectColorList effectColorList35 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList35 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList35 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor148 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList35.Append(schemeColor148);
            Dgm.TextEffectColorList textEffectColorList35 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel35.Append(fillColorList35);
            colorTransformStyleLabel35.Append(lineColorList35);
            colorTransformStyleLabel35.Append(effectColorList35);
            colorTransformStyleLabel35.Append(textLineColorList35);
            colorTransformStyleLabel35.Append(textFillColorList35);
            colorTransformStyleLabel35.Append(textEffectColorList35);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel36 = new Dgm.ColorTransformStyleLabel() { Name = "solidAlignAcc1" };

            Dgm.FillColorList fillColorList36 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor149 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList36.Append(schemeColor149);

            Dgm.LineColorList lineColorList36 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor150 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList36.Append(schemeColor150);
            Dgm.EffectColorList effectColorList36 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList36 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList36 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor151 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList36.Append(schemeColor151);
            Dgm.TextEffectColorList textEffectColorList36 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel36.Append(fillColorList36);
            colorTransformStyleLabel36.Append(lineColorList36);
            colorTransformStyleLabel36.Append(effectColorList36);
            colorTransformStyleLabel36.Append(textLineColorList36);
            colorTransformStyleLabel36.Append(textFillColorList36);
            colorTransformStyleLabel36.Append(textEffectColorList36);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel37 = new Dgm.ColorTransformStyleLabel() { Name = "solidBgAcc1" };

            Dgm.FillColorList fillColorList37 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor152 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fillColorList37.Append(schemeColor152);

            Dgm.LineColorList lineColorList37 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor153 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList37.Append(schemeColor153);
            Dgm.EffectColorList effectColorList37 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList37 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList37 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor154 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList37.Append(schemeColor154);
            Dgm.TextEffectColorList textEffectColorList37 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel37.Append(fillColorList37);
            colorTransformStyleLabel37.Append(lineColorList37);
            colorTransformStyleLabel37.Append(effectColorList37);
            colorTransformStyleLabel37.Append(textLineColorList37);
            colorTransformStyleLabel37.Append(textFillColorList37);
            colorTransformStyleLabel37.Append(textEffectColorList37);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel38 = new Dgm.ColorTransformStyleLabel() { Name = "fgAccFollowNode1" };

            Dgm.FillColorList fillColorList38 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor155 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha10 = new A.Alpha() { Val = 90000 };
            A.Tint tint20 = new A.Tint() { Val = 40000 };

            schemeColor155.Append(alpha10);
            schemeColor155.Append(tint20);

            fillColorList38.Append(schemeColor155);

            Dgm.LineColorList lineColorList38 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor156 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha11 = new A.Alpha() { Val = 90000 };
            A.Tint tint21 = new A.Tint() { Val = 40000 };

            schemeColor156.Append(alpha11);
            schemeColor156.Append(tint21);

            lineColorList38.Append(schemeColor156);
            Dgm.EffectColorList effectColorList38 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList38 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList38 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor157 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList38.Append(schemeColor157);
            Dgm.TextEffectColorList textEffectColorList38 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel38.Append(fillColorList38);
            colorTransformStyleLabel38.Append(lineColorList38);
            colorTransformStyleLabel38.Append(effectColorList38);
            colorTransformStyleLabel38.Append(textLineColorList38);
            colorTransformStyleLabel38.Append(textFillColorList38);
            colorTransformStyleLabel38.Append(textEffectColorList38);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel39 = new Dgm.ColorTransformStyleLabel() { Name = "alignAccFollowNode1" };

            Dgm.FillColorList fillColorList39 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor158 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha12 = new A.Alpha() { Val = 90000 };
            A.Tint tint22 = new A.Tint() { Val = 40000 };

            schemeColor158.Append(alpha12);
            schemeColor158.Append(tint22);

            fillColorList39.Append(schemeColor158);

            Dgm.LineColorList lineColorList39 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor159 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha13 = new A.Alpha() { Val = 90000 };
            A.Tint tint23 = new A.Tint() { Val = 40000 };

            schemeColor159.Append(alpha13);
            schemeColor159.Append(tint23);

            lineColorList39.Append(schemeColor159);
            Dgm.EffectColorList effectColorList39 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList39 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList39 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor160 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList39.Append(schemeColor160);
            Dgm.TextEffectColorList textEffectColorList39 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel39.Append(fillColorList39);
            colorTransformStyleLabel39.Append(lineColorList39);
            colorTransformStyleLabel39.Append(effectColorList39);
            colorTransformStyleLabel39.Append(textLineColorList39);
            colorTransformStyleLabel39.Append(textFillColorList39);
            colorTransformStyleLabel39.Append(textEffectColorList39);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel40 = new Dgm.ColorTransformStyleLabel() { Name = "bgAccFollowNode1" };

            Dgm.FillColorList fillColorList40 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor161 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha14 = new A.Alpha() { Val = 90000 };
            A.Tint tint24 = new A.Tint() { Val = 40000 };

            schemeColor161.Append(alpha14);
            schemeColor161.Append(tint24);

            fillColorList40.Append(schemeColor161);

            Dgm.LineColorList lineColorList40 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor162 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Alpha alpha15 = new A.Alpha() { Val = 90000 };
            A.Tint tint25 = new A.Tint() { Val = 40000 };

            schemeColor162.Append(alpha15);
            schemeColor162.Append(tint25);

            lineColorList40.Append(schemeColor162);
            Dgm.EffectColorList effectColorList40 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList40 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList40 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor163 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList40.Append(schemeColor163);
            Dgm.TextEffectColorList textEffectColorList40 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel40.Append(fillColorList40);
            colorTransformStyleLabel40.Append(lineColorList40);
            colorTransformStyleLabel40.Append(effectColorList40);
            colorTransformStyleLabel40.Append(textLineColorList40);
            colorTransformStyleLabel40.Append(textFillColorList40);
            colorTransformStyleLabel40.Append(textEffectColorList40);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel41 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc0" };

            Dgm.FillColorList fillColorList41 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor164 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha16 = new A.Alpha() { Val = 90000 };

            schemeColor164.Append(alpha16);

            fillColorList41.Append(schemeColor164);

            Dgm.LineColorList lineColorList41 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor165 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList41.Append(schemeColor165);
            Dgm.EffectColorList effectColorList41 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList41 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList41 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor166 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList41.Append(schemeColor166);
            Dgm.TextEffectColorList textEffectColorList41 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel41.Append(fillColorList41);
            colorTransformStyleLabel41.Append(lineColorList41);
            colorTransformStyleLabel41.Append(effectColorList41);
            colorTransformStyleLabel41.Append(textLineColorList41);
            colorTransformStyleLabel41.Append(textFillColorList41);
            colorTransformStyleLabel41.Append(textEffectColorList41);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel42 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc2" };

            Dgm.FillColorList fillColorList42 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor167 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha17 = new A.Alpha() { Val = 90000 };

            schemeColor167.Append(alpha17);

            fillColorList42.Append(schemeColor167);

            Dgm.LineColorList lineColorList42 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor168 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList42.Append(schemeColor168);
            Dgm.EffectColorList effectColorList42 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList42 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList42 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor169 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList42.Append(schemeColor169);
            Dgm.TextEffectColorList textEffectColorList42 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel42.Append(fillColorList42);
            colorTransformStyleLabel42.Append(lineColorList42);
            colorTransformStyleLabel42.Append(effectColorList42);
            colorTransformStyleLabel42.Append(textLineColorList42);
            colorTransformStyleLabel42.Append(textFillColorList42);
            colorTransformStyleLabel42.Append(textEffectColorList42);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel43 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc3" };

            Dgm.FillColorList fillColorList43 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor170 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha18 = new A.Alpha() { Val = 90000 };

            schemeColor170.Append(alpha18);

            fillColorList43.Append(schemeColor170);

            Dgm.LineColorList lineColorList43 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor171 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList43.Append(schemeColor171);
            Dgm.EffectColorList effectColorList43 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList43 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList43 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor172 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList43.Append(schemeColor172);
            Dgm.TextEffectColorList textEffectColorList43 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel43.Append(fillColorList43);
            colorTransformStyleLabel43.Append(lineColorList43);
            colorTransformStyleLabel43.Append(effectColorList43);
            colorTransformStyleLabel43.Append(textLineColorList43);
            colorTransformStyleLabel43.Append(textFillColorList43);
            colorTransformStyleLabel43.Append(textEffectColorList43);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel44 = new Dgm.ColorTransformStyleLabel() { Name = "fgAcc4" };

            Dgm.FillColorList fillColorList44 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor173 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha19 = new A.Alpha() { Val = 90000 };

            schemeColor173.Append(alpha19);

            fillColorList44.Append(schemeColor173);

            Dgm.LineColorList lineColorList44 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor174 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList44.Append(schemeColor174);
            Dgm.EffectColorList effectColorList44 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList44 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList44 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor175 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList44.Append(schemeColor175);
            Dgm.TextEffectColorList textEffectColorList44 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel44.Append(fillColorList44);
            colorTransformStyleLabel44.Append(lineColorList44);
            colorTransformStyleLabel44.Append(effectColorList44);
            colorTransformStyleLabel44.Append(textLineColorList44);
            colorTransformStyleLabel44.Append(textFillColorList44);
            colorTransformStyleLabel44.Append(textEffectColorList44);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel45 = new Dgm.ColorTransformStyleLabel() { Name = "bgShp" };

            Dgm.FillColorList fillColorList45 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor176 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint26 = new A.Tint() { Val = 40000 };

            schemeColor176.Append(tint26);

            fillColorList45.Append(schemeColor176);

            Dgm.LineColorList lineColorList45 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor177 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList45.Append(schemeColor177);
            Dgm.EffectColorList effectColorList45 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList45 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList45 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor178 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList45.Append(schemeColor178);
            Dgm.TextEffectColorList textEffectColorList45 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel45.Append(fillColorList45);
            colorTransformStyleLabel45.Append(lineColorList45);
            colorTransformStyleLabel45.Append(effectColorList45);
            colorTransformStyleLabel45.Append(textLineColorList45);
            colorTransformStyleLabel45.Append(textFillColorList45);
            colorTransformStyleLabel45.Append(textEffectColorList45);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel46 = new Dgm.ColorTransformStyleLabel() { Name = "dkBgShp" };

            Dgm.FillColorList fillColorList46 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor179 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade14 = new A.Shade() { Val = 80000 };

            schemeColor179.Append(shade14);

            fillColorList46.Append(schemeColor179);

            Dgm.LineColorList lineColorList46 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor180 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList46.Append(schemeColor180);
            Dgm.EffectColorList effectColorList46 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList46 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList46 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor181 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList46.Append(schemeColor181);
            Dgm.TextEffectColorList textEffectColorList46 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel46.Append(fillColorList46);
            colorTransformStyleLabel46.Append(lineColorList46);
            colorTransformStyleLabel46.Append(effectColorList46);
            colorTransformStyleLabel46.Append(textLineColorList46);
            colorTransformStyleLabel46.Append(textFillColorList46);
            colorTransformStyleLabel46.Append(textEffectColorList46);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel47 = new Dgm.ColorTransformStyleLabel() { Name = "trBgShp" };

            Dgm.FillColorList fillColorList47 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor182 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint27 = new A.Tint() { Val = 50000 };
            A.Alpha alpha20 = new A.Alpha() { Val = 40000 };

            schemeColor182.Append(tint27);
            schemeColor182.Append(alpha20);

            fillColorList47.Append(schemeColor182);

            Dgm.LineColorList lineColorList47 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor183 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineColorList47.Append(schemeColor183);
            Dgm.EffectColorList effectColorList47 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList47 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList47 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor184 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            textFillColorList47.Append(schemeColor184);
            Dgm.TextEffectColorList textEffectColorList47 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel47.Append(fillColorList47);
            colorTransformStyleLabel47.Append(lineColorList47);
            colorTransformStyleLabel47.Append(effectColorList47);
            colorTransformStyleLabel47.Append(textLineColorList47);
            colorTransformStyleLabel47.Append(textFillColorList47);
            colorTransformStyleLabel47.Append(textEffectColorList47);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel48 = new Dgm.ColorTransformStyleLabel() { Name = "fgShp" };

            Dgm.FillColorList fillColorList48 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor185 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Tint tint28 = new A.Tint() { Val = 60000 };

            schemeColor185.Append(tint28);

            fillColorList48.Append(schemeColor185);

            Dgm.LineColorList lineColorList48 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor186 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            lineColorList48.Append(schemeColor186);
            Dgm.EffectColorList effectColorList48 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList48 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList48 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor187 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            textFillColorList48.Append(schemeColor187);
            Dgm.TextEffectColorList textEffectColorList48 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel48.Append(fillColorList48);
            colorTransformStyleLabel48.Append(lineColorList48);
            colorTransformStyleLabel48.Append(effectColorList48);
            colorTransformStyleLabel48.Append(textLineColorList48);
            colorTransformStyleLabel48.Append(textFillColorList48);
            colorTransformStyleLabel48.Append(textEffectColorList48);

            Dgm.ColorTransformStyleLabel colorTransformStyleLabel49 = new Dgm.ColorTransformStyleLabel() { Name = "revTx" };

            Dgm.FillColorList fillColorList49 = new Dgm.FillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor188 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Alpha alpha21 = new A.Alpha() { Val = 0 };

            schemeColor188.Append(alpha21);

            fillColorList49.Append(schemeColor188);

            Dgm.LineColorList lineColorList49 = new Dgm.LineColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };

            A.SchemeColor schemeColor189 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };
            A.Alpha alpha22 = new A.Alpha() { Val = 0 };

            schemeColor189.Append(alpha22);

            lineColorList49.Append(schemeColor189);
            Dgm.EffectColorList effectColorList49 = new Dgm.EffectColorList();
            Dgm.TextLineColorList textLineColorList49 = new Dgm.TextLineColorList();

            Dgm.TextFillColorList textFillColorList49 = new Dgm.TextFillColorList() { Method = Dgm.ColorApplicationMethodValues.Repeat };
            A.SchemeColor schemeColor190 = new A.SchemeColor() { Val = A.SchemeColorValues.Text1 };

            textFillColorList49.Append(schemeColor190);
            Dgm.TextEffectColorList textEffectColorList49 = new Dgm.TextEffectColorList();

            colorTransformStyleLabel49.Append(fillColorList49);
            colorTransformStyleLabel49.Append(lineColorList49);
            colorTransformStyleLabel49.Append(effectColorList49);
            colorTransformStyleLabel49.Append(textLineColorList49);
            colorTransformStyleLabel49.Append(textFillColorList49);
            colorTransformStyleLabel49.Append(textEffectColorList49);

            colorsDefinition1.Append(colorDefinitionTitle1);
            colorsDefinition1.Append(colorTransformDescription1);
            colorsDefinition1.Append(colorTransformCategories1);
            colorsDefinition1.Append(colorTransformStyleLabel1);
            colorsDefinition1.Append(colorTransformStyleLabel2);
            colorsDefinition1.Append(colorTransformStyleLabel3);
            colorsDefinition1.Append(colorTransformStyleLabel4);
            colorsDefinition1.Append(colorTransformStyleLabel5);
            colorsDefinition1.Append(colorTransformStyleLabel6);
            colorsDefinition1.Append(colorTransformStyleLabel7);
            colorsDefinition1.Append(colorTransformStyleLabel8);
            colorsDefinition1.Append(colorTransformStyleLabel9);
            colorsDefinition1.Append(colorTransformStyleLabel10);
            colorsDefinition1.Append(colorTransformStyleLabel11);
            colorsDefinition1.Append(colorTransformStyleLabel12);
            colorsDefinition1.Append(colorTransformStyleLabel13);
            colorsDefinition1.Append(colorTransformStyleLabel14);
            colorsDefinition1.Append(colorTransformStyleLabel15);
            colorsDefinition1.Append(colorTransformStyleLabel16);
            colorsDefinition1.Append(colorTransformStyleLabel17);
            colorsDefinition1.Append(colorTransformStyleLabel18);
            colorsDefinition1.Append(colorTransformStyleLabel19);
            colorsDefinition1.Append(colorTransformStyleLabel20);
            colorsDefinition1.Append(colorTransformStyleLabel21);
            colorsDefinition1.Append(colorTransformStyleLabel22);
            colorsDefinition1.Append(colorTransformStyleLabel23);
            colorsDefinition1.Append(colorTransformStyleLabel24);
            colorsDefinition1.Append(colorTransformStyleLabel25);
            colorsDefinition1.Append(colorTransformStyleLabel26);
            colorsDefinition1.Append(colorTransformStyleLabel27);
            colorsDefinition1.Append(colorTransformStyleLabel28);
            colorsDefinition1.Append(colorTransformStyleLabel29);
            colorsDefinition1.Append(colorTransformStyleLabel30);
            colorsDefinition1.Append(colorTransformStyleLabel31);
            colorsDefinition1.Append(colorTransformStyleLabel32);
            colorsDefinition1.Append(colorTransformStyleLabel33);
            colorsDefinition1.Append(colorTransformStyleLabel34);
            colorsDefinition1.Append(colorTransformStyleLabel35);
            colorsDefinition1.Append(colorTransformStyleLabel36);
            colorsDefinition1.Append(colorTransformStyleLabel37);
            colorsDefinition1.Append(colorTransformStyleLabel38);
            colorsDefinition1.Append(colorTransformStyleLabel39);
            colorsDefinition1.Append(colorTransformStyleLabel40);
            colorsDefinition1.Append(colorTransformStyleLabel41);
            colorsDefinition1.Append(colorTransformStyleLabel42);
            colorsDefinition1.Append(colorTransformStyleLabel43);
            colorsDefinition1.Append(colorTransformStyleLabel44);
            colorsDefinition1.Append(colorTransformStyleLabel45);
            colorsDefinition1.Append(colorTransformStyleLabel46);
            colorsDefinition1.Append(colorTransformStyleLabel47);
            colorsDefinition1.Append(colorTransformStyleLabel48);
            colorsDefinition1.Append(colorTransformStyleLabel49);

            diagramColorsPart1.ColorsDefinition = colorsDefinition1;
        }
Ejemplo n.º 11
0
        public void DrawCharacter(Wpg.WordprocessingGroup wordprocessingGroup1, AtomLabelCharacter alc)
        {
            Point characterPosition = new Point(alc.Position.X, alc.Position.Y);

            characterPosition.Offset(-m_canvasExtents.Left, -m_canvasExtents.Top);

            UInt32Value atomLabelId   = UInt32Value.FromUInt32((uint)m_ooxmlId++);
            string      atomLabelName = "AtomLabel" + atomLabelId;

            Int64Value width  = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Width);
            Int64Value height = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Height);

            if (alc.IsSubScript)
            {
                width  = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Width);
                height = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Height);
            }
            Int64Value top  = OoXmlHelper.ScaleCmlToEmu(characterPosition.Y);
            Int64Value left = OoXmlHelper.ScaleCmlToEmu(characterPosition.X);

            // Set variable true to show bounding box of (every) character
            if (m_options.ShowCharacterBoundingBoxes)
            {
                Rect boundingBox = new Rect(new Point(left, top), new Size(width, height));
                DrawCharacterBox(wordprocessingGroup1, boundingBox, "00ff00", 10);
            }

            Wps.WordprocessingShape        wordprocessingShape10        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties10 = new Wps.NonVisualDrawingProperties()
            {
                Id = atomLabelId, Name = atomLabelName
            };
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties10 = new Wps.NonVisualDrawingShapeProperties();

            Wps.ShapeProperties shapeProperties10 = new Wps.ShapeProperties();

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset      offset11      = new A.Offset()
            {
                X = left, Y = top
            };
            A.Extents extents11 = new A.Extents()
            {
                Cx = width, Cy = height
            };

            transform2D10.Append(offset11);
            transform2D10.Append(extents11);

            A.CustomGeometry  customGeometry10  = new A.CustomGeometry();
            A.AdjustValueList adjustValueList10 = new A.AdjustValueList();
            A.Rectangle       rectangle10       = new A.Rectangle()
            {
                Left = "l", Top = "t", Right = "r", Bottom = "b"
            };

            A.PathList pathList10 = new A.PathList();

            A.Path path10 = new A.Path()
            {
                Width = width, Height = height
            };

            foreach (TtfContour contour in alc.Character.Contours)
            {
                int i = 0;
                while (i < contour.Points.Count)
                {
                    TtfPoint thisPoint = contour.Points[i];
                    TtfPoint nextPoint = null;
                    if (i < contour.Points.Count - 1)
                    {
                        nextPoint = contour.Points[i + 1];
                    }

                    switch (thisPoint.Type)
                    {
                    case TtfPoint.PointType.Start:
                        A.MoveTo moveTo1 = new A.MoveTo();
                        if (alc.IsSubScript)
                        {
                            A.Point point1 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfSubScriptToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            moveTo1.Append(point1);
                            path10.Append(moveTo1);
                        }
                        else
                        {
                            A.Point point1 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            moveTo1.Append(point1);
                            path10.Append(moveTo1);
                        }
                        i++;
                        break;

                    case TtfPoint.PointType.Line:
                        A.LineTo lineTo1 = new A.LineTo();
                        if (alc.IsSubScript)
                        {
                            A.Point point2 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfSubScriptToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            lineTo1.Append(point2);
                            path10.Append(lineTo1);
                        }
                        else
                        {
                            A.Point point2 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            lineTo1.Append(point2);
                            path10.Append(lineTo1);
                        }
                        i++;
                        break;

                    case TtfPoint.PointType.CurveOff:
                        A.QuadraticBezierCurveTo quadraticBezierCurveTo13 = new A.QuadraticBezierCurveTo();
                        if (alc.IsSubScript)
                        {
                            A.Point point3 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfSubScriptToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            A.Point point4 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfSubScriptToEmu(nextPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfSubScriptToEmu(alc.Character.Height + nextPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            quadraticBezierCurveTo13.Append(point3);
                            quadraticBezierCurveTo13.Append(point4);
                            path10.Append(quadraticBezierCurveTo13);
                        }
                        else
                        {
                            A.Point point3 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfToEmu(thisPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Height + thisPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            A.Point point4 = new A.Point()
                            {
                                X = OoXmlHelper.ScaleCsTtfToEmu(nextPoint.X - alc.Character.OriginX).ToString(),
                                Y = OoXmlHelper.ScaleCsTtfToEmu(alc.Character.Height + nextPoint.Y - (alc.Character.Height + alc.Character.OriginY)).ToString()
                            };
                            quadraticBezierCurveTo13.Append(point3);
                            quadraticBezierCurveTo13.Append(point4);
                            path10.Append(quadraticBezierCurveTo13);
                        }
                        i++;
                        i++;
                        break;

                    case TtfPoint.PointType.CurveOn:
                        // Should never get here !
                        i++;
                        break;
                    }
                }

                A.CloseShapePath closeShapePath1 = new A.CloseShapePath();
                path10.Append(closeShapePath1);
            }

            pathList10.Append(path10);

            customGeometry10.Append(adjustValueList10);
            customGeometry10.Append(rectangle10);
            customGeometry10.Append(pathList10);

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

            // Set Colour
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex()
            {
                Val = alc.Colour
            };
            A.Alpha alpha10 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };

            rgbColorModelHex10.Append(alpha10);

            solidFill10.Append(rgbColorModelHex10);

            shapeProperties10.Append(transform2D10);
            shapeProperties10.Append(customGeometry10);
            shapeProperties10.Append(solidFill10);

            Wps.ShapeStyle  shapeStyle10    = new Wps.ShapeStyle();
            A.LineReference lineReference10 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference10 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference10 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference10 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle10.Append(lineReference10);
            shapeStyle10.Append(fillReference10);
            shapeStyle10.Append(effectReference10);
            shapeStyle10.Append(fontReference10);
            Wps.TextBodyProperties textBodyProperties10 = new Wps.TextBodyProperties();

            wordprocessingShape10.Append(nonVisualDrawingProperties10);
            wordprocessingShape10.Append(nonVisualDrawingShapeProperties10);
            wordprocessingShape10.Append(shapeProperties10);
            wordprocessingShape10.Append(shapeStyle10);
            wordprocessingShape10.Append(textBodyProperties10);

            wordprocessingGroup1.Append(wordprocessingShape10);
        }
Ejemplo n.º 12
0
        // Generates content of slideLayoutPart11.
        private void GenerateSlideLayoutPart11Content(SlideLayoutPart slideLayoutPart11)
        {
            SlideLayout slideLayout11 = new SlideLayout(){ Type = SlideLayoutValues.PictureText, Preserve = true };
            slideLayout11.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout11.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout11.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData13 = new CommonSlideData(){ Name = "Picture with Caption" };

            ShapeTree shapeTree13 = new ShapeTree();

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

            nonVisualGroupShapeProperties13.Append(nonVisualDrawingProperties72);
            nonVisualGroupShapeProperties13.Append(nonVisualGroupShapeDrawingProperties13);
            nonVisualGroupShapeProperties13.Append(applicationNonVisualDrawingProperties72);

            GroupShapeProperties groupShapeProperties13 = new GroupShapeProperties();

            A.TransformGroup transformGroup13 = new A.TransformGroup();
            A.Offset offset35 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents35 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset13 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents13 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup13.Append(offset35);
            transformGroup13.Append(extents35);
            transformGroup13.Append(childOffset13);
            transformGroup13.Append(childExtents13);

            groupShapeProperties13.Append(transformGroup13);

            Shape shape60 = new Shape();

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

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

            nonVisualShapeDrawingProperties60.Append(shapeLocks60);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties73 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape60 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties73.Append(placeholderShape60);

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

            ShapeProperties shapeProperties60 = new ShapeProperties();

            A.Transform2D transform2D23 = new A.Transform2D();
            A.Offset offset36 = new A.Offset(){ X = 2438400L, Y = 609600L };
            A.Extents extents36 = new A.Extents(){ Cx = 7315200L, Cy = 522288L };

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

            shapeProperties60.Append(transform2D23);

            TextBody textBody60 = new TextBody();

            A.BodyProperties bodyProperties60 = new A.BodyProperties(){ LeftInset = 45720, RightInset = 45720, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.Shape3DType shape3DType6 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };

            bodyProperties60.Append(shape3DType6);

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

            A.Level1ParagraphProperties level1ParagraphProperties22 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet33 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties83 = new A.DefaultRunProperties(){ FontSize = 2000, Bold = true };

            level1ParagraphProperties22.Append(noBullet33);
            level1ParagraphProperties22.Append(defaultRunProperties83);

            listStyle60.Append(level1ParagraphProperties22);

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

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

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

            run61.Append(runProperties83);
            run61.Append(text83);
            A.EndParagraphRunProperties endParagraphRunProperties56 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph96.Append(run61);
            paragraph96.Append(endParagraphRunProperties56);

            textBody60.Append(bodyProperties60);
            textBody60.Append(listStyle60);
            textBody60.Append(paragraph96);

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

            Shape shape61 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties61 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties74 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Picture Placeholder 2" };

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

            nonVisualShapeDrawingProperties61.Append(shapeLocks61);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties74 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape61 = new PlaceholderShape(){ Type = PlaceholderValues.Picture, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties74.Append(placeholderShape61);

            nonVisualShapeProperties61.Append(nonVisualDrawingProperties74);
            nonVisualShapeProperties61.Append(nonVisualShapeDrawingProperties61);
            nonVisualShapeProperties61.Append(applicationNonVisualDrawingProperties74);

            ShapeProperties shapeProperties61 = new ShapeProperties();

            A.Transform2D transform2D24 = new A.Transform2D();
            A.Offset offset37 = new A.Offset(){ X = 2438400L, Y = 1831975L };
            A.Extents extents37 = new A.Extents(){ Cx = 7315200L, Cy = 3962400L };

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

            A.SolidFill solidFill46 = new A.SolidFill();
            A.SchemeColor schemeColor76 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            solidFill46.Append(schemeColor76);

            A.Outline outline8 = new A.Outline(){ Width = 44450, CapType = A.LineCapValues.Square, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill47 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex(){ Val = "FFFFFF" };

            solidFill47.Append(rgbColorModelHex17);
            A.PresetDash presetDash4 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };
            A.Miter miter1 = new A.Miter(){ Limit = 800000 };

            outline8.Append(solidFill47);
            outline8.Append(presetDash4);
            outline8.Append(miter1);

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

            A.OuterShadow outerShadow7 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000 };

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

            rgbColorModelHex18.Append(alpha7);

            outerShadow7.Append(rgbColorModelHex18);

            effectList7.Append(outerShadow7);

            A.Scene3DType scene3DType5 = new A.Scene3DType();

            A.Camera camera5 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation6 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera5.Append(rotation6);

            A.LightRig lightRig5 = new A.LightRig(){ Rig = A.LightRigValues.Balanced, Direction = A.LightRigDirectionValues.TopRight };
            A.Rotation rotation7 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 2700000 };

            lightRig5.Append(rotation7);

            scene3DType5.Append(camera5);
            scene3DType5.Append(lightRig5);

            A.Shape3DType shape3DType7 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Matte };

            A.ContourColor contourColor2 = new A.ContourColor();

            A.SchemeColor schemeColor77 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };
            A.Shade shade11 = new A.Shade(){ Val = 50000 };

            schemeColor77.Append(shade11);

            contourColor2.Append(schemeColor77);

            shape3DType7.Append(contourColor2);

            shapeProperties61.Append(transform2D24);
            shapeProperties61.Append(solidFill46);
            shapeProperties61.Append(outline8);
            shapeProperties61.Append(effectList7);
            shapeProperties61.Append(scene3DType5);
            shapeProperties61.Append(shape3DType7);

            ShapeStyle shapeStyle1 = new ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference(){ Index = (UInt32Value)3U };
            A.SchemeColor schemeColor78 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            lineReference1.Append(schemeColor78);

            A.FillReference fillReference1 = new A.FillReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor79 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference1.Append(schemeColor79);

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

            effectReference1.Append(schemeColor80);

            A.FontReference fontReference1 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor81 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            fontReference1.Append(schemeColor81);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

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

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

            A.Level1ParagraphProperties level1ParagraphProperties23 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };
            A.NoBullet noBullet34 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties84 = new A.DefaultRunProperties(){ FontSize = 3200 };

            level1ParagraphProperties23.Append(noBullet34);
            level1ParagraphProperties23.Append(defaultRunProperties84);

            listStyle61.Append(level1ParagraphProperties23);

            A.Paragraph paragraph97 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties50 = new A.ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

            A.RunProperties runProperties84 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties84.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));

            A.SolidFill solidFill48 = new A.SolidFill();
            A.SchemeColor schemeColor82 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            solidFill48.Append(schemeColor82);
            A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont32 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont32 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            runProperties84.Append(solidFill48);
            runProperties84.Append(latinFont32);
            runProperties84.Append(eastAsianFont32);
            runProperties84.Append(complexScriptFont32);
            A.Text text84 = new A.Text();
            text84.Text = "Click icon to add picture";

            run62.Append(runProperties84);
            run62.Append(text84);

            A.EndParagraphRunProperties endParagraphRunProperties57 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US", Dirty = false };

            A.SolidFill solidFill49 = new A.SolidFill();
            A.SchemeColor schemeColor83 = new A.SchemeColor(){ Val = A.SchemeColorValues.Light1 };

            solidFill49.Append(schemeColor83);
            A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont33 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont33 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

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

            paragraph97.Append(paragraphProperties50);
            paragraph97.Append(run62);
            paragraph97.Append(endParagraphRunProperties57);

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

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

            Shape shape62 = new Shape();

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

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

            nonVisualShapeDrawingProperties62.Append(shapeLocks62);

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

            applicationNonVisualDrawingProperties75.Append(placeholderShape62);

            nonVisualShapeProperties62.Append(nonVisualDrawingProperties75);
            nonVisualShapeProperties62.Append(nonVisualShapeDrawingProperties62);
            nonVisualShapeProperties62.Append(applicationNonVisualDrawingProperties75);

            ShapeProperties shapeProperties62 = new ShapeProperties();

            A.Transform2D transform2D25 = new A.Transform2D();
            A.Offset offset38 = new A.Offset(){ X = 2438400L, Y = 1166787L };
            A.Extents extents38 = new A.Extents(){ Cx = 7315200L, Cy = 530352L };

            transform2D25.Append(offset38);
            transform2D25.Append(extents38);

            shapeProperties62.Append(transform2D25);

            TextBody textBody62 = new TextBody();
            A.BodyProperties bodyProperties62 = new A.BodyProperties(){ LeftInset = 45720, TopInset = 45720, RightInset = 45720, Anchor = A.TextAnchoringTypeValues.Top };

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

            A.Level1ParagraphProperties level1ParagraphProperties24 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet35 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties85 = new A.DefaultRunProperties(){ FontSize = 1400 };

            level1ParagraphProperties24.Append(noBullet35);
            level1ParagraphProperties24.Append(defaultRunProperties85);

            A.Level2ParagraphProperties level2ParagraphProperties14 = new A.Level2ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties86 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties14.Append(defaultRunProperties86);

            A.Level3ParagraphProperties level3ParagraphProperties14 = new A.Level3ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties87 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties14.Append(defaultRunProperties87);

            A.Level4ParagraphProperties level4ParagraphProperties14 = new A.Level4ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties88 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties14.Append(defaultRunProperties88);

            A.Level5ParagraphProperties level5ParagraphProperties14 = new A.Level5ParagraphProperties();
            A.DefaultRunProperties defaultRunProperties89 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties14.Append(defaultRunProperties89);

            listStyle62.Append(level1ParagraphProperties24);
            listStyle62.Append(level2ParagraphProperties14);
            listStyle62.Append(level3ParagraphProperties14);
            listStyle62.Append(level4ParagraphProperties14);
            listStyle62.Append(level5ParagraphProperties14);

            A.Paragraph paragraph98 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties51 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

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

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

            run63.Append(runProperties85);
            run63.Append(text85);

            paragraph98.Append(paragraphProperties51);
            paragraph98.Append(run63);

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

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

            Shape shape63 = new Shape();

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

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

            nonVisualShapeDrawingProperties63.Append(shapeLocks63);

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

            applicationNonVisualDrawingProperties76.Append(placeholderShape63);

            nonVisualShapeProperties63.Append(nonVisualDrawingProperties76);
            nonVisualShapeProperties63.Append(nonVisualShapeDrawingProperties63);
            nonVisualShapeProperties63.Append(applicationNonVisualDrawingProperties76);
            ShapeProperties shapeProperties63 = new ShapeProperties();

            TextBody textBody63 = new TextBody();
            A.BodyProperties bodyProperties63 = new A.BodyProperties();
            A.ListStyle listStyle63 = new A.ListStyle();

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

            A.Field field23 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

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

            field23.Append(runProperties86);
            field23.Append(text86);
            A.EndParagraphRunProperties endParagraphRunProperties58 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph99.Append(field23);
            paragraph99.Append(endParagraphRunProperties58);

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

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

            Shape shape64 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties64 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks64 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties64.Append(shapeLocks64);

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

            applicationNonVisualDrawingProperties77.Append(placeholderShape64);

            nonVisualShapeProperties64.Append(nonVisualDrawingProperties77);
            nonVisualShapeProperties64.Append(nonVisualShapeDrawingProperties64);
            nonVisualShapeProperties64.Append(applicationNonVisualDrawingProperties77);
            ShapeProperties shapeProperties64 = new ShapeProperties();

            TextBody textBody64 = new TextBody();
            A.BodyProperties bodyProperties64 = new A.BodyProperties();
            A.ListStyle listStyle64 = new A.ListStyle();

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

            paragraph100.Append(endParagraphRunProperties59);

            textBody64.Append(bodyProperties64);
            textBody64.Append(listStyle64);
            textBody64.Append(paragraph100);

            shape64.Append(nonVisualShapeProperties64);
            shape64.Append(shapeProperties64);
            shape64.Append(textBody64);

            Shape shape65 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties65 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks65 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties65.Append(shapeLocks65);

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

            applicationNonVisualDrawingProperties78.Append(placeholderShape65);

            nonVisualShapeProperties65.Append(nonVisualDrawingProperties78);
            nonVisualShapeProperties65.Append(nonVisualShapeDrawingProperties65);
            nonVisualShapeProperties65.Append(applicationNonVisualDrawingProperties78);
            ShapeProperties shapeProperties65 = new ShapeProperties();

            TextBody textBody65 = new TextBody();
            A.BodyProperties bodyProperties65 = new A.BodyProperties();
            A.ListStyle listStyle65 = new A.ListStyle();

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

            A.Field field24 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

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

            field24.Append(runProperties87);
            field24.Append(text87);
            A.EndParagraphRunProperties endParagraphRunProperties60 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph101.Append(field24);
            paragraph101.Append(endParagraphRunProperties60);

            textBody65.Append(bodyProperties65);
            textBody65.Append(listStyle65);
            textBody65.Append(paragraph101);

            shape65.Append(nonVisualShapeProperties65);
            shape65.Append(shapeProperties65);
            shape65.Append(textBody65);

            shapeTree13.Append(nonVisualGroupShapeProperties13);
            shapeTree13.Append(groupShapeProperties13);
            shapeTree13.Append(shape60);
            shapeTree13.Append(shape61);
            shapeTree13.Append(shape62);
            shapeTree13.Append(shape63);
            shapeTree13.Append(shape64);
            shapeTree13.Append(shape65);

            CommonSlideDataExtensionList commonSlideDataExtensionList13 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension13.Append(creationId13);

            commonSlideDataExtensionList13.Append(commonSlideDataExtension13);

            commonSlideData13.Append(shapeTree13);
            commonSlideData13.Append(commonSlideDataExtensionList13);

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

            colorMapOverride12.Append(masterColorMapping11);

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

            slideLayoutPart11.SlideLayout = slideLayout11;
        }
Ejemplo n.º 13
0
        // Generates content of slideLayoutPart1.
        private void GenerateSlideLayoutPart1Content(SlideLayoutPart slideLayoutPart1)
        {
            SlideLayout slideLayout1 = new SlideLayout(){ Type = SlideLayoutValues.Title, Preserve = true };
            slideLayout1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData2 = new CommonSlideData(){ Name = "Title Slide" };

            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)8U, Name = "Title 7" };

            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 = 562707L, Y = 1371600L };
            A.Extents extents3 = new A.Extents(){ Cx = 10972800L, Cy = 1828800L };

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

            shapeProperties3.Append(transform2D1);

            TextBody textBody3 = new TextBody();

            A.BodyProperties bodyProperties3 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 45720, TopInset = 0, RightInset = 45720, BottomInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit1 = new A.NormalAutoFit();

            A.Scene3DType scene3DType1 = new A.Scene3DType();
            A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 17220000 };

            lightRig1.Append(rotation1);

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };
            A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 38100L, Height = 38100L };

            shape3DType1.Append(bevelTop1);

            bodyProperties3.Append(normalAutoFit1);
            bodyProperties3.Append(scene3DType1);
            bodyProperties3.Append(shape3DType1);

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

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

            A.DefaultRunProperties defaultRunProperties11 = new A.DefaultRunProperties(){ FontSize = 4800, Bold = true, Capital = A.TextCapsValues.All, Baseline = 0 };

            A.Outline outline1 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill1 = new A.NoFill();

            outline1.Append(noFill1);

            A.GradientFill gradientFill1 = new A.GradientFill();

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint1 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor10.Append(tint1);
            schemeColor10.Append(saturationModulation1);

            gradientStop1.Append(schemeColor10);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 73000 };

            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint2 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor11.Append(tint2);
            schemeColor11.Append(saturationModulation2);

            gradientStop2.Append(schemeColor11);

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint3 = new A.Tint(){ Val = 83000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 143000 };

            schemeColor12.Append(tint3);
            schemeColor12.Append(saturationModulation3);

            gradientStop3.Append(schemeColor12);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 4800000, Scaled = true };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

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

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 127000L, Distance = 200000L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha1 = new A.Alpha(){ Val = 30000 };

            rgbColorModelHex1.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex1);

            effectList1.Append(outerShadow1);

            defaultRunProperties11.Append(outline1);
            defaultRunProperties11.Append(gradientFill1);
            defaultRunProperties11.Append(effectList1);

            level1ParagraphProperties2.Append(defaultRunProperties11);

            listStyle3.Append(level1ParagraphProperties2);

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

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

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

            run1.Append(runProperties1);
            run1.Append(text1);
            A.EndParagraphRunProperties endParagraphRunProperties3 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph3.Append(run1);
            paragraph3.Append(endParagraphRunProperties3);

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

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

            Shape shape4 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties4 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties6 = new NonVisualDrawingProperties(){ Id = (UInt32Value)28U, Name = "Date Placeholder 27" };

            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.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)10U };

            applicationNonVisualDrawingProperties6.Append(placeholderShape4);

            nonVisualShapeProperties4.Append(nonVisualDrawingProperties6);
            nonVisualShapeProperties4.Append(nonVisualShapeDrawingProperties4);
            nonVisualShapeProperties4.Append(applicationNonVisualDrawingProperties6);
            ShapeProperties shapeProperties4 = new ShapeProperties();

            TextBody textBody4 = new TextBody();
            A.BodyProperties bodyProperties4 = new A.BodyProperties();
            A.ListStyle listStyle4 = new A.ListStyle();

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

            A.Field field1 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

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

            field1.Append(runProperties2);
            field1.Append(text2);
            A.EndParagraphRunProperties endParagraphRunProperties4 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph4.Append(field1);
            paragraph4.Append(endParagraphRunProperties4);

            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)17U, Name = "Footer Placeholder 16" };

            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.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)11U };

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

            paragraph5.Append(endParagraphRunProperties5);

            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)29U, Name = "Slide Number Placeholder 28" };

            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.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)12U };

            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.Field field2 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

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

            field2.Append(runProperties3);
            field2.Append(text3);
            A.EndParagraphRunProperties endParagraphRunProperties6 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph6.Append(field2);
            paragraph6.Append(endParagraphRunProperties6);

            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)9U, Name = "Subtitle 8" };

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

            applicationNonVisualDrawingProperties9.Append(placeholderShape7);

            nonVisualShapeProperties7.Append(nonVisualDrawingProperties9);
            nonVisualShapeProperties7.Append(nonVisualShapeDrawingProperties7);
            nonVisualShapeProperties7.Append(applicationNonVisualDrawingProperties9);

            ShapeProperties shapeProperties7 = new ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset4 = new A.Offset(){ X = 1828800L, Y = 3331698L };
            A.Extents extents4 = new A.Extents(){ Cx = 8534400L, Cy = 1752600L };

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

            shapeProperties7.Append(transform2D2);

            TextBody textBody7 = new TextBody();
            A.BodyProperties bodyProperties7 = new A.BodyProperties();

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

            A.Level1ParagraphProperties level1ParagraphProperties3 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet1 = new A.NoBullet();

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

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

            solidFill10.Append(schemeColor13);

            defaultRunProperties12.Append(solidFill10);

            level1ParagraphProperties3.Append(noBullet1);
            level1ParagraphProperties3.Append(defaultRunProperties12);

            A.Level2ParagraphProperties level2ParagraphProperties2 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet2 = new A.NoBullet();

            level2ParagraphProperties2.Append(noBullet2);

            A.Level3ParagraphProperties level3ParagraphProperties2 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet3 = new A.NoBullet();

            level3ParagraphProperties2.Append(noBullet3);

            A.Level4ParagraphProperties level4ParagraphProperties2 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet4 = new A.NoBullet();

            level4ParagraphProperties2.Append(noBullet4);

            A.Level5ParagraphProperties level5ParagraphProperties2 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet5 = new A.NoBullet();

            level5ParagraphProperties2.Append(noBullet5);

            A.Level6ParagraphProperties level6ParagraphProperties2 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet6 = new A.NoBullet();

            level6ParagraphProperties2.Append(noBullet6);

            A.Level7ParagraphProperties level7ParagraphProperties2 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet7 = new A.NoBullet();

            level7ParagraphProperties2.Append(noBullet7);

            A.Level8ParagraphProperties level8ParagraphProperties2 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet8 = new A.NoBullet();

            level8ParagraphProperties2.Append(noBullet8);

            A.Level9ParagraphProperties level9ParagraphProperties2 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet9 = new A.NoBullet();

            level9ParagraphProperties2.Append(noBullet9);

            listStyle7.Append(level1ParagraphProperties3);
            listStyle7.Append(level2ParagraphProperties2);
            listStyle7.Append(level3ParagraphProperties2);
            listStyle7.Append(level4ParagraphProperties2);
            listStyle7.Append(level5ParagraphProperties2);
            listStyle7.Append(level6ParagraphProperties2);
            listStyle7.Append(level7ParagraphProperties2);
            listStyle7.Append(level8ParagraphProperties2);
            listStyle7.Append(level9ParagraphProperties2);

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

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

            A.RunProperties runProperties4 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties4.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text4 = new A.Text();
            text4.Text = "Click to edit Master subtitle style";

            run2.Append(runProperties4);
            run2.Append(text4);
            A.EndParagraphRunProperties endParagraphRunProperties7 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph7.Append(run2);
            paragraph7.Append(endParagraphRunProperties7);

            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)1153735895U };
            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;
        }
Ejemplo n.º 14
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Apex" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Apex" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "69676D" };

            dark2Color1.Append(rgbColorModelHex4);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "C9C2D1" };

            light2Color1.Append(rgbColorModelHex5);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "CEB966" };

            accent1Color1.Append(rgbColorModelHex6);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "9CB084" };

            accent2Color1.Append(rgbColorModelHex7);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "6BB1C9" };

            accent3Color1.Append(rgbColorModelHex8);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "6585CF" };

            accent4Color1.Append(rgbColorModelHex9);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "7E6BC9" };

            accent5Color1.Append(rgbColorModelHex10);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "A379BB" };

            accent6Color1.Append(rgbColorModelHex11);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "410082" };

            hyperlink1.Append(rgbColorModelHex12);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "932968" };

            followedHyperlinkColor1.Append(rgbColorModelHex13);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Apex" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont30 = new A.LatinFont(){ Typeface = "Lucida Sans" };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Arial" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Arial" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG丸ゴシックM-PRO" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hang", Typeface = "휴먼옛체" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Hans", Typeface = "黑体" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Levenim MT" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Thai", Typeface = "FreesiaUPC" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            majorFont1.Append(latinFont30);
            majorFont1.Append(eastAsianFont30);
            majorFont1.Append(complexScriptFont30);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);
            majorFont1.Append(supplementalFont31);
            majorFont1.Append(supplementalFont32);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont31 = new A.LatinFont(){ Typeface = "Book Antiqua" };
            A.EastAsianFont eastAsianFont31 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont31 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Grek", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Cyrl", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HG明朝B" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Hang", Typeface = "돋움" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "David" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Thai", Typeface = "EucrosiaUPC" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont61 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont62 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont63 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont64 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            minorFont1.Append(latinFont31);
            minorFont1.Append(eastAsianFont31);
            minorFont1.Append(complexScriptFont31);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);
            minorFont1.Append(supplementalFont61);
            minorFont1.Append(supplementalFont62);
            minorFont1.Append(supplementalFont63);
            minorFont1.Append(supplementalFont64);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Apex" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill39 = new A.SolidFill();
            A.SchemeColor schemeColor57 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill39.Append(schemeColor57);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 20000 };

            A.SchemeColor schemeColor58 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint13 = new A.Tint(){ Val = 9000 };

            schemeColor58.Append(tint13);

            gradientStop7.Append(schemeColor58);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor59 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint14 = new A.Tint(){ Val = 70000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 100000 };

            schemeColor59.Append(tint14);
            schemeColor59.Append(saturationModulation9);

            gradientStop8.Append(schemeColor59);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = -15000, Top = -15000, Right = 115000, Bottom = 115000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor60 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade6 = new A.Shade(){ Val = 60000 };

            schemeColor60.Append(shade6);

            gradientStop9.Append(schemeColor60);

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 33000 };

            A.SchemeColor schemeColor61 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint15 = new A.Tint(){ Val = 86500 };

            schemeColor61.Append(tint15);

            gradientStop10.Append(schemeColor61);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 46750 };

            A.SchemeColor schemeColor62 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint16 = new A.Tint(){ Val = 71000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 112000 };

            schemeColor62.Append(tint16);
            schemeColor62.Append(saturationModulation10);

            gradientStop11.Append(schemeColor62);

            A.GradientStop gradientStop12 = new A.GradientStop(){ Position = 53000 };

            A.SchemeColor schemeColor63 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint17 = new A.Tint(){ Val = 71000 };
            A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 112000 };

            schemeColor63.Append(tint17);
            schemeColor63.Append(saturationModulation11);

            gradientStop12.Append(schemeColor63);

            A.GradientStop gradientStop13 = new A.GradientStop(){ Position = 68000 };

            A.SchemeColor schemeColor64 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint18 = new A.Tint(){ Val = 86000 };

            schemeColor64.Append(tint18);

            gradientStop13.Append(schemeColor64);

            A.GradientStop gradientStop14 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor65 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade7 = new A.Shade(){ Val = 60000 };

            schemeColor65.Append(shade7);

            gradientStop14.Append(schemeColor65);

            gradientStopList4.Append(gradientStop9);
            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);
            gradientStopList4.Append(gradientStop12);
            gradientStopList4.Append(gradientStop13);
            gradientStopList4.Append(gradientStop14);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 8350000, Scaled = true };

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(linearGradientFill3);

            fillStyleList1.Append(solidFill39);
            fillStyleList1.Append(gradientFill3);
            fillStyleList1.Append(gradientFill4);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline5 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor66 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade8 = new A.Shade(){ Val = 48000 };
            A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 110000 };

            schemeColor66.Append(shade8);
            schemeColor66.Append(saturationModulation12);

            solidFill40.Append(schemeColor66);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline5.Append(solidFill40);
            outline5.Append(presetDash1);

            A.Outline outline6 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill41 = new A.SolidFill();
            A.SchemeColor schemeColor67 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill41.Append(schemeColor67);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline6.Append(solidFill41);
            outline6.Append(presetDash2);

            A.Outline outline7 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill42 = new A.SolidFill();
            A.SchemeColor schemeColor68 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill42.Append(schemeColor68);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline7.Append(solidFill42);
            outline7.Append(presetDash3);

            lineStyleList1.Append(outline5);
            lineStyleList1.Append(outline6);
            lineStyleList1.Append(outline7);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();

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

            A.OuterShadow outerShadow4 = new A.OuterShadow(){ BlurRadius = 130000L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha4 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex14.Append(alpha4);

            outerShadow4.Append(rgbColorModelHex14);

            effectList4.Append(outerShadow4);

            effectStyle1.Append(effectList4);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

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

            A.OuterShadow outerShadow5 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha5 = new A.Alpha(){ Val = 25500 };

            rgbColorModelHex15.Append(alpha5);

            outerShadow5.Append(rgbColorModelHex15);

            effectList5.Append(outerShadow5);

            effectStyle2.Append(effectList5);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow6 = new A.OuterShadow(){ BlurRadius = 190500L, Distance = 228600L, Direction = 2700000, VerticalRatio = 90000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha6 = new A.Alpha(){ Val = 25500 };

            rgbColorModelHex16.Append(alpha6);

            outerShadow6.Append(rgbColorModelHex16);

            effectList6.Append(outerShadow6);

            A.Scene3DType scene3DType4 = new A.Scene3DType();

            A.Camera camera4 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront, FieldOfView = 0 };
            A.Rotation rotation4 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera4.Append(rotation4);

            A.LightRig lightRig4 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.TopLeft };
            A.Rotation rotation5 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 20100000 };

            lightRig4.Append(rotation5);

            scene3DType4.Append(camera4);
            scene3DType4.Append(lightRig4);

            A.Shape3DType shape3DType5 = new A.Shape3DType();
            A.BevelTop bevelTop4 = new A.BevelTop(){ Width = 50800L, Height = 50800L };

            shape3DType5.Append(bevelTop4);

            effectStyle3.Append(effectList6);
            effectStyle3.Append(scene3DType4);
            effectStyle3.Append(shape3DType5);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill43 = new A.SolidFill();
            A.SchemeColor schemeColor69 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill43.Append(schemeColor69);

            A.GradientFill gradientFill5 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList5 = new A.GradientStopList();

            A.GradientStop gradientStop15 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor70 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint19 = new A.Tint(){ Val = 50000 };
            A.SaturationModulation saturationModulation13 = new A.SaturationModulation(){ Val = 180000 };

            schemeColor70.Append(tint19);
            schemeColor70.Append(saturationModulation13);

            gradientStop15.Append(schemeColor70);

            A.GradientStop gradientStop16 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor71 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade9 = new A.Shade(){ Val = 45000 };
            A.SaturationModulation saturationModulation14 = new A.SaturationModulation(){ Val = 120000 };

            schemeColor71.Append(shade9);
            schemeColor71.Append(saturationModulation14);

            gradientStop16.Append(schemeColor71);

            gradientStopList5.Append(gradientStop15);
            gradientStopList5.Append(gradientStop16);

            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Right = 100000, Bottom = 100000 };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill5.Append(gradientStopList5);
            gradientFill5.Append(pathGradientFill2);

            A.BlipFill blipFill1 = new A.BlipFill();

            A.Blip blip1 = new A.Blip(){ Embed = "rId1" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Duotone duotone1 = new A.Duotone();

            A.SchemeColor schemeColor72 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade10 = new A.Shade(){ Val = 3000 };
            A.SaturationModulation saturationModulation15 = new A.SaturationModulation(){ Val = 110000 };

            schemeColor72.Append(shade10);
            schemeColor72.Append(saturationModulation15);

            A.SchemeColor schemeColor73 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint20 = new A.Tint(){ Val = 60000 };
            A.SaturationModulation saturationModulation16 = new A.SaturationModulation(){ Val = 425000 };

            schemeColor73.Append(tint20);
            schemeColor73.Append(saturationModulation16);

            duotone1.Append(schemeColor72);
            duotone1.Append(schemeColor73);

            blip1.Append(duotone1);

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            backgroundFillStyleList1.Append(solidFill43);
            backgroundFillStyleList1.Append(gradientFill5);
            backgroundFillStyleList1.Append(blipFill1);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 15
0
        private void DrawBox(Wpg.WordprocessingGroup wordprocessingGroup1, Rect extents, string colour, int thick)
        {
            UInt32Value bondLineId   = UInt32Value.FromUInt32((uint)_ooxmlId++);
            string      bondLineName = "diag-box-" + bondLineId;

            Int64Value width1  = OoXmlHelper.ScaleCmlToEmu(extents.Width);
            Int64Value height1 = OoXmlHelper.ScaleCmlToEmu(extents.Height);
            Int64Value top1    = OoXmlHelper.ScaleCmlToEmu(extents.Top);
            Int64Value left1   = OoXmlHelper.ScaleCmlToEmu(extents.Left);

            Point pp1 = new Point(left1, top1);
            Size  ss2 = new Size(width1, height1);

            pp1.Offset(OoXmlHelper.ScaleCmlToEmu(-_canvasExtents.Left), OoXmlHelper.ScaleCmlToEmu(-_canvasExtents.Top));
            Rect boundingBox = new Rect(pp1, ss2);

            Int64Value width  = (Int64Value)boundingBox.Width;
            Int64Value height = (Int64Value)boundingBox.Height;
            Int64Value top    = (Int64Value)boundingBox.Top;
            Int64Value left   = (Int64Value)boundingBox.Left;

            Wps.WordprocessingShape        wordprocessingShape1        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Wps.NonVisualDrawingProperties()
            {
                Id   = bondLineId,
                Name = bondLineName
            };
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties();

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = left, Y = top
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = width, Cy = height
            };

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

            A.CustomGeometry  customGeometry1  = new A.CustomGeometry();
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();
            A.Rectangle       rectangle1       = new A.Rectangle()
            {
                Left = "l", Top = "t", Right = "r", Bottom = "b"
            };

            A.PathList pathList1 = new A.PathList();

            A.Path path1 = new A.Path()
            {
                Width = width, Height = height
            };

            // Starting Point
            A.MoveTo moveTo1 = new A.MoveTo();
            A.Point  point1  = new A.Point()
            {
                X = "0", Y = "0"
            };
            moveTo1.Append(point1);

            // Mid Point
            A.LineTo lineTo1 = new A.LineTo();
            A.Point  point2  = new A.Point()
            {
                X = boundingBox.Width.ToString("0"), Y = "0"
            };
            lineTo1.Append(point2);

            // Mid Point
            A.LineTo lineTo2 = new A.LineTo();
            A.Point  point3  = new A.Point()
            {
                X = boundingBox.Width.ToString("0"), Y = boundingBox.Height.ToString("0")
            };
            lineTo2.Append(point3);

            // Last Point
            A.LineTo lineTo3 = new A.LineTo();
            A.Point  point4  = new A.Point()
            {
                X = "0", Y = boundingBox.Height.ToString("0")
            };
            lineTo3.Append(point4);

            // Back to Start Point
            A.LineTo lineTo4 = new A.LineTo();
            A.Point  point5  = new A.Point()
            {
                X = "0", Y = "0"
            };
            lineTo4.Append(point5);

            path1.Append(moveTo1);
            path1.Append(lineTo1);
            path1.Append(lineTo2);
            path1.Append(lineTo3);
            path1.Append(lineTo4);

            pathList1.Append(path1);

            customGeometry1.Append(adjustValueList1);
            customGeometry1.Append(rectangle1);
            customGeometry1.Append(pathList1);

            A.Outline outline1 = new A.Outline()
            {
                Width = thick, CapType = A.LineCapValues.Round
            };

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

            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = colour
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };

            rgbColorModelHex1.Append(alpha1);

            solidFill1.Append(rgbColorModelHex1);

            outline1.Append(solidFill1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(customGeometry1);
            shapeProperties1.Append(outline1);

            Wps.ShapeStyle  shapeStyle1    = new Wps.ShapeStyle();
            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);
            Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties();

            wordprocessingShape1.Append(nonVisualDrawingProperties1);
            wordprocessingShape1.Append(nonVisualDrawingShapeProperties1);
            wordprocessingShape1.Append(shapeProperties1);
            wordprocessingShape1.Append(shapeStyle1);
            wordprocessingShape1.Append(textBodyProperties1);

            wordprocessingGroup1.Append(wordprocessingShape1);
        }
Ejemplo n.º 16
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Office Theme" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Oriel" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "575F6D" };

            dark2Color1.Append(rgbColorModelHex5);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "FFF39D" };

            light2Color1.Append(rgbColorModelHex6);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "FE8637" };

            accent1Color1.Append(rgbColorModelHex7);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "7598D9" };

            accent2Color1.Append(rgbColorModelHex8);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "B32C16" };

            accent3Color1.Append(rgbColorModelHex9);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "F5CD2D" };

            accent4Color1.Append(rgbColorModelHex10);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "AEBAD5" };

            accent5Color1.Append(rgbColorModelHex11);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "777C84" };

            accent6Color1.Append(rgbColorModelHex12);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex(){ Val = "D2611C" };

            hyperlink1.Append(rgbColorModelHex13);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex(){ Val = "3B435B" };

            followedHyperlinkColor1.Append(rgbColorModelHex14);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Verve" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "Century Gothic" };
            A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "HGゴシックM" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "HY중고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "幼圆" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Gisha" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "DilleniaUPC" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            majorFont1.Append(latinFont19);
            majorFont1.Append(eastAsianFont19);
            majorFont1.Append(complexScriptFont19);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "Century Gothic" };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Hang", Typeface = "HY중고딕" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Hans", Typeface = "幼圆" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Hant", Typeface = "微軟正黑體" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Gisha" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Thai", Typeface = "DilleniaUPC" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Verdana" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };

            minorFont1.Append(latinFont20);
            minorFont1.Append(eastAsianFont20);
            minorFont1.Append(complexScriptFont20);
            minorFont1.Append(supplementalFont30);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill20 = new A.SolidFill();
            A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill20.Append(schemeColor20);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint1 = new A.Tint(){ Val = 50000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor21.Append(tint1);
            schemeColor21.Append(saturationModulation1);

            gradientStop1.Append(schemeColor21);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 35000 };

            A.SchemeColor schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint2 = new A.Tint(){ Val = 37000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor22.Append(tint2);
            schemeColor22.Append(saturationModulation2);

            gradientStop2.Append(schemeColor22);

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint3 = new A.Tint(){ Val = 15000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor23.Append(tint3);
            schemeColor23.Append(saturationModulation3);

            gradientStop3.Append(schemeColor23);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = true };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade1 = new A.Shade(){ Val = 51000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor24.Append(shade1);
            schemeColor24.Append(saturationModulation4);

            gradientStop4.Append(schemeColor24);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 80000 };

            A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 93000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 130000 };

            schemeColor25.Append(shade2);
            schemeColor25.Append(saturationModulation5);

            gradientStop5.Append(schemeColor25);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 94000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 135000 };

            schemeColor26.Append(shade3);
            schemeColor26.Append(saturationModulation6);

            gradientStop6.Append(schemeColor26);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 16200000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill20);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline2 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade4 = new A.Shade(){ Val = 95000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 105000 };

            schemeColor27.Append(shade4);
            schemeColor27.Append(saturationModulation7);

            solidFill21.Append(schemeColor27);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline2.Append(solidFill21);
            outline2.Append(presetDash1);

            A.Outline outline3 = new A.Outline(){ Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill22 = new A.SolidFill();
            A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill22.Append(schemeColor28);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline3.Append(solidFill22);
            outline3.Append(presetDash2);

            A.Outline outline4 = new A.Outline(){ Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill23 = new A.SolidFill();
            A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill23.Append(schemeColor29);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline4.Append(solidFill23);
            outline4.Append(presetDash3);

            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);
            lineStyleList1.Append(outline4);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha1 = new A.Alpha(){ Val = 38000 };

            rgbColorModelHex15.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex15);

            effectList1.Append(outerShadow1);

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

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

            A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex16.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex16);

            effectList2.Append(outerShadow2);

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow3 = new A.OuterShadow(){ BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 35000 };

            rgbColorModelHex17.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex17);

            effectList3.Append(outerShadow3);

            A.Scene3DType scene3DType1 = new A.Scene3DType();

            A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera1.Append(rotation1);

            A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 1200000 };

            lightRig1.Append(rotation2);

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType();
            A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 63500L, Height = 25400L };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList3);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill24 = new A.SolidFill();
            A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill24.Append(schemeColor30);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint4 = new A.Tint(){ Val = 40000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor31.Append(tint4);
            schemeColor31.Append(saturationModulation8);

            gradientStop7.Append(schemeColor31);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 40000 };

            A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint5 = new A.Tint(){ Val = 45000 };
            A.Shade shade5 = new A.Shade(){ Val = 99000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 350000 };

            schemeColor32.Append(tint5);
            schemeColor32.Append(shade5);
            schemeColor32.Append(saturationModulation9);

            gradientStop8.Append(schemeColor32);

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade6 = new A.Shade(){ Val = 20000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation(){ Val = 255000 };

            schemeColor33.Append(shade6);
            schemeColor33.Append(saturationModulation10);

            gradientStop9.Append(schemeColor33);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint6 = new A.Tint(){ Val = 80000 };
            A.SaturationModulation saturationModulation11 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor34.Append(tint6);
            schemeColor34.Append(saturationModulation11);

            gradientStop10.Append(schemeColor34);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade7 = new A.Shade(){ Val = 30000 };
            A.SaturationModulation saturationModulation12 = new A.SaturationModulation(){ Val = 200000 };

            schemeColor35.Append(shade7);
            schemeColor35.Append(saturationModulation12);

            gradientStop11.Append(schemeColor35);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill2);

            backgroundFillStyleList1.Append(solidFill24);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 17
0
        // Generates content of slideLayoutPart14.
        private void GenerateSlideLayoutPart14Content(SlideLayoutPart slideLayoutPart14)
        {
            SlideLayout slideLayout14 = new SlideLayout(){ Preserve = true };
            slideLayout14.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout14.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout14.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData16 = new CommonSlideData(){ Name = "Panoramic Picture with Caption" };

            ShapeTree shapeTree16 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties16 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties158 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties16 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties158 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties16.Append(nonVisualDrawingProperties158);
            nonVisualGroupShapeProperties16.Append(nonVisualGroupShapeDrawingProperties16);
            nonVisualGroupShapeProperties16.Append(applicationNonVisualDrawingProperties158);

            GroupShapeProperties groupShapeProperties16 = new GroupShapeProperties();

            A.TransformGroup transformGroup16 = new A.TransformGroup();
            A.Offset offset111 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents111 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset16 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents16 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup16.Append(offset111);
            transformGroup16.Append(extents111);
            transformGroup16.Append(childOffset16);
            transformGroup16.Append(childExtents16);

            groupShapeProperties16.Append(transformGroup16);

            Shape shape78 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties78 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks76 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties78.Append(shapeLocks76);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties159 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape76 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties159.Append(placeholderShape76);

            nonVisualShapeProperties78.Append(nonVisualDrawingProperties159);
            nonVisualShapeProperties78.Append(nonVisualShapeDrawingProperties78);
            nonVisualShapeProperties78.Append(applicationNonVisualDrawingProperties159);
            ShapeProperties shapeProperties143 = new ShapeProperties();

            TextBody textBody78 = new TextBody();
            A.BodyProperties bodyProperties78 = new A.BodyProperties();
            A.ListStyle listStyle78 = new A.ListStyle();

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

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

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

            run65.Append(runProperties93);
            run65.Append(text93);
            A.EndParagraphRunProperties endParagraphRunProperties68 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph106.Append(run65);
            paragraph106.Append(endParagraphRunProperties68);

            textBody78.Append(bodyProperties78);
            textBody78.Append(listStyle78);
            textBody78.Append(paragraph106);

            shape78.Append(nonVisualShapeProperties78);
            shape78.Append(shapeProperties143);
            shape78.Append(textBody78);

            Shape shape79 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties79 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks77 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties79.Append(shapeLocks77);

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

            applicationNonVisualDrawingProperties160.Append(placeholderShape77);

            nonVisualShapeProperties79.Append(nonVisualDrawingProperties160);
            nonVisualShapeProperties79.Append(nonVisualShapeDrawingProperties79);
            nonVisualShapeProperties79.Append(applicationNonVisualDrawingProperties160);
            ShapeProperties shapeProperties144 = new ShapeProperties();

            TextBody textBody79 = new TextBody();
            A.BodyProperties bodyProperties79 = new A.BodyProperties();
            A.ListStyle listStyle79 = new A.ListStyle();

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

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

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

            field29.Append(runProperties94);
            field29.Append(text94);
            A.EndParagraphRunProperties endParagraphRunProperties69 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph107.Append(field29);
            paragraph107.Append(endParagraphRunProperties69);

            textBody79.Append(bodyProperties79);
            textBody79.Append(listStyle79);
            textBody79.Append(paragraph107);

            shape79.Append(nonVisualShapeProperties79);
            shape79.Append(shapeProperties144);
            shape79.Append(textBody79);

            Shape shape80 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties80 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks78 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties80.Append(shapeLocks78);

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

            applicationNonVisualDrawingProperties161.Append(placeholderShape78);

            nonVisualShapeProperties80.Append(nonVisualDrawingProperties161);
            nonVisualShapeProperties80.Append(nonVisualShapeDrawingProperties80);
            nonVisualShapeProperties80.Append(applicationNonVisualDrawingProperties161);
            ShapeProperties shapeProperties145 = new ShapeProperties();

            TextBody textBody80 = new TextBody();
            A.BodyProperties bodyProperties80 = new A.BodyProperties();
            A.ListStyle listStyle80 = new A.ListStyle();

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

            paragraph108.Append(endParagraphRunProperties70);

            textBody80.Append(bodyProperties80);
            textBody80.Append(listStyle80);
            textBody80.Append(paragraph108);

            shape80.Append(nonVisualShapeProperties80);
            shape80.Append(shapeProperties145);
            shape80.Append(textBody80);

            Shape shape81 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties81 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks79 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties81.Append(shapeLocks79);

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

            applicationNonVisualDrawingProperties162.Append(placeholderShape79);

            nonVisualShapeProperties81.Append(nonVisualDrawingProperties162);
            nonVisualShapeProperties81.Append(nonVisualShapeDrawingProperties81);
            nonVisualShapeProperties81.Append(applicationNonVisualDrawingProperties162);
            ShapeProperties shapeProperties146 = new ShapeProperties();

            TextBody textBody81 = new TextBody();
            A.BodyProperties bodyProperties81 = new A.BodyProperties();
            A.ListStyle listStyle81 = new A.ListStyle();

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

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

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

            field30.Append(runProperties95);
            field30.Append(text95);
            A.EndParagraphRunProperties endParagraphRunProperties71 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph109.Append(field30);
            paragraph109.Append(endParagraphRunProperties71);

            textBody81.Append(bodyProperties81);
            textBody81.Append(listStyle81);
            textBody81.Append(paragraph109);

            shape81.Append(nonVisualShapeProperties81);
            shape81.Append(shapeProperties146);
            shape81.Append(textBody81);

            ConnectionShape connectionShape66 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties66 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties163 = new NonVisualDrawingProperties(){ Id = (UInt32Value)6U, Name = "Straight Connector 5" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties66 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties163 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties66.Append(nonVisualDrawingProperties163);
            nonVisualConnectionShapeProperties66.Append(nonVisualConnectorShapeDrawingProperties66);
            nonVisualConnectionShapeProperties66.Append(applicationNonVisualDrawingProperties163);

            ShapeProperties shapeProperties147 = new ShapeProperties();

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

            transform2D96.Append(offset112);
            transform2D96.Append(extents112);

            A.PresetGeometry presetGeometry73 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList73 = new A.AdjustValueList();

            presetGeometry73.Append(adjustValueList73);

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

            A.SolidFill solidFill188 = new A.SolidFill();
            A.SchemeColor schemeColor464 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill188.Append(schemeColor464);

            outline73.Append(solidFill188);

            shapeProperties147.Append(transform2D96);
            shapeProperties147.Append(presetGeometry73);
            shapeProperties147.Append(outline73);

            ShapeStyle shapeStyle66 = new ShapeStyle();

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

            lineReference66.Append(schemeColor465);

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

            fillReference66.Append(schemeColor466);

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

            effectReference66.Append(schemeColor467);

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

            fontReference66.Append(schemeColor468);

            shapeStyle66.Append(lineReference66);
            shapeStyle66.Append(fillReference66);
            shapeStyle66.Append(effectReference66);
            shapeStyle66.Append(fontReference66);

            connectionShape66.Append(nonVisualConnectionShapeProperties66);
            connectionShape66.Append(shapeProperties147);
            connectionShape66.Append(shapeStyle66);

            ConnectionShape connectionShape67 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties67 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties164 = new NonVisualDrawingProperties(){ Id = (UInt32Value)7U, Name = "Straight Connector 6" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties67 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties164 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties67.Append(nonVisualDrawingProperties164);
            nonVisualConnectionShapeProperties67.Append(nonVisualConnectorShapeDrawingProperties67);
            nonVisualConnectionShapeProperties67.Append(applicationNonVisualDrawingProperties164);

            ShapeProperties shapeProperties148 = new ShapeProperties();

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

            transform2D97.Append(offset113);
            transform2D97.Append(extents113);

            A.PresetGeometry presetGeometry74 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList74 = new A.AdjustValueList();

            presetGeometry74.Append(adjustValueList74);

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

            A.SolidFill solidFill189 = new A.SolidFill();
            A.SchemeColor schemeColor469 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill189.Append(schemeColor469);

            outline74.Append(solidFill189);

            shapeProperties148.Append(transform2D97);
            shapeProperties148.Append(presetGeometry74);
            shapeProperties148.Append(outline74);

            ShapeStyle shapeStyle67 = new ShapeStyle();

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

            lineReference67.Append(schemeColor470);

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

            fillReference67.Append(schemeColor471);

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

            effectReference67.Append(schemeColor472);

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

            fontReference67.Append(schemeColor473);

            shapeStyle67.Append(lineReference67);
            shapeStyle67.Append(fillReference67);
            shapeStyle67.Append(effectReference67);
            shapeStyle67.Append(fontReference67);

            connectionShape67.Append(nonVisualConnectionShapeProperties67);
            connectionShape67.Append(shapeProperties148);
            connectionShape67.Append(shapeStyle67);

            ConnectionShape connectionShape68 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties68 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties165 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties68 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties165 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties68.Append(nonVisualDrawingProperties165);
            nonVisualConnectionShapeProperties68.Append(nonVisualConnectorShapeDrawingProperties68);
            nonVisualConnectionShapeProperties68.Append(applicationNonVisualDrawingProperties165);

            ShapeProperties shapeProperties149 = new ShapeProperties();

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

            transform2D98.Append(offset114);
            transform2D98.Append(extents114);

            A.PresetGeometry presetGeometry75 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList75 = new A.AdjustValueList();

            presetGeometry75.Append(adjustValueList75);

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

            A.SolidFill solidFill190 = new A.SolidFill();
            A.SchemeColor schemeColor474 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill190.Append(schemeColor474);

            outline75.Append(solidFill190);

            shapeProperties149.Append(transform2D98);
            shapeProperties149.Append(presetGeometry75);
            shapeProperties149.Append(outline75);

            ShapeStyle shapeStyle68 = new ShapeStyle();

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

            lineReference68.Append(schemeColor475);

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

            fillReference68.Append(schemeColor476);

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

            effectReference68.Append(schemeColor477);

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

            fontReference68.Append(schemeColor478);

            shapeStyle68.Append(lineReference68);
            shapeStyle68.Append(fillReference68);
            shapeStyle68.Append(effectReference68);
            shapeStyle68.Append(fontReference68);

            connectionShape68.Append(nonVisualConnectionShapeProperties68);
            connectionShape68.Append(shapeProperties149);
            connectionShape68.Append(shapeStyle68);

            ConnectionShape connectionShape69 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties69 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties166 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties69 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties166 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties69.Append(nonVisualDrawingProperties166);
            nonVisualConnectionShapeProperties69.Append(nonVisualConnectorShapeDrawingProperties69);
            nonVisualConnectionShapeProperties69.Append(applicationNonVisualDrawingProperties166);

            ShapeProperties shapeProperties150 = new ShapeProperties();

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

            transform2D99.Append(offset115);
            transform2D99.Append(extents115);

            A.PresetGeometry presetGeometry76 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList76 = new A.AdjustValueList();

            presetGeometry76.Append(adjustValueList76);

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

            A.SolidFill solidFill191 = new A.SolidFill();
            A.SchemeColor schemeColor479 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill191.Append(schemeColor479);

            outline76.Append(solidFill191);

            shapeProperties150.Append(transform2D99);
            shapeProperties150.Append(presetGeometry76);
            shapeProperties150.Append(outline76);

            ShapeStyle shapeStyle69 = new ShapeStyle();

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

            lineReference69.Append(schemeColor480);

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

            fillReference69.Append(schemeColor481);

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

            effectReference69.Append(schemeColor482);

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

            fontReference69.Append(schemeColor483);

            shapeStyle69.Append(lineReference69);
            shapeStyle69.Append(fillReference69);
            shapeStyle69.Append(effectReference69);
            shapeStyle69.Append(fontReference69);

            connectionShape69.Append(nonVisualConnectionShapeProperties69);
            connectionShape69.Append(shapeProperties150);
            connectionShape69.Append(shapeStyle69);

            ConnectionShape connectionShape70 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties70 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties167 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties70 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties167 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties70.Append(nonVisualDrawingProperties167);
            nonVisualConnectionShapeProperties70.Append(nonVisualConnectorShapeDrawingProperties70);
            nonVisualConnectionShapeProperties70.Append(applicationNonVisualDrawingProperties167);

            ShapeProperties shapeProperties151 = new ShapeProperties();

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

            transform2D100.Append(offset116);
            transform2D100.Append(extents116);

            A.PresetGeometry presetGeometry77 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList77 = new A.AdjustValueList();

            presetGeometry77.Append(adjustValueList77);

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

            A.SolidFill solidFill192 = new A.SolidFill();
            A.SchemeColor schemeColor484 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill192.Append(schemeColor484);

            outline77.Append(solidFill192);

            shapeProperties151.Append(transform2D100);
            shapeProperties151.Append(presetGeometry77);
            shapeProperties151.Append(outline77);

            ShapeStyle shapeStyle70 = new ShapeStyle();

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

            lineReference70.Append(schemeColor485);

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

            fillReference70.Append(schemeColor486);

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

            effectReference70.Append(schemeColor487);

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

            fontReference70.Append(schemeColor488);

            shapeStyle70.Append(lineReference70);
            shapeStyle70.Append(fillReference70);
            shapeStyle70.Append(effectReference70);
            shapeStyle70.Append(fontReference70);

            connectionShape70.Append(nonVisualConnectionShapeProperties70);
            connectionShape70.Append(shapeProperties151);
            connectionShape70.Append(shapeStyle70);

            Shape shape82 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties82 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties168 = new NonVisualDrawingProperties(){ Id = (UInt32Value)16U, Name = "Text Placeholder 9" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties82 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks80 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties82.Append(shapeLocks80);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties168 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape80 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)14U };

            applicationNonVisualDrawingProperties168.Append(placeholderShape80);

            nonVisualShapeProperties82.Append(nonVisualDrawingProperties168);
            nonVisualShapeProperties82.Append(nonVisualShapeDrawingProperties82);
            nonVisualShapeProperties82.Append(applicationNonVisualDrawingProperties168);

            ShapeProperties shapeProperties152 = new ShapeProperties();

            A.Transform2D transform2D101 = new A.Transform2D();
            A.Offset offset117 = new A.Offset(){ X = 914640L, Y = 3843867L };
            A.Extents extents117 = new A.Extents(){ Cx = 8306373L, Cy = 457200L };

            transform2D101.Append(offset117);
            transform2D101.Append(extents117);

            shapeProperties152.Append(transform2D101);

            TextBody textBody82 = new TextBody();

            A.BodyProperties bodyProperties82 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit21 = new A.NormalAutoFit();

            bodyProperties82.Append(normalAutoFit21);

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

            A.Level1ParagraphProperties level1ParagraphProperties34 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.BulletFontText bulletFontText6 = new A.BulletFontText();
            A.NoBullet noBullet91 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties188 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level1ParagraphProperties34.Append(bulletFontText6);
            level1ParagraphProperties34.Append(noBullet91);
            level1ParagraphProperties34.Append(defaultRunProperties188);

            A.Level2ParagraphProperties level2ParagraphProperties21 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.BulletFontText bulletFontText7 = new A.BulletFontText();
            A.NoBullet noBullet92 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties189 = new A.DefaultRunProperties();

            level2ParagraphProperties21.Append(bulletFontText7);
            level2ParagraphProperties21.Append(noBullet92);
            level2ParagraphProperties21.Append(defaultRunProperties189);

            A.Level3ParagraphProperties level3ParagraphProperties21 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.BulletFontText bulletFontText8 = new A.BulletFontText();
            A.NoBullet noBullet93 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties190 = new A.DefaultRunProperties();

            level3ParagraphProperties21.Append(bulletFontText8);
            level3ParagraphProperties21.Append(noBullet93);
            level3ParagraphProperties21.Append(defaultRunProperties190);

            A.Level4ParagraphProperties level4ParagraphProperties21 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.BulletFontText bulletFontText9 = new A.BulletFontText();
            A.NoBullet noBullet94 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties191 = new A.DefaultRunProperties();

            level4ParagraphProperties21.Append(bulletFontText9);
            level4ParagraphProperties21.Append(noBullet94);
            level4ParagraphProperties21.Append(defaultRunProperties191);

            A.Level5ParagraphProperties level5ParagraphProperties21 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.BulletFontText bulletFontText10 = new A.BulletFontText();
            A.NoBullet noBullet95 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties192 = new A.DefaultRunProperties();

            level5ParagraphProperties21.Append(bulletFontText10);
            level5ParagraphProperties21.Append(noBullet95);
            level5ParagraphProperties21.Append(defaultRunProperties192);

            listStyle82.Append(level1ParagraphProperties34);
            listStyle82.Append(level2ParagraphProperties21);
            listStyle82.Append(level3ParagraphProperties21);
            listStyle82.Append(level4ParagraphProperties21);
            listStyle82.Append(level5ParagraphProperties21);

            A.Paragraph paragraph110 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties49 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run66.Append(runProperties96);
            run66.Append(text96);

            paragraph110.Append(paragraphProperties49);
            paragraph110.Append(run66);

            textBody82.Append(bodyProperties82);
            textBody82.Append(listStyle82);
            textBody82.Append(paragraph110);

            shape82.Append(nonVisualShapeProperties82);
            shape82.Append(shapeProperties152);
            shape82.Append(textBody82);

            Shape shape83 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties83 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties169 = new NonVisualDrawingProperties(){ Id = (UInt32Value)17U, Name = "Picture Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties83 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks81 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties83.Append(shapeLocks81);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties169 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape81 = new PlaceholderShape(){ Type = PlaceholderValues.Picture, Index = (UInt32Value)13U };

            applicationNonVisualDrawingProperties169.Append(placeholderShape81);

            nonVisualShapeProperties83.Append(nonVisualDrawingProperties169);
            nonVisualShapeProperties83.Append(nonVisualShapeDrawingProperties83);
            nonVisualShapeProperties83.Append(applicationNonVisualDrawingProperties169);

            ShapeProperties shapeProperties153 = new ShapeProperties();

            A.Transform2D transform2D102 = new A.Transform2D();
            A.Offset offset118 = new A.Offset(){ X = 685979L, Y = 533400L };
            A.Extents extents118 = new A.Extents(){ Cx = 10821630L, Cy = 3124200L };

            transform2D102.Append(offset118);
            transform2D102.Append(extents118);

            A.PresetGeometry presetGeometry78 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Snip2DiagonalRectangle };

            A.AdjustValueList adjustValueList78 = new A.AdjustValueList();
            A.ShapeGuide shapeGuide1 = new A.ShapeGuide(){ Name = "adj1", Formula = "val 10815" };
            A.ShapeGuide shapeGuide2 = new A.ShapeGuide(){ Name = "adj2", Formula = "val 0" };

            adjustValueList78.Append(shapeGuide1);
            adjustValueList78.Append(shapeGuide2);

            presetGeometry78.Append(adjustValueList78);

            A.Outline outline78 = new A.Outline(){ Width = 15875 };

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

            A.SchemeColor schemeColor489 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Alpha alpha8 = new A.Alpha(){ Val = 40000 };

            schemeColor489.Append(alpha8);

            solidFill193.Append(schemeColor489);

            outline78.Append(solidFill193);

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

            A.InnerShadow innerShadow2 = new A.InnerShadow(){ BlurRadius = 57150L, Distance = 38100L, Direction = 14460000 };

            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha9 = new A.Alpha(){ Val = 70000 };

            rgbColorModelHex15.Append(alpha9);

            innerShadow2.Append(rgbColorModelHex15);

            effectList22.Append(innerShadow2);

            shapeProperties153.Append(transform2D102);
            shapeProperties153.Append(presetGeometry78);
            shapeProperties153.Append(outline78);
            shapeProperties153.Append(effectList22);

            TextBody textBody83 = new TextBody();

            A.BodyProperties bodyProperties83 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit22 = new A.NormalAutoFit();

            bodyProperties83.Append(normalAutoFit22);

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

            A.Level1ParagraphProperties level1ParagraphProperties35 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet96 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties193 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level1ParagraphProperties35.Append(noBullet96);
            level1ParagraphProperties35.Append(defaultRunProperties193);

            A.Level2ParagraphProperties level2ParagraphProperties22 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet97 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties194 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level2ParagraphProperties22.Append(noBullet97);
            level2ParagraphProperties22.Append(defaultRunProperties194);

            A.Level3ParagraphProperties level3ParagraphProperties22 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet98 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties195 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level3ParagraphProperties22.Append(noBullet98);
            level3ParagraphProperties22.Append(defaultRunProperties195);

            A.Level4ParagraphProperties level4ParagraphProperties22 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet99 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties196 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level4ParagraphProperties22.Append(noBullet99);
            level4ParagraphProperties22.Append(defaultRunProperties196);

            A.Level5ParagraphProperties level5ParagraphProperties22 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet100 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties197 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level5ParagraphProperties22.Append(noBullet100);
            level5ParagraphProperties22.Append(defaultRunProperties197);

            A.Level6ParagraphProperties level6ParagraphProperties19 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet101 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties198 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level6ParagraphProperties19.Append(noBullet101);
            level6ParagraphProperties19.Append(defaultRunProperties198);

            A.Level7ParagraphProperties level7ParagraphProperties19 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet102 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties199 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level7ParagraphProperties19.Append(noBullet102);
            level7ParagraphProperties19.Append(defaultRunProperties199);

            A.Level8ParagraphProperties level8ParagraphProperties19 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet103 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties200 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level8ParagraphProperties19.Append(noBullet103);
            level8ParagraphProperties19.Append(defaultRunProperties200);

            A.Level9ParagraphProperties level9ParagraphProperties19 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet104 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties201 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level9ParagraphProperties19.Append(noBullet104);
            level9ParagraphProperties19.Append(defaultRunProperties201);

            listStyle83.Append(level1ParagraphProperties35);
            listStyle83.Append(level2ParagraphProperties22);
            listStyle83.Append(level3ParagraphProperties22);
            listStyle83.Append(level4ParagraphProperties22);
            listStyle83.Append(level5ParagraphProperties22);
            listStyle83.Append(level6ParagraphProperties19);
            listStyle83.Append(level7ParagraphProperties19);
            listStyle83.Append(level8ParagraphProperties19);
            listStyle83.Append(level9ParagraphProperties19);

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

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

            A.RunProperties runProperties97 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties97.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text97 = new A.Text();
            text97.Text = "Click icon to add picture";

            run67.Append(runProperties97);
            run67.Append(text97);
            A.EndParagraphRunProperties endParagraphRunProperties72 = new A.EndParagraphRunProperties(){ Language = "en-US", Dirty = false };

            paragraph111.Append(run67);
            paragraph111.Append(endParagraphRunProperties72);

            textBody83.Append(bodyProperties83);
            textBody83.Append(listStyle83);
            textBody83.Append(paragraph111);

            shape83.Append(nonVisualShapeProperties83);
            shape83.Append(shapeProperties153);
            shape83.Append(textBody83);

            shapeTree16.Append(nonVisualGroupShapeProperties16);
            shapeTree16.Append(groupShapeProperties16);
            shapeTree16.Append(shape78);
            shapeTree16.Append(shape79);
            shapeTree16.Append(shape80);
            shapeTree16.Append(shape81);
            shapeTree16.Append(connectionShape66);
            shapeTree16.Append(connectionShape67);
            shapeTree16.Append(connectionShape68);
            shapeTree16.Append(connectionShape69);
            shapeTree16.Append(connectionShape70);
            shapeTree16.Append(shape82);
            shapeTree16.Append(shape83);

            CommonSlideDataExtensionList commonSlideDataExtensionList16 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension16.Append(creationId16);

            commonSlideDataExtensionList16.Append(commonSlideDataExtension16);

            commonSlideData16.Append(shapeTree16);
            commonSlideData16.Append(commonSlideDataExtensionList16);

            ColorMapOverride colorMapOverride15 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping15 = new A.MasterColorMapping();

            colorMapOverride15.Append(masterColorMapping15);

            Timing timing16 = new Timing();

            TimeNodeList timeNodeList16 = new TimeNodeList();

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

            parallelTimeNode16.Append(commonTimeNode16);

            timeNodeList16.Append(parallelTimeNode16);

            timing16.Append(timeNodeList16);

            slideLayout14.Append(commonSlideData16);
            slideLayout14.Append(colorMapOverride15);
            slideLayout14.Append(timing16);

            slideLayoutPart14.SlideLayout = slideLayout14;
        }
Ejemplo n.º 18
0
        // Generates content of slideLayoutPart16.
        private void GenerateSlideLayoutPart16Content(SlideLayoutPart slideLayoutPart16)
        {
            SlideLayout slideLayout16 = new SlideLayout(){ Preserve = true };
            slideLayout16.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout16.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout16.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData18 = new CommonSlideData(){ Name = "Picture with Caption" };

            ShapeTree shapeTree18 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties18 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties182 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties18 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties182 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties18.Append(nonVisualDrawingProperties182);
            nonVisualGroupShapeProperties18.Append(nonVisualGroupShapeDrawingProperties18);
            nonVisualGroupShapeProperties18.Append(applicationNonVisualDrawingProperties182);

            GroupShapeProperties groupShapeProperties18 = new GroupShapeProperties();

            A.TransformGroup transformGroup18 = new A.TransformGroup();
            A.Offset offset127 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents127 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset18 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents18 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup18.Append(offset127);
            transformGroup18.Append(extents127);
            transformGroup18.Append(childOffset18);
            transformGroup18.Append(childExtents18);

            groupShapeProperties18.Append(transformGroup18);

            Shape shape90 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties90 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks88 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties90.Append(shapeLocks88);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties183 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape88 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties183.Append(placeholderShape88);

            nonVisualShapeProperties90.Append(nonVisualDrawingProperties183);
            nonVisualShapeProperties90.Append(nonVisualShapeDrawingProperties90);
            nonVisualShapeProperties90.Append(applicationNonVisualDrawingProperties183);

            ShapeProperties shapeProperties165 = new ShapeProperties();

            A.Transform2D transform2D110 = new A.Transform2D();
            A.Offset offset128 = new A.Offset(){ X = 4724042L, Y = 1447800L };
            A.Extents extents128 = new A.Extents(){ Cx = 6021368L, Cy = 1143000L };

            transform2D110.Append(offset128);
            transform2D110.Append(extents128);

            shapeProperties165.Append(transform2D110);

            TextBody textBody90 = new TextBody();

            A.BodyProperties bodyProperties90 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Bottom };
            A.NormalAutoFit normalAutoFit25 = new A.NormalAutoFit();

            bodyProperties90.Append(normalAutoFit25);

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

            A.Level1ParagraphProperties level1ParagraphProperties38 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left };
            A.DefaultRunProperties defaultRunProperties220 = new A.DefaultRunProperties(){ FontSize = 2800, Bold = false };

            level1ParagraphProperties38.Append(defaultRunProperties220);

            listStyle90.Append(level1ParagraphProperties38);

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

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

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

            run79.Append(runProperties111);
            run79.Append(text111);
            A.EndParagraphRunProperties endParagraphRunProperties79 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph126.Append(run79);
            paragraph126.Append(endParagraphRunProperties79);

            textBody90.Append(bodyProperties90);
            textBody90.Append(listStyle90);
            textBody90.Append(paragraph126);

            shape90.Append(nonVisualShapeProperties90);
            shape90.Append(shapeProperties165);
            shape90.Append(textBody90);

            Shape shape91 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties91 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks89 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties91.Append(shapeLocks89);

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

            applicationNonVisualDrawingProperties184.Append(placeholderShape89);

            nonVisualShapeProperties91.Append(nonVisualDrawingProperties184);
            nonVisualShapeProperties91.Append(nonVisualShapeDrawingProperties91);
            nonVisualShapeProperties91.Append(applicationNonVisualDrawingProperties184);

            ShapeProperties shapeProperties166 = new ShapeProperties();

            A.Transform2D transform2D111 = new A.Transform2D();
            A.Offset offset129 = new A.Offset(){ X = 4724042L, Y = 2777067L };
            A.Extents extents129 = new A.Extents(){ Cx = 6022956L, Cy = 2048933L };

            transform2D111.Append(offset129);
            transform2D111.Append(extents129);

            shapeProperties166.Append(transform2D111);

            TextBody textBody91 = new TextBody();

            A.BodyProperties bodyProperties91 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Top };
            A.NormalAutoFit normalAutoFit26 = new A.NormalAutoFit();

            bodyProperties91.Append(normalAutoFit26);

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

            A.Level1ParagraphProperties level1ParagraphProperties39 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0 };
            A.NoBullet noBullet105 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties221 = new A.DefaultRunProperties(){ FontSize = 1800 };

            level1ParagraphProperties39.Append(noBullet105);
            level1ParagraphProperties39.Append(defaultRunProperties221);

            A.Level2ParagraphProperties level2ParagraphProperties25 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet106 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties222 = new A.DefaultRunProperties(){ FontSize = 1200 };

            level2ParagraphProperties25.Append(noBullet106);
            level2ParagraphProperties25.Append(defaultRunProperties222);

            A.Level3ParagraphProperties level3ParagraphProperties25 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet107 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties223 = new A.DefaultRunProperties(){ FontSize = 1000 };

            level3ParagraphProperties25.Append(noBullet107);
            level3ParagraphProperties25.Append(defaultRunProperties223);

            A.Level4ParagraphProperties level4ParagraphProperties25 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet108 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties224 = new A.DefaultRunProperties(){ FontSize = 900 };

            level4ParagraphProperties25.Append(noBullet108);
            level4ParagraphProperties25.Append(defaultRunProperties224);

            A.Level5ParagraphProperties level5ParagraphProperties25 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet109 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties225 = new A.DefaultRunProperties(){ FontSize = 900 };

            level5ParagraphProperties25.Append(noBullet109);
            level5ParagraphProperties25.Append(defaultRunProperties225);

            A.Level6ParagraphProperties level6ParagraphProperties22 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet110 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties226 = new A.DefaultRunProperties(){ FontSize = 900 };

            level6ParagraphProperties22.Append(noBullet110);
            level6ParagraphProperties22.Append(defaultRunProperties226);

            A.Level7ParagraphProperties level7ParagraphProperties22 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet111 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties227 = new A.DefaultRunProperties(){ FontSize = 900 };

            level7ParagraphProperties22.Append(noBullet111);
            level7ParagraphProperties22.Append(defaultRunProperties227);

            A.Level8ParagraphProperties level8ParagraphProperties22 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet112 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties228 = new A.DefaultRunProperties(){ FontSize = 900 };

            level8ParagraphProperties22.Append(noBullet112);
            level8ParagraphProperties22.Append(defaultRunProperties228);

            A.Level9ParagraphProperties level9ParagraphProperties22 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet113 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties229 = new A.DefaultRunProperties(){ FontSize = 900 };

            level9ParagraphProperties22.Append(noBullet113);
            level9ParagraphProperties22.Append(defaultRunProperties229);

            listStyle91.Append(level1ParagraphProperties39);
            listStyle91.Append(level2ParagraphProperties25);
            listStyle91.Append(level3ParagraphProperties25);
            listStyle91.Append(level4ParagraphProperties25);
            listStyle91.Append(level5ParagraphProperties25);
            listStyle91.Append(level6ParagraphProperties22);
            listStyle91.Append(level7ParagraphProperties22);
            listStyle91.Append(level8ParagraphProperties22);
            listStyle91.Append(level9ParagraphProperties22);

            A.Paragraph paragraph127 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties60 = new A.ParagraphProperties(){ Level = 0 };

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

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

            run80.Append(runProperties112);
            run80.Append(text112);

            paragraph127.Append(paragraphProperties60);
            paragraph127.Append(run80);

            textBody91.Append(bodyProperties91);
            textBody91.Append(listStyle91);
            textBody91.Append(paragraph127);

            shape91.Append(nonVisualShapeProperties91);
            shape91.Append(shapeProperties166);
            shape91.Append(textBody91);

            Shape shape92 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties92 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks90 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties92.Append(shapeLocks90);

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

            applicationNonVisualDrawingProperties185.Append(placeholderShape90);

            nonVisualShapeProperties92.Append(nonVisualDrawingProperties185);
            nonVisualShapeProperties92.Append(nonVisualShapeDrawingProperties92);
            nonVisualShapeProperties92.Append(applicationNonVisualDrawingProperties185);
            ShapeProperties shapeProperties167 = new ShapeProperties();

            TextBody textBody92 = new TextBody();
            A.BodyProperties bodyProperties92 = new A.BodyProperties();
            A.ListStyle listStyle92 = new A.ListStyle();

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

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

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

            field33.Append(runProperties113);
            field33.Append(text113);
            A.EndParagraphRunProperties endParagraphRunProperties80 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph128.Append(field33);
            paragraph128.Append(endParagraphRunProperties80);

            textBody92.Append(bodyProperties92);
            textBody92.Append(listStyle92);
            textBody92.Append(paragraph128);

            shape92.Append(nonVisualShapeProperties92);
            shape92.Append(shapeProperties167);
            shape92.Append(textBody92);

            Shape shape93 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties93 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks91 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties93.Append(shapeLocks91);

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

            applicationNonVisualDrawingProperties186.Append(placeholderShape91);

            nonVisualShapeProperties93.Append(nonVisualDrawingProperties186);
            nonVisualShapeProperties93.Append(nonVisualShapeDrawingProperties93);
            nonVisualShapeProperties93.Append(applicationNonVisualDrawingProperties186);
            ShapeProperties shapeProperties168 = new ShapeProperties();

            TextBody textBody93 = new TextBody();
            A.BodyProperties bodyProperties93 = new A.BodyProperties();
            A.ListStyle listStyle93 = new A.ListStyle();

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

            paragraph129.Append(endParagraphRunProperties81);

            textBody93.Append(bodyProperties93);
            textBody93.Append(listStyle93);
            textBody93.Append(paragraph129);

            shape93.Append(nonVisualShapeProperties93);
            shape93.Append(shapeProperties168);
            shape93.Append(textBody93);

            Shape shape94 = new Shape();

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

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties94 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks92 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties94.Append(shapeLocks92);

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

            applicationNonVisualDrawingProperties187.Append(placeholderShape92);

            nonVisualShapeProperties94.Append(nonVisualDrawingProperties187);
            nonVisualShapeProperties94.Append(nonVisualShapeDrawingProperties94);
            nonVisualShapeProperties94.Append(applicationNonVisualDrawingProperties187);
            ShapeProperties shapeProperties169 = new ShapeProperties();

            TextBody textBody94 = new TextBody();
            A.BodyProperties bodyProperties94 = new A.BodyProperties();
            A.ListStyle listStyle94 = new A.ListStyle();

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

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

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

            field34.Append(runProperties114);
            field34.Append(text114);
            A.EndParagraphRunProperties endParagraphRunProperties82 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph130.Append(field34);
            paragraph130.Append(endParagraphRunProperties82);

            textBody94.Append(bodyProperties94);
            textBody94.Append(listStyle94);
            textBody94.Append(paragraph130);

            shape94.Append(nonVisualShapeProperties94);
            shape94.Append(shapeProperties169);
            shape94.Append(textBody94);

            Shape shape95 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties95 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties188 = new NonVisualDrawingProperties(){ Id = (UInt32Value)14U, Name = "Picture Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties95 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks93 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties95.Append(shapeLocks93);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties188 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape93 = new PlaceholderShape(){ Type = PlaceholderValues.Picture, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties188.Append(placeholderShape93);

            nonVisualShapeProperties95.Append(nonVisualDrawingProperties188);
            nonVisualShapeProperties95.Append(nonVisualShapeDrawingProperties95);
            nonVisualShapeProperties95.Append(applicationNonVisualDrawingProperties188);

            ShapeProperties shapeProperties170 = new ShapeProperties();

            A.Transform2D transform2D112 = new A.Transform2D();
            A.Offset offset130 = new A.Offset(){ X = 989269L, Y = 914400L };
            A.Extents extents130 = new A.Extents(){ Cx = 3281829L, Cy = 4572000L };

            transform2D112.Append(offset130);
            transform2D112.Append(extents130);

            A.PresetGeometry presetGeometry84 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Snip2DiagonalRectangle };

            A.AdjustValueList adjustValueList84 = new A.AdjustValueList();
            A.ShapeGuide shapeGuide3 = new A.ShapeGuide(){ Name = "adj1", Formula = "val 10815" };
            A.ShapeGuide shapeGuide4 = new A.ShapeGuide(){ Name = "adj2", Formula = "val 0" };

            adjustValueList84.Append(shapeGuide3);
            adjustValueList84.Append(shapeGuide4);

            presetGeometry84.Append(adjustValueList84);

            A.Outline outline84 = new A.Outline(){ Width = 15875 };

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

            A.SchemeColor schemeColor515 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Alpha alpha10 = new A.Alpha(){ Val = 40000 };

            schemeColor515.Append(alpha10);

            solidFill199.Append(schemeColor515);

            outline84.Append(solidFill199);

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

            A.InnerShadow innerShadow3 = new A.InnerShadow(){ BlurRadius = 57150L, Distance = 38100L, Direction = 14460000 };

            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha11 = new A.Alpha(){ Val = 70000 };

            rgbColorModelHex16.Append(alpha11);

            innerShadow3.Append(rgbColorModelHex16);

            effectList23.Append(innerShadow3);

            shapeProperties170.Append(transform2D112);
            shapeProperties170.Append(presetGeometry84);
            shapeProperties170.Append(outline84);
            shapeProperties170.Append(effectList23);

            TextBody textBody95 = new TextBody();

            A.BodyProperties bodyProperties95 = new A.BodyProperties(){ Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit27 = new A.NormalAutoFit();

            bodyProperties95.Append(normalAutoFit27);

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

            A.Level1ParagraphProperties level1ParagraphProperties40 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Indent = 0, Alignment = A.TextAlignmentTypeValues.Center };
            A.NoBullet noBullet114 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties230 = new A.DefaultRunProperties(){ FontSize = 1600 };

            level1ParagraphProperties40.Append(noBullet114);
            level1ParagraphProperties40.Append(defaultRunProperties230);

            A.Level2ParagraphProperties level2ParagraphProperties26 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Indent = 0 };
            A.NoBullet noBullet115 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties231 = new A.DefaultRunProperties(){ FontSize = 2800 };

            level2ParagraphProperties26.Append(noBullet115);
            level2ParagraphProperties26.Append(defaultRunProperties231);

            A.Level3ParagraphProperties level3ParagraphProperties26 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Indent = 0 };
            A.NoBullet noBullet116 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties232 = new A.DefaultRunProperties(){ FontSize = 2400 };

            level3ParagraphProperties26.Append(noBullet116);
            level3ParagraphProperties26.Append(defaultRunProperties232);

            A.Level4ParagraphProperties level4ParagraphProperties26 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Indent = 0 };
            A.NoBullet noBullet117 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties233 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level4ParagraphProperties26.Append(noBullet117);
            level4ParagraphProperties26.Append(defaultRunProperties233);

            A.Level5ParagraphProperties level5ParagraphProperties26 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Indent = 0 };
            A.NoBullet noBullet118 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties234 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level5ParagraphProperties26.Append(noBullet118);
            level5ParagraphProperties26.Append(defaultRunProperties234);

            A.Level6ParagraphProperties level6ParagraphProperties23 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Indent = 0 };
            A.NoBullet noBullet119 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties235 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level6ParagraphProperties23.Append(noBullet119);
            level6ParagraphProperties23.Append(defaultRunProperties235);

            A.Level7ParagraphProperties level7ParagraphProperties23 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Indent = 0 };
            A.NoBullet noBullet120 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties236 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level7ParagraphProperties23.Append(noBullet120);
            level7ParagraphProperties23.Append(defaultRunProperties236);

            A.Level8ParagraphProperties level8ParagraphProperties23 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Indent = 0 };
            A.NoBullet noBullet121 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties237 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level8ParagraphProperties23.Append(noBullet121);
            level8ParagraphProperties23.Append(defaultRunProperties237);

            A.Level9ParagraphProperties level9ParagraphProperties23 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Indent = 0 };
            A.NoBullet noBullet122 = new A.NoBullet();
            A.DefaultRunProperties defaultRunProperties238 = new A.DefaultRunProperties(){ FontSize = 2000 };

            level9ParagraphProperties23.Append(noBullet122);
            level9ParagraphProperties23.Append(defaultRunProperties238);

            listStyle95.Append(level1ParagraphProperties40);
            listStyle95.Append(level2ParagraphProperties26);
            listStyle95.Append(level3ParagraphProperties26);
            listStyle95.Append(level4ParagraphProperties26);
            listStyle95.Append(level5ParagraphProperties26);
            listStyle95.Append(level6ParagraphProperties23);
            listStyle95.Append(level7ParagraphProperties23);
            listStyle95.Append(level8ParagraphProperties23);
            listStyle95.Append(level9ParagraphProperties23);

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

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

            A.RunProperties runProperties115 = new A.RunProperties(){ Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties115.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text115 = new A.Text();
            text115.Text = "Click icon to add picture";

            run81.Append(runProperties115);
            run81.Append(text115);
            A.EndParagraphRunProperties endParagraphRunProperties83 = new A.EndParagraphRunProperties(){ Language = "en-US" };

            paragraph131.Append(run81);
            paragraph131.Append(endParagraphRunProperties83);

            textBody95.Append(bodyProperties95);
            textBody95.Append(listStyle95);
            textBody95.Append(paragraph131);

            shape95.Append(nonVisualShapeProperties95);
            shape95.Append(shapeProperties170);
            shape95.Append(textBody95);

            ConnectionShape connectionShape76 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties76 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties189 = new NonVisualDrawingProperties(){ Id = (UInt32Value)8U, Name = "Straight Connector 7" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties76 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties189 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties76.Append(nonVisualDrawingProperties189);
            nonVisualConnectionShapeProperties76.Append(nonVisualConnectorShapeDrawingProperties76);
            nonVisualConnectionShapeProperties76.Append(applicationNonVisualDrawingProperties189);

            ShapeProperties shapeProperties171 = new ShapeProperties();

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

            transform2D113.Append(offset131);
            transform2D113.Append(extents131);

            A.PresetGeometry presetGeometry85 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList85 = new A.AdjustValueList();

            presetGeometry85.Append(adjustValueList85);

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

            A.SolidFill solidFill200 = new A.SolidFill();
            A.SchemeColor schemeColor516 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill200.Append(schemeColor516);

            outline85.Append(solidFill200);

            shapeProperties171.Append(transform2D113);
            shapeProperties171.Append(presetGeometry85);
            shapeProperties171.Append(outline85);

            ShapeStyle shapeStyle76 = new ShapeStyle();

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

            lineReference76.Append(schemeColor517);

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

            fillReference76.Append(schemeColor518);

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

            effectReference76.Append(schemeColor519);

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

            fontReference76.Append(schemeColor520);

            shapeStyle76.Append(lineReference76);
            shapeStyle76.Append(fillReference76);
            shapeStyle76.Append(effectReference76);
            shapeStyle76.Append(fontReference76);

            connectionShape76.Append(nonVisualConnectionShapeProperties76);
            connectionShape76.Append(shapeProperties171);
            connectionShape76.Append(shapeStyle76);

            ConnectionShape connectionShape77 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties77 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties190 = new NonVisualDrawingProperties(){ Id = (UInt32Value)9U, Name = "Straight Connector 8" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties77 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties190 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties77.Append(nonVisualDrawingProperties190);
            nonVisualConnectionShapeProperties77.Append(nonVisualConnectorShapeDrawingProperties77);
            nonVisualConnectionShapeProperties77.Append(applicationNonVisualDrawingProperties190);

            ShapeProperties shapeProperties172 = new ShapeProperties();

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

            transform2D114.Append(offset132);
            transform2D114.Append(extents132);

            A.PresetGeometry presetGeometry86 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList86 = new A.AdjustValueList();

            presetGeometry86.Append(adjustValueList86);

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

            A.SolidFill solidFill201 = new A.SolidFill();
            A.SchemeColor schemeColor521 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill201.Append(schemeColor521);

            outline86.Append(solidFill201);

            shapeProperties172.Append(transform2D114);
            shapeProperties172.Append(presetGeometry86);
            shapeProperties172.Append(outline86);

            ShapeStyle shapeStyle77 = new ShapeStyle();

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

            lineReference77.Append(schemeColor522);

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

            fillReference77.Append(schemeColor523);

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

            effectReference77.Append(schemeColor524);

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

            fontReference77.Append(schemeColor525);

            shapeStyle77.Append(lineReference77);
            shapeStyle77.Append(fillReference77);
            shapeStyle77.Append(effectReference77);
            shapeStyle77.Append(fontReference77);

            connectionShape77.Append(nonVisualConnectionShapeProperties77);
            connectionShape77.Append(shapeProperties172);
            connectionShape77.Append(shapeStyle77);

            ConnectionShape connectionShape78 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties78 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties191 = new NonVisualDrawingProperties(){ Id = (UInt32Value)10U, Name = "Straight Connector 9" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties78 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties191 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties78.Append(nonVisualDrawingProperties191);
            nonVisualConnectionShapeProperties78.Append(nonVisualConnectorShapeDrawingProperties78);
            nonVisualConnectionShapeProperties78.Append(applicationNonVisualDrawingProperties191);

            ShapeProperties shapeProperties173 = new ShapeProperties();

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

            transform2D115.Append(offset133);
            transform2D115.Append(extents133);

            A.PresetGeometry presetGeometry87 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList87 = new A.AdjustValueList();

            presetGeometry87.Append(adjustValueList87);

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

            A.SolidFill solidFill202 = new A.SolidFill();
            A.SchemeColor schemeColor526 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill202.Append(schemeColor526);

            outline87.Append(solidFill202);

            shapeProperties173.Append(transform2D115);
            shapeProperties173.Append(presetGeometry87);
            shapeProperties173.Append(outline87);

            ShapeStyle shapeStyle78 = new ShapeStyle();

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

            lineReference78.Append(schemeColor527);

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

            fillReference78.Append(schemeColor528);

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

            effectReference78.Append(schemeColor529);

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

            fontReference78.Append(schemeColor530);

            shapeStyle78.Append(lineReference78);
            shapeStyle78.Append(fillReference78);
            shapeStyle78.Append(effectReference78);
            shapeStyle78.Append(fontReference78);

            connectionShape78.Append(nonVisualConnectionShapeProperties78);
            connectionShape78.Append(shapeProperties173);
            connectionShape78.Append(shapeStyle78);

            ConnectionShape connectionShape79 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties79 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties192 = new NonVisualDrawingProperties(){ Id = (UInt32Value)11U, Name = "Straight Connector 10" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties79 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties192 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties79.Append(nonVisualDrawingProperties192);
            nonVisualConnectionShapeProperties79.Append(nonVisualConnectorShapeDrawingProperties79);
            nonVisualConnectionShapeProperties79.Append(applicationNonVisualDrawingProperties192);

            ShapeProperties shapeProperties174 = new ShapeProperties();

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

            transform2D116.Append(offset134);
            transform2D116.Append(extents134);

            A.PresetGeometry presetGeometry88 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList88 = new A.AdjustValueList();

            presetGeometry88.Append(adjustValueList88);

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

            A.SolidFill solidFill203 = new A.SolidFill();
            A.SchemeColor schemeColor531 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill203.Append(schemeColor531);

            outline88.Append(solidFill203);

            shapeProperties174.Append(transform2D116);
            shapeProperties174.Append(presetGeometry88);
            shapeProperties174.Append(outline88);

            ShapeStyle shapeStyle79 = new ShapeStyle();

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

            lineReference79.Append(schemeColor532);

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

            fillReference79.Append(schemeColor533);

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

            effectReference79.Append(schemeColor534);

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

            fontReference79.Append(schemeColor535);

            shapeStyle79.Append(lineReference79);
            shapeStyle79.Append(fillReference79);
            shapeStyle79.Append(effectReference79);
            shapeStyle79.Append(fontReference79);

            connectionShape79.Append(nonVisualConnectionShapeProperties79);
            connectionShape79.Append(shapeProperties174);
            connectionShape79.Append(shapeStyle79);

            ConnectionShape connectionShape80 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties80 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties193 = new NonVisualDrawingProperties(){ Id = (UInt32Value)12U, Name = "Straight Connector 11" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties80 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties193 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties80.Append(nonVisualDrawingProperties193);
            nonVisualConnectionShapeProperties80.Append(nonVisualConnectorShapeDrawingProperties80);
            nonVisualConnectionShapeProperties80.Append(applicationNonVisualDrawingProperties193);

            ShapeProperties shapeProperties175 = new ShapeProperties();

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

            transform2D117.Append(offset135);
            transform2D117.Append(extents135);

            A.PresetGeometry presetGeometry89 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList89 = new A.AdjustValueList();

            presetGeometry89.Append(adjustValueList89);

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

            A.SolidFill solidFill204 = new A.SolidFill();
            A.SchemeColor schemeColor536 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill204.Append(schemeColor536);

            outline89.Append(solidFill204);

            shapeProperties175.Append(transform2D117);
            shapeProperties175.Append(presetGeometry89);
            shapeProperties175.Append(outline89);

            ShapeStyle shapeStyle80 = new ShapeStyle();

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

            lineReference80.Append(schemeColor537);

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

            fillReference80.Append(schemeColor538);

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

            effectReference80.Append(schemeColor539);

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

            fontReference80.Append(schemeColor540);

            shapeStyle80.Append(lineReference80);
            shapeStyle80.Append(fillReference80);
            shapeStyle80.Append(effectReference80);
            shapeStyle80.Append(fontReference80);

            connectionShape80.Append(nonVisualConnectionShapeProperties80);
            connectionShape80.Append(shapeProperties175);
            connectionShape80.Append(shapeStyle80);

            shapeTree18.Append(nonVisualGroupShapeProperties18);
            shapeTree18.Append(groupShapeProperties18);
            shapeTree18.Append(shape90);
            shapeTree18.Append(shape91);
            shapeTree18.Append(shape92);
            shapeTree18.Append(shape93);
            shapeTree18.Append(shape94);
            shapeTree18.Append(shape95);
            shapeTree18.Append(connectionShape76);
            shapeTree18.Append(connectionShape77);
            shapeTree18.Append(connectionShape78);
            shapeTree18.Append(connectionShape79);
            shapeTree18.Append(connectionShape80);

            CommonSlideDataExtensionList commonSlideDataExtensionList18 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension18.Append(creationId18);

            commonSlideDataExtensionList18.Append(commonSlideDataExtension18);

            commonSlideData18.Append(shapeTree18);
            commonSlideData18.Append(commonSlideDataExtensionList18);

            ColorMapOverride colorMapOverride17 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping17 = new A.MasterColorMapping();

            colorMapOverride17.Append(masterColorMapping17);

            Timing timing18 = new Timing();

            TimeNodeList timeNodeList18 = new TimeNodeList();

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

            parallelTimeNode18.Append(commonTimeNode18);

            timeNodeList18.Append(parallelTimeNode18);

            timing18.Append(timeNodeList18);

            slideLayout16.Append(commonSlideData18);
            slideLayout16.Append(colorMapOverride17);
            slideLayout16.Append(timing18);

            slideLayoutPart16.SlideLayout = slideLayout16;
        }
Ejemplo n.º 19
0
        // Generates content of slideLayoutPart17.
        private void GenerateSlideLayoutPart17Content(SlideLayoutPart slideLayoutPart17)
        {
            SlideLayout slideLayout17 = new SlideLayout(){ Preserve = true };
            slideLayout17.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout17.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout17.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

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

            ShapeTree shapeTree19 = new ShapeTree();

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

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

            GroupShapeProperties groupShapeProperties19 = new GroupShapeProperties();

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

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

            groupShapeProperties19.Append(transformGroup19);

            Shape shape96 = new Shape();

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

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

            nonVisualShapeDrawingProperties96.Append(shapeLocks94);

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

            applicationNonVisualDrawingProperties195.Append(placeholderShape94);

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

            ShapeProperties shapeProperties176 = new ShapeProperties();

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

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

            shapeProperties176.Append(transform2D118);

            TextBody textBody96 = new TextBody();

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

            bodyProperties96.Append(normalAutoFit28);

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

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

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

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

            solidFill205.Append(schemeColor541);

            defaultRunProperties239.Append(solidFill205);

            level1ParagraphProperties41.Append(defaultRunProperties239);

            listStyle96.Append(level1ParagraphProperties41);

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

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

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

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

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

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

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

            Shape shape97 = new Shape();

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

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

            nonVisualShapeDrawingProperties97.Append(shapeLocks95);

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

            applicationNonVisualDrawingProperties196.Append(placeholderShape95);

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

            ShapeProperties shapeProperties177 = new ShapeProperties();

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

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

            shapeProperties177.Append(transform2D119);

            TextBody textBody97 = new TextBody();

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

            bodyProperties97.Append(normalAutoFit29);

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

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

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

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

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

            schemeColor542.Append(luminanceModulation24);

            solidFill206.Append(schemeColor542);

            defaultRunProperties240.Append(solidFill206);

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

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

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

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

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

            schemeColor543.Append(tint55);

            solidFill207.Append(schemeColor543);

            defaultRunProperties241.Append(solidFill207);

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

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

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

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

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

            schemeColor544.Append(tint56);

            solidFill208.Append(schemeColor544);

            defaultRunProperties242.Append(solidFill208);

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

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

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

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

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

            schemeColor545.Append(tint57);

            solidFill209.Append(schemeColor545);

            defaultRunProperties243.Append(solidFill209);

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

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

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

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

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

            schemeColor546.Append(tint58);

            solidFill210.Append(schemeColor546);

            defaultRunProperties244.Append(solidFill210);

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

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

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

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

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

            schemeColor547.Append(tint59);

            solidFill211.Append(schemeColor547);

            defaultRunProperties245.Append(solidFill211);

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

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

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

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

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

            schemeColor548.Append(tint60);

            solidFill212.Append(schemeColor548);

            defaultRunProperties246.Append(solidFill212);

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

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

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

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

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

            schemeColor549.Append(tint61);

            solidFill213.Append(schemeColor549);

            defaultRunProperties247.Append(solidFill213);

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

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

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

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

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

            schemeColor550.Append(tint62);

            solidFill214.Append(schemeColor550);

            defaultRunProperties248.Append(solidFill214);

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

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

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

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

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

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

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

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

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

            Shape shape98 = new Shape();

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

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

            nonVisualShapeDrawingProperties98.Append(shapeLocks96);

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

            applicationNonVisualDrawingProperties197.Append(placeholderShape96);

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

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

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

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

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

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

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

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

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

            Shape shape99 = new Shape();

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

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

            nonVisualShapeDrawingProperties99.Append(shapeLocks97);

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

            applicationNonVisualDrawingProperties198.Append(placeholderShape97);

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

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

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

            paragraph135.Append(endParagraphRunProperties86);

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

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

            Shape shape100 = new Shape();

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

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

            nonVisualShapeDrawingProperties100.Append(shapeLocks98);

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

            applicationNonVisualDrawingProperties199.Append(placeholderShape98);

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

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

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

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

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

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

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

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

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

            Shape shape101 = new Shape();

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

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

            nonVisualShapeDrawingProperties101.Append(shapeLocks99);

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

            applicationNonVisualDrawingProperties200.Append(placeholderShape99);

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

            ShapeProperties shapeProperties181 = new ShapeProperties();

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

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

            shapeProperties181.Append(transform2D120);

            TextBody textBody101 = new TextBody();

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

            bodyProperties101.Append(normalAutoFit30);

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

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

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

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

            outline90.Append(noFill5);

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

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

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

            level1ParagraphProperties43.Append(defaultRunProperties249);

            listStyle101.Append(level1ParagraphProperties43);

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

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

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

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

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

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

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

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

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

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

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

            Shape shape102 = new Shape();

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

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

            ShapeProperties shapeProperties182 = new ShapeProperties();

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

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

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

            presetGeometry90.Append(adjustValueList90);

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

            TextBody textBody102 = new TextBody();

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

            bodyProperties102.Append(noAutoFit5);

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

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

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

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

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

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

            outline91.Append(noFill6);

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

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

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

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

            glow3.Append(schemeColor552);

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

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

            rgbColorModelHex17.Append(alpha13);

            outerShadow4.Append(rgbColorModelHex17);

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

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

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

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

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

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

            solidFill216.Append(schemeColor553);

            defaultRunProperties251.Append(solidFill216);

            level2ParagraphProperties28.Append(defaultRunProperties251);

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

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

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

            solidFill217.Append(schemeColor554);

            defaultRunProperties252.Append(solidFill217);

            level3ParagraphProperties28.Append(defaultRunProperties252);

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

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

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

            solidFill218.Append(schemeColor555);

            defaultRunProperties253.Append(solidFill218);

            level4ParagraphProperties28.Append(defaultRunProperties253);

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

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

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

            solidFill219.Append(schemeColor556);

            defaultRunProperties254.Append(solidFill219);

            level5ParagraphProperties28.Append(defaultRunProperties254);

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

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

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

            solidFill220.Append(schemeColor557);

            defaultRunProperties255.Append(solidFill220);

            level6ParagraphProperties25.Append(defaultRunProperties255);

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

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

            A.SolidFill solidFill221 = new A.SolidFill();
            A.SchemeColor schemeColor558 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill221.Append(schemeColor558);

            defaultRunProperties256.Append(solidFill221);

            level7ParagraphProperties25.Append(defaultRunProperties256);

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

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

            A.SolidFill solidFill222 = new A.SolidFill();
            A.SchemeColor schemeColor559 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill222.Append(schemeColor559);

            defaultRunProperties257.Append(solidFill222);

            level8ParagraphProperties25.Append(defaultRunProperties257);

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

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

            A.SolidFill solidFill223 = new A.SolidFill();
            A.SchemeColor schemeColor560 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill223.Append(schemeColor560);

            defaultRunProperties258.Append(solidFill223);

            level9ParagraphProperties25.Append(defaultRunProperties258);

            listStyle102.Append(level1ParagraphProperties44);
            listStyle102.Append(level2ParagraphProperties28);
            listStyle102.Append(level3ParagraphProperties28);
            listStyle102.Append(level4ParagraphProperties28);
            listStyle102.Append(level5ParagraphProperties28);
            listStyle102.Append(level6ParagraphProperties25);
            listStyle102.Append(level7ParagraphProperties25);
            listStyle102.Append(level8ParagraphProperties25);
            listStyle102.Append(level9ParagraphProperties25);

            A.Paragraph paragraph138 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties63 = new A.ParagraphProperties(){ Level = 0 };

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

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

            A.SolidFill solidFill224 = new A.SolidFill();
            A.SchemeColor schemeColor561 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill224.Append(schemeColor561);
            A.EffectList effectList26 = new A.EffectList();

            runProperties121.Append(solidFill224);
            runProperties121.Append(effectList26);
            A.Text text121 = new A.Text();
            text121.Text = "“";

            run85.Append(runProperties121);
            run85.Append(text121);

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

            A.SolidFill solidFill225 = new A.SolidFill();
            A.SchemeColor schemeColor562 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill225.Append(schemeColor562);
            A.EffectList effectList27 = new A.EffectList();

            endParagraphRunProperties88.Append(solidFill225);
            endParagraphRunProperties88.Append(effectList27);

            paragraph138.Append(paragraphProperties63);
            paragraph138.Append(run85);
            paragraph138.Append(endParagraphRunProperties88);

            textBody102.Append(bodyProperties102);
            textBody102.Append(listStyle102);
            textBody102.Append(paragraph138);

            shape102.Append(nonVisualShapeProperties102);
            shape102.Append(shapeProperties182);
            shape102.Append(textBody102);

            Shape shape103 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties103 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties202 = new NonVisualDrawingProperties(){ Id = (UInt32Value)12U, Name = "TextBox 11" };
            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties103 = new NonVisualShapeDrawingProperties(){ TextBox = true };
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties202 = new ApplicationNonVisualDrawingProperties();

            nonVisualShapeProperties103.Append(nonVisualDrawingProperties202);
            nonVisualShapeProperties103.Append(nonVisualShapeDrawingProperties103);
            nonVisualShapeProperties103.Append(applicationNonVisualDrawingProperties202);

            ShapeProperties shapeProperties183 = new ShapeProperties();

            A.Transform2D transform2D122 = new A.Transform2D();
            A.Offset offset141 = new A.Offset(){ X = 10288091L, Y = 2768601L };
            A.Extents extents141 = new A.Extents(){ Cx = 609759L, Cy = 584776L };

            transform2D122.Append(offset141);
            transform2D122.Append(extents141);

            A.PresetGeometry presetGeometry91 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList91 = new A.AdjustValueList();

            presetGeometry91.Append(adjustValueList91);

            shapeProperties183.Append(transform2D122);
            shapeProperties183.Append(presetGeometry91);

            TextBody textBody103 = new TextBody();

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

            bodyProperties103.Append(noAutoFit6);

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

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

            A.SpaceBefore spaceBefore16 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent16 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore16.Append(spacingPercent16);
            A.NoBullet noBullet134 = new A.NoBullet();

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

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

            outline92.Append(noFill7);

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

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

            A.SchemeColor schemeColor563 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background1 };
            A.LuminanceModulation luminanceModulation26 = new A.LuminanceModulation(){ Val = 65000 };
            A.LuminanceOffset luminanceOffset4 = new A.LuminanceOffset(){ Val = 35000 };
            A.Alpha alpha14 = new A.Alpha(){ Val = 40000 };

            schemeColor563.Append(luminanceModulation26);
            schemeColor563.Append(luminanceOffset4);
            schemeColor563.Append(alpha14);

            glow4.Append(schemeColor563);

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

            A.RgbColorModelHex rgbColorModelHex18 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha15 = new A.Alpha(){ Val = 25000 };

            rgbColorModelHex18.Append(alpha15);

            outerShadow5.Append(rgbColorModelHex18);

            effectList28.Append(glow4);
            effectList28.Append(outerShadow5);
            A.LatinFont latinFont39 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont36 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont36 = new A.ComplexScriptFont(){ Typeface = "Trebuchet MS" };

            defaultRunProperties259.Append(outline92);
            defaultRunProperties259.Append(effectList28);
            defaultRunProperties259.Append(latinFont39);
            defaultRunProperties259.Append(eastAsianFont36);
            defaultRunProperties259.Append(complexScriptFont36);

            level1ParagraphProperties45.Append(spaceBefore16);
            level1ParagraphProperties45.Append(noBullet134);
            level1ParagraphProperties45.Append(defaultRunProperties259);

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

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

            A.SolidFill solidFill226 = new A.SolidFill();
            A.SchemeColor schemeColor564 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill226.Append(schemeColor564);

            defaultRunProperties260.Append(solidFill226);

            level2ParagraphProperties29.Append(defaultRunProperties260);

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

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

            A.SolidFill solidFill227 = new A.SolidFill();
            A.SchemeColor schemeColor565 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill227.Append(schemeColor565);

            defaultRunProperties261.Append(solidFill227);

            level3ParagraphProperties29.Append(defaultRunProperties261);

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

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

            A.SolidFill solidFill228 = new A.SolidFill();
            A.SchemeColor schemeColor566 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill228.Append(schemeColor566);

            defaultRunProperties262.Append(solidFill228);

            level4ParagraphProperties29.Append(defaultRunProperties262);

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

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

            A.SolidFill solidFill229 = new A.SolidFill();
            A.SchemeColor schemeColor567 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill229.Append(schemeColor567);

            defaultRunProperties263.Append(solidFill229);

            level5ParagraphProperties29.Append(defaultRunProperties263);

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

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

            A.SolidFill solidFill230 = new A.SolidFill();
            A.SchemeColor schemeColor568 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill230.Append(schemeColor568);

            defaultRunProperties264.Append(solidFill230);

            level6ParagraphProperties26.Append(defaultRunProperties264);

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

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

            A.SolidFill solidFill231 = new A.SolidFill();
            A.SchemeColor schemeColor569 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill231.Append(schemeColor569);

            defaultRunProperties265.Append(solidFill231);

            level7ParagraphProperties26.Append(defaultRunProperties265);

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

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

            A.SolidFill solidFill232 = new A.SolidFill();
            A.SchemeColor schemeColor570 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill232.Append(schemeColor570);

            defaultRunProperties266.Append(solidFill232);

            level8ParagraphProperties26.Append(defaultRunProperties266);

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

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

            A.SolidFill solidFill233 = new A.SolidFill();
            A.SchemeColor schemeColor571 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text2 };

            solidFill233.Append(schemeColor571);

            defaultRunProperties267.Append(solidFill233);

            level9ParagraphProperties26.Append(defaultRunProperties267);

            listStyle103.Append(level1ParagraphProperties45);
            listStyle103.Append(level2ParagraphProperties29);
            listStyle103.Append(level3ParagraphProperties29);
            listStyle103.Append(level4ParagraphProperties29);
            listStyle103.Append(level5ParagraphProperties29);
            listStyle103.Append(level6ParagraphProperties26);
            listStyle103.Append(level7ParagraphProperties26);
            listStyle103.Append(level8ParagraphProperties26);
            listStyle103.Append(level9ParagraphProperties26);

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

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

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

            A.SolidFill solidFill234 = new A.SolidFill();
            A.SchemeColor schemeColor572 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill234.Append(schemeColor572);
            A.EffectList effectList29 = new A.EffectList();

            runProperties122.Append(solidFill234);
            runProperties122.Append(effectList29);
            A.Text text122 = new A.Text();
            text122.Text = "”";

            run86.Append(runProperties122);
            run86.Append(text122);

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

            A.SolidFill solidFill235 = new A.SolidFill();
            A.SchemeColor schemeColor573 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill235.Append(schemeColor573);
            A.EffectList effectList30 = new A.EffectList();

            endParagraphRunProperties89.Append(solidFill235);
            endParagraphRunProperties89.Append(effectList30);

            paragraph139.Append(paragraphProperties64);
            paragraph139.Append(run86);
            paragraph139.Append(endParagraphRunProperties89);

            textBody103.Append(bodyProperties103);
            textBody103.Append(listStyle103);
            textBody103.Append(paragraph139);

            shape103.Append(nonVisualShapeProperties103);
            shape103.Append(shapeProperties183);
            shape103.Append(textBody103);

            ConnectionShape connectionShape81 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties81 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties203 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Straight Connector 12" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties81 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties203 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties81.Append(nonVisualDrawingProperties203);
            nonVisualConnectionShapeProperties81.Append(nonVisualConnectorShapeDrawingProperties81);
            nonVisualConnectionShapeProperties81.Append(applicationNonVisualDrawingProperties203);

            ShapeProperties shapeProperties184 = new ShapeProperties();

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

            transform2D123.Append(offset142);
            transform2D123.Append(extents142);

            A.PresetGeometry presetGeometry92 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList92 = new A.AdjustValueList();

            presetGeometry92.Append(adjustValueList92);

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

            A.SolidFill solidFill236 = new A.SolidFill();
            A.SchemeColor schemeColor574 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill236.Append(schemeColor574);

            outline93.Append(solidFill236);

            shapeProperties184.Append(transform2D123);
            shapeProperties184.Append(presetGeometry92);
            shapeProperties184.Append(outline93);

            ShapeStyle shapeStyle81 = new ShapeStyle();

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

            lineReference81.Append(schemeColor575);

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

            fillReference81.Append(schemeColor576);

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

            effectReference81.Append(schemeColor577);

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

            fontReference81.Append(schemeColor578);

            shapeStyle81.Append(lineReference81);
            shapeStyle81.Append(fillReference81);
            shapeStyle81.Append(effectReference81);
            shapeStyle81.Append(fontReference81);

            connectionShape81.Append(nonVisualConnectionShapeProperties81);
            connectionShape81.Append(shapeProperties184);
            connectionShape81.Append(shapeStyle81);

            ConnectionShape connectionShape82 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties82 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties204 = new NonVisualDrawingProperties(){ Id = (UInt32Value)16U, Name = "Straight Connector 15" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties82 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties204 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties82.Append(nonVisualDrawingProperties204);
            nonVisualConnectionShapeProperties82.Append(nonVisualConnectorShapeDrawingProperties82);
            nonVisualConnectionShapeProperties82.Append(applicationNonVisualDrawingProperties204);

            ShapeProperties shapeProperties185 = new ShapeProperties();

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

            transform2D124.Append(offset143);
            transform2D124.Append(extents143);

            A.PresetGeometry presetGeometry93 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList93 = new A.AdjustValueList();

            presetGeometry93.Append(adjustValueList93);

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

            A.SolidFill solidFill237 = new A.SolidFill();
            A.SchemeColor schemeColor579 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill237.Append(schemeColor579);

            outline94.Append(solidFill237);

            shapeProperties185.Append(transform2D124);
            shapeProperties185.Append(presetGeometry93);
            shapeProperties185.Append(outline94);

            ShapeStyle shapeStyle82 = new ShapeStyle();

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

            lineReference82.Append(schemeColor580);

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

            fillReference82.Append(schemeColor581);

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

            effectReference82.Append(schemeColor582);

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

            fontReference82.Append(schemeColor583);

            shapeStyle82.Append(lineReference82);
            shapeStyle82.Append(fillReference82);
            shapeStyle82.Append(effectReference82);
            shapeStyle82.Append(fontReference82);

            connectionShape82.Append(nonVisualConnectionShapeProperties82);
            connectionShape82.Append(shapeProperties185);
            connectionShape82.Append(shapeStyle82);

            ConnectionShape connectionShape83 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties83 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties205 = new NonVisualDrawingProperties(){ Id = (UInt32Value)17U, Name = "Straight Connector 16" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties83 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties205 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties83.Append(nonVisualDrawingProperties205);
            nonVisualConnectionShapeProperties83.Append(nonVisualConnectorShapeDrawingProperties83);
            nonVisualConnectionShapeProperties83.Append(applicationNonVisualDrawingProperties205);

            ShapeProperties shapeProperties186 = new ShapeProperties();

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

            transform2D125.Append(offset144);
            transform2D125.Append(extents144);

            A.PresetGeometry presetGeometry94 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList94 = new A.AdjustValueList();

            presetGeometry94.Append(adjustValueList94);

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

            A.SolidFill solidFill238 = new A.SolidFill();
            A.SchemeColor schemeColor584 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill238.Append(schemeColor584);

            outline95.Append(solidFill238);

            shapeProperties186.Append(transform2D125);
            shapeProperties186.Append(presetGeometry94);
            shapeProperties186.Append(outline95);

            ShapeStyle shapeStyle83 = new ShapeStyle();

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

            lineReference83.Append(schemeColor585);

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

            fillReference83.Append(schemeColor586);

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

            effectReference83.Append(schemeColor587);

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

            fontReference83.Append(schemeColor588);

            shapeStyle83.Append(lineReference83);
            shapeStyle83.Append(fillReference83);
            shapeStyle83.Append(effectReference83);
            shapeStyle83.Append(fontReference83);

            connectionShape83.Append(nonVisualConnectionShapeProperties83);
            connectionShape83.Append(shapeProperties186);
            connectionShape83.Append(shapeStyle83);

            ConnectionShape connectionShape84 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties84 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties206 = new NonVisualDrawingProperties(){ Id = (UInt32Value)18U, Name = "Straight Connector 17" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties84 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties206 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties84.Append(nonVisualDrawingProperties206);
            nonVisualConnectionShapeProperties84.Append(nonVisualConnectorShapeDrawingProperties84);
            nonVisualConnectionShapeProperties84.Append(applicationNonVisualDrawingProperties206);

            ShapeProperties shapeProperties187 = new ShapeProperties();

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

            transform2D126.Append(offset145);
            transform2D126.Append(extents145);

            A.PresetGeometry presetGeometry95 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList95 = new A.AdjustValueList();

            presetGeometry95.Append(adjustValueList95);

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

            A.SolidFill solidFill239 = new A.SolidFill();
            A.SchemeColor schemeColor589 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill239.Append(schemeColor589);

            outline96.Append(solidFill239);

            shapeProperties187.Append(transform2D126);
            shapeProperties187.Append(presetGeometry95);
            shapeProperties187.Append(outline96);

            ShapeStyle shapeStyle84 = new ShapeStyle();

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

            lineReference84.Append(schemeColor590);

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

            fillReference84.Append(schemeColor591);

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

            effectReference84.Append(schemeColor592);

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

            fontReference84.Append(schemeColor593);

            shapeStyle84.Append(lineReference84);
            shapeStyle84.Append(fillReference84);
            shapeStyle84.Append(effectReference84);
            shapeStyle84.Append(fontReference84);

            connectionShape84.Append(nonVisualConnectionShapeProperties84);
            connectionShape84.Append(shapeProperties187);
            connectionShape84.Append(shapeStyle84);

            ConnectionShape connectionShape85 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties85 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties207 = new NonVisualDrawingProperties(){ Id = (UInt32Value)19U, Name = "Straight Connector 18" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties85 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties207 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties85.Append(nonVisualDrawingProperties207);
            nonVisualConnectionShapeProperties85.Append(nonVisualConnectorShapeDrawingProperties85);
            nonVisualConnectionShapeProperties85.Append(applicationNonVisualDrawingProperties207);

            ShapeProperties shapeProperties188 = new ShapeProperties();

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

            transform2D127.Append(offset146);
            transform2D127.Append(extents146);

            A.PresetGeometry presetGeometry96 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList96 = new A.AdjustValueList();

            presetGeometry96.Append(adjustValueList96);

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

            A.SolidFill solidFill240 = new A.SolidFill();
            A.SchemeColor schemeColor594 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill240.Append(schemeColor594);

            outline97.Append(solidFill240);

            shapeProperties188.Append(transform2D127);
            shapeProperties188.Append(presetGeometry96);
            shapeProperties188.Append(outline97);

            ShapeStyle shapeStyle85 = new ShapeStyle();

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

            lineReference85.Append(schemeColor595);

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

            fillReference85.Append(schemeColor596);

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

            effectReference85.Append(schemeColor597);

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

            fontReference85.Append(schemeColor598);

            shapeStyle85.Append(lineReference85);
            shapeStyle85.Append(fillReference85);
            shapeStyle85.Append(effectReference85);
            shapeStyle85.Append(fontReference85);

            connectionShape85.Append(nonVisualConnectionShapeProperties85);
            connectionShape85.Append(shapeProperties188);
            connectionShape85.Append(shapeStyle85);

            shapeTree19.Append(nonVisualGroupShapeProperties19);
            shapeTree19.Append(groupShapeProperties19);
            shapeTree19.Append(shape96);
            shapeTree19.Append(shape97);
            shapeTree19.Append(shape98);
            shapeTree19.Append(shape99);
            shapeTree19.Append(shape100);
            shapeTree19.Append(shape101);
            shapeTree19.Append(shape102);
            shapeTree19.Append(shape103);
            shapeTree19.Append(connectionShape81);
            shapeTree19.Append(connectionShape82);
            shapeTree19.Append(connectionShape83);
            shapeTree19.Append(connectionShape84);
            shapeTree19.Append(connectionShape85);

            CommonSlideDataExtensionList commonSlideDataExtensionList19 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension19.Append(creationId19);

            commonSlideDataExtensionList19.Append(commonSlideDataExtension19);

            commonSlideData19.Append(shapeTree19);
            commonSlideData19.Append(commonSlideDataExtensionList19);

            ColorMapOverride colorMapOverride18 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping18 = new A.MasterColorMapping();

            colorMapOverride18.Append(masterColorMapping18);

            Timing timing19 = new Timing();

            TimeNodeList timeNodeList19 = new TimeNodeList();

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

            parallelTimeNode19.Append(commonTimeNode19);

            timeNodeList19.Append(parallelTimeNode19);

            timing19.Append(timeNodeList19);

            slideLayout17.Append(commonSlideData19);
            slideLayout17.Append(colorMapOverride18);
            slideLayout17.Append(timing19);

            slideLayoutPart17.SlideLayout = slideLayout17;
        }
Ejemplo n.º 20
0
        private void DrawFilledTriangle(Wpg.WordprocessingGroup wordprocessingGroup1, List <Point> points)
        {
            UInt32Value atomLabelId   = UInt32Value.FromUInt32((uint)m_ooxmlId++);
            string      atomLabelName = "WedgeBond" + atomLabelId;

            double minX = double.MaxValue;
            double maxX = double.MinValue;
            double minY = double.MaxValue;
            double maxY = double.MinValue;

            foreach (Point p in points)
            {
                maxX = Math.Max(p.X, maxX);
                minX = Math.Min(p.X, minX);
                maxY = Math.Max(p.Y, maxY);
                minY = Math.Min(p.Y, minY);
            }

            Rect extents = new Rect(minX, minY, maxX - minX, maxY - minY);

            // Create modifyable Points
            Point p0 = new Point(points[0].X, points[0].Y);
            Point p1 = new Point(points[1].X, points[1].Y);
            Point p2 = new Point(points[2].X, points[2].Y);

            // Move Points to have 0,0 Top Left Reference within the drawing canvas
            p0.Offset(-m_canvasExtents.Left, -m_canvasExtents.Top);
            p1.Offset(-m_canvasExtents.Left, -m_canvasExtents.Top);
            p2.Offset(-m_canvasExtents.Left, -m_canvasExtents.Top);

            // Move shape's extents to correct place in drawing canvas
            extents.Offset(-m_canvasExtents.Left, -m_canvasExtents.Top);

            // Move points again to put them inside the shape's extents
            p0.Offset(-extents.Left, -extents.Top);
            p1.Offset(-extents.Left, -extents.Top);
            p2.Offset(-extents.Left, -extents.Top);

            Int64Value top    = OoXmlHelper.ScaleCmlToEmu(extents.Y);
            Int64Value left   = OoXmlHelper.ScaleCmlToEmu(extents.X);
            Int64Value width  = OoXmlHelper.ScaleCmlToEmu(extents.Width);
            Int64Value height = OoXmlHelper.ScaleCmlToEmu(extents.Height);

            Wps.WordprocessingShape        wordprocessingShape10        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties10 = new Wps.NonVisualDrawingProperties()
            {
                Id = atomLabelId, Name = atomLabelName
            };
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties10 = new Wps.NonVisualDrawingShapeProperties();

            Wps.ShapeProperties shapeProperties10 = new Wps.ShapeProperties();

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset      offset11      = new A.Offset()
            {
                X = left, Y = top
            };
            A.Extents extents11 = new A.Extents()
            {
                Cx = width, Cy = height
            };

            transform2D10.Append(offset11);
            transform2D10.Append(extents11);

            A.CustomGeometry  customGeometry10  = new A.CustomGeometry();
            A.AdjustValueList adjustValueList10 = new A.AdjustValueList();
            A.Rectangle       rectangle10       = new A.Rectangle()
            {
                Left = "l", Top = "t", Right = "r", Bottom = "b"
            };

            A.PathList pathList10 = new A.PathList();

            A.Path path10 = new A.Path()
            {
                Width = width, Height = height
            };

            string xCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p0.X).ToString();
            string yCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p0.Y).ToString();

            A.MoveTo moveTo10 = new A.MoveTo();
            A.Point  point19  = new A.Point()
            {
                X = xCoOrdinate, Y = yCoOrdinate
            };
            moveTo10.Append(point19);
            path10.Append(moveTo10);

            xCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p1.X).ToString();
            yCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p1.Y).ToString();

            A.LineTo lineTo10 = new A.LineTo();
            A.Point  point20  = new A.Point()
            {
                X = xCoOrdinate, Y = yCoOrdinate
            };
            lineTo10.Append(point20);
            path10.Append(lineTo10);

            xCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p2.X).ToString();
            yCoOrdinate = OoXmlHelper.ScaleCmlToEmu(p2.Y).ToString();

            A.LineTo lineTo19 = new A.LineTo();
            A.Point  point29  = new A.Point()
            {
                X = xCoOrdinate, Y = yCoOrdinate
            };
            lineTo19.Append(point29);
            path10.Append(lineTo19);
            A.CloseShapePath closeShapePath1 = new A.CloseShapePath();
            path10.Append(closeShapePath1);

            pathList10.Append(path10);

            customGeometry10.Append(adjustValueList10);
            customGeometry10.Append(rectangle10);
            customGeometry10.Append(pathList10);

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

            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };
            A.Alpha alpha10 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };

            rgbColorModelHex10.Append(alpha10);

            solidFill10.Append(rgbColorModelHex10);

            shapeProperties10.Append(transform2D10);
            shapeProperties10.Append(customGeometry10);
            shapeProperties10.Append(solidFill10);

            Wps.ShapeStyle  shapeStyle10    = new Wps.ShapeStyle();
            A.LineReference lineReference10 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference10 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference10 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference10 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle10.Append(lineReference10);
            shapeStyle10.Append(fillReference10);
            shapeStyle10.Append(effectReference10);
            shapeStyle10.Append(fontReference10);
            Wps.TextBodyProperties textBodyProperties10 = new Wps.TextBodyProperties();

            wordprocessingShape10.Append(nonVisualDrawingProperties10);
            wordprocessingShape10.Append(nonVisualDrawingShapeProperties10);
            wordprocessingShape10.Append(shapeProperties10);
            wordprocessingShape10.Append(shapeStyle10);
            wordprocessingShape10.Append(textBodyProperties10);

            wordprocessingGroup1.Append(wordprocessingShape10);
        }
Ejemplo n.º 21
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Slice" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Slice HD-RCA" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "537D0B" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "A9E257" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "38540A" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "31A274" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "236073" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "6C4D90" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "983C27" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "CD811F" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "293F06" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "68883A" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Slice HD-RCA" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont32 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" };
            A.EastAsianFont eastAsianFont29 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont29 = new A.ComplexScriptFont(){ Typeface = "" };

            majorFont1.Append(latinFont32);
            majorFont1.Append(eastAsianFont29);
            majorFont1.Append(complexScriptFont29);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont33 = new A.LatinFont(){ Typeface = "Century Gothic", Panose = "020B0502020202020204" };
            A.EastAsianFont eastAsianFont30 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont30 = new A.ComplexScriptFont(){ Typeface = "" };

            minorFont1.Append(latinFont33);
            minorFont1.Append(eastAsianFont30);
            minorFont1.Append(complexScriptFont30);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Slice HD-RCA" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill73 = new A.SolidFill();
            A.SchemeColor schemeColor139 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill73.Append(schemeColor139);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor140 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint17 = new A.Tint(){ Val = 62000 };
            A.HueModulation hueModulation1 = new A.HueModulation(){ Val = 94000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 140000 };
            A.LuminanceModulation luminanceModulation11 = new A.LuminanceModulation(){ Val = 110000 };

            schemeColor140.Append(tint17);
            schemeColor140.Append(hueModulation1);
            schemeColor140.Append(saturationModulation1);
            schemeColor140.Append(luminanceModulation11);

            gradientStop1.Append(schemeColor140);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor141 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint18 = new A.Tint(){ Val = 84000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 160000 };

            schemeColor141.Append(tint18);
            schemeColor141.Append(saturationModulation2);

            gradientStop2.Append(schemeColor141);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor142 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint19 = new A.Tint(){ Val = 98000 };
            A.HueModulation hueModulation2 = new A.HueModulation(){ Val = 94000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 130000 };
            A.LuminanceModulation luminanceModulation12 = new A.LuminanceModulation(){ Val = 128000 };

            schemeColor142.Append(tint19);
            schemeColor142.Append(hueModulation2);
            schemeColor142.Append(saturationModulation3);
            schemeColor142.Append(luminanceModulation12);

            gradientStop3.Append(schemeColor142);

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor143 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade1 = new A.Shade(){ Val = 94000 };
            A.LuminanceModulation luminanceModulation13 = new A.LuminanceModulation(){ Val = 88000 };

            schemeColor143.Append(shade1);
            schemeColor143.Append(luminanceModulation13);

            gradientStop4.Append(schemeColor143);

            gradientStopList2.Append(gradientStop3);
            gradientStopList2.Append(gradientStop4);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill73);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline17 = new A.Outline(){ Width = 9525, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor144 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint20 = new A.Tint(){ Val = 76000 };
            A.Alpha alpha1 = new A.Alpha(){ Val = 60000 };
            A.HueModulation hueModulation3 = new A.HueModulation(){ Val = 94000 };

            schemeColor144.Append(tint20);
            schemeColor144.Append(alpha1);
            schemeColor144.Append(hueModulation3);

            solidFill74.Append(schemeColor144);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline17.Append(solidFill74);
            outline17.Append(presetDash1);

            A.Outline outline18 = new A.Outline(){ Width = 15875, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

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

            A.SchemeColor schemeColor145 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.HueModulation hueModulation4 = new A.HueModulation(){ Val = 94000 };

            schemeColor145.Append(hueModulation4);

            solidFill75.Append(schemeColor145);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline18.Append(solidFill75);
            outline18.Append(presetDash2);

            A.Outline outline19 = new A.Outline(){ Width = 28575, CapType = A.LineCapValues.Round, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill76 = new A.SolidFill();
            A.SchemeColor schemeColor146 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill76.Append(schemeColor146);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline19.Append(solidFill76);
            outline19.Append(presetDash3);

            lineStyleList1.Append(outline17);
            lineStyleList1.Append(outline18);
            lineStyleList1.Append(outline19);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList12 = new A.EffectList();

            effectStyle1.Append(effectList12);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

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

            A.InnerShadow innerShadow1 = new A.InnerShadow(){ BlurRadius = 25400L, Distance = 12700L, Direction = 13500000 };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 45000 };

            rgbColorModelHex11.Append(alpha2);

            innerShadow1.Append(rgbColorModelHex11);

            effectList13.Append(innerShadow1);

            effectStyle2.Append(effectList13);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

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

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 50800L, Distance = 38100L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha3 = new A.Alpha(){ Val = 46000 };

            rgbColorModelHex12.Append(alpha3);

            outerShadow1.Append(rgbColorModelHex12);

            effectList14.Append(outerShadow1);

            A.Scene3DType scene3DType1 = new A.Scene3DType();

            A.Camera camera1 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation1 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 0 };

            camera1.Append(rotation1);
            A.LightRig lightRig1 = new A.LightRig(){ Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.Plastic };
            A.BevelTop bevelTop1 = new A.BevelTop(){ Width = 25400L, Height = 25400L };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList14);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill77 = new A.SolidFill();
            A.SchemeColor schemeColor147 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill77.Append(schemeColor147);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 10000 };

            A.SchemeColor schemeColor148 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint21 = new A.Tint(){ Val = 97000 };
            A.HueModulation hueModulation5 = new A.HueModulation(){ Val = 92000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 169000 };
            A.LuminanceModulation luminanceModulation14 = new A.LuminanceModulation(){ Val = 164000 };

            schemeColor148.Append(tint21);
            schemeColor148.Append(hueModulation5);
            schemeColor148.Append(saturationModulation4);
            schemeColor148.Append(luminanceModulation14);

            gradientStop5.Append(schemeColor148);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor149 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 96000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 120000 };
            A.LuminanceModulation luminanceModulation15 = new A.LuminanceModulation(){ Val = 90000 };

            schemeColor149.Append(shade2);
            schemeColor149.Append(saturationModulation5);
            schemeColor149.Append(luminanceModulation15);

            gradientStop6.Append(schemeColor149);

            gradientStopList3.Append(gradientStop5);
            gradientStopList3.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 6120000, Scaled = true };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor150 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint22 = new A.Tint(){ Val = 97000 };
            A.HueModulation hueModulation6 = new A.HueModulation(){ Val = 92000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 169000 };
            A.LuminanceModulation luminanceModulation16 = new A.LuminanceModulation(){ Val = 164000 };

            schemeColor150.Append(tint22);
            schemeColor150.Append(hueModulation6);
            schemeColor150.Append(saturationModulation6);
            schemeColor150.Append(luminanceModulation16);

            gradientStop7.Append(schemeColor150);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor151 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 96000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 120000 };
            A.LuminanceModulation luminanceModulation17 = new A.LuminanceModulation(){ Val = 90000 };

            schemeColor151.Append(shade3);
            schemeColor151.Append(saturationModulation7);
            schemeColor151.Append(luminanceModulation17);

            gradientStop8.Append(schemeColor151);

            gradientStopList4.Append(gradientStop7);
            gradientStopList4.Append(gradientStop8);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Bottom = 100000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill1);

            backgroundFillStyleList1.Append(solidFill77);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList();

            A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension(){ Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}" };

            Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily(){ Name = "Slice", Id = "{0507925B-6AC9-4358-8E18-C330545D08F8}", Vid = "{24C90B2D-6D41-4755-90A4-ED86E7EA9F03}" };
            themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            officeStyleSheetExtension1.Append(themeFamily1);

            officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(officeStyleSheetExtensionList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 22
0
        private void DrawWavyLine(Wpg.WordprocessingGroup wordprocessingGroup1, Rect extents, Point bondStart, Point bondEnd)
        {
            UInt32Value bondLineId   = UInt32Value.FromUInt32((uint)m_ooxmlId++);
            string      bondLineName = "WavyLine" + bondLineId;

            Vector bondVector  = bondEnd - bondStart;
            int    noOfWiggles = (int)Math.Ceiling(bondVector.Length / BondOffset());

            if (noOfWiggles < 1)
            {
                noOfWiggles = 1;
            }

            double wiggleLength = bondVector.Length / noOfWiggles;

            Debug.WriteLine($"v.Length: {bondVector.Length} noOfWiggles: {noOfWiggles}");

            Vector originalWigglePortion = bondVector;

            originalWigglePortion.Normalize();
            originalWigglePortion *= wiggleLength / 2;

            Matrix toLeft = new Matrix();

            toLeft.Rotate(-60);
            Matrix toRight = new Matrix();

            toRight.Rotate(60);
            Vector leftVector  = originalWigglePortion * toLeft;
            Vector rightVector = originalWigglePortion * toRight;

            List <Point>         allpoints    = new List <Point>();
            List <List <Point> > allTriangles = new List <List <Point> >();
            List <Point>         triangle     = new List <Point>();

            Point lastPoint = bondStart;

            allpoints.Add(lastPoint);
            triangle.Add(lastPoint);
            for (int i = 0; i < noOfWiggles; i++)
            {
                Point leftPoint = lastPoint + leftVector;
                allpoints.Add(leftPoint);
                triangle.Add(leftPoint);

                Point midPoint = lastPoint + originalWigglePortion;
                allpoints.Add(midPoint);
                triangle.Add(midPoint);
                allTriangles.Add(triangle);
                triangle = new List <Point>();
                triangle.Add(midPoint);

                Point rightPoint = lastPoint + originalWigglePortion + rightVector;
                allpoints.Add(rightPoint);
                triangle.Add(rightPoint);

                lastPoint += originalWigglePortion * 2;
                allpoints.Add(lastPoint);
                triangle.Add(lastPoint);
                allTriangles.Add(triangle);
                triangle = new List <Point>();
                triangle.Add(lastPoint);
            }

            double minX = double.MaxValue;
            double maxX = double.MinValue;
            double minY = double.MaxValue;
            double maxY = double.MinValue;

            foreach (Point p in allpoints)
            {
                maxX = Math.Max(p.X + extents.Left, maxX);
                minX = Math.Min(p.X + extents.Left, minX);
                maxY = Math.Max(p.Y + extents.Top, maxY);
                minY = Math.Min(p.Y + extents.Top, minY);
            }

            Rect   newExtents = new Rect(minX, minY, maxX - minX, maxY - minY);
            double xOffset    = extents.Left - newExtents.Left;
            double yOffset    = extents.Top - newExtents.Top;

            Int64Value width  = OoXmlHelper.ScaleCmlToEmu(newExtents.Width);
            Int64Value height = OoXmlHelper.ScaleCmlToEmu(newExtents.Height);
            Int64Value top    = OoXmlHelper.ScaleCmlToEmu(newExtents.Top);
            Int64Value left   = OoXmlHelper.ScaleCmlToEmu(newExtents.Left);

            Wps.WordprocessingShape        wordprocessingShape1        = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Wps.NonVisualDrawingProperties()
            {
                Id = bondLineId, Name = bondLineName
            };
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties();

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = left, Y = top
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = width, Cy = height
            };

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

            A.CustomGeometry  customGeometry1  = new A.CustomGeometry();
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();
            A.Rectangle       rectangle1       = new A.Rectangle()
            {
                Left = "l", Top = "t", Right = "r", Bottom = "b"
            };

            A.PathList pathList1 = new A.PathList();

            A.Path path1 = new A.Path()
            {
                Width = width, Height = height
            };

            A.MoveTo moveTo1 = new A.MoveTo();
            A.Point  point1  = new A.Point()
            {
                X = OoXmlHelper.ScaleCmlToEmu(bondStart.X + xOffset).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(bondStart.Y + yOffset).ToString()
            };
            moveTo1.Append(point1);
            path1.Append(moveTo1);

            //Curves
            foreach (var tri in allTriangles)
            {
                A.CubicBezierCurveTo cubicBezierCurveTo = new A.CubicBezierCurveTo();
                foreach (var p in tri)
                {
                    A.Point point = new A.Point()
                    {
                        X = OoXmlHelper.ScaleCmlToEmu(p.X + xOffset).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(p.Y + yOffset).ToString()
                    };
                    cubicBezierCurveTo.Append(point);
                }
                path1.Append(cubicBezierCurveTo);
            }

            //// Straight Lines
            //foreach (var p in allpoints)
            //{
            //    A.LineTo lineTo = new A.LineTo();
            //    A.Point point = new A.Point() { X = OoXmlHelper.ScaleCmlToEmu(p.X + xOffset).ToString(), Y = OoXmlHelper.ScaleCmlToEmu(p.Y + yOffset).ToString() };
            //    lineTo.Append(point);
            //    path1.Append(lineTo);
            //}

            pathList1.Append(path1);

            customGeometry1.Append(adjustValueList1);
            customGeometry1.Append(rectangle1);
            customGeometry1.Append(pathList1);

            A.Outline outline1 = new A.Outline()
            {
                Width = 9525, CapType = A.LineCapValues.Round
            };

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

            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = new Int32Value()
                {
                    InnerText = "100%"
                }
            };

            rgbColorModelHex1.Append(alpha1);

            solidFill1.Append(rgbColorModelHex1);

            outline1.Append(solidFill1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(customGeometry1);
            shapeProperties1.Append(outline1);

            Wps.ShapeStyle  shapeStyle1    = new Wps.ShapeStyle();
            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);
            Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties();

            wordprocessingShape1.Append(nonVisualDrawingProperties1);
            wordprocessingShape1.Append(nonVisualDrawingShapeProperties1);
            wordprocessingShape1.Append(shapeProperties1);
            wordprocessingShape1.Append(shapeStyle1);
            wordprocessingShape1.Append(textBodyProperties1);

            wordprocessingGroup1.Append(wordprocessingShape1);
        }
Ejemplo n.º 23
0
        // Generates content of slideLayoutPart6.
        private void GenerateSlideLayoutPart6Content(SlideLayoutPart slideLayoutPart6)
        {
            SlideLayout slideLayout6 = new SlideLayout(){ Preserve = true };
            slideLayout6.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideLayout6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideLayout6.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

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

            ShapeTree shapeTree8 = new ShapeTree();

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

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

            GroupShapeProperties groupShapeProperties8 = new GroupShapeProperties();

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

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

            groupShapeProperties8.Append(transformGroup8);

            Shape shape32 = new Shape();

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

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

            nonVisualShapeDrawingProperties32.Append(shapeLocks32);

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

            applicationNonVisualDrawingProperties65.Append(placeholderShape32);

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

            ShapeProperties shapeProperties57 = new ShapeProperties();

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

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

            shapeProperties57.Append(transform2D40);

            TextBody textBody32 = new TextBody();

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

            bodyProperties32.Append(normalAutoFit12);

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

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

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

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

            solidFill97.Append(schemeColor211);

            defaultRunProperties91.Append(solidFill97);

            level1ParagraphProperties17.Append(defaultRunProperties91);

            listStyle32.Append(level1ParagraphProperties17);

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

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

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

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

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

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

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

            Shape shape33 = new Shape();

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

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

            nonVisualShapeDrawingProperties33.Append(shapeLocks33);

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

            applicationNonVisualDrawingProperties66.Append(placeholderShape33);

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

            ShapeProperties shapeProperties58 = new ShapeProperties();

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

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

            shapeProperties58.Append(transform2D41);

            TextBody textBody33 = new TextBody();

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

            bodyProperties33.Append(normalAutoFit13);

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

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

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

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

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

            schemeColor212.Append(luminanceModulation19);

            solidFill98.Append(schemeColor212);

            defaultRunProperties92.Append(solidFill98);

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

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

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

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

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

            schemeColor213.Append(tint31);

            solidFill99.Append(schemeColor213);

            defaultRunProperties93.Append(solidFill99);

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

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

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

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

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

            schemeColor214.Append(tint32);

            solidFill100.Append(schemeColor214);

            defaultRunProperties94.Append(solidFill100);

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

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

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

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

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

            schemeColor215.Append(tint33);

            solidFill101.Append(schemeColor215);

            defaultRunProperties95.Append(solidFill101);

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

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

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

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

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

            schemeColor216.Append(tint34);

            solidFill102.Append(schemeColor216);

            defaultRunProperties96.Append(solidFill102);

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

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

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

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

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

            schemeColor217.Append(tint35);

            solidFill103.Append(schemeColor217);

            defaultRunProperties97.Append(solidFill103);

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

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

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

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

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

            schemeColor218.Append(tint36);

            solidFill104.Append(schemeColor218);

            defaultRunProperties98.Append(solidFill104);

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

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

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

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

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

            schemeColor219.Append(tint37);

            solidFill105.Append(schemeColor219);

            defaultRunProperties99.Append(solidFill105);

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

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

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

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

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

            schemeColor220.Append(tint38);

            solidFill106.Append(schemeColor220);

            defaultRunProperties100.Append(solidFill106);

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

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

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

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

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

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

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

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

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

            Shape shape34 = new Shape();

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

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

            nonVisualShapeDrawingProperties34.Append(shapeLocks34);

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

            applicationNonVisualDrawingProperties67.Append(placeholderShape34);

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

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

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

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

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

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

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

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

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

            Shape shape35 = new Shape();

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

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

            nonVisualShapeDrawingProperties35.Append(shapeLocks35);

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

            applicationNonVisualDrawingProperties68.Append(placeholderShape35);

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

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

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

            paragraph43.Append(endParagraphRunProperties31);

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

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

            Shape shape36 = new Shape();

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

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

            nonVisualShapeDrawingProperties36.Append(shapeLocks36);

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

            applicationNonVisualDrawingProperties69.Append(placeholderShape36);

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

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

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

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

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

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

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

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

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

            Shape shape37 = new Shape();

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

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

            nonVisualShapeDrawingProperties37.Append(shapeLocks37);

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

            applicationNonVisualDrawingProperties70.Append(placeholderShape37);

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

            ShapeProperties shapeProperties62 = new ShapeProperties();

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

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

            shapeProperties62.Append(transform2D42);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Shape shape38 = new Shape();

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

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

            ShapeProperties shapeProperties63 = new ShapeProperties();

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

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

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

            presetGeometry31.Append(adjustValueList31);

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

            TextBody textBody38 = new TextBody();

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

            bodyProperties38.Append(noAutoFit1);

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

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

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

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

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

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

            outline30.Append(noFill2);

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

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

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

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

            glow1.Append(schemeColor221);

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

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

            rgbColorModelHex13.Append(alpha5);

            outerShadow2.Append(rgbColorModelHex13);

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

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

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

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

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

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

            solidFill107.Append(schemeColor222);

            defaultRunProperties107.Append(solidFill107);

            level2ParagraphProperties12.Append(defaultRunProperties107);

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

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

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

            solidFill108.Append(schemeColor223);

            defaultRunProperties108.Append(solidFill108);

            level3ParagraphProperties12.Append(defaultRunProperties108);

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

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

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

            solidFill109.Append(schemeColor224);

            defaultRunProperties109.Append(solidFill109);

            level4ParagraphProperties12.Append(defaultRunProperties109);

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

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

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

            solidFill110.Append(schemeColor225);

            defaultRunProperties110.Append(solidFill110);

            level5ParagraphProperties12.Append(defaultRunProperties110);

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

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

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

            solidFill111.Append(schemeColor226);

            defaultRunProperties111.Append(solidFill111);

            level6ParagraphProperties11.Append(defaultRunProperties111);

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

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

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

            solidFill112.Append(schemeColor227);

            defaultRunProperties112.Append(solidFill112);

            level7ParagraphProperties11.Append(defaultRunProperties112);

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

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

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

            solidFill113.Append(schemeColor228);

            defaultRunProperties113.Append(solidFill113);

            level8ParagraphProperties11.Append(defaultRunProperties113);

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

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

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

            solidFill114.Append(schemeColor229);

            defaultRunProperties114.Append(solidFill114);

            level9ParagraphProperties11.Append(defaultRunProperties114);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            Shape shape39 = new Shape();

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

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

            ShapeProperties shapeProperties64 = new ShapeProperties();

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

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

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

            presetGeometry32.Append(adjustValueList32);

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

            TextBody textBody39 = new TextBody();

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

            bodyProperties39.Append(noAutoFit2);

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

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

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

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

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

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

            outline31.Append(noFill3);

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

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

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

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

            glow2.Append(schemeColor232);

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

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

            rgbColorModelHex14.Append(alpha7);

            outerShadow3.Append(rgbColorModelHex14);

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

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

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

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

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

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

            solidFill117.Append(schemeColor233);

            defaultRunProperties116.Append(solidFill117);

            level2ParagraphProperties13.Append(defaultRunProperties116);

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

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

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

            solidFill118.Append(schemeColor234);

            defaultRunProperties117.Append(solidFill118);

            level3ParagraphProperties13.Append(defaultRunProperties117);

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

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

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

            solidFill119.Append(schemeColor235);

            defaultRunProperties118.Append(solidFill119);

            level4ParagraphProperties13.Append(defaultRunProperties118);

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

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

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

            solidFill120.Append(schemeColor236);

            defaultRunProperties119.Append(solidFill120);

            level5ParagraphProperties13.Append(defaultRunProperties119);

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

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

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

            solidFill121.Append(schemeColor237);

            defaultRunProperties120.Append(solidFill121);

            level6ParagraphProperties12.Append(defaultRunProperties120);

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

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

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

            solidFill122.Append(schemeColor238);

            defaultRunProperties121.Append(solidFill122);

            level7ParagraphProperties12.Append(defaultRunProperties121);

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

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

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

            solidFill123.Append(schemeColor239);

            defaultRunProperties122.Append(solidFill123);

            level8ParagraphProperties12.Append(defaultRunProperties122);

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

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

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

            solidFill124.Append(schemeColor240);

            defaultRunProperties123.Append(solidFill124);

            level9ParagraphProperties12.Append(defaultRunProperties123);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            ConnectionShape connectionShape26 = new ConnectionShape();

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

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

            ShapeProperties shapeProperties65 = new ShapeProperties();

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

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

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

            presetGeometry33.Append(adjustValueList33);

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

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

            solidFill127.Append(schemeColor243);

            outline32.Append(solidFill127);

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

            ShapeStyle shapeStyle26 = new ShapeStyle();

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

            lineReference26.Append(schemeColor244);

            A.FillReference fillReference26 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor245 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference26.Append(schemeColor245);

            A.EffectReference effectReference26 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor246 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference26.Append(schemeColor246);

            A.FontReference fontReference26 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor247 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference26.Append(schemeColor247);

            shapeStyle26.Append(lineReference26);
            shapeStyle26.Append(fillReference26);
            shapeStyle26.Append(effectReference26);
            shapeStyle26.Append(fontReference26);

            connectionShape26.Append(nonVisualConnectionShapeProperties26);
            connectionShape26.Append(shapeProperties65);
            connectionShape26.Append(shapeStyle26);

            ConnectionShape connectionShape27 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties27 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties74 = new NonVisualDrawingProperties(){ Id = (UInt32Value)24U, Name = "Straight Connector 23" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties27 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties74 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties27.Append(nonVisualDrawingProperties74);
            nonVisualConnectionShapeProperties27.Append(nonVisualConnectorShapeDrawingProperties27);
            nonVisualConnectionShapeProperties27.Append(applicationNonVisualDrawingProperties74);

            ShapeProperties shapeProperties66 = new ShapeProperties();

            A.Transform2D transform2D46 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset54 = new A.Offset(){ X = 9209368L, Y = 3190344L };
            A.Extents extents54 = new A.Extents(){ Cx = 2982634L, Cy = 2981856L };

            transform2D46.Append(offset54);
            transform2D46.Append(extents54);

            A.PresetGeometry presetGeometry34 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList34 = new A.AdjustValueList();

            presetGeometry34.Append(adjustValueList34);

            A.Outline outline33 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill128 = new A.SolidFill();
            A.SchemeColor schemeColor248 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill128.Append(schemeColor248);

            outline33.Append(solidFill128);

            shapeProperties66.Append(transform2D46);
            shapeProperties66.Append(presetGeometry34);
            shapeProperties66.Append(outline33);

            ShapeStyle shapeStyle27 = new ShapeStyle();

            A.LineReference lineReference27 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor249 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference27.Append(schemeColor249);

            A.FillReference fillReference27 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor250 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference27.Append(schemeColor250);

            A.EffectReference effectReference27 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor251 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference27.Append(schemeColor251);

            A.FontReference fontReference27 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor252 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference27.Append(schemeColor252);

            shapeStyle27.Append(lineReference27);
            shapeStyle27.Append(fillReference27);
            shapeStyle27.Append(effectReference27);
            shapeStyle27.Append(fontReference27);

            connectionShape27.Append(nonVisualConnectionShapeProperties27);
            connectionShape27.Append(shapeProperties66);
            connectionShape27.Append(shapeStyle27);

            ConnectionShape connectionShape28 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties28 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties75 = new NonVisualDrawingProperties(){ Id = (UInt32Value)25U, Name = "Straight Connector 24" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties28 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties75 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties28.Append(nonVisualDrawingProperties75);
            nonVisualConnectionShapeProperties28.Append(nonVisualConnectorShapeDrawingProperties28);
            nonVisualConnectionShapeProperties28.Append(applicationNonVisualDrawingProperties75);

            ShapeProperties shapeProperties67 = new ShapeProperties();

            A.Transform2D transform2D47 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset55 = new A.Offset(){ X = 10294973L, Y = 3285068L };
            A.Extents extents55 = new A.Extents(){ Cx = 1897028L, Cy = 1896533L };

            transform2D47.Append(offset55);
            transform2D47.Append(extents55);

            A.PresetGeometry presetGeometry35 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList35 = new A.AdjustValueList();

            presetGeometry35.Append(adjustValueList35);

            A.Outline outline34 = new A.Outline(){ Width = 9525 };

            A.SolidFill solidFill129 = new A.SolidFill();
            A.SchemeColor schemeColor253 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill129.Append(schemeColor253);

            outline34.Append(solidFill129);

            shapeProperties67.Append(transform2D47);
            shapeProperties67.Append(presetGeometry35);
            shapeProperties67.Append(outline34);

            ShapeStyle shapeStyle28 = new ShapeStyle();

            A.LineReference lineReference28 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor254 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference28.Append(schemeColor254);

            A.FillReference fillReference28 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor255 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference28.Append(schemeColor255);

            A.EffectReference effectReference28 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor256 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference28.Append(schemeColor256);

            A.FontReference fontReference28 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor257 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference28.Append(schemeColor257);

            shapeStyle28.Append(lineReference28);
            shapeStyle28.Append(fillReference28);
            shapeStyle28.Append(effectReference28);
            shapeStyle28.Append(fontReference28);

            connectionShape28.Append(nonVisualConnectionShapeProperties28);
            connectionShape28.Append(shapeProperties67);
            connectionShape28.Append(shapeStyle28);

            ConnectionShape connectionShape29 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties29 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties76 = new NonVisualDrawingProperties(){ Id = (UInt32Value)26U, Name = "Straight Connector 25" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties29 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties76 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties29.Append(nonVisualDrawingProperties76);
            nonVisualConnectionShapeProperties29.Append(nonVisualConnectorShapeDrawingProperties29);
            nonVisualConnectionShapeProperties29.Append(applicationNonVisualDrawingProperties76);

            ShapeProperties shapeProperties68 = new ShapeProperties();

            A.Transform2D transform2D48 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset56 = new A.Offset(){ X = 10445823L, Y = 3131080L };
            A.Extents extents56 = new A.Extents(){ Cx = 1746177L, Cy = 1745720L };

            transform2D48.Append(offset56);
            transform2D48.Append(extents56);

            A.PresetGeometry presetGeometry36 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList36 = new A.AdjustValueList();

            presetGeometry36.Append(adjustValueList36);

            A.Outline outline35 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill130 = new A.SolidFill();
            A.SchemeColor schemeColor258 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill130.Append(schemeColor258);

            outline35.Append(solidFill130);

            shapeProperties68.Append(transform2D48);
            shapeProperties68.Append(presetGeometry36);
            shapeProperties68.Append(outline35);

            ShapeStyle shapeStyle29 = new ShapeStyle();

            A.LineReference lineReference29 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor259 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference29.Append(schemeColor259);

            A.FillReference fillReference29 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor260 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference29.Append(schemeColor260);

            A.EffectReference effectReference29 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor261 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference29.Append(schemeColor261);

            A.FontReference fontReference29 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor262 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference29.Append(schemeColor262);

            shapeStyle29.Append(lineReference29);
            shapeStyle29.Append(fillReference29);
            shapeStyle29.Append(effectReference29);
            shapeStyle29.Append(fontReference29);

            connectionShape29.Append(nonVisualConnectionShapeProperties29);
            connectionShape29.Append(shapeProperties68);
            connectionShape29.Append(shapeStyle29);

            ConnectionShape connectionShape30 = new ConnectionShape();

            NonVisualConnectionShapeProperties nonVisualConnectionShapeProperties30 = new NonVisualConnectionShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties77 = new NonVisualDrawingProperties(){ Id = (UInt32Value)27U, Name = "Straight Connector 26" };
            NonVisualConnectorShapeDrawingProperties nonVisualConnectorShapeDrawingProperties30 = new NonVisualConnectorShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties77 = new ApplicationNonVisualDrawingProperties();

            nonVisualConnectionShapeProperties30.Append(nonVisualDrawingProperties77);
            nonVisualConnectionShapeProperties30.Append(nonVisualConnectorShapeDrawingProperties30);
            nonVisualConnectionShapeProperties30.Append(applicationNonVisualDrawingProperties77);

            ShapeProperties shapeProperties69 = new ShapeProperties();

            A.Transform2D transform2D49 = new A.Transform2D(){ HorizontalFlip = true };
            A.Offset offset57 = new A.Offset(){ X = 10921671L, Y = 3683002L };
            A.Extents extents57 = new A.Extents(){ Cx = 1270332L, Cy = 1269999L };

            transform2D49.Append(offset57);
            transform2D49.Append(extents57);

            A.PresetGeometry presetGeometry37 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Line };
            A.AdjustValueList adjustValueList37 = new A.AdjustValueList();

            presetGeometry37.Append(adjustValueList37);

            A.Outline outline36 = new A.Outline(){ Width = 28575 };

            A.SolidFill solidFill131 = new A.SolidFill();
            A.SchemeColor schemeColor263 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill131.Append(schemeColor263);

            outline36.Append(solidFill131);

            shapeProperties69.Append(transform2D49);
            shapeProperties69.Append(presetGeometry37);
            shapeProperties69.Append(outline36);

            ShapeStyle shapeStyle30 = new ShapeStyle();

            A.LineReference lineReference30 = new A.LineReference(){ Index = (UInt32Value)2U };
            A.SchemeColor schemeColor264 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            lineReference30.Append(schemeColor264);

            A.FillReference fillReference30 = new A.FillReference(){ Index = (UInt32Value)0U };
            A.SchemeColor schemeColor265 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            fillReference30.Append(schemeColor265);

            A.EffectReference effectReference30 = new A.EffectReference(){ Index = (UInt32Value)1U };
            A.SchemeColor schemeColor266 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };

            effectReference30.Append(schemeColor266);

            A.FontReference fontReference30 = new A.FontReference(){ Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor267 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            fontReference30.Append(schemeColor267);

            shapeStyle30.Append(lineReference30);
            shapeStyle30.Append(fillReference30);
            shapeStyle30.Append(effectReference30);
            shapeStyle30.Append(fontReference30);

            connectionShape30.Append(nonVisualConnectionShapeProperties30);
            connectionShape30.Append(shapeProperties69);
            connectionShape30.Append(shapeStyle30);

            shapeTree8.Append(nonVisualGroupShapeProperties8);
            shapeTree8.Append(groupShapeProperties8);
            shapeTree8.Append(shape32);
            shapeTree8.Append(shape33);
            shapeTree8.Append(shape34);
            shapeTree8.Append(shape35);
            shapeTree8.Append(shape36);
            shapeTree8.Append(shape37);
            shapeTree8.Append(shape38);
            shapeTree8.Append(shape39);
            shapeTree8.Append(connectionShape26);
            shapeTree8.Append(connectionShape27);
            shapeTree8.Append(connectionShape28);
            shapeTree8.Append(connectionShape29);
            shapeTree8.Append(connectionShape30);

            CommonSlideDataExtensionList commonSlideDataExtensionList8 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension8 = new CommonSlideDataExtension(){ Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}" };

            P14.CreationId creationId8 = new P14.CreationId(){ Val = (UInt32Value)629197057U };
            creationId8.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension8.Append(creationId8);

            commonSlideDataExtensionList8.Append(commonSlideDataExtension8);

            commonSlideData8.Append(shapeTree8);
            commonSlideData8.Append(commonSlideDataExtensionList8);

            ColorMapOverride colorMapOverride7 = new ColorMapOverride();
            A.MasterColorMapping masterColorMapping7 = new A.MasterColorMapping();

            colorMapOverride7.Append(masterColorMapping7);

            Timing timing8 = new Timing();

            TimeNodeList timeNodeList8 = new TimeNodeList();

            ParallelTimeNode parallelTimeNode8 = new ParallelTimeNode();
            CommonTimeNode commonTimeNode8 = new CommonTimeNode(){ Id = (UInt32Value)1U, Duration = "indefinite", Restart = TimeNodeRestartValues.Never, NodeType = TimeNodeValues.TmingRoot };

            parallelTimeNode8.Append(commonTimeNode8);

            timeNodeList8.Append(parallelTimeNode8);

            timing8.Append(timeNodeList8);

            slideLayout6.Append(commonSlideData8);
            slideLayout6.Append(colorMapOverride7);
            slideLayout6.Append(timing8);

            slideLayoutPart6.SlideLayout = slideLayout6;
        }
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme() { Name = "Tema de Office" };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme() { Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor() { Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor() { Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex() { Val = "1F497D" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex() { Val = "EEECE1" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex() { Val = "4F81BD" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex() { Val = "C0504D" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex() { Val = "9BBB59" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex() { Val = "8064A2" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex() { Val = "4BACC6" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex() { Val = "F79646" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex() { Val = "0000FF" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex() { Val = "800080" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme() { Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont() { Typeface = "Cambria" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont() { Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont() { Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont() { Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont() { Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont() { Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };

            majorFont1.Append(latinFont1);
            majorFont1.Append(eastAsianFont1);
            majorFont1.Append(complexScriptFont1);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont2 = new A.LatinFont() { Typeface = "Calibri" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont() { Typeface = "" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont() { Typeface = "" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont() { Script = "Jpan", Typeface = "MS Pゴシック" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont() { Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont() { Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont() { Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont() { Script = "Arab", Typeface = "Arial" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont() { Script = "Hebr", Typeface = "Arial" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont() { Script = "Thai", Typeface = "Tahoma" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont() { Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont() { Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont() { Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont() { Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont() { Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont() { Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont() { Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont() { Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont() { Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont() { Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont() { Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont() { Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont() { Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont() { Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont() { Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont() { Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont() { Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont() { Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont() { Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont() { Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont() { Script = "Viet", Typeface = "Arial" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont() { Script = "Uigh", Typeface = "Microsoft Uighur" };

            minorFont1.Append(latinFont2);
            minorFont1.Append(eastAsianFont2);
            minorFont1.Append(complexScriptFont2);
            minorFont1.Append(supplementalFont30);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme() { Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill1 = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint1 = new A.Tint() { Val = 50000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation() { Val = 300000 };

            schemeColor2.Append(tint1);
            schemeColor2.Append(saturationModulation1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop() { Position = 35000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint2 = new A.Tint() { Val = 37000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation() { Val = 300000 };

            schemeColor3.Append(tint2);
            schemeColor3.Append(saturationModulation2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint3 = new A.Tint() { Val = 15000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation() { Val = 350000 };

            schemeColor4.Append(tint3);
            schemeColor4.Append(saturationModulation3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill() { Angle = 16200000, Scaled = true };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade1 = new A.Shade() { Val = 51000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation() { Val = 130000 };

            schemeColor5.Append(shade1);
            schemeColor5.Append(saturationModulation4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop() { Position = 80000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade() { Val = 93000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation() { Val = 130000 };

            schemeColor6.Append(shade2);
            schemeColor6.Append(saturationModulation5);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade() { Val = 94000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation() { Val = 135000 };

            schemeColor7.Append(shade3);
            schemeColor7.Append(saturationModulation6);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill() { Angle = 16200000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill1);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();

            A.SchemeColor schemeColor8 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade4 = new A.Shade() { Val = 95000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation() { Val = 105000 };

            schemeColor8.Append(shade4);
            schemeColor8.Append(saturationModulation7);

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);

            A.Outline outline2 = new A.Outline() { Width = 25400, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill3 = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);

            A.Outline outline3 = new A.Outline() { Width = 38100, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill4 = new A.SolidFill();
            A.SchemeColor schemeColor10 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();

            A.EffectList effectList1 = new A.EffectList();

            A.OuterShadow outerShadow1 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 20000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex() { Val = "000000" };
            A.Alpha alpha1 = new A.Alpha() { Val = 38000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList1.Append(outerShadow1);

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();

            A.EffectList effectList2 = new A.EffectList();

            A.OuterShadow outerShadow2 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex12 = new A.RgbColorModelHex() { Val = "000000" };
            A.Alpha alpha2 = new A.Alpha() { Val = 35000 };

            rgbColorModelHex12.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex12);

            effectList2.Append(outerShadow2);

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

            A.EffectList effectList3 = new A.EffectList();

            A.OuterShadow outerShadow3 = new A.OuterShadow() { BlurRadius = 40000L, Distance = 23000L, Direction = 5400000, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex13 = new A.RgbColorModelHex() { Val = "000000" };
            A.Alpha alpha3 = new A.Alpha() { Val = 35000 };

            rgbColorModelHex13.Append(alpha3);

            outerShadow3.Append(rgbColorModelHex13);

            effectList3.Append(outerShadow3);

            A.Scene3DType scene3DType1 = new A.Scene3DType();

            A.Camera camera1 = new A.Camera() { Preset = A.PresetCameraValues.OrthographicFront };
            A.Rotation rotation1 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 0 };

            camera1.Append(rotation1);

            A.LightRig lightRig1 = new A.LightRig() { Rig = A.LightRigValues.ThreePoints, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation() { Latitude = 0, Longitude = 0, Revolution = 1200000 };

            lightRig1.Append(rotation2);

            scene3DType1.Append(camera1);
            scene3DType1.Append(lightRig1);

            A.Shape3DType shape3DType1 = new A.Shape3DType();
            A.BevelTop bevelTop1 = new A.BevelTop() { Width = 63500L, Height = 25400L };

            shape3DType1.Append(bevelTop1);

            effectStyle3.Append(effectList3);
            effectStyle3.Append(scene3DType1);
            effectStyle3.Append(shape3DType1);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill5 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };

            solidFill5.Append(schemeColor11);

            A.GradientFill gradientFill3 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor12 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint4 = new A.Tint() { Val = 40000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation() { Val = 350000 };

            schemeColor12.Append(tint4);
            schemeColor12.Append(saturationModulation8);

            gradientStop7.Append(schemeColor12);

            A.GradientStop gradientStop8 = new A.GradientStop() { Position = 40000 };

            A.SchemeColor schemeColor13 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint5 = new A.Tint() { Val = 45000 };
            A.Shade shade5 = new A.Shade() { Val = 99000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation() { Val = 350000 };

            schemeColor13.Append(tint5);
            schemeColor13.Append(shade5);
            schemeColor13.Append(saturationModulation9);

            gradientStop8.Append(schemeColor13);

            A.GradientStop gradientStop9 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor14 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade6 = new A.Shade() { Val = 20000 };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation() { Val = 255000 };

            schemeColor14.Append(shade6);
            schemeColor14.Append(saturationModulation10);

            gradientStop9.Append(schemeColor14);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle() { Left = 50000, Top = -80000, Right = 50000, Bottom = 180000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(pathGradientFill1);

            A.GradientFill gradientFill4 = new A.GradientFill() { RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop10 = new A.GradientStop() { Position = 0 };

            A.SchemeColor schemeColor15 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Tint tint6 = new A.Tint() { Val = 80000 };
            A.SaturationModulation saturationModulation11 = new A.SaturationModulation() { Val = 300000 };

            schemeColor15.Append(tint6);
            schemeColor15.Append(saturationModulation11);

            gradientStop10.Append(schemeColor15);

            A.GradientStop gradientStop11 = new A.GradientStop() { Position = 100000 };

            A.SchemeColor schemeColor16 = new A.SchemeColor() { Val = A.SchemeColorValues.PhColor };
            A.Shade shade7 = new A.Shade() { Val = 30000 };
            A.SaturationModulation saturationModulation12 = new A.SaturationModulation() { Val = 200000 };

            schemeColor16.Append(shade7);
            schemeColor16.Append(saturationModulation12);

            gradientStop11.Append(schemeColor16);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            A.PathGradientFill pathGradientFill2 = new A.PathGradientFill() { Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle2 = new A.FillToRectangle() { Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill2.Append(fillToRectangle2);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill2);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);

            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();

            A.ShapeDefault shapeDefault1 = new A.ShapeDefault();

            A.ShapeProperties shapeProperties1 = new A.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents() { Cx = 1L, Cy = 1L };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.CustomGeometry customGeometry1 = new A.CustomGeometry();
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();
            A.ShapeGuideList shapeGuideList1 = new A.ShapeGuideList();
            A.AdjustHandleList adjustHandleList1 = new A.AdjustHandleList();
            A.ConnectionSiteList connectionSiteList1 = new A.ConnectionSiteList();
            A.Rectangle rectangle1 = new A.Rectangle() { Left = "0", Top = "0", Right = "0", Bottom = "0" };
            A.PathList pathList1 = new A.PathList();

            customGeometry1.Append(adjustValueList1);
            customGeometry1.Append(shapeGuideList1);
            customGeometry1.Append(adjustHandleList1);
            customGeometry1.Append(connectionSiteList1);
            customGeometry1.Append(rectangle1);
            customGeometry1.Append(pathList1);

            A.SolidFill solidFill6 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "FFFFFF" };

            solidFill6.Append(rgbColorModelHex14);

            A.Outline outline4 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill7 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "000000" };

            solidFill7.Append(rgbColorModelHex15);
            A.PresetDash presetDash4 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Round round1 = new A.Round();
            A.HeadEnd headEnd1 = new A.HeadEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium };
            A.TailEnd tailEnd1 = new A.TailEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium };

            outline4.Append(solidFill7);
            outline4.Append(presetDash4);
            outline4.Append(round1);
            outline4.Append(headEnd1);
            outline4.Append(tailEnd1);
            A.EffectList effectList4 = new A.EffectList();

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(customGeometry1);
            shapeProperties1.Append(solidFill6);
            shapeProperties1.Append(outline4);
            shapeProperties1.Append(effectList4);
            A.BodyProperties bodyProperties1 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, LeftInset = 18288, TopInset = 0, RightInset = 0, BottomInset = 0, UpRight = true };
            A.ListStyle listStyle1 = new A.ListStyle();

            shapeDefault1.Append(shapeProperties1);
            shapeDefault1.Append(bodyProperties1);
            shapeDefault1.Append(listStyle1);

            A.LineDefault lineDefault1 = new A.LineDefault();

            A.ShapeProperties shapeProperties2 = new A.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset2 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents2 = new A.Extents() { Cx = 1L, Cy = 1L };

            transform2D2.Append(offset2);
            transform2D2.Append(extents2);

            A.CustomGeometry customGeometry2 = new A.CustomGeometry();
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();
            A.ShapeGuideList shapeGuideList2 = new A.ShapeGuideList();
            A.AdjustHandleList adjustHandleList2 = new A.AdjustHandleList();
            A.ConnectionSiteList connectionSiteList2 = new A.ConnectionSiteList();
            A.Rectangle rectangle2 = new A.Rectangle() { Left = "0", Top = "0", Right = "0", Bottom = "0" };
            A.PathList pathList2 = new A.PathList();

            customGeometry2.Append(adjustValueList2);
            customGeometry2.Append(shapeGuideList2);
            customGeometry2.Append(adjustHandleList2);
            customGeometry2.Append(connectionSiteList2);
            customGeometry2.Append(rectangle2);
            customGeometry2.Append(pathList2);

            A.SolidFill solidFill8 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex16 = new A.RgbColorModelHex() { Val = "FFFFFF" };

            solidFill8.Append(rgbColorModelHex16);

            A.Outline outline5 = new A.Outline() { Width = 9525, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill9 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex17 = new A.RgbColorModelHex() { Val = "000000" };

            solidFill9.Append(rgbColorModelHex17);
            A.PresetDash presetDash5 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };
            A.Round round2 = new A.Round();
            A.HeadEnd headEnd2 = new A.HeadEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium };
            A.TailEnd tailEnd2 = new A.TailEnd() { Type = A.LineEndValues.None, Width = A.LineEndWidthValues.Medium, Length = A.LineEndLengthValues.Medium };

            outline5.Append(solidFill9);
            outline5.Append(presetDash5);
            outline5.Append(round2);
            outline5.Append(headEnd2);
            outline5.Append(tailEnd2);
            A.EffectList effectList5 = new A.EffectList();

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(customGeometry2);
            shapeProperties2.Append(solidFill8);
            shapeProperties2.Append(outline5);
            shapeProperties2.Append(effectList5);
            A.BodyProperties bodyProperties2 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, LeftInset = 18288, TopInset = 0, RightInset = 0, BottomInset = 0, UpRight = true };
            A.ListStyle listStyle2 = new A.ListStyle();

            lineDefault1.Append(shapeProperties2);
            lineDefault1.Append(bodyProperties2);
            lineDefault1.Append(listStyle2);

            objectDefaults1.Append(shapeDefault1);
            objectDefaults1.Append(lineDefault1);
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 25
0
        private static void GeneratePartContent(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme()
            {
                Name = "Office テーマ"
            };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme()
            {
                Name = "Office テーマ"
            };

            A.Dark1Color  dark1Color1  = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor()
            {
                Val = A.SystemColorValues.WindowText, LastColor = "000000"
            };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor()
            {
                Val = A.SystemColorValues.Window, LastColor = "FFFFFF"
            };

            light1Color1.Append(systemColor2);

            A.Dark2Color       dark2Color1       = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex()
            {
                Val = "44546A"
            };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color      light2Color1      = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex()
            {
                Val = "E7E6E6"
            };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color     accent1Color1     = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex()
            {
                Val = "4472C4"
            };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color     accent2Color1     = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex()
            {
                Val = "ED7D31"
            };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color     accent3Color1     = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex()
            {
                Val = "A5A5A5"
            };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color     accent4Color1     = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex()
            {
                Val = "FFC000"
            };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color     accent5Color1     = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex()
            {
                Val = "5B9BD5"
            };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color     accent6Color1     = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex()
            {
                Val = "70AD47"
            };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink        hyperlink1        = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex()
            {
                Val = "0563C1"
            };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex       rgbColorModelHex10      = new A.RgbColorModelHex()
            {
                Val = "954F72"
            };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme()
            {
                Name = "Office テーマ"
            };

            A.MajorFont majorFont1  = new A.MajorFont();
            A.LatinFont latinFont20 = new A.LatinFont()
            {
                Typeface = "Calibri Light", Panose = "020F0302020204030204"
            };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont()
            {
                Typeface = ""
            };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont()
            {
                Typeface = ""
            };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont()
            {
                Script = "Jpan", Typeface = "游ゴシック Light"
            };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont()
            {
                Script = "Hang", Typeface = "맑은 고딕"
            };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont()
            {
                Script = "Hans", Typeface = "等线 Light"
            };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont()
            {
                Script = "Hant", Typeface = "新細明體"
            };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont()
            {
                Script = "Arab", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont()
            {
                Script = "Hebr", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont()
            {
                Script = "Thai", Typeface = "Angsana New"
            };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont()
            {
                Script = "Ethi", Typeface = "Nyala"
            };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont()
            {
                Script = "Beng", Typeface = "Vrinda"
            };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont()
            {
                Script = "Gujr", Typeface = "Shruti"
            };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont()
            {
                Script = "Khmr", Typeface = "MoolBoran"
            };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont()
            {
                Script = "Knda", Typeface = "Tunga"
            };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont()
            {
                Script = "Guru", Typeface = "Raavi"
            };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont()
            {
                Script = "Cans", Typeface = "Euphemia"
            };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont()
            {
                Script = "Cher", Typeface = "Plantagenet Cherokee"
            };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont()
            {
                Script = "Yiii", Typeface = "Microsoft Yi Baiti"
            };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont()
            {
                Script = "Tibt", Typeface = "Microsoft Himalaya"
            };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont()
            {
                Script = "Thaa", Typeface = "MV Boli"
            };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont()
            {
                Script = "Deva", Typeface = "Mangal"
            };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont()
            {
                Script = "Telu", Typeface = "Gautami"
            };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont()
            {
                Script = "Taml", Typeface = "Latha"
            };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont()
            {
                Script = "Syrc", Typeface = "Estrangelo Edessa"
            };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont()
            {
                Script = "Orya", Typeface = "Kalinga"
            };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont()
            {
                Script = "Mlym", Typeface = "Kartika"
            };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont()
            {
                Script = "Laoo", Typeface = "DokChampa"
            };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont()
            {
                Script = "Sinh", Typeface = "Iskoola Pota"
            };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont()
            {
                Script = "Mong", Typeface = "Mongolian Baiti"
            };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont()
            {
                Script = "Viet", Typeface = "Times New Roman"
            };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont()
            {
                Script = "Uigh", Typeface = "Microsoft Uighur"
            };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont()
            {
                Script = "Geor", Typeface = "Sylfaen"
            };

            majorFont1.Append(latinFont20);
            majorFont1.Append(eastAsianFont20);
            majorFont1.Append(complexScriptFont20);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);

            A.MinorFont minorFont1  = new A.MinorFont();
            A.LatinFont latinFont21 = new A.LatinFont()
            {
                Typeface = "Calibri", Panose = "020F0502020204030204"
            };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont()
            {
                Typeface = ""
            };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont()
            {
                Typeface = ""
            };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont()
            {
                Script = "Jpan", Typeface = "游ゴシック"
            };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont()
            {
                Script = "Hang", Typeface = "맑은 고딕"
            };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont()
            {
                Script = "Hans", Typeface = "等线"
            };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont()
            {
                Script = "Hant", Typeface = "新細明體"
            };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont()
            {
                Script = "Arab", Typeface = "Arial"
            };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont()
            {
                Script = "Hebr", Typeface = "Arial"
            };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont()
            {
                Script = "Thai", Typeface = "Cordia New"
            };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont()
            {
                Script = "Ethi", Typeface = "Nyala"
            };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont()
            {
                Script = "Beng", Typeface = "Vrinda"
            };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont()
            {
                Script = "Gujr", Typeface = "Shruti"
            };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont()
            {
                Script = "Khmr", Typeface = "DaunPenh"
            };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont()
            {
                Script = "Knda", Typeface = "Tunga"
            };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont()
            {
                Script = "Guru", Typeface = "Raavi"
            };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont()
            {
                Script = "Cans", Typeface = "Euphemia"
            };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont()
            {
                Script = "Cher", Typeface = "Plantagenet Cherokee"
            };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont()
            {
                Script = "Yiii", Typeface = "Microsoft Yi Baiti"
            };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont()
            {
                Script = "Tibt", Typeface = "Microsoft Himalaya"
            };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont()
            {
                Script = "Thaa", Typeface = "MV Boli"
            };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont()
            {
                Script = "Deva", Typeface = "Mangal"
            };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont()
            {
                Script = "Telu", Typeface = "Gautami"
            };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont()
            {
                Script = "Taml", Typeface = "Latha"
            };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont()
            {
                Script = "Syrc", Typeface = "Estrangelo Edessa"
            };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont()
            {
                Script = "Orya", Typeface = "Kalinga"
            };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont()
            {
                Script = "Mlym", Typeface = "Kartika"
            };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont()
            {
                Script = "Laoo", Typeface = "DokChampa"
            };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont()
            {
                Script = "Sinh", Typeface = "Iskoola Pota"
            };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont()
            {
                Script = "Mong", Typeface = "Mongolian Baiti"
            };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont()
            {
                Script = "Viet", Typeface = "Arial"
            };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont()
            {
                Script = "Uigh", Typeface = "Microsoft Uighur"
            };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont()
            {
                Script = "Geor", Typeface = "Sylfaen"
            };

            minorFont1.Append(latinFont21);
            minorFont1.Append(eastAsianFont21);
            minorFont1.Append(complexScriptFont21);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme()
            {
                Name = "Office テーマ"
            };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill   solidFill32   = new A.SolidFill();
            A.SchemeColor schemeColor33 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill32.Append(schemeColor33);

            A.GradientFill gradientFill1 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor34 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation()
            {
                Val = 110000
            };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation()
            {
                Val = 105000
            };
            A.Tint tint12 = new A.Tint()
            {
                Val = 67000
            };

            schemeColor34.Append(luminanceModulation1);
            schemeColor34.Append(saturationModulation1);
            schemeColor34.Append(tint12);

            gradientStop1.Append(schemeColor34);

            A.GradientStop gradientStop2 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor35 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation()
            {
                Val = 105000
            };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation()
            {
                Val = 103000
            };
            A.Tint tint13 = new A.Tint()
            {
                Val = 73000
            };

            schemeColor35.Append(luminanceModulation2);
            schemeColor35.Append(saturationModulation2);
            schemeColor35.Append(tint13);

            gradientStop2.Append(schemeColor35);

            A.GradientStop gradientStop3 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor36 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation()
            {
                Val = 105000
            };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation()
            {
                Val = 109000
            };
            A.Tint tint14 = new A.Tint()
            {
                Val = 81000
            };

            schemeColor36.Append(luminanceModulation3);
            schemeColor36.Append(saturationModulation3);
            schemeColor36.Append(tint14);

            gradientStop3.Append(schemeColor36);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor37 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation()
            {
                Val = 103000
            };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation()
            {
                Val = 102000
            };
            A.Tint tint15 = new A.Tint()
            {
                Val = 94000
            };

            schemeColor37.Append(saturationModulation4);
            schemeColor37.Append(luminanceModulation4);
            schemeColor37.Append(tint15);

            gradientStop4.Append(schemeColor37);

            A.GradientStop gradientStop5 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor38 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation()
            {
                Val = 110000
            };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation()
            {
                Val = 100000
            };
            A.Shade shade1 = new A.Shade()
            {
                Val = 100000
            };

            schemeColor38.Append(saturationModulation5);
            schemeColor38.Append(luminanceModulation5);
            schemeColor38.Append(shade1);

            gradientStop5.Append(schemeColor38);

            A.GradientStop gradientStop6 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor39 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation()
            {
                Val = 99000
            };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation()
            {
                Val = 120000
            };
            A.Shade shade2 = new A.Shade()
            {
                Val = 78000
            };

            schemeColor39.Append(luminanceModulation6);
            schemeColor39.Append(saturationModulation6);
            schemeColor39.Append(shade2);

            gradientStop6.Append(schemeColor39);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill32);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline()
            {
                Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill33   = new A.SolidFill();
            A.SchemeColor schemeColor40 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill33.Append(schemeColor40);
            A.PresetDash presetDash1 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter1 = new A.Miter()
            {
                Limit = 800000
            };

            outline1.Append(solidFill33);
            outline1.Append(presetDash1);
            outline1.Append(miter1);

            A.Outline outline2 = new A.Outline()
            {
                Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill34   = new A.SolidFill();
            A.SchemeColor schemeColor41 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill34.Append(schemeColor41);
            A.PresetDash presetDash2 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter2 = new A.Miter()
            {
                Limit = 800000
            };

            outline2.Append(solidFill34);
            outline2.Append(presetDash2);
            outline2.Append(miter2);

            A.Outline outline3 = new A.Outline()
            {
                Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center
            };

            A.SolidFill   solidFill35   = new A.SolidFill();
            A.SchemeColor schemeColor42 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill35.Append(schemeColor42);
            A.PresetDash presetDash3 = new A.PresetDash()
            {
                Val = A.PresetLineDashValues.Solid
            };
            A.Miter miter3 = new A.Miter()
            {
                Limit = 800000
            };

            outline3.Append(solidFill35);
            outline3.Append(presetDash3);
            outline3.Append(miter3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList  effectList1  = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList  effectList2  = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

            A.EffectList effectList3 = new A.EffectList();

            A.OuterShadow outerShadow1 = new A.OuterShadow()
            {
                BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false
            };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };
            A.Alpha alpha1 = new A.Alpha()
            {
                Val = 63000
            };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill   solidFill36   = new A.SolidFill();
            A.SchemeColor schemeColor43 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };

            solidFill36.Append(schemeColor43);

            A.SolidFill solidFill37 = new A.SolidFill();

            A.SchemeColor schemeColor44 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint16 = new A.Tint()
            {
                Val = 95000
            };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation()
            {
                Val = 170000
            };

            schemeColor44.Append(tint16);
            schemeColor44.Append(saturationModulation7);

            solidFill37.Append(schemeColor44);

            A.GradientFill gradientFill3 = new A.GradientFill()
            {
                RotateWithShape = true
            };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop()
            {
                Position = 0
            };

            A.SchemeColor schemeColor45 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint17 = new A.Tint()
            {
                Val = 93000
            };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation()
            {
                Val = 150000
            };
            A.Shade shade3 = new A.Shade()
            {
                Val = 98000
            };
            A.LuminanceModulation luminanceModulation7 = new A.LuminanceModulation()
            {
                Val = 102000
            };

            schemeColor45.Append(tint17);
            schemeColor45.Append(saturationModulation8);
            schemeColor45.Append(shade3);
            schemeColor45.Append(luminanceModulation7);

            gradientStop7.Append(schemeColor45);

            A.GradientStop gradientStop8 = new A.GradientStop()
            {
                Position = 50000
            };

            A.SchemeColor schemeColor46 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Tint tint18 = new A.Tint()
            {
                Val = 98000
            };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation()
            {
                Val = 130000
            };
            A.Shade shade4 = new A.Shade()
            {
                Val = 90000
            };
            A.LuminanceModulation luminanceModulation8 = new A.LuminanceModulation()
            {
                Val = 103000
            };

            schemeColor46.Append(tint18);
            schemeColor46.Append(saturationModulation9);
            schemeColor46.Append(shade4);
            schemeColor46.Append(luminanceModulation8);

            gradientStop8.Append(schemeColor46);

            A.GradientStop gradientStop9 = new A.GradientStop()
            {
                Position = 100000
            };

            A.SchemeColor schemeColor47 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.PhColor
            };
            A.Shade shade5 = new A.Shade()
            {
                Val = 63000
            };
            A.SaturationModulation saturationModulation10 = new A.SaturationModulation()
            {
                Val = 120000
            };

            schemeColor47.Append(shade5);
            schemeColor47.Append(saturationModulation10);

            gradientStop9.Append(schemeColor47);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill()
            {
                Angle = 5400000, Scaled = false
            };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            backgroundFillStyleList1.Append(solidFill36);
            backgroundFillStyleList1.Append(solidFill37);
            backgroundFillStyleList1.Append(gradientFill3);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults       objectDefaults1       = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            A.OfficeStyleSheetExtensionList officeStyleSheetExtensionList1 = new A.OfficeStyleSheetExtensionList();

            A.OfficeStyleSheetExtension officeStyleSheetExtension1 = new A.OfficeStyleSheetExtension()
            {
                Uri = "{05A4C25C-085E-4340-85A3-A5531E510DB2}"
            };

            Thm15.ThemeFamily themeFamily1 = new Thm15.ThemeFamily()
            {
                Name = "Office Theme", Id = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", Vid = "{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"
            };
            themeFamily1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            officeStyleSheetExtension1.Append(themeFamily1);

            officeStyleSheetExtensionList1.Append(officeStyleSheetExtension1);

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);
            theme1.Append(officeStyleSheetExtensionList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 26
0
        // Generates content of themePart1.
        private void GenerateThemePart1Content(ThemePart themePart1)
        {
            A.Theme theme1 = new A.Theme(){ Name = "Office Theme", ThemeId = "{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}", MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "thm15" }  };
            theme1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            theme1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            theme1.AddNamespaceDeclaration("thm15", "http://schemas.microsoft.com/office/thememl/2012/main");

            A.ThemeElements themeElements1 = new A.ThemeElements();

            A.ColorScheme colorScheme1 = new A.ColorScheme(){ Name = "Office" };

            A.Dark1Color dark1Color1 = new A.Dark1Color();
            A.SystemColor systemColor1 = new A.SystemColor(){ Val = A.SystemColorValues.WindowText, LastColor = "000000" };

            dark1Color1.Append(systemColor1);

            A.Light1Color light1Color1 = new A.Light1Color();
            A.SystemColor systemColor2 = new A.SystemColor(){ Val = A.SystemColorValues.Window, LastColor = "FFFFFF" };

            light1Color1.Append(systemColor2);

            A.Dark2Color dark2Color1 = new A.Dark2Color();
            A.RgbColorModelHex rgbColorModelHex1 = new A.RgbColorModelHex(){ Val = "6E747A" };

            dark2Color1.Append(rgbColorModelHex1);

            A.Light2Color light2Color1 = new A.Light2Color();
            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "E7E6E6" };

            light2Color1.Append(rgbColorModelHex2);

            A.Accent1Color accent1Color1 = new A.Accent1Color();
            A.RgbColorModelHex rgbColorModelHex3 = new A.RgbColorModelHex(){ Val = "5B9BD5" };

            accent1Color1.Append(rgbColorModelHex3);

            A.Accent2Color accent2Color1 = new A.Accent2Color();
            A.RgbColorModelHex rgbColorModelHex4 = new A.RgbColorModelHex(){ Val = "ED7D31" };

            accent2Color1.Append(rgbColorModelHex4);

            A.Accent3Color accent3Color1 = new A.Accent3Color();
            A.RgbColorModelHex rgbColorModelHex5 = new A.RgbColorModelHex(){ Val = "A5A5A5" };

            accent3Color1.Append(rgbColorModelHex5);

            A.Accent4Color accent4Color1 = new A.Accent4Color();
            A.RgbColorModelHex rgbColorModelHex6 = new A.RgbColorModelHex(){ Val = "FFC000" };

            accent4Color1.Append(rgbColorModelHex6);

            A.Accent5Color accent5Color1 = new A.Accent5Color();
            A.RgbColorModelHex rgbColorModelHex7 = new A.RgbColorModelHex(){ Val = "4472C4" };

            accent5Color1.Append(rgbColorModelHex7);

            A.Accent6Color accent6Color1 = new A.Accent6Color();
            A.RgbColorModelHex rgbColorModelHex8 = new A.RgbColorModelHex(){ Val = "70AD47" };

            accent6Color1.Append(rgbColorModelHex8);

            A.Hyperlink hyperlink1 = new A.Hyperlink();
            A.RgbColorModelHex rgbColorModelHex9 = new A.RgbColorModelHex(){ Val = "085296" };

            hyperlink1.Append(rgbColorModelHex9);

            A.FollowedHyperlinkColor followedHyperlinkColor1 = new A.FollowedHyperlinkColor();
            A.RgbColorModelHex rgbColorModelHex10 = new A.RgbColorModelHex(){ Val = "993366" };

            followedHyperlinkColor1.Append(rgbColorModelHex10);

            colorScheme1.Append(dark1Color1);
            colorScheme1.Append(light1Color1);
            colorScheme1.Append(dark2Color1);
            colorScheme1.Append(light2Color1);
            colorScheme1.Append(accent1Color1);
            colorScheme1.Append(accent2Color1);
            colorScheme1.Append(accent3Color1);
            colorScheme1.Append(accent4Color1);
            colorScheme1.Append(accent5Color1);
            colorScheme1.Append(accent6Color1);
            colorScheme1.Append(hyperlink1);
            colorScheme1.Append(followedHyperlinkColor1);

            A.FontScheme fontScheme1 = new A.FontScheme(){ Name = "Office" };

            A.MajorFont majorFont1 = new A.MajorFont();
            A.LatinFont latinFont1 = new A.LatinFont(){ Typeface = "Arial" };
            A.EastAsianFont eastAsianFont1 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont1 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont1 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS ゴシック" };
            A.SupplementalFont supplementalFont2 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont3 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont4 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont5 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont6 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont7 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Angsana New" };
            A.SupplementalFont supplementalFont8 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont9 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont10 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont11 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "MoolBoran" };
            A.SupplementalFont supplementalFont12 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont13 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont14 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont15 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont16 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont17 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont18 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont19 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont20 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont21 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont22 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont23 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont24 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont25 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont26 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont27 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont28 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Times New Roman" };
            A.SupplementalFont supplementalFont29 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont30 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            majorFont1.Append(latinFont1);
            majorFont1.Append(eastAsianFont1);
            majorFont1.Append(complexScriptFont1);
            majorFont1.Append(supplementalFont1);
            majorFont1.Append(supplementalFont2);
            majorFont1.Append(supplementalFont3);
            majorFont1.Append(supplementalFont4);
            majorFont1.Append(supplementalFont5);
            majorFont1.Append(supplementalFont6);
            majorFont1.Append(supplementalFont7);
            majorFont1.Append(supplementalFont8);
            majorFont1.Append(supplementalFont9);
            majorFont1.Append(supplementalFont10);
            majorFont1.Append(supplementalFont11);
            majorFont1.Append(supplementalFont12);
            majorFont1.Append(supplementalFont13);
            majorFont1.Append(supplementalFont14);
            majorFont1.Append(supplementalFont15);
            majorFont1.Append(supplementalFont16);
            majorFont1.Append(supplementalFont17);
            majorFont1.Append(supplementalFont18);
            majorFont1.Append(supplementalFont19);
            majorFont1.Append(supplementalFont20);
            majorFont1.Append(supplementalFont21);
            majorFont1.Append(supplementalFont22);
            majorFont1.Append(supplementalFont23);
            majorFont1.Append(supplementalFont24);
            majorFont1.Append(supplementalFont25);
            majorFont1.Append(supplementalFont26);
            majorFont1.Append(supplementalFont27);
            majorFont1.Append(supplementalFont28);
            majorFont1.Append(supplementalFont29);
            majorFont1.Append(supplementalFont30);

            A.MinorFont minorFont1 = new A.MinorFont();
            A.LatinFont latinFont2 = new A.LatinFont(){ Typeface = "Century" };
            A.EastAsianFont eastAsianFont2 = new A.EastAsianFont(){ Typeface = "" };
            A.ComplexScriptFont complexScriptFont2 = new A.ComplexScriptFont(){ Typeface = "" };
            A.SupplementalFont supplementalFont31 = new A.SupplementalFont(){ Script = "Jpan", Typeface = "MS 明朝" };
            A.SupplementalFont supplementalFont32 = new A.SupplementalFont(){ Script = "Hang", Typeface = "맑은 고딕" };
            A.SupplementalFont supplementalFont33 = new A.SupplementalFont(){ Script = "Hans", Typeface = "宋体" };
            A.SupplementalFont supplementalFont34 = new A.SupplementalFont(){ Script = "Hant", Typeface = "新細明體" };
            A.SupplementalFont supplementalFont35 = new A.SupplementalFont(){ Script = "Arab", Typeface = "Arial" };
            A.SupplementalFont supplementalFont36 = new A.SupplementalFont(){ Script = "Hebr", Typeface = "Arial" };
            A.SupplementalFont supplementalFont37 = new A.SupplementalFont(){ Script = "Thai", Typeface = "Cordia New" };
            A.SupplementalFont supplementalFont38 = new A.SupplementalFont(){ Script = "Ethi", Typeface = "Nyala" };
            A.SupplementalFont supplementalFont39 = new A.SupplementalFont(){ Script = "Beng", Typeface = "Vrinda" };
            A.SupplementalFont supplementalFont40 = new A.SupplementalFont(){ Script = "Gujr", Typeface = "Shruti" };
            A.SupplementalFont supplementalFont41 = new A.SupplementalFont(){ Script = "Khmr", Typeface = "DaunPenh" };
            A.SupplementalFont supplementalFont42 = new A.SupplementalFont(){ Script = "Knda", Typeface = "Tunga" };
            A.SupplementalFont supplementalFont43 = new A.SupplementalFont(){ Script = "Guru", Typeface = "Raavi" };
            A.SupplementalFont supplementalFont44 = new A.SupplementalFont(){ Script = "Cans", Typeface = "Euphemia" };
            A.SupplementalFont supplementalFont45 = new A.SupplementalFont(){ Script = "Cher", Typeface = "Plantagenet Cherokee" };
            A.SupplementalFont supplementalFont46 = new A.SupplementalFont(){ Script = "Yiii", Typeface = "Microsoft Yi Baiti" };
            A.SupplementalFont supplementalFont47 = new A.SupplementalFont(){ Script = "Tibt", Typeface = "Microsoft Himalaya" };
            A.SupplementalFont supplementalFont48 = new A.SupplementalFont(){ Script = "Thaa", Typeface = "MV Boli" };
            A.SupplementalFont supplementalFont49 = new A.SupplementalFont(){ Script = "Deva", Typeface = "Mangal" };
            A.SupplementalFont supplementalFont50 = new A.SupplementalFont(){ Script = "Telu", Typeface = "Gautami" };
            A.SupplementalFont supplementalFont51 = new A.SupplementalFont(){ Script = "Taml", Typeface = "Latha" };
            A.SupplementalFont supplementalFont52 = new A.SupplementalFont(){ Script = "Syrc", Typeface = "Estrangelo Edessa" };
            A.SupplementalFont supplementalFont53 = new A.SupplementalFont(){ Script = "Orya", Typeface = "Kalinga" };
            A.SupplementalFont supplementalFont54 = new A.SupplementalFont(){ Script = "Mlym", Typeface = "Kartika" };
            A.SupplementalFont supplementalFont55 = new A.SupplementalFont(){ Script = "Laoo", Typeface = "DokChampa" };
            A.SupplementalFont supplementalFont56 = new A.SupplementalFont(){ Script = "Sinh", Typeface = "Iskoola Pota" };
            A.SupplementalFont supplementalFont57 = new A.SupplementalFont(){ Script = "Mong", Typeface = "Mongolian Baiti" };
            A.SupplementalFont supplementalFont58 = new A.SupplementalFont(){ Script = "Viet", Typeface = "Arial" };
            A.SupplementalFont supplementalFont59 = new A.SupplementalFont(){ Script = "Uigh", Typeface = "Microsoft Uighur" };
            A.SupplementalFont supplementalFont60 = new A.SupplementalFont(){ Script = "Geor", Typeface = "Sylfaen" };

            minorFont1.Append(latinFont2);
            minorFont1.Append(eastAsianFont2);
            minorFont1.Append(complexScriptFont2);
            minorFont1.Append(supplementalFont31);
            minorFont1.Append(supplementalFont32);
            minorFont1.Append(supplementalFont33);
            minorFont1.Append(supplementalFont34);
            minorFont1.Append(supplementalFont35);
            minorFont1.Append(supplementalFont36);
            minorFont1.Append(supplementalFont37);
            minorFont1.Append(supplementalFont38);
            minorFont1.Append(supplementalFont39);
            minorFont1.Append(supplementalFont40);
            minorFont1.Append(supplementalFont41);
            minorFont1.Append(supplementalFont42);
            minorFont1.Append(supplementalFont43);
            minorFont1.Append(supplementalFont44);
            minorFont1.Append(supplementalFont45);
            minorFont1.Append(supplementalFont46);
            minorFont1.Append(supplementalFont47);
            minorFont1.Append(supplementalFont48);
            minorFont1.Append(supplementalFont49);
            minorFont1.Append(supplementalFont50);
            minorFont1.Append(supplementalFont51);
            minorFont1.Append(supplementalFont52);
            minorFont1.Append(supplementalFont53);
            minorFont1.Append(supplementalFont54);
            minorFont1.Append(supplementalFont55);
            minorFont1.Append(supplementalFont56);
            minorFont1.Append(supplementalFont57);
            minorFont1.Append(supplementalFont58);
            minorFont1.Append(supplementalFont59);
            minorFont1.Append(supplementalFont60);

            fontScheme1.Append(majorFont1);
            fontScheme1.Append(minorFont1);

            A.FormatScheme formatScheme1 = new A.FormatScheme(){ Name = "Office" };

            A.FillStyleList fillStyleList1 = new A.FillStyleList();

            A.SolidFill solidFill1 = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill1.Append(schemeColor1);

            A.GradientFill gradientFill1 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList1 = new A.GradientStopList();

            A.GradientStop gradientStop1 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor2 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation(){ Val = 157000 };
            A.SaturationModulation saturationModulation1 = new A.SaturationModulation(){ Val = 101000 };

            schemeColor2.Append(luminanceModulation1);
            schemeColor2.Append(saturationModulation1);

            gradientStop1.Append(schemeColor2);

            A.GradientStop gradientStop2 = new A.GradientStop(){ Position = 50000 };

            A.SchemeColor schemeColor3 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation(){ Val = 137000 };
            A.SaturationModulation saturationModulation2 = new A.SaturationModulation(){ Val = 103000 };

            schemeColor3.Append(luminanceModulation2);
            schemeColor3.Append(saturationModulation2);

            gradientStop2.Append(schemeColor3);

            A.GradientStop gradientStop3 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor4 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation(){ Val = 115000 };
            A.SaturationModulation saturationModulation3 = new A.SaturationModulation(){ Val = 109000 };

            schemeColor4.Append(luminanceModulation3);
            schemeColor4.Append(saturationModulation3);

            gradientStop3.Append(schemeColor4);

            gradientStopList1.Append(gradientStop1);
            gradientStopList1.Append(gradientStop2);
            gradientStopList1.Append(gradientStop3);
            A.LinearGradientFill linearGradientFill1 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill1.Append(gradientStopList1);
            gradientFill1.Append(linearGradientFill1);

            A.GradientFill gradientFill2 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor5 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 103000 };
            A.LuminanceModulation luminanceModulation4 = new A.LuminanceModulation(){ Val = 118000 };

            schemeColor5.Append(saturationModulation4);
            schemeColor5.Append(luminanceModulation4);

            gradientStop4.Append(schemeColor5);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 50000 };

            A.SchemeColor schemeColor6 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 89000 };
            A.LuminanceModulation luminanceModulation5 = new A.LuminanceModulation(){ Val = 91000 };

            schemeColor6.Append(saturationModulation5);
            schemeColor6.Append(luminanceModulation5);

            gradientStop5.Append(schemeColor6);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor7 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.LuminanceModulation luminanceModulation6 = new A.LuminanceModulation(){ Val = 69000 };

            schemeColor7.Append(luminanceModulation6);

            gradientStop6.Append(schemeColor7);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            fillStyleList1.Append(solidFill1);
            fillStyleList1.Append(gradientFill1);
            fillStyleList1.Append(gradientFill2);

            A.LineStyleList lineStyleList1 = new A.LineStyleList();

            A.Outline outline1 = new A.Outline(){ Width = 6350, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill2 = new A.SolidFill();
            A.SchemeColor schemeColor8 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill2.Append(schemeColor8);
            A.PresetDash presetDash1 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline1.Append(solidFill2);
            outline1.Append(presetDash1);

            A.Outline outline2 = new A.Outline(){ Width = 12700, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill3 = new A.SolidFill();
            A.SchemeColor schemeColor9 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill3.Append(schemeColor9);
            A.PresetDash presetDash2 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline2.Append(solidFill3);
            outline2.Append(presetDash2);

            A.Outline outline3 = new A.Outline(){ Width = 19050, CapType = A.LineCapValues.Flat, CompoundLineType = A.CompoundLineValues.Single, Alignment = A.PenAlignmentValues.Center };

            A.SolidFill solidFill4 = new A.SolidFill();
            A.SchemeColor schemeColor10 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill4.Append(schemeColor10);
            A.PresetDash presetDash3 = new A.PresetDash(){ Val = A.PresetLineDashValues.Solid };

            outline3.Append(solidFill4);
            outline3.Append(presetDash3);

            lineStyleList1.Append(outline1);
            lineStyleList1.Append(outline2);
            lineStyleList1.Append(outline3);

            A.EffectStyleList effectStyleList1 = new A.EffectStyleList();

            A.EffectStyle effectStyle1 = new A.EffectStyle();
            A.EffectList effectList1 = new A.EffectList();

            effectStyle1.Append(effectList1);

            A.EffectStyle effectStyle2 = new A.EffectStyle();
            A.EffectList effectList2 = new A.EffectList();

            effectStyle2.Append(effectList2);

            A.EffectStyle effectStyle3 = new A.EffectStyle();

            A.EffectList effectList3 = new A.EffectList();

            A.OuterShadow outerShadow1 = new A.OuterShadow(){ BlurRadius = 57150L, Distance = 19050L, Direction = 5400000, Alignment = A.RectangleAlignmentValues.Center, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex11 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha1 = new A.Alpha(){ Val = 63000 };

            rgbColorModelHex11.Append(alpha1);

            outerShadow1.Append(rgbColorModelHex11);

            effectList3.Append(outerShadow1);

            effectStyle3.Append(effectList3);

            effectStyleList1.Append(effectStyle1);
            effectStyleList1.Append(effectStyle2);
            effectStyleList1.Append(effectStyle3);

            A.BackgroundFillStyleList backgroundFillStyleList1 = new A.BackgroundFillStyleList();

            A.SolidFill solidFill5 = new A.SolidFill();
            A.SchemeColor schemeColor11 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };

            solidFill5.Append(schemeColor11);

            A.GradientFill gradientFill3 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList3 = new A.GradientStopList();

            A.GradientStop gradientStop7 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor12 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint1 = new A.Tint(){ Val = 100000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 100000 };
            A.Shade shade1 = new A.Shade(){ Val = 0 };

            schemeColor12.Append(tint1);
            schemeColor12.Append(saturationModulation6);
            schemeColor12.Append(shade1);

            gradientStop7.Append(schemeColor12);

            A.GradientStop gradientStop8 = new A.GradientStop(){ Position = 0 };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage(){ RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            gradientStop8.Append(rgbColorModelPercentage1);

            A.GradientStop gradientStop9 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor13 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade2 = new A.Shade(){ Val = 100000 };
            A.SaturationModulation saturationModulation7 = new A.SaturationModulation(){ Val = 100000 };

            schemeColor13.Append(shade2);
            schemeColor13.Append(saturationModulation7);

            gradientStop9.Append(schemeColor13);

            gradientStopList3.Append(gradientStop7);
            gradientStopList3.Append(gradientStop8);
            gradientStopList3.Append(gradientStop9);
            A.LinearGradientFill linearGradientFill3 = new A.LinearGradientFill(){ Angle = 5400000, Scaled = false };

            gradientFill3.Append(gradientStopList3);
            gradientFill3.Append(linearGradientFill3);

            A.GradientFill gradientFill4 = new A.GradientFill(){ RotateWithShape = true };

            A.GradientStopList gradientStopList4 = new A.GradientStopList();

            A.GradientStop gradientStop10 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Tint tint2 = new A.Tint(){ Val = 80000 };
            A.SaturationModulation saturationModulation8 = new A.SaturationModulation(){ Val = 300000 };

            schemeColor14.Append(tint2);
            schemeColor14.Append(saturationModulation8);

            gradientStop10.Append(schemeColor14);

            A.GradientStop gradientStop11 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.PhColor };
            A.Shade shade3 = new A.Shade(){ Val = 30000 };
            A.SaturationModulation saturationModulation9 = new A.SaturationModulation(){ Val = 200000 };

            schemeColor15.Append(shade3);
            schemeColor15.Append(saturationModulation9);

            gradientStop11.Append(schemeColor15);

            gradientStopList4.Append(gradientStop10);
            gradientStopList4.Append(gradientStop11);

            A.PathGradientFill pathGradientFill1 = new A.PathGradientFill(){ Path = A.PathShadeValues.Circle };
            A.FillToRectangle fillToRectangle1 = new A.FillToRectangle(){ Left = 50000, Top = 50000, Right = 50000, Bottom = 50000 };

            pathGradientFill1.Append(fillToRectangle1);

            gradientFill4.Append(gradientStopList4);
            gradientFill4.Append(pathGradientFill1);

            backgroundFillStyleList1.Append(solidFill5);
            backgroundFillStyleList1.Append(gradientFill3);
            backgroundFillStyleList1.Append(gradientFill4);

            formatScheme1.Append(fillStyleList1);
            formatScheme1.Append(lineStyleList1);
            formatScheme1.Append(effectStyleList1);
            formatScheme1.Append(backgroundFillStyleList1);

            themeElements1.Append(colorScheme1);
            themeElements1.Append(fontScheme1);
            themeElements1.Append(formatScheme1);
            A.ObjectDefaults objectDefaults1 = new A.ObjectDefaults();
            A.ExtraColorSchemeList extraColorSchemeList1 = new A.ExtraColorSchemeList();

            theme1.Append(themeElements1);
            theme1.Append(objectDefaults1);
            theme1.Append(extraColorSchemeList1);

            themePart1.Theme = theme1;
        }
Ejemplo n.º 27
0
        // Generates content of slideMasterPart1.
        private void GenerateSlideMasterPart1Content(SlideMasterPart slideMasterPart1)
        {
            SlideMaster slideMaster1 = new SlideMaster();
            slideMaster1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            slideMaster1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            slideMaster1.AddNamespaceDeclaration("p", "http://schemas.openxmlformats.org/presentationml/2006/main");

            CommonSlideData commonSlideData3 = new CommonSlideData();

            Background background1 = new Background();

            BackgroundStyleReference backgroundStyleReference1 = new BackgroundStyleReference(){ Index = (UInt32Value)1003U };
            A.SchemeColor schemeColor14 = new A.SchemeColor(){ Val = A.SchemeColorValues.Background2 };

            backgroundStyleReference1.Append(schemeColor14);

            background1.Append(backgroundStyleReference1);

            ShapeTree shapeTree3 = new ShapeTree();

            NonVisualGroupShapeProperties nonVisualGroupShapeProperties3 = new NonVisualGroupShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties10 = new NonVisualDrawingProperties(){ Id = (UInt32Value)1U, Name = "" };
            NonVisualGroupShapeDrawingProperties nonVisualGroupShapeDrawingProperties3 = new NonVisualGroupShapeDrawingProperties();
            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties10 = new ApplicationNonVisualDrawingProperties();

            nonVisualGroupShapeProperties3.Append(nonVisualDrawingProperties10);
            nonVisualGroupShapeProperties3.Append(nonVisualGroupShapeDrawingProperties3);
            nonVisualGroupShapeProperties3.Append(applicationNonVisualDrawingProperties10);

            GroupShapeProperties groupShapeProperties3 = new GroupShapeProperties();

            A.TransformGroup transformGroup3 = new A.TransformGroup();
            A.Offset offset5 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents5 = new A.Extents(){ Cx = 0L, Cy = 0L };
            A.ChildOffset childOffset3 = new A.ChildOffset(){ X = 0L, Y = 0L };
            A.ChildExtents childExtents3 = new A.ChildExtents(){ Cx = 0L, Cy = 0L };

            transformGroup3.Append(offset5);
            transformGroup3.Append(extents5);
            transformGroup3.Append(childOffset3);
            transformGroup3.Append(childExtents3);

            groupShapeProperties3.Append(transformGroup3);

            Shape shape8 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties8 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties11 = new NonVisualDrawingProperties(){ Id = (UInt32Value)22U, Name = "Title Placeholder 21" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties8 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks8 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties8.Append(shapeLocks8);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties11 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape8 = new PlaceholderShape(){ Type = PlaceholderValues.Title };

            applicationNonVisualDrawingProperties11.Append(placeholderShape8);

            nonVisualShapeProperties8.Append(nonVisualDrawingProperties11);
            nonVisualShapeProperties8.Append(nonVisualShapeDrawingProperties8);
            nonVisualShapeProperties8.Append(applicationNonVisualDrawingProperties11);

            ShapeProperties shapeProperties8 = new ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset6 = new A.Offset(){ X = 609600L, Y = 274638L };
            A.Extents extents6 = new A.Extents(){ Cx = 10972800L, Cy = 1143000L };

            transform2D3.Append(offset6);
            transform2D3.Append(extents6);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties8.Append(transform2D3);
            shapeProperties8.Append(presetGeometry1);

            TextBody textBody8 = new TextBody();

            A.BodyProperties bodyProperties8 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Center };
            A.NormalAutoFit normalAutoFit2 = new A.NormalAutoFit();

            A.Scene3DType scene3DType2 = new A.Scene3DType();
            A.Camera camera2 = new A.Camera(){ Preset = A.PresetCameraValues.OrthographicFront };

            A.LightRig lightRig2 = new A.LightRig(){ Rig = A.LightRigValues.Soft, Direction = A.LightRigDirectionValues.Top };
            A.Rotation rotation2 = new A.Rotation(){ Latitude = 0, Longitude = 0, Revolution = 16800000 };

            lightRig2.Append(rotation2);

            scene3DType2.Append(camera2);
            scene3DType2.Append(lightRig2);

            A.Shape3DType shape3DType2 = new A.Shape3DType(){ PresetMaterial = A.PresetMaterialTypeValues.SoftEdge };
            A.BevelTop bevelTop2 = new A.BevelTop(){ Width = 38100L, Height = 38100L };

            shape3DType2.Append(bevelTop2);

            bodyProperties8.Append(normalAutoFit2);
            bodyProperties8.Append(scene3DType2);
            bodyProperties8.Append(shape3DType2);
            A.ListStyle listStyle8 = new A.ListStyle();

            A.Paragraph paragraph8 = new A.Paragraph();

            A.Run run3 = new A.Run();

            A.RunProperties runProperties5 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties5.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text5 = new A.Text();
            text5.Text = "Click to edit Master title style";

            run3.Append(runProperties5);
            run3.Append(text5);
            A.EndParagraphRunProperties endParagraphRunProperties8 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph8.Append(run3);
            paragraph8.Append(endParagraphRunProperties8);

            textBody8.Append(bodyProperties8);
            textBody8.Append(listStyle8);
            textBody8.Append(paragraph8);

            shape8.Append(nonVisualShapeProperties8);
            shape8.Append(shapeProperties8);
            shape8.Append(textBody8);

            Shape shape9 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties9 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties12 = new NonVisualDrawingProperties(){ Id = (UInt32Value)13U, Name = "Text Placeholder 12" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties9 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks9 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties9.Append(shapeLocks9);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties12 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape9 = new PlaceholderShape(){ Type = PlaceholderValues.Body, Index = (UInt32Value)1U };

            applicationNonVisualDrawingProperties12.Append(placeholderShape9);

            nonVisualShapeProperties9.Append(nonVisualDrawingProperties12);
            nonVisualShapeProperties9.Append(nonVisualShapeDrawingProperties9);
            nonVisualShapeProperties9.Append(applicationNonVisualDrawingProperties12);

            ShapeProperties shapeProperties9 = new ShapeProperties();

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset7 = new A.Offset(){ X = 609600L, Y = 1600200L };
            A.Extents extents7 = new A.Extents(){ Cx = 10972800L, Cy = 4709160L };

            transform2D4.Append(offset7);
            transform2D4.Append(extents7);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            shapeProperties9.Append(transform2D4);
            shapeProperties9.Append(presetGeometry2);

            TextBody textBody9 = new TextBody();

            A.BodyProperties bodyProperties9 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal };
            A.NormalAutoFit normalAutoFit3 = new A.NormalAutoFit();

            bodyProperties9.Append(normalAutoFit3);
            A.ListStyle listStyle9 = new A.ListStyle();

            A.Paragraph paragraph9 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties(){ Level = 0, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run4 = new A.Run();

            A.RunProperties runProperties6 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties6.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text6 = new A.Text();
            text6.Text = "Click to edit Master text styles";

            run4.Append(runProperties6);
            run4.Append(text6);

            paragraph9.Append(paragraphProperties1);
            paragraph9.Append(run4);

            A.Paragraph paragraph10 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties2 = new A.ParagraphProperties(){ Level = 1, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run5 = new A.Run();

            A.RunProperties runProperties7 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties7.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text7 = new A.Text();
            text7.Text = "Second level";

            run5.Append(runProperties7);
            run5.Append(text7);

            paragraph10.Append(paragraphProperties2);
            paragraph10.Append(run5);

            A.Paragraph paragraph11 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties3 = new A.ParagraphProperties(){ Level = 2, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run6 = new A.Run();

            A.RunProperties runProperties8 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties8.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text8 = new A.Text();
            text8.Text = "Third level";

            run6.Append(runProperties8);
            run6.Append(text8);

            paragraph11.Append(paragraphProperties3);
            paragraph11.Append(run6);

            A.Paragraph paragraph12 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties4 = new A.ParagraphProperties(){ Level = 3, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run7 = new A.Run();

            A.RunProperties runProperties9 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties9.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text9 = new A.Text();
            text9.Text = "Fourth level";

            run7.Append(runProperties9);
            run7.Append(text9);

            paragraph12.Append(paragraphProperties4);
            paragraph12.Append(run7);

            A.Paragraph paragraph13 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties5 = new A.ParagraphProperties(){ Level = 4, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.Run run8 = new A.Run();

            A.RunProperties runProperties10 = new A.RunProperties(){ Kumimoji = false, Language = "en-US", AlternativeLanguage = "ja-JP" };
            runProperties10.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text10 = new A.Text();
            text10.Text = "Fifth level";

            run8.Append(runProperties10);
            run8.Append(text10);
            A.EndParagraphRunProperties endParagraphRunProperties9 = new A.EndParagraphRunProperties(){ Kumimoji = false, Language = "en-US" };

            paragraph13.Append(paragraphProperties5);
            paragraph13.Append(run8);
            paragraph13.Append(endParagraphRunProperties9);

            textBody9.Append(bodyProperties9);
            textBody9.Append(listStyle9);
            textBody9.Append(paragraph9);
            textBody9.Append(paragraph10);
            textBody9.Append(paragraph11);
            textBody9.Append(paragraph12);
            textBody9.Append(paragraph13);

            shape9.Append(nonVisualShapeProperties9);
            shape9.Append(shapeProperties9);
            shape9.Append(textBody9);

            Shape shape10 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties10 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties13 = new NonVisualDrawingProperties(){ Id = (UInt32Value)14U, Name = "Date Placeholder 13" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties10 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks10 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties10.Append(shapeLocks10);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties13 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape10 = new PlaceholderShape(){ Type = PlaceholderValues.DateAndTime, Size = PlaceholderSizeValues.Half, Index = (UInt32Value)2U };

            applicationNonVisualDrawingProperties13.Append(placeholderShape10);

            nonVisualShapeProperties10.Append(nonVisualDrawingProperties13);
            nonVisualShapeProperties10.Append(nonVisualShapeDrawingProperties10);
            nonVisualShapeProperties10.Append(applicationNonVisualDrawingProperties13);

            ShapeProperties shapeProperties10 = new ShapeProperties();

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset8 = new A.Offset(){ X = 609600L, Y = 6416676L };
            A.Extents extents8 = new A.Extents(){ Cx = 2844800L, Cy = 365125L };

            transform2D5.Append(offset8);
            transform2D5.Append(extents8);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);

            shapeProperties10.Append(transform2D5);
            shapeProperties10.Append(presetGeometry3);

            TextBody textBody10 = new TextBody();
            A.BodyProperties bodyProperties10 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle10 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties4 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Left, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties13 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill11 = new A.SolidFill();

            A.SchemeColor schemeColor15 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade1 = new A.Shade(){ Val = 50000 };

            schemeColor15.Append(shade1);

            solidFill11.Append(schemeColor15);

            defaultRunProperties13.Append(solidFill11);

            level1ParagraphProperties4.Append(defaultRunProperties13);

            listStyle10.Append(level1ParagraphProperties4);

            A.Paragraph paragraph14 = new A.Paragraph();

            A.Field field3 = new A.Field(){ Id = "{8263865E-5382-4BDD-A09E-2B63F38BCE59}", Type = "datetimeFigureOut" };

            A.RunProperties runProperties11 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties11.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text11 = new A.Text();
            text11.Text = "2012/10/3";

            field3.Append(runProperties11);
            field3.Append(text11);
            A.EndParagraphRunProperties endParagraphRunProperties10 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph14.Append(field3);
            paragraph14.Append(endParagraphRunProperties10);

            textBody10.Append(bodyProperties10);
            textBody10.Append(listStyle10);
            textBody10.Append(paragraph14);

            shape10.Append(nonVisualShapeProperties10);
            shape10.Append(shapeProperties10);
            shape10.Append(textBody10);

            Shape shape11 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties11 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties14 = new NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Footer Placeholder 2" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties11 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks11 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties11.Append(shapeLocks11);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties14 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape(){ Type = PlaceholderValues.Footer, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)3U };

            applicationNonVisualDrawingProperties14.Append(placeholderShape11);

            nonVisualShapeProperties11.Append(nonVisualDrawingProperties14);
            nonVisualShapeProperties11.Append(nonVisualShapeDrawingProperties11);
            nonVisualShapeProperties11.Append(applicationNonVisualDrawingProperties14);

            ShapeProperties shapeProperties11 = new ShapeProperties();

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset9 = new A.Offset(){ X = 4165600L, Y = 6416676L };
            A.Extents extents9 = new A.Extents(){ Cx = 3860800L, Cy = 365125L };

            transform2D6.Append(offset9);
            transform2D6.Append(extents9);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList4);

            shapeProperties11.Append(transform2D6);
            shapeProperties11.Append(presetGeometry4);

            TextBody textBody11 = new TextBody();
            A.BodyProperties bodyProperties11 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle11 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties5 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties14 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill12 = new A.SolidFill();

            A.SchemeColor schemeColor16 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade2 = new A.Shade(){ Val = 50000 };

            schemeColor16.Append(shade2);

            solidFill12.Append(schemeColor16);

            defaultRunProperties14.Append(solidFill12);

            level1ParagraphProperties5.Append(defaultRunProperties14);

            listStyle11.Append(level1ParagraphProperties5);

            A.Paragraph paragraph15 = new A.Paragraph();
            A.EndParagraphRunProperties endParagraphRunProperties11 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph15.Append(endParagraphRunProperties11);

            textBody11.Append(bodyProperties11);
            textBody11.Append(listStyle11);
            textBody11.Append(paragraph15);

            shape11.Append(nonVisualShapeProperties11);
            shape11.Append(shapeProperties11);
            shape11.Append(textBody11);

            Shape shape12 = new Shape();

            NonVisualShapeProperties nonVisualShapeProperties12 = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties15 = new NonVisualDrawingProperties(){ Id = (UInt32Value)23U, Name = "Slide Number Placeholder 22" };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties12 = new NonVisualShapeDrawingProperties();
            A.ShapeLocks shapeLocks12 = new A.ShapeLocks(){ NoGrouping = true };

            nonVisualShapeDrawingProperties12.Append(shapeLocks12);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties15 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape(){ Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)4U };

            applicationNonVisualDrawingProperties15.Append(placeholderShape12);

            nonVisualShapeProperties12.Append(nonVisualDrawingProperties15);
            nonVisualShapeProperties12.Append(nonVisualShapeDrawingProperties12);
            nonVisualShapeProperties12.Append(applicationNonVisualDrawingProperties15);

            ShapeProperties shapeProperties12 = new ShapeProperties();

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset10 = new A.Offset(){ X = 10566400L, Y = 6416676L };
            A.Extents extents10 = new A.Extents(){ Cx = 1016000L, Cy = 365125L };

            transform2D7.Append(offset10);
            transform2D7.Append(extents10);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList5);

            shapeProperties12.Append(transform2D7);
            shapeProperties12.Append(presetGeometry5);

            TextBody textBody12 = new TextBody();
            A.BodyProperties bodyProperties12 = new A.BodyProperties(){ Vertical = A.TextVerticalValues.Horizontal, LeftInset = 0, RightInset = 0, Anchor = A.TextAnchoringTypeValues.Bottom };

            A.ListStyle listStyle12 = new A.ListStyle();

            A.Level1ParagraphProperties level1ParagraphProperties6 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Right, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties15 = new A.DefaultRunProperties(){ Kumimoji = false, FontSize = 1200 };

            A.SolidFill solidFill13 = new A.SolidFill();

            A.SchemeColor schemeColor17 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade3 = new A.Shade(){ Val = 50000 };

            schemeColor17.Append(shade3);

            solidFill13.Append(schemeColor17);

            defaultRunProperties15.Append(solidFill13);

            level1ParagraphProperties6.Append(defaultRunProperties15);

            listStyle12.Append(level1ParagraphProperties6);

            A.Paragraph paragraph16 = new A.Paragraph();

            A.Field field4 = new A.Field(){ Id = "{DF0B8B9E-EDC2-479A-B980-EDD8632819B1}", Type = "slidenum" };

            A.RunProperties runProperties12 = new A.RunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };
            runProperties12.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.Text text12 = new A.Text();
            text12.Text = "‹#›";

            field4.Append(runProperties12);
            field4.Append(text12);
            A.EndParagraphRunProperties endParagraphRunProperties12 = new A.EndParagraphRunProperties(){ Kumimoji = true, Language = "ja-JP", AlternativeLanguage = "en-US" };

            paragraph16.Append(field4);
            paragraph16.Append(endParagraphRunProperties12);

            textBody12.Append(bodyProperties12);
            textBody12.Append(listStyle12);
            textBody12.Append(paragraph16);

            shape12.Append(nonVisualShapeProperties12);
            shape12.Append(shapeProperties12);
            shape12.Append(textBody12);

            shapeTree3.Append(nonVisualGroupShapeProperties3);
            shapeTree3.Append(groupShapeProperties3);
            shapeTree3.Append(shape8);
            shapeTree3.Append(shape9);
            shapeTree3.Append(shape10);
            shapeTree3.Append(shape11);
            shapeTree3.Append(shape12);

            CommonSlideDataExtensionList commonSlideDataExtensionList3 = new CommonSlideDataExtensionList();

            CommonSlideDataExtension commonSlideDataExtension3 = new CommonSlideDataExtension(){ Uri = "{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}" };

            P14.CreationId creationId3 = new P14.CreationId(){ Val = (UInt32Value)2409212196U };
            creationId3.AddNamespaceDeclaration("p14", "http://schemas.microsoft.com/office/powerpoint/2010/main");

            commonSlideDataExtension3.Append(creationId3);

            commonSlideDataExtensionList3.Append(commonSlideDataExtension3);

            commonSlideData3.Append(background1);
            commonSlideData3.Append(shapeTree3);
            commonSlideData3.Append(commonSlideDataExtensionList3);
            ColorMap colorMap1 = new ColorMap(){ Background1 = A.ColorSchemeIndexValues.Dark1, Text1 = A.ColorSchemeIndexValues.Light1, Background2 = A.ColorSchemeIndexValues.Dark2, Text2 = A.ColorSchemeIndexValues.Light2, Accent1 = A.ColorSchemeIndexValues.Accent1, Accent2 = A.ColorSchemeIndexValues.Accent2, Accent3 = A.ColorSchemeIndexValues.Accent3, Accent4 = A.ColorSchemeIndexValues.Accent4, Accent5 = A.ColorSchemeIndexValues.Accent5, Accent6 = A.ColorSchemeIndexValues.Accent6, Hyperlink = A.ColorSchemeIndexValues.Hyperlink, FollowedHyperlink = A.ColorSchemeIndexValues.FollowedHyperlink };

            SlideLayoutIdList slideLayoutIdList1 = new SlideLayoutIdList();
            SlideLayoutId slideLayoutId1 = new SlideLayoutId(){ Id = (UInt32Value)2147483661U, RelationshipId = "rId1" };
            SlideLayoutId slideLayoutId2 = new SlideLayoutId(){ Id = (UInt32Value)2147483662U, RelationshipId = "rId2" };
            SlideLayoutId slideLayoutId3 = new SlideLayoutId(){ Id = (UInt32Value)2147483663U, RelationshipId = "rId3" };
            SlideLayoutId slideLayoutId4 = new SlideLayoutId(){ Id = (UInt32Value)2147483664U, RelationshipId = "rId4" };
            SlideLayoutId slideLayoutId5 = new SlideLayoutId(){ Id = (UInt32Value)2147483665U, RelationshipId = "rId5" };
            SlideLayoutId slideLayoutId6 = new SlideLayoutId(){ Id = (UInt32Value)2147483666U, RelationshipId = "rId6" };
            SlideLayoutId slideLayoutId7 = new SlideLayoutId(){ Id = (UInt32Value)2147483667U, RelationshipId = "rId7" };
            SlideLayoutId slideLayoutId8 = new SlideLayoutId(){ Id = (UInt32Value)2147483668U, RelationshipId = "rId8" };
            SlideLayoutId slideLayoutId9 = new SlideLayoutId(){ Id = (UInt32Value)2147483669U, RelationshipId = "rId9" };
            SlideLayoutId slideLayoutId10 = new SlideLayoutId(){ Id = (UInt32Value)2147483670U, RelationshipId = "rId10" };
            SlideLayoutId slideLayoutId11 = new SlideLayoutId(){ Id = (UInt32Value)2147483671U, RelationshipId = "rId11" };

            slideLayoutIdList1.Append(slideLayoutId1);
            slideLayoutIdList1.Append(slideLayoutId2);
            slideLayoutIdList1.Append(slideLayoutId3);
            slideLayoutIdList1.Append(slideLayoutId4);
            slideLayoutIdList1.Append(slideLayoutId5);
            slideLayoutIdList1.Append(slideLayoutId6);
            slideLayoutIdList1.Append(slideLayoutId7);
            slideLayoutIdList1.Append(slideLayoutId8);
            slideLayoutIdList1.Append(slideLayoutId9);
            slideLayoutIdList1.Append(slideLayoutId10);
            slideLayoutIdList1.Append(slideLayoutId11);

            TextStyles textStyles1 = new TextStyles();

            TitleStyle titleStyle1 = new TitleStyle();

            A.Level1ParagraphProperties level1ParagraphProperties7 = new A.Level1ParagraphProperties(){ Alignment = A.TextAlignmentTypeValues.Center, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore1 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent1 = new A.SpacingPercent(){ Val = 0 };

            spaceBefore1.Append(spacingPercent1);
            A.NoBullet noBullet10 = new A.NoBullet();

            A.DefaultRunProperties defaultRunProperties16 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 4100, Bold = true, Kerning = 1200, Capital = A.TextCapsValues.None, Baseline = 0 };

            A.Outline outline2 = new A.Outline(){ Width = 6350 };
            A.NoFill noFill2 = new A.NoFill();

            outline2.Append(noFill2);

            A.GradientFill gradientFill2 = new A.GradientFill();

            A.GradientStopList gradientStopList2 = new A.GradientStopList();

            A.GradientStop gradientStop4 = new A.GradientStop(){ Position = 0 };

            A.SchemeColor schemeColor18 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint4 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation4 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor18.Append(tint4);
            schemeColor18.Append(saturationModulation4);

            gradientStop4.Append(schemeColor18);

            A.GradientStop gradientStop5 = new A.GradientStop(){ Position = 73000 };

            A.SchemeColor schemeColor19 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint5 = new A.Tint(){ Val = 73000 };
            A.SaturationModulation saturationModulation5 = new A.SaturationModulation(){ Val = 145000 };

            schemeColor19.Append(tint5);
            schemeColor19.Append(saturationModulation5);

            gradientStop5.Append(schemeColor19);

            A.GradientStop gradientStop6 = new A.GradientStop(){ Position = 100000 };

            A.SchemeColor schemeColor20 = new A.SchemeColor(){ Val = A.SchemeColorValues.Accent1 };
            A.Tint tint6 = new A.Tint(){ Val = 83000 };
            A.SaturationModulation saturationModulation6 = new A.SaturationModulation(){ Val = 143000 };

            schemeColor20.Append(tint6);
            schemeColor20.Append(saturationModulation6);

            gradientStop6.Append(schemeColor20);

            gradientStopList2.Append(gradientStop4);
            gradientStopList2.Append(gradientStop5);
            gradientStopList2.Append(gradientStop6);
            A.LinearGradientFill linearGradientFill2 = new A.LinearGradientFill(){ Angle = 4800000, Scaled = true };

            gradientFill2.Append(gradientStopList2);
            gradientFill2.Append(linearGradientFill2);

            A.EffectList effectList2 = new A.EffectList();

            A.OuterShadow outerShadow2 = new A.OuterShadow(){ BlurRadius = 114300L, Distance = 101600L, Direction = 2700000, Alignment = A.RectangleAlignmentValues.TopLeft, RotateWithShape = false };

            A.RgbColorModelHex rgbColorModelHex2 = new A.RgbColorModelHex(){ Val = "000000" };
            A.Alpha alpha2 = new A.Alpha(){ Val = 40000 };

            rgbColorModelHex2.Append(alpha2);

            outerShadow2.Append(rgbColorModelHex2);

            effectList2.Append(outerShadow2);
            A.LatinFont latinFont10 = new A.LatinFont(){ Typeface = "+mj-lt" };
            A.EastAsianFont eastAsianFont10 = new A.EastAsianFont(){ Typeface = "+mj-ea" };
            A.ComplexScriptFont complexScriptFont10 = new A.ComplexScriptFont(){ Typeface = "+mj-cs" };

            defaultRunProperties16.Append(outline2);
            defaultRunProperties16.Append(gradientFill2);
            defaultRunProperties16.Append(effectList2);
            defaultRunProperties16.Append(latinFont10);
            defaultRunProperties16.Append(eastAsianFont10);
            defaultRunProperties16.Append(complexScriptFont10);

            level1ParagraphProperties7.Append(spaceBefore1);
            level1ParagraphProperties7.Append(noBullet10);
            level1ParagraphProperties7.Append(defaultRunProperties16);

            titleStyle1.Append(level1ParagraphProperties7);

            BodyStyle bodyStyle1 = new BodyStyle();

            A.Level1ParagraphProperties level1ParagraphProperties8 = new A.Level1ParagraphProperties(){ LeftMargin = 548640, Indent = -411480, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore2 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent2 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore2.Append(spacingPercent2);

            A.BulletColor bulletColor1 = new A.BulletColor();

            A.SchemeColor schemeColor21 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };
            A.Shade shade4 = new A.Shade(){ Val = 95000 };

            schemeColor21.Append(shade4);

            bulletColor1.Append(schemeColor21);
            A.BulletSizePercentage bulletSizePercentage1 = new A.BulletSizePercentage(){ Val = 65000 };
            A.BulletFont bulletFont1 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet1 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties17 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2800, Kerning = 1200 };

            A.SolidFill solidFill14 = new A.SolidFill();
            A.SchemeColor schemeColor22 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill14.Append(schemeColor22);
            A.LatinFont latinFont11 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont11 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont11 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties17.Append(solidFill14);
            defaultRunProperties17.Append(latinFont11);
            defaultRunProperties17.Append(eastAsianFont11);
            defaultRunProperties17.Append(complexScriptFont11);

            level1ParagraphProperties8.Append(spaceBefore2);
            level1ParagraphProperties8.Append(bulletColor1);
            level1ParagraphProperties8.Append(bulletSizePercentage1);
            level1ParagraphProperties8.Append(bulletFont1);
            level1ParagraphProperties8.Append(characterBullet1);
            level1ParagraphProperties8.Append(defaultRunProperties17);

            A.Level2ParagraphProperties level2ParagraphProperties3 = new A.Level2ParagraphProperties(){ LeftMargin = 868680, Indent = -283464, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore3 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent3 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore3.Append(spacingPercent3);

            A.BulletColor bulletColor2 = new A.BulletColor();
            A.SchemeColor schemeColor23 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor2.Append(schemeColor23);
            A.BulletSizePercentage bulletSizePercentage2 = new A.BulletSizePercentage(){ Val = 80000 };
            A.BulletFont bulletFont2 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet2 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties18 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2400, Kerning = 1200 };

            A.SolidFill solidFill15 = new A.SolidFill();
            A.SchemeColor schemeColor24 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill15.Append(schemeColor24);
            A.LatinFont latinFont12 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont12 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont12 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties18.Append(solidFill15);
            defaultRunProperties18.Append(latinFont12);
            defaultRunProperties18.Append(eastAsianFont12);
            defaultRunProperties18.Append(complexScriptFont12);

            level2ParagraphProperties3.Append(spaceBefore3);
            level2ParagraphProperties3.Append(bulletColor2);
            level2ParagraphProperties3.Append(bulletSizePercentage2);
            level2ParagraphProperties3.Append(bulletFont2);
            level2ParagraphProperties3.Append(characterBullet2);
            level2ParagraphProperties3.Append(defaultRunProperties18);

            A.Level3ParagraphProperties level3ParagraphProperties3 = new A.Level3ParagraphProperties(){ LeftMargin = 1133856, Indent = -228600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore4 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent4 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore4.Append(spacingPercent4);

            A.BulletColor bulletColor3 = new A.BulletColor();
            A.SchemeColor schemeColor25 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor3.Append(schemeColor25);
            A.BulletSizePercentage bulletSizePercentage3 = new A.BulletSizePercentage(){ Val = 95000 };
            A.BulletFont bulletFont3 = new A.BulletFont(){ Typeface = "Wingdings" };
            A.CharacterBullet characterBullet3 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties19 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2200, Kerning = 1200 };

            A.SolidFill solidFill16 = new A.SolidFill();
            A.SchemeColor schemeColor26 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill16.Append(schemeColor26);
            A.LatinFont latinFont13 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont13 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont13 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties19.Append(solidFill16);
            defaultRunProperties19.Append(latinFont13);
            defaultRunProperties19.Append(eastAsianFont13);
            defaultRunProperties19.Append(complexScriptFont13);

            level3ParagraphProperties3.Append(spaceBefore4);
            level3ParagraphProperties3.Append(bulletColor3);
            level3ParagraphProperties3.Append(bulletSizePercentage3);
            level3ParagraphProperties3.Append(bulletFont3);
            level3ParagraphProperties3.Append(characterBullet3);
            level3ParagraphProperties3.Append(defaultRunProperties19);

            A.Level4ParagraphProperties level4ParagraphProperties3 = new A.Level4ParagraphProperties(){ LeftMargin = 1353312, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore5 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent5 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore5.Append(spacingPercent5);

            A.BulletColor bulletColor4 = new A.BulletColor();
            A.SchemeColor schemeColor27 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor4.Append(schemeColor27);
            A.BulletSizePercentage bulletSizePercentage4 = new A.BulletSizePercentage(){ Val = 100000 };
            A.BulletFont bulletFont4 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet4 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties20 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill17 = new A.SolidFill();
            A.SchemeColor schemeColor28 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill17.Append(schemeColor28);
            A.LatinFont latinFont14 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont14 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont14 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties20.Append(solidFill17);
            defaultRunProperties20.Append(latinFont14);
            defaultRunProperties20.Append(eastAsianFont14);
            defaultRunProperties20.Append(complexScriptFont14);

            level4ParagraphProperties3.Append(spaceBefore5);
            level4ParagraphProperties3.Append(bulletColor4);
            level4ParagraphProperties3.Append(bulletSizePercentage4);
            level4ParagraphProperties3.Append(bulletFont4);
            level4ParagraphProperties3.Append(characterBullet4);
            level4ParagraphProperties3.Append(defaultRunProperties20);

            A.Level5ParagraphProperties level5ParagraphProperties3 = new A.Level5ParagraphProperties(){ LeftMargin = 1545336, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore6 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent6 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore6.Append(spacingPercent6);

            A.BulletColor bulletColor5 = new A.BulletColor();
            A.SchemeColor schemeColor29 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor5.Append(schemeColor29);
            A.BulletFont bulletFont5 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet5 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties21 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 2000, Kerning = 1200 };

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor30 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill18.Append(schemeColor30);
            A.LatinFont latinFont15 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont15 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont15 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties21.Append(solidFill18);
            defaultRunProperties21.Append(latinFont15);
            defaultRunProperties21.Append(eastAsianFont15);
            defaultRunProperties21.Append(complexScriptFont15);

            level5ParagraphProperties3.Append(spaceBefore6);
            level5ParagraphProperties3.Append(bulletColor5);
            level5ParagraphProperties3.Append(bulletFont5);
            level5ParagraphProperties3.Append(characterBullet5);
            level5ParagraphProperties3.Append(defaultRunProperties21);

            A.Level6ParagraphProperties level6ParagraphProperties3 = new A.Level6ParagraphProperties(){ LeftMargin = 1764792, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore7 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent7 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore7.Append(spacingPercent7);

            A.BulletColor bulletColor6 = new A.BulletColor();
            A.SchemeColor schemeColor31 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor6.Append(schemeColor31);
            A.BulletFont bulletFont6 = new A.BulletFont(){ Typeface = "Wingdings 3" };
            A.CharacterBullet characterBullet6 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties22 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1800, Kerning = 1200 };

            A.SolidFill solidFill19 = new A.SolidFill();
            A.SchemeColor schemeColor32 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill19.Append(schemeColor32);
            A.LatinFont latinFont16 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont16 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont16 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties22.Append(solidFill19);
            defaultRunProperties22.Append(latinFont16);
            defaultRunProperties22.Append(eastAsianFont16);
            defaultRunProperties22.Append(complexScriptFont16);

            level6ParagraphProperties3.Append(spaceBefore7);
            level6ParagraphProperties3.Append(bulletColor6);
            level6ParagraphProperties3.Append(bulletFont6);
            level6ParagraphProperties3.Append(characterBullet6);
            level6ParagraphProperties3.Append(defaultRunProperties22);

            A.Level7ParagraphProperties level7ParagraphProperties3 = new A.Level7ParagraphProperties(){ LeftMargin = 1965960, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore8 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent8 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore8.Append(spacingPercent8);

            A.BulletColor bulletColor7 = new A.BulletColor();
            A.SchemeColor schemeColor33 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor7.Append(schemeColor33);
            A.BulletFont bulletFont7 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet7 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties23 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1600, Kerning = 1200 };

            A.SolidFill solidFill20 = new A.SolidFill();
            A.SchemeColor schemeColor34 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill20.Append(schemeColor34);
            A.LatinFont latinFont17 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont17 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont17 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties23.Append(solidFill20);
            defaultRunProperties23.Append(latinFont17);
            defaultRunProperties23.Append(eastAsianFont17);
            defaultRunProperties23.Append(complexScriptFont17);

            level7ParagraphProperties3.Append(spaceBefore8);
            level7ParagraphProperties3.Append(bulletColor7);
            level7ParagraphProperties3.Append(bulletFont7);
            level7ParagraphProperties3.Append(characterBullet7);
            level7ParagraphProperties3.Append(defaultRunProperties23);

            A.Level8ParagraphProperties level8ParagraphProperties3 = new A.Level8ParagraphProperties(){ LeftMargin = 2167128, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore9 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent9 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore9.Append(spacingPercent9);

            A.BulletColor bulletColor8 = new A.BulletColor();
            A.SchemeColor schemeColor35 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor8.Append(schemeColor35);
            A.BulletFont bulletFont8 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet8 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties24 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200 };

            A.SolidFill solidFill21 = new A.SolidFill();
            A.SchemeColor schemeColor36 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill21.Append(schemeColor36);
            A.LatinFont latinFont18 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont18 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont18 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties24.Append(solidFill21);
            defaultRunProperties24.Append(latinFont18);
            defaultRunProperties24.Append(eastAsianFont18);
            defaultRunProperties24.Append(complexScriptFont18);

            level8ParagraphProperties3.Append(spaceBefore9);
            level8ParagraphProperties3.Append(bulletColor8);
            level8ParagraphProperties3.Append(bulletFont8);
            level8ParagraphProperties3.Append(characterBullet8);
            level8ParagraphProperties3.Append(defaultRunProperties24);

            A.Level9ParagraphProperties level9ParagraphProperties3 = new A.Level9ParagraphProperties(){ LeftMargin = 2368296, Indent = -182880, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.SpaceBefore spaceBefore10 = new A.SpaceBefore();
            A.SpacingPercent spacingPercent10 = new A.SpacingPercent(){ Val = 20000 };

            spaceBefore10.Append(spacingPercent10);

            A.BulletColor bulletColor9 = new A.BulletColor();
            A.SchemeColor schemeColor37 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            bulletColor9.Append(schemeColor37);
            A.BulletFont bulletFont9 = new A.BulletFont(){ Typeface = "Wingdings 2" };
            A.CharacterBullet characterBullet9 = new A.CharacterBullet(){ Char = "" };

            A.DefaultRunProperties defaultRunProperties25 = new A.DefaultRunProperties(){ Kumimoji = true, FontSize = 1400, Kerning = 1200, Baseline = 0 };

            A.SolidFill solidFill22 = new A.SolidFill();
            A.SchemeColor schemeColor38 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill22.Append(schemeColor38);
            A.LatinFont latinFont19 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont19 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont19 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties25.Append(solidFill22);
            defaultRunProperties25.Append(latinFont19);
            defaultRunProperties25.Append(eastAsianFont19);
            defaultRunProperties25.Append(complexScriptFont19);

            level9ParagraphProperties3.Append(spaceBefore10);
            level9ParagraphProperties3.Append(bulletColor9);
            level9ParagraphProperties3.Append(bulletFont9);
            level9ParagraphProperties3.Append(characterBullet9);
            level9ParagraphProperties3.Append(defaultRunProperties25);

            bodyStyle1.Append(level1ParagraphProperties8);
            bodyStyle1.Append(level2ParagraphProperties3);
            bodyStyle1.Append(level3ParagraphProperties3);
            bodyStyle1.Append(level4ParagraphProperties3);
            bodyStyle1.Append(level5ParagraphProperties3);
            bodyStyle1.Append(level6ParagraphProperties3);
            bodyStyle1.Append(level7ParagraphProperties3);
            bodyStyle1.Append(level8ParagraphProperties3);
            bodyStyle1.Append(level9ParagraphProperties3);

            OtherStyle otherStyle1 = new OtherStyle();

            A.Level1ParagraphProperties level1ParagraphProperties9 = new A.Level1ParagraphProperties(){ LeftMargin = 0, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties26 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill23 = new A.SolidFill();
            A.SchemeColor schemeColor39 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill23.Append(schemeColor39);
            A.LatinFont latinFont20 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont20 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont20 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties26.Append(solidFill23);
            defaultRunProperties26.Append(latinFont20);
            defaultRunProperties26.Append(eastAsianFont20);
            defaultRunProperties26.Append(complexScriptFont20);

            level1ParagraphProperties9.Append(defaultRunProperties26);

            A.Level2ParagraphProperties level2ParagraphProperties4 = new A.Level2ParagraphProperties(){ LeftMargin = 457200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties27 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill24 = new A.SolidFill();
            A.SchemeColor schemeColor40 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill24.Append(schemeColor40);
            A.LatinFont latinFont21 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont21 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont21 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties27.Append(solidFill24);
            defaultRunProperties27.Append(latinFont21);
            defaultRunProperties27.Append(eastAsianFont21);
            defaultRunProperties27.Append(complexScriptFont21);

            level2ParagraphProperties4.Append(defaultRunProperties27);

            A.Level3ParagraphProperties level3ParagraphProperties4 = new A.Level3ParagraphProperties(){ LeftMargin = 914400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties28 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill25 = new A.SolidFill();
            A.SchemeColor schemeColor41 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill25.Append(schemeColor41);
            A.LatinFont latinFont22 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont22 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont22 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties28.Append(solidFill25);
            defaultRunProperties28.Append(latinFont22);
            defaultRunProperties28.Append(eastAsianFont22);
            defaultRunProperties28.Append(complexScriptFont22);

            level3ParagraphProperties4.Append(defaultRunProperties28);

            A.Level4ParagraphProperties level4ParagraphProperties4 = new A.Level4ParagraphProperties(){ LeftMargin = 1371600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties29 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill26 = new A.SolidFill();
            A.SchemeColor schemeColor42 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill26.Append(schemeColor42);
            A.LatinFont latinFont23 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont23 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont23 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties29.Append(solidFill26);
            defaultRunProperties29.Append(latinFont23);
            defaultRunProperties29.Append(eastAsianFont23);
            defaultRunProperties29.Append(complexScriptFont23);

            level4ParagraphProperties4.Append(defaultRunProperties29);

            A.Level5ParagraphProperties level5ParagraphProperties4 = new A.Level5ParagraphProperties(){ LeftMargin = 1828800, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties30 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill27 = new A.SolidFill();
            A.SchemeColor schemeColor43 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill27.Append(schemeColor43);
            A.LatinFont latinFont24 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont24 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont24 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties30.Append(solidFill27);
            defaultRunProperties30.Append(latinFont24);
            defaultRunProperties30.Append(eastAsianFont24);
            defaultRunProperties30.Append(complexScriptFont24);

            level5ParagraphProperties4.Append(defaultRunProperties30);

            A.Level6ParagraphProperties level6ParagraphProperties4 = new A.Level6ParagraphProperties(){ LeftMargin = 2286000, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties31 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill28 = new A.SolidFill();
            A.SchemeColor schemeColor44 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill28.Append(schemeColor44);
            A.LatinFont latinFont25 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont25 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont25 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties31.Append(solidFill28);
            defaultRunProperties31.Append(latinFont25);
            defaultRunProperties31.Append(eastAsianFont25);
            defaultRunProperties31.Append(complexScriptFont25);

            level6ParagraphProperties4.Append(defaultRunProperties31);

            A.Level7ParagraphProperties level7ParagraphProperties4 = new A.Level7ParagraphProperties(){ LeftMargin = 2743200, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties32 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill29 = new A.SolidFill();
            A.SchemeColor schemeColor45 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill29.Append(schemeColor45);
            A.LatinFont latinFont26 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont26 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont26 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties32.Append(solidFill29);
            defaultRunProperties32.Append(latinFont26);
            defaultRunProperties32.Append(eastAsianFont26);
            defaultRunProperties32.Append(complexScriptFont26);

            level7ParagraphProperties4.Append(defaultRunProperties32);

            A.Level8ParagraphProperties level8ParagraphProperties4 = new A.Level8ParagraphProperties(){ LeftMargin = 3200400, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties33 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill30 = new A.SolidFill();
            A.SchemeColor schemeColor46 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill30.Append(schemeColor46);
            A.LatinFont latinFont27 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont27 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont27 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties33.Append(solidFill30);
            defaultRunProperties33.Append(latinFont27);
            defaultRunProperties33.Append(eastAsianFont27);
            defaultRunProperties33.Append(complexScriptFont27);

            level8ParagraphProperties4.Append(defaultRunProperties33);

            A.Level9ParagraphProperties level9ParagraphProperties4 = new A.Level9ParagraphProperties(){ LeftMargin = 3657600, Alignment = A.TextAlignmentTypeValues.Left, RightToLeft = false, EastAsianLineBreak = true, LatinLineBreak = false, Height = true };

            A.DefaultRunProperties defaultRunProperties34 = new A.DefaultRunProperties(){ Kumimoji = true, Kerning = 1200 };

            A.SolidFill solidFill31 = new A.SolidFill();
            A.SchemeColor schemeColor47 = new A.SchemeColor(){ Val = A.SchemeColorValues.Text1 };

            solidFill31.Append(schemeColor47);
            A.LatinFont latinFont28 = new A.LatinFont(){ Typeface = "+mn-lt" };
            A.EastAsianFont eastAsianFont28 = new A.EastAsianFont(){ Typeface = "+mn-ea" };
            A.ComplexScriptFont complexScriptFont28 = new A.ComplexScriptFont(){ Typeface = "+mn-cs" };

            defaultRunProperties34.Append(solidFill31);
            defaultRunProperties34.Append(latinFont28);
            defaultRunProperties34.Append(eastAsianFont28);
            defaultRunProperties34.Append(complexScriptFont28);

            level9ParagraphProperties4.Append(defaultRunProperties34);

            otherStyle1.Append(level1ParagraphProperties9);
            otherStyle1.Append(level2ParagraphProperties4);
            otherStyle1.Append(level3ParagraphProperties4);
            otherStyle1.Append(level4ParagraphProperties4);
            otherStyle1.Append(level5ParagraphProperties4);
            otherStyle1.Append(level6ParagraphProperties4);
            otherStyle1.Append(level7ParagraphProperties4);
            otherStyle1.Append(level8ParagraphProperties4);
            otherStyle1.Append(level9ParagraphProperties4);

            textStyles1.Append(titleStyle1);
            textStyles1.Append(bodyStyle1);
            textStyles1.Append(otherStyle1);

            slideMaster1.Append(commonSlideData3);
            slideMaster1.Append(colorMap1);
            slideMaster1.Append(slideLayoutIdList1);
            slideMaster1.Append(textStyles1);

            slideMasterPart1.SlideMaster = slideMaster1;
        }