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

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

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

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

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

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

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

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

                runProperties3.Append(hyperlinkOnClick1);
            }


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

            run = GetParaRun(false);
            if(title != "")
                AppendText(title, "");
        }
    }
    private Run GetTableCellRun(TableRow tr, int width, int gridSpan, JustificationValues justification, int fontSize, bool globalTC)
    {
        TableCell tcRun = new TableCell();
        TableCellProperties properties = new TableCellProperties();
        if(width > 0)
            properties.Append(new TableCellWidth() { Type = TableWidthUnitValues.Dxa, Width = StringValue.FromString(width.ToString()) });

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

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

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

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

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

        //if (globalTC)
        //    tcLetter = tcRun;
        firstLine = false;
        return run;
    }
    private Run GetTextRun(string text, string fontName, int size, bool bold, bool italic, int breaks)
    {
        Run run = new Run();
        RunProperties runProperties = new RunProperties();

        runProperties.Append(new RunFonts() { Ascii = fontName });
        runProperties.Append(new FontSize() { Val = size.ToString() });

        RunFonts fnts = new RunFonts();

        if (bold)
            runProperties.Append(new Bold());
        if (italic)
            runProperties.Append(new Italic());

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

        for (int ibreak = 0; ibreak < breaks; ibreak++)
            run.Append(new Break());

        return run;
    }
Exemplo n.º 5
0
        public static Run GenerateRun(string relationshipId, System.Drawing.Image img)
        {
            System.Drawing.Size Emu = CalculateEmus(img);

            Run run1 = new Run();

            RunProperties runProperties1 = new RunProperties();
            NoProof noProof1 = new NoProof();

            runProperties1.Append(noProof1);

            Drawing drawing1 = new Drawing();

            Wp.Inline inline1 = new Wp.Inline() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)0U, DistanceFromRight = (UInt32Value)0U };
            Wp.Extent extent1 = new Wp.Extent() { Cx = Emu.Width, Cy = Emu.Height };
            Wp.EffectExtent effectExtent1 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.DocProperties docProperties1 = new Wp.DocProperties() { Id = (UInt32Value)1U, Name = "图片 1" };

            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Wp.NonVisualGraphicFrameDrawingProperties();

            A.GraphicFrameLocks graphicFrameLocks1 = new A.GraphicFrameLocks() { NoChangeAspect = true };
            graphicFrameLocks1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            nonVisualGraphicFrameDrawingProperties1.Append(graphicFrameLocks1);

            A.Graphic graphic1 = new A.Graphic();
            graphic1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

            Pic.Picture picture1 = new Pic.Picture();
            picture1.AddNamespaceDeclaration("pic", "http://schemas.openxmlformats.org/drawingml/2006/picture");

            Pic.NonVisualPictureProperties nonVisualPictureProperties1 = new Pic.NonVisualPictureProperties();
            Pic.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Pic.NonVisualDrawingProperties() { Id = (UInt32Value)0U, Name = "随机图片名" };
            Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Pic.NonVisualPictureDrawingProperties();

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Pic.BlipFill blipFill1 = new Pic.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = relationshipId };

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension() { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi() { Val = false };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension1.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);

            blip1.Append(blipExtensionList1);

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents() { Cx = Emu.Width, Cy = Emu.Height };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

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

            presetGeometry1.Append(adjustValueList1);

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

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);

            graphicData1.Append(picture1);

            graphic1.Append(graphicData1);

            inline1.Append(extent1);
            inline1.Append(effectExtent1);
            inline1.Append(docProperties1);
            inline1.Append(nonVisualGraphicFrameDrawingProperties1);
            inline1.Append(graphic1);

            drawing1.Append(inline1);

            run1.Append(runProperties1);
            run1.Append(drawing1);
            return run1;
        }
    private TableRow GetTable(bool blankLine, Paragraph para = null)
    {
        if (blankLine)
        {
            paragraph = new Paragraph();
            ParagraphProperties paraProperties = new ParagraphProperties();
            paraProperties.Append(new Justification() { Val = JustificationValues.Left });
            paraProperties.Append(new SpacingBetweenLines() { After = "10", Line = "240", LineRule = LineSpacingRuleValues.Auto });
            paragraph.Append(paraProperties);
            body.Append(paragraph);
            Run run = new Run();
            RunProperties runProperties = new RunProperties();
            runProperties.Append(new RunFonts() { Ascii = "Cambria" });
            runProperties.Append(new FontSize() { Val = "3" });
            run.Append(runProperties);
            run.Append(new Text(".") { Space = SpaceProcessingModeValues.Preserve });
            paragraph.Append(run);
        }

        Table tbl = new Table();
        TableProperties tableProperties = new TableProperties();
        if(para != null)  // this is used only for drawing the H
            tableProperties.Append(new TableWidth() { Type = TableWidthUnitValues.Auto, Width = "0" });
        else
            tableProperties.Append(new TableWidth() { Type = TableWidthUnitValues.Pct, Width = "5000" });
        tableProperties.Append(new TableBorders(){
                                    TopBorder = new TopBorder() { Val = BorderValues.None },
                                    BottomBorder = new BottomBorder() { Val = BorderValues.None },
                                    LeftBorder = new LeftBorder() { Val = BorderValues.None },
                                    RightBorder = new RightBorder() { Val = BorderValues.None }
                                });
        tableProperties.Append(new AutofitToFirstFixedWidthCell());
        tbl.Append(tableProperties);
        if (para != null)
            para.Append(tbl);
        else
            body.Append(tbl);
        TableRow trLetter = new TableRow();
        tbl.Append(trLetter);
        
        return trLetter;
    }
Exemplo n.º 7
0
        // Creates an Paragraph instance and adds its children.
        public TableRow GenerateTableRow(IndividualInfo ii, string iid)
        {
            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00442AD3" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            CantSplit cantSplit1 = new CantSplit();

            tableRowProperties1.Append(cantSplit1);

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "4788", Type = TableWidthUnitValues.Dxa };

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run1 = new Run();
            Break break1 = new Break();

            run1.Append(break1);

            Run run2 = new Run();

            RunProperties runProperties1 = new RunProperties();
            NoProof noProof1 = new NoProof();

            runProperties1.Append(noProof1);
            Text text1 = new Text();
            text1.Text = ii.FirstName;

            run2.Append(runProperties1);
            run2.Append(text1);

            Run run3 = new Run();
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text2.Text = " ";

            run3.Append(text2);

            Run run4 = new Run();

            RunProperties runProperties2 = new RunProperties();
            NoProof noProof2 = new NoProof();

            runProperties2.Append(noProof2);
            Text text3 = new Text();
            text3.Text = ii.LastName;

            run4.Append(runProperties2);
            run4.Append(text3);

            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(run3);
            paragraph1.Append(run4);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };

            Run run5 = new Run();

            RunProperties runProperties3 = new RunProperties();
            NoProof noProof3 = new NoProof();

            runProperties3.Append(noProof3);
            Text text4 = new Text();
            text4.Text = ii.Address;

            run5.Append(runProperties3);
            run5.Append(text4);

            paragraph2.Append(run5);

            Paragraph paragraph2a = null;
            if (ii.Address2.HasValue())
            {
                paragraph2a = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };
                Run r = new Run();

                RunProperties rp = new RunProperties();
                NoProof np = new NoProof();

                rp.Append(np);
                Text tt = new Text();
                tt.Text = ii.Address;

                r.Append(rp);
                r.Append(tt);

                paragraph2a.Append(r);
            }

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00731A43", RsidRunAdditionDefault = "00FB1F22" };

            Run run6 = new Run();

            RunProperties runProperties4 = new RunProperties();
            NoProof noProof4 = new NoProof();

            runProperties4.Append(noProof4);
            Text text5 = new Text();
            text5.Text = ii.CityStateZip;
            run6.Append(runProperties4);
            run6.Append(text5);

            paragraph3.Append(run6);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "TableGrid" };
            TableWidth tableWidth1 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };

            TableBorders tableBorders1 = new TableBorders();
            TopBorder topBorder1 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            LeftBorder leftBorder1 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            BottomBorder bottomBorder1 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder1 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideHorizontalBorder insideHorizontalBorder1 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder1 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);
            TableLook tableLook1 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true };

            tableProperties1.Append(tableStyle1);
            tableProperties1.Append(tableWidth1);
            tableProperties1.Append(tableBorders1);
            tableProperties1.Append(tableLook1);

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "1435" };
            GridColumn gridColumn2 = new GridColumn() { Width = "3122" };

            tableGrid1.Append(gridColumn1);
            tableGrid1.Append(gridColumn2);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties2.Append(tableCellWidth2);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run11 = new Run();
            Text text10 = new Text();
            text10.Text = "Email";

            run11.Append(text10);

            paragraph5.Append(run11);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph5);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties3.Append(tableCellWidth3);
            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            paragraph6.Append(new Run(new Text(ii.Email)));

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph6);

            tableRow2.Append(tableCell2);
            tableRow2.Append(tableCell3);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties4.Append(tableCellWidth4);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run12 = new Run();
            Text text11 = new Text();
            text11.Text = "Home Phone";

            run12.Append(text11);

            paragraph7.Append(run12);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph7);

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            Run run13 = new Run();

            RunProperties runProperties7 = new RunProperties();
            NoProof noProof7 = new NoProof();

            runProperties7.Append(noProof7);
            Text text12 = new Text();
            text12.Text = ii.HomePhone.FmtFone();

            run13.Append(runProperties7);
            run13.Append(text12);

            Run run14 = new Run();
            Text text13 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text13.Text = " ";

            run14.Append(text13);

            paragraph8.Append(run13);
            paragraph8.Append(run14);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph8);

            tableRow3.Append(tableCell4);
            tableRow3.Append(tableCell5);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties6.Append(tableCellWidth6);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run15 = new Run();
            Text text14 = new Text();
            text14.Text = "Cell Phone";

            run15.Append(text14);

            paragraph9.Append(run15);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph9);

            TableCell tableCell7 = new TableCell();

            TableCellProperties tableCellProperties7 = new TableCellProperties();
            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run16 = new Run();

            RunProperties runProperties8 = new RunProperties();
            NoProof noProof8 = new NoProof();

            runProperties8.Append(noProof8);
            Text text15 = new Text();
            text15.Text = ii.CellPhone.FmtFone();

            run16.Append(runProperties8);
            run16.Append(text15);

            paragraph10.Append(run16);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph10);

            tableRow4.Append(tableCell6);
            tableRow4.Append(tableCell7);

            TableRow tableRow5 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell8 = new TableCell();

            TableCellProperties tableCellProperties8 = new TableCellProperties();
            TableCellWidth tableCellWidth8 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run17 = new Run();
            Text text16 = new Text();
            text16.Text = "Work Phone";

            run17.Append(text16);

            paragraph11.Append(run17);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph11);

            TableCell tableCell9 = new TableCell();

            TableCellProperties tableCellProperties9 = new TableCellProperties();
            TableCellWidth tableCellWidth9 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run18 = new Run();

            RunProperties runProperties9 = new RunProperties();
            NoProof noProof9 = new NoProof();

            runProperties9.Append(noProof9);
            Text text17 = new Text();
            text17.Text = ii.WorkPhone.FmtFone();

            run18.Append(runProperties9);
            run18.Append(text17);

            paragraph12.Append(run18);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph12);

            tableRow5.Append(tableCell8);
            tableRow5.Append(tableCell9);

            TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell10 = new TableCell();

            TableCellProperties tableCellProperties10 = new TableCellProperties();
            TableCellWidth tableCellWidth10 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties10.Append(tableCellWidth10);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run19 = new Run();
            Text text18 = new Text();
            text18.Text = "Birthday";

            run19.Append(text18);

            paragraph13.Append(run19);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(paragraph13);

            TableCell tableCell11 = new TableCell();

            TableCellProperties tableCellProperties11 = new TableCellProperties();
            TableCellWidth tableCellWidth11 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties11.Append(tableCellWidth11);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00BC57A3", RsidRunAdditionDefault = "00FB1F22" };

            Run run20 = new Run();

            RunProperties runProperties10 = new RunProperties();
            NoProof noProof10 = new NoProof();

            runProperties10.Append(noProof10);
            Text text19 = new Text();
            text19.Text = ii.BirthDay;

            run20.Append(runProperties10);
            run20.Append(text19);

            paragraph14.Append(run20);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph14);

            tableRow6.Append(tableCell10);
            tableRow6.Append(tableCell11);

            TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell12 = new TableCell();

            TableCellProperties tableCellProperties12 = new TableCellProperties();
            TableCellWidth tableCellWidth12 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties12.Append(tableCellWidth12);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "006D0F9D", RsidRunAdditionDefault = "00FB1F22" };

            Run run21 = new Run();
            Text text20 = new Text();
            text20.Text = "Anniversary";

            run21.Append(text20);

            paragraph15.Append(run21);

            tableCell12.Append(tableCellProperties12);
            tableCell12.Append(paragraph15);

            TableCell tableCell13 = new TableCell();

            TableCellProperties tableCellProperties13 = new TableCellProperties();
            TableCellWidth tableCellWidth13 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties13.Append(tableCellWidth13);
            Paragraph paragraph16 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            paragraph16.Append(new Run(new Text(ii.Anniversary)));

            tableCell13.Append(tableCellProperties13);
            tableCell13.Append(paragraph16);

            tableRow7.Append(tableCell12);
            tableRow7.Append(tableCell13);

            TableRow tableRow8 = new TableRow() { RsidTableRowAddition = "00FB1F22", RsidTableRowProperties = "00731A43" };

            TableCell tableCell14 = new TableCell();

            TableCellProperties tableCellProperties14 = new TableCellProperties();
            TableCellWidth tableCellWidth14 = new TableCellWidth() { Width = "1435", Type = TableWidthUnitValues.Dxa };

            tableCellProperties14.Append(tableCellWidth14);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            Run run22 = new Run();
            Text text21 = new Text();
            text21.Text = "Spouse";

            run22.Append(text21);

            paragraph17.Append(run22);

            tableCell14.Append(tableCellProperties14);
            tableCell14.Append(paragraph17);

            TableCell tableCell15 = new TableCell();

            TableCellProperties tableCellProperties15 = new TableCellProperties();
            TableCellWidth tableCellWidth15 = new TableCellWidth() { Width = "3122", Type = TableWidthUnitValues.Dxa };

            tableCellProperties15.Append(tableCellWidth15);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00F06304", RsidRunAdditionDefault = "00FB1F22" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            NoProof noProof11 = new NoProof();

            paragraphMarkRunProperties1.Append(noProof11);

            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run23 = new Run();

            RunProperties runProperties11 = new RunProperties();
            NoProof noProof12 = new NoProof();

            runProperties11.Append(noProof12);
            Text text22 = new Text();
            text22.Text = ii.Spouse;

            run23.Append(runProperties11);
            run23.Append(text22);

            paragraph18.Append(paragraphProperties1);
            paragraph18.Append(run23);

            tableCell15.Append(tableCellProperties15);
            tableCell15.Append(paragraph18);

            tableRow8.Append(tableCell14);
            tableRow8.Append(tableCell15);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow2);
            table1.Append(tableRow3);
            table1.Append(tableRow4);
            table1.Append(tableRow5);
            table1.Append(tableRow6);
            table1.Append(tableRow7);
            table1.Append(tableRow8);
            Paragraph paragraph19 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00485B24", RsidRunAdditionDefault = "00FB1F22" };

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph1);
            tableCell1.Append(paragraph2);
            if (paragraph2a != null)
                tableCell1.Append(paragraph2a);
            tableCell1.Append(paragraph3);
            tableCell1.Append(paragraph4);
            tableCell1.Append(table1);
            tableCell1.Append(paragraph19);

            TableCell tableCell16 = new TableCell();

            TableCellProperties tableCellProperties16 = new TableCellProperties();
            TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "4788", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment1 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties16.Append(tableCellWidth16);
            tableCellProperties16.Append(tableCellVerticalAlignment1);
            tableCell16.Append(tableCellProperties16);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphAddition = "00FB1F22", RsidParagraphProperties = "00960953", RsidRunAdditionDefault = "00FB1F22" };
            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            paragraphProperties2.Append(justification1);
            paragraph20.Append(paragraphProperties2);

            if (iid.HasValue())
            {
                Run run24 = new Run();

                RunProperties runProperties12 = new RunProperties();
                NoProof noProof13 = new NoProof();

                runProperties12.Append(noProof13);

                Drawing drawing1 = new Drawing();

                Wp.Inline inline1 = new Wp.Inline()
                                    {
                                        DistanceFromTop = (UInt32Value)0U,
                                        DistanceFromBottom = (UInt32Value)0U,
                                        DistanceFromLeft = (UInt32Value)0U,
                                        DistanceFromRight = (UInt32Value)0U
                                    };
                Wp.Extent extent1 = new Wp.Extent() { Cx = 1428750L, Cy = 1905000L };
                Wp.EffectExtent effectExtent1 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
                Wp.DocProperties docProperties1 = new Wp.DocProperties() { Id = (UInt32Value)1U, Name = "Picture 1", Description = "D:\\Pictures\\ttt.jpg" };

                Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 =
                    new Wp.NonVisualGraphicFrameDrawingProperties();

                A.GraphicFrameLocks graphicFrameLocks1 = new A.GraphicFrameLocks() { NoChangeAspect = true };
                graphicFrameLocks1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

                nonVisualGraphicFrameDrawingProperties1.Append(graphicFrameLocks1);

                A.Graphic graphic1 = new A.Graphic();
                graphic1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

                A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/picture" };

                Pic.Picture picture1 = new Pic.Picture();
                picture1.AddNamespaceDeclaration("pic", "http://schemas.openxmlformats.org/drawingml/2006/picture");

                Pic.NonVisualPictureProperties nonVisualPictureProperties1 = new Pic.NonVisualPictureProperties();
                Pic.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Pic.NonVisualDrawingProperties()
                                                                             {
                                                                                 Id = (UInt32Value)0U,
                                                                                 Name = "Picture 459",
                                                                                 Description = "D:\\Pictures\\ttt.jpg"
                                                                             };

                Pic.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 =
                    new Pic.NonVisualPictureDrawingProperties();
                A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = false, NoChangeArrowheads = true };

                nonVisualPictureDrawingProperties1.Append(pictureLocks1);

                nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
                nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

                Pic.BlipFill blipFill1 = new Pic.BlipFill();

                A.Blip blip1 = new A.Blip() { Embed = iid };

                A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

                A.BlipExtension blipExtension1 = new A.BlipExtension() { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" };

                A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi() { Val = false };
                useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

                blipExtension1.Append(useLocalDpi1);

                blipExtensionList1.Append(blipExtension1);

                blip1.Append(blipExtensionList1);
                A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

                A.Stretch stretch1 = new A.Stretch();
                A.FillRectangle fillRectangle1 = new A.FillRectangle();

                stretch1.Append(fillRectangle1);

                blipFill1.Append(blip1);
                blipFill1.Append(sourceRectangle1);
                blipFill1.Append(stretch1);

                Pic.ShapeProperties shapeProperties1 = new Pic.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

                A.Transform2D transform2D1 = new A.Transform2D();
                A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
                A.Extents extents1 = new A.Extents() { Cx = 1428750L, Cy = 1905000L };

                transform2D1.Append(offset1);
                transform2D1.Append(extents1);

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

                presetGeometry1.Append(adjustValueList1);
                A.NoFill noFill1 = new A.NoFill();

                A.Outline outline1 = new A.Outline();
                A.NoFill noFill2 = new A.NoFill();

                outline1.Append(noFill2);

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

                picture1.Append(nonVisualPictureProperties1);
                picture1.Append(blipFill1);
                picture1.Append(shapeProperties1);

                graphicData1.Append(picture1);

                graphic1.Append(graphicData1);

                inline1.Append(extent1);
                inline1.Append(effectExtent1);
                inline1.Append(docProperties1);
                inline1.Append(nonVisualGraphicFrameDrawingProperties1);
                inline1.Append(graphic1);

                drawing1.Append(inline1);

                run24.Append(runProperties12);
                run24.Append(drawing1);

                paragraph20.Append(run24);
            }
            tableCell16.Append(paragraph20);

            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell16);
            tableRow1.Append(bookmarkStart1);
            tableRow1.Append(bookmarkEnd1);
            return tableRow1;
        }
Exemplo n.º 8
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;
        }
Exemplo n.º 9
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;
        }
Exemplo n.º 10
0
    private void AppendText(string title, string text)
    {
        Run run = GetRun();
        RunProperties runProperties = new RunProperties();
        runProperties.Append(new Bold());
        run.Append(runProperties);
        run.Append(new Text(title) { Space = SpaceProcessingModeValues.Preserve });

        run = GetRun();
        run.Append(new Text(text));
        firstLine = true; //once we write a line then it is not a first line
    }
        public static void GenerateNotesSlidePart1Content(NotesSlidePart notesSlidePart1)
        {
            NotesSlide notesSlide1 = new NotesSlide();

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

            CommonSlideData commonSlideData4 = new CommonSlideData();

            ShapeTree shapeTree4 = new ShapeTree();

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

            nonVisualGroupShapeProperties4.Append(nonVisualDrawingProperties20);
            nonVisualGroupShapeProperties4.Append(nonVisualGroupShapeDrawingProperties4);
            nonVisualGroupShapeProperties4.Append(applicationNonVisualDrawingProperties20);

            GroupShapeProperties groupShapeProperties4 = new GroupShapeProperties();

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

            transformGroup4.Append(offset22);
            transformGroup4.Append(extents22);
            transformGroup4.Append(childOffset4);
            transformGroup4.Append(childExtents4);

            groupShapeProperties4.Append(transformGroup4);

            Shape shape16 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties16   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties21 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19458U, Name = "Rectangle 7"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties16 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties16.Append(shapeLocks16);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties21 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape11 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SlideNumber, Size = PlaceholderSizeValues.Quarter, Index = (UInt32Value)5U
            };

            applicationNonVisualDrawingProperties21.Append(placeholderShape11);

            nonVisualShapeProperties16.Append(nonVisualDrawingProperties21);
            nonVisualShapeProperties16.Append(nonVisualShapeDrawingProperties16);
            nonVisualShapeProperties16.Append(applicationNonVisualDrawingProperties21);

            ShapeProperties shapeProperties19 = new ShapeProperties();

            A.NoFill  noFill19  = new A.NoFill();
            A.Outline outline33 = new A.Outline();

            A.ShapePropertiesExtensionList shapePropertiesExtensionList7 = new A.ShapePropertiesExtensionList();

            A.ShapePropertiesExtension shapePropertiesExtension7 = new A.ShapePropertiesExtension()
            {
                Uri = "{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}"
            };

            A14.HiddenFillProperties hiddenFillProperties2 = new A14.HiddenFillProperties();
            hiddenFillProperties2.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill158        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex239 = new A.RgbColorModelHex()
            {
                Val = "FFFFFF"
            };

            solidFill158.Append(rgbColorModelHex239);

            hiddenFillProperties2.Append(solidFill158);

            shapePropertiesExtension7.Append(hiddenFillProperties2);

            A.ShapePropertiesExtension shapePropertiesExtension8 = new A.ShapePropertiesExtension()
            {
                Uri = "{91240B29-F687-4F45-9708-019B960494DF}"
            };

            A14.HiddenLineProperties hiddenLineProperties6 = new A14.HiddenLineProperties()
            {
                Width = 9525
            };
            hiddenLineProperties6.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill159        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex240 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };

            solidFill159.Append(rgbColorModelHex240);
            A.Miter miter15 = new A.Miter()
            {
                Limit = 800000
            };
            A.HeadEnd headEnd14 = new A.HeadEnd();
            A.TailEnd tailEnd14 = new A.TailEnd();

            hiddenLineProperties6.Append(solidFill159);
            hiddenLineProperties6.Append(miter15);
            hiddenLineProperties6.Append(headEnd14);
            hiddenLineProperties6.Append(tailEnd14);

            shapePropertiesExtension8.Append(hiddenLineProperties6);

            shapePropertiesExtensionList7.Append(shapePropertiesExtension7);
            shapePropertiesExtensionList7.Append(shapePropertiesExtension8);

            shapeProperties19.Append(noFill19);
            shapeProperties19.Append(outline33);
            shapeProperties19.Append(shapePropertiesExtensionList7);

            TextBody textBody15 = new TextBody();

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

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

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

            A.SpaceBefore    spaceBefore74    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent95 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore74.Append(spacingPercent95);

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

            A.SolidFill   solidFill160   = new A.SolidFill();
            A.SchemeColor schemeColor221 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill160.Append(schemeColor221);
            A.LatinFont latinFont112 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont75 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties95.Append(solidFill160);
            defaultRunProperties95.Append(latinFont112);
            defaultRunProperties95.Append(eastAsianFont75);

            level1ParagraphProperties16.Append(spaceBefore74);
            level1ParagraphProperties16.Append(defaultRunProperties95);

            A.Level2ParagraphProperties level2ParagraphProperties8 = new A.Level2ParagraphProperties()
            {
                LeftMargin = 735013, Indent = -280988
            };

            A.SpaceBefore    spaceBefore75    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent96 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore75.Append(spacingPercent96);

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

            A.SolidFill   solidFill161   = new A.SolidFill();
            A.SchemeColor schemeColor222 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill161.Append(schemeColor222);
            A.LatinFont latinFont113 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont76 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties96.Append(solidFill161);
            defaultRunProperties96.Append(latinFont113);
            defaultRunProperties96.Append(eastAsianFont76);

            level2ParagraphProperties8.Append(spaceBefore75);
            level2ParagraphProperties8.Append(defaultRunProperties96);

            A.Level3ParagraphProperties level3ParagraphProperties8 = new A.Level3ParagraphProperties()
            {
                LeftMargin = 1131888, Indent = -225425
            };

            A.SpaceBefore    spaceBefore76    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent97 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore76.Append(spacingPercent97);

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

            A.SolidFill   solidFill162   = new A.SolidFill();
            A.SchemeColor schemeColor223 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill162.Append(schemeColor223);
            A.LatinFont latinFont114 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont77 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties97.Append(solidFill162);
            defaultRunProperties97.Append(latinFont114);
            defaultRunProperties97.Append(eastAsianFont77);

            level3ParagraphProperties8.Append(spaceBefore76);
            level3ParagraphProperties8.Append(defaultRunProperties97);

            A.Level4ParagraphProperties level4ParagraphProperties8 = new A.Level4ParagraphProperties()
            {
                LeftMargin = 1585913, Indent = -225425
            };

            A.SpaceBefore    spaceBefore77    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent98 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore77.Append(spacingPercent98);

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

            A.SolidFill   solidFill163   = new A.SolidFill();
            A.SchemeColor schemeColor224 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill163.Append(schemeColor224);
            A.LatinFont latinFont115 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont78 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties98.Append(solidFill163);
            defaultRunProperties98.Append(latinFont115);
            defaultRunProperties98.Append(eastAsianFont78);

            level4ParagraphProperties8.Append(spaceBefore77);
            level4ParagraphProperties8.Append(defaultRunProperties98);

            A.Level5ParagraphProperties level5ParagraphProperties8 = new A.Level5ParagraphProperties()
            {
                LeftMargin = 2038350, Indent = -225425
            };

            A.SpaceBefore    spaceBefore78    = new A.SpaceBefore();
            A.SpacingPercent spacingPercent99 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore78.Append(spacingPercent99);

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

            A.SolidFill   solidFill164   = new A.SolidFill();
            A.SchemeColor schemeColor225 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill164.Append(schemeColor225);
            A.LatinFont latinFont116 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont79 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties99.Append(solidFill164);
            defaultRunProperties99.Append(latinFont116);
            defaultRunProperties99.Append(eastAsianFont79);

            level5ParagraphProperties8.Append(spaceBefore78);
            level5ParagraphProperties8.Append(defaultRunProperties99);

            A.Level6ParagraphProperties level6ParagraphProperties8 = new A.Level6ParagraphProperties()
            {
                LeftMargin = 2495550, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore79     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent100 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore79.Append(spacingPercent100);

            A.SpaceAfter     spaceAfter59      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent101 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter59.Append(spacingPercent101);

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

            A.SolidFill   solidFill165   = new A.SolidFill();
            A.SchemeColor schemeColor226 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill165.Append(schemeColor226);
            A.LatinFont latinFont117 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont80 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties100.Append(solidFill165);
            defaultRunProperties100.Append(latinFont117);
            defaultRunProperties100.Append(eastAsianFont80);

            level6ParagraphProperties8.Append(spaceBefore79);
            level6ParagraphProperties8.Append(spaceAfter59);
            level6ParagraphProperties8.Append(defaultRunProperties100);

            A.Level7ParagraphProperties level7ParagraphProperties8 = new A.Level7ParagraphProperties()
            {
                LeftMargin = 2952750, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore80     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent102 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore80.Append(spacingPercent102);

            A.SpaceAfter     spaceAfter60      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent103 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter60.Append(spacingPercent103);

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

            A.SolidFill   solidFill166   = new A.SolidFill();
            A.SchemeColor schemeColor227 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill166.Append(schemeColor227);
            A.LatinFont latinFont118 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont81 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties101.Append(solidFill166);
            defaultRunProperties101.Append(latinFont118);
            defaultRunProperties101.Append(eastAsianFont81);

            level7ParagraphProperties8.Append(spaceBefore80);
            level7ParagraphProperties8.Append(spaceAfter60);
            level7ParagraphProperties8.Append(defaultRunProperties101);

            A.Level8ParagraphProperties level8ParagraphProperties8 = new A.Level8ParagraphProperties()
            {
                LeftMargin = 3409950, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore81     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent104 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore81.Append(spacingPercent104);

            A.SpaceAfter     spaceAfter61      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent105 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter61.Append(spacingPercent105);

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

            A.SolidFill   solidFill167   = new A.SolidFill();
            A.SchemeColor schemeColor228 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill167.Append(schemeColor228);
            A.LatinFont latinFont119 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont82 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties102.Append(solidFill167);
            defaultRunProperties102.Append(latinFont119);
            defaultRunProperties102.Append(eastAsianFont82);

            level8ParagraphProperties8.Append(spaceBefore81);
            level8ParagraphProperties8.Append(spaceAfter61);
            level8ParagraphProperties8.Append(defaultRunProperties102);

            A.Level9ParagraphProperties level9ParagraphProperties8 = new A.Level9ParagraphProperties()
            {
                LeftMargin = 3867150, Indent = -225425, EastAsianLineBreak = false, FontAlignment = A.TextFontAlignmentValues.Baseline, Height = false
            };

            A.SpaceBefore    spaceBefore82     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent106 = new A.SpacingPercent()
            {
                Val = 30000
            };

            spaceBefore82.Append(spacingPercent106);

            A.SpaceAfter     spaceAfter62      = new A.SpaceAfter();
            A.SpacingPercent spacingPercent107 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceAfter62.Append(spacingPercent107);

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

            A.SolidFill   solidFill168   = new A.SolidFill();
            A.SchemeColor schemeColor229 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill168.Append(schemeColor229);
            A.LatinFont latinFont120 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };
            A.EastAsianFont eastAsianFont83 = new A.EastAsianFont()
            {
                Typeface = "MS PGothic", Panose = "020B0600070205080204", PitchFamily = 34, CharacterSet = -128
            };

            defaultRunProperties103.Append(solidFill168);
            defaultRunProperties103.Append(latinFont120);
            defaultRunProperties103.Append(eastAsianFont83);

            level9ParagraphProperties8.Append(spaceBefore82);
            level9ParagraphProperties8.Append(spaceAfter62);
            level9ParagraphProperties8.Append(defaultRunProperties103);

            listStyle17.Append(level1ParagraphProperties16);
            listStyle17.Append(level2ParagraphProperties8);
            listStyle17.Append(level3ParagraphProperties8);
            listStyle17.Append(level4ParagraphProperties8);
            listStyle17.Append(level5ParagraphProperties8);
            listStyle17.Append(level6ParagraphProperties8);
            listStyle17.Append(level7ParagraphProperties8);
            listStyle17.Append(level8ParagraphProperties8);
            listStyle17.Append(level9ParagraphProperties8);

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

            A.ParagraphProperties paragraphProperties37 = new A.ParagraphProperties();

            A.SpaceBefore    spaceBefore83     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent108 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore83.Append(spacingPercent108);

            paragraphProperties37.Append(spaceBefore83);

            A.Field field4 = new A.Field()
            {
                Id = "{99BBE751-775A-442D-AED5-C8FC60817C7D}", Type = "slidenum"
            };

            A.RunProperties runProperties41 = new A.RunProperties()
            {
                Language = "en-US", AlternativeLanguage = "et-EE"
            };
            runProperties41.SetAttribute(new OpenXmlAttribute("", "smtClean", "", "0"));
            A.ComplexScriptFont complexScriptFont61 = new A.ComplexScriptFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            runProperties41.Append(complexScriptFont61);

            A.ParagraphProperties paragraphProperties38 = new A.ParagraphProperties();

            A.SpaceBefore    spaceBefore84     = new A.SpaceBefore();
            A.SpacingPercent spacingPercent109 = new A.SpacingPercent()
            {
                Val = 0
            };

            spaceBefore84.Append(spacingPercent109);

            paragraphProperties38.Append(spaceBefore84);
            A.Text text41 = new A.Text();
            text41.Text = "1";

            field4.Append(runProperties41);
            field4.Append(paragraphProperties38);
            field4.Append(text41);

            A.EndParagraphRunProperties endParagraphRunProperties21 = new A.EndParagraphRunProperties()
            {
                Language = "en-US", AlternativeLanguage = "et-EE"
            };
            A.ComplexScriptFont complexScriptFont62 = new A.ComplexScriptFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            endParagraphRunProperties21.Append(complexScriptFont62);

            paragraph40.Append(paragraphProperties37);
            paragraph40.Append(field4);
            paragraph40.Append(endParagraphRunProperties21);

            textBody15.Append(bodyProperties17);
            textBody15.Append(listStyle17);
            textBody15.Append(paragraph40);

            shape16.Append(nonVisualShapeProperties16);
            shape16.Append(shapeProperties19);
            shape16.Append(textBody15);

            Shape shape17 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties17   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties22 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19459U, Name = "Rectangle 2"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties17 = new NonVisualShapeDrawingProperties();

            A.ShapeLocks shapeLocks17 = new A.ShapeLocks()
            {
                NoGrouping = true, NoRotation = true, NoChangeAspect = true, NoChangeArrowheads = true, NoTextEdit = true
            };

            nonVisualShapeDrawingProperties17.Append(shapeLocks17);

            ApplicationNonVisualDrawingProperties applicationNonVisualDrawingProperties22 = new ApplicationNonVisualDrawingProperties();
            PlaceholderShape placeholderShape12 = new PlaceholderShape()
            {
                Type = PlaceholderValues.SlideImage
            };

            applicationNonVisualDrawingProperties22.Append(placeholderShape12);

            nonVisualShapeProperties17.Append(nonVisualDrawingProperties22);
            nonVisualShapeProperties17.Append(nonVisualShapeDrawingProperties17);
            nonVisualShapeProperties17.Append(applicationNonVisualDrawingProperties22);

            ShapeProperties shapeProperties20 = new ShapeProperties();

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

            shapeProperties20.Append(outline34);

            shape17.Append(nonVisualShapeProperties17);
            shape17.Append(shapeProperties20);

            Shape shape18 = new Shape();

            NonVisualShapeProperties   nonVisualShapeProperties18   = new NonVisualShapeProperties();
            NonVisualDrawingProperties nonVisualDrawingProperties23 = new NonVisualDrawingProperties()
            {
                Id = (UInt32Value)19460U, Name = "Rectangle 3"
            };

            NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties18 = new NonVisualShapeDrawingProperties();

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

            nonVisualShapeDrawingProperties18.Append(shapeLocks18);

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

            applicationNonVisualDrawingProperties23.Append(placeholderShape13);

            nonVisualShapeProperties18.Append(nonVisualDrawingProperties23);
            nonVisualShapeProperties18.Append(nonVisualShapeDrawingProperties18);
            nonVisualShapeProperties18.Append(applicationNonVisualDrawingProperties23);

            ShapeProperties shapeProperties21 = new ShapeProperties();

            A.NoFill  noFill20  = new A.NoFill();
            A.Outline outline35 = new A.Outline();

            A.ShapePropertiesExtensionList shapePropertiesExtensionList8 = new A.ShapePropertiesExtensionList();

            A.ShapePropertiesExtension shapePropertiesExtension9 = new A.ShapePropertiesExtension()
            {
                Uri = "{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}"
            };

            A14.HiddenFillProperties hiddenFillProperties3 = new A14.HiddenFillProperties();
            hiddenFillProperties3.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill169        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex241 = new A.RgbColorModelHex()
            {
                Val = "FFFFFF"
            };

            solidFill169.Append(rgbColorModelHex241);

            hiddenFillProperties3.Append(solidFill169);

            shapePropertiesExtension9.Append(hiddenFillProperties3);

            A.ShapePropertiesExtension shapePropertiesExtension10 = new A.ShapePropertiesExtension()
            {
                Uri = "{91240B29-F687-4F45-9708-019B960494DF}"
            };

            A14.HiddenLineProperties hiddenLineProperties7 = new A14.HiddenLineProperties()
            {
                Width = 9525
            };
            hiddenLineProperties7.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill        solidFill170        = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex242 = new A.RgbColorModelHex()
            {
                Val = "000000"
            };

            solidFill170.Append(rgbColorModelHex242);
            A.Miter miter16 = new A.Miter()
            {
                Limit = 800000
            };
            A.HeadEnd headEnd15 = new A.HeadEnd();
            A.TailEnd tailEnd15 = new A.TailEnd();

            hiddenLineProperties7.Append(solidFill170);
            hiddenLineProperties7.Append(miter16);
            hiddenLineProperties7.Append(headEnd15);
            hiddenLineProperties7.Append(tailEnd15);

            shapePropertiesExtension10.Append(hiddenLineProperties7);

            shapePropertiesExtensionList8.Append(shapePropertiesExtension9);
            shapePropertiesExtensionList8.Append(shapePropertiesExtension10);

            shapeProperties21.Append(noFill20);
            shapeProperties21.Append(outline35);
            shapeProperties21.Append(shapePropertiesExtensionList8);

            TextBody textBody16 = new TextBody();

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

            A.Paragraph           paragraph41           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties39 = new A.ParagraphProperties()
            {
                EastAsianLineBreak = true, Height = true
            };

            A.EndParagraphRunProperties endParagraphRunProperties22 = new A.EndParagraphRunProperties()
            {
                Language = "lv-LV", AlternativeLanguage = "et-EE"
            };
            A.LatinFont latinFont121 = new A.LatinFont()
            {
                Typeface = "Arial", Panose = "020B0604020202020204", PitchFamily = 34, CharacterSet = 0
            };

            endParagraphRunProperties22.Append(latinFont121);

            paragraph41.Append(paragraphProperties39);
            paragraph41.Append(endParagraphRunProperties22);

            textBody16.Append(bodyProperties18);
            textBody16.Append(listStyle18);
            textBody16.Append(paragraph41);

            shape18.Append(nonVisualShapeProperties18);
            shape18.Append(shapeProperties21);
            shape18.Append(textBody16);

            shapeTree4.Append(nonVisualGroupShapeProperties4);
            shapeTree4.Append(groupShapeProperties4);
            shapeTree4.Append(shape16);
            shapeTree4.Append(shape17);
            shapeTree4.Append(shape18);

            CommonSlideDataExtensionList commonSlideDataExtensionList4 = new CommonSlideDataExtensionList();

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

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

            commonSlideDataExtension4.Append(creationId4);

            commonSlideDataExtensionList4.Append(commonSlideDataExtension4);

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

            ColorMapOverride colorMapOverride2 = new ColorMapOverride();

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

            colorMapOverride2.Append(masterColorMapping2);

            notesSlide1.Append(commonSlideData4);
            notesSlide1.Append(colorMapOverride2);

            notesSlidePart1.NotesSlide = notesSlide1;
        }
Exemplo n.º 12
0
        /// <summary>
        /// Append given text with a given font style.
        /// </summary>
        /// <param name="Text">The text.</param>
        /// <param name="TextFont">The font style.</param>
        public void AppendText(string Text, SLFont TextFont)
        {
            Run run = new Run();
            RunProperties runprops = new RunProperties();

            if (TextFont.FontName != null)
            {
                runprops.Append(new RunFont() { Val = TextFont.FontName });
            }

            if (TextFont.CharacterSet != null)
            {
                runprops.Append(new RunPropertyCharSet() { Val = TextFont.CharacterSet.Value });
            }

            if (TextFont.FontFamily != null)
            {
                runprops.Append(new FontFamily() { Val = TextFont.FontFamily.Value });
            }

            if (TextFont.Bold != null)
            {
                runprops.Append(new Bold() { Val = TextFont.Bold.Value });
            }

            if (TextFont.Italic != null)
            {
                runprops.Append(new Italic() { Val = TextFont.Italic.Value });
            }

            if (TextFont.Strike != null)
            {
                runprops.Append(new Strike() { Val = TextFont.Strike.Value });
            }

            if (TextFont.Outline != null)
            {
                runprops.Append(new Outline() { Val = TextFont.Outline.Value });
            }

            if (TextFont.Shadow != null)
            {
                runprops.Append(new Shadow() { Val = TextFont.Shadow.Value });
            }

            if (TextFont.Condense != null)
            {
                runprops.Append(new Condense() { Val = TextFont.Condense.Value });
            }

            if (TextFont.Extend != null)
            {
                runprops.Append(new Extend() { Val = TextFont.Extend.Value });
            }

            if (TextFont.HasFontColor)
            {
                runprops.Append(TextFont.clrFontColor.ToSpreadsheetColor());
            }

            if (TextFont.FontSize != null)
            {
                runprops.Append(new FontSize() { Val = TextFont.FontSize.Value });
            }

            if (TextFont.HasUnderline)
            {
                runprops.Append(new Underline() { Val = TextFont.Underline });
            }

            if (TextFont.HasVerticalAlignment)
            {
                runprops.Append(new VerticalTextAlignment() { Val = TextFont.VerticalAlignment });
            }

            if (TextFont.HasFontScheme)
            {
                runprops.Append(new FontScheme() { Val = TextFont.FontScheme });
            }

            if (runprops.ChildElements.Count > 0)
            {
                run.Append(runprops);
            }

            run.Text = new Text();
            run.Text.Text = Text;
            if (SLTool.ToPreserveSpace(Text))
            {
                run.Text.Space = SpaceProcessingModeValues.Preserve;
            }

            bool bFound = false;
            OpenXmlElement oxe = istrReal.FirstChild;
            foreach (var child in this.istrReal.ChildElements)
            {
                if (child is Text || child is Run)
                {
                    oxe = child;
                    bFound = true;
                }
            }

            if (bFound)
            {
                istrReal.InsertAfter(run, oxe);
            }
            else
            {
                istrReal.PrependChild(run);
            }
        }
        // Generates content of worksheetCommentsPart1.
        private void GenerateWorksheetCommentsPart1Content(WorksheetCommentsPart worksheetCommentsPart1)
        {
            Comments comments1 = new Comments();

            Authors authors1 = new Authors();
            Author author1 = new Author();
            author1.Text = "Author";

            authors1.Append(author1);

            CommentList commentList1 = new CommentList();

            Comment comment1 = new Comment() { Reference = "V10", AuthorId = (UInt32Value)0U, ShapeId = (UInt32Value)0U };

            CommentText commentText1 = new CommentText();

            Run run14 = new Run();

            RunProperties runProperties14 = new RunProperties();
            Bold bold1 = new Bold();
            FontSize fontSize1 = new FontSize() { Val = 9D };
            Color color1 = new Color() { Indexed = (UInt32Value)81U };
            RunFont runFont1 = new RunFont() { Val = "Tahoma" };
            RunPropertyCharSet runPropertyCharSet1 = new RunPropertyCharSet() { Val = 1 };

            runProperties14.Append(bold1);
            runProperties14.Append(fontSize1);
            runProperties14.Append(color1);
            runProperties14.Append(runFont1);
            runProperties14.Append(runPropertyCharSet1);
            Text text14 = new Text();
            text14.Text = "Author:";

            run14.Append(runProperties14);
            run14.Append(text14);

            Run run15 = new Run();

            RunProperties runProperties15 = new RunProperties();
            FontSize fontSize2 = new FontSize() { Val = 9D };
            Color color2 = new Color() { Indexed = (UInt32Value)81U };
            RunFont runFont2 = new RunFont() { Val = "Tahoma" };
            RunPropertyCharSet runPropertyCharSet2 = new RunPropertyCharSet() { Val = 1 };

            runProperties15.Append(fontSize2);
            runProperties15.Append(color2);
            runProperties15.Append(runFont2);
            runProperties15.Append(runPropertyCharSet2);
            Text text15 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text15.Text = "\nThis is a comment";

            run15.Append(runProperties15);
            run15.Append(text15);

            commentText1.Append(run14);
            commentText1.Append(run15);

            comment1.Append(commentText1);

            commentList1.Append(comment1);

            comments1.Append(authors1);
            comments1.Append(commentList1);

            worksheetCommentsPart1.Comments = comments1;
        }
        // Generates content of drawingsPart2.
        private void GenerateDrawingsPart2Content(DrawingsPart drawingsPart2)
        {
            Xdr.WorksheetDrawing worksheetDrawing2 = new Xdr.WorksheetDrawing();
            worksheetDrawing2.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor5 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker5 = new Xdr.FromMarker();
            Xdr.ColumnId columnId9 = new Xdr.ColumnId();
            columnId9.Text = "6";
            Xdr.ColumnOffset columnOffset9 = new Xdr.ColumnOffset();
            columnOffset9.Text = "571500";
            Xdr.RowId rowId9 = new Xdr.RowId();
            rowId9.Text = "5";
            Xdr.RowOffset rowOffset9 = new Xdr.RowOffset();
            rowOffset9.Text = "147637";

            fromMarker5.Append(columnId9);
            fromMarker5.Append(columnOffset9);
            fromMarker5.Append(rowId9);
            fromMarker5.Append(rowOffset9);

            Xdr.ToMarker toMarker5 = new Xdr.ToMarker();
            Xdr.ColumnId columnId10 = new Xdr.ColumnId();
            columnId10.Text = "14";
            Xdr.ColumnOffset columnOffset10 = new Xdr.ColumnOffset();
            columnOffset10.Text = "266700";
            Xdr.RowId rowId10 = new Xdr.RowId();
            rowId10.Text = "20";
            Xdr.RowOffset rowOffset10 = new Xdr.RowOffset();
            rowOffset10.Text = "33337";

            toMarker5.Append(columnId10);
            toMarker5.Append(columnOffset10);
            toMarker5.Append(rowId10);
            toMarker5.Append(rowOffset10);

            Xdr.GraphicFrame graphicFrame2 = new Xdr.GraphicFrame() { Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties2 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties11 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Chart 1" };
            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Xdr.NonVisualGraphicFrameDrawingProperties();

            nonVisualGraphicFrameProperties2.Append(nonVisualDrawingProperties11);
            nonVisualGraphicFrameProperties2.Append(nonVisualGraphicFrameDrawingProperties2);

            Xdr.Transform transform2 = new Xdr.Transform();
            A.Offset offset15 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents15 = new A.Extents() { Cx = 0L, Cy = 0L };

            transform2.Append(offset15);
            transform2.Append(extents15);

            A.Graphic graphic2 = new A.Graphic();

            A.GraphicData graphicData2 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart" };

            C.ChartReference chartReference1 = new C.ChartReference() { Id = "rId1" };
            chartReference1.AddNamespaceDeclaration("c", "http://schemas.openxmlformats.org/drawingml/2006/chart");
            chartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData2.Append(chartReference1);

            graphic2.Append(graphicData2);

            graphicFrame2.Append(nonVisualGraphicFrameProperties2);
            graphicFrame2.Append(transform2);
            graphicFrame2.Append(graphic2);
            Xdr.ClientData clientData5 = new Xdr.ClientData();

            twoCellAnchor5.Append(fromMarker5);
            twoCellAnchor5.Append(toMarker5);
            twoCellAnchor5.Append(graphicFrame2);
            twoCellAnchor5.Append(clientData5);

            Xdr.OneCellAnchor oneCellAnchor1 = new Xdr.OneCellAnchor();

            Xdr.FromMarker fromMarker6 = new Xdr.FromMarker();
            Xdr.ColumnId columnId11 = new Xdr.ColumnId();
            columnId11.Text = "17";
            Xdr.ColumnOffset columnOffset11 = new Xdr.ColumnOffset();
            columnOffset11.Text = "186742";
            Xdr.RowId rowId11 = new Xdr.RowId();
            rowId11.Text = "11";
            Xdr.RowOffset rowOffset11 = new Xdr.RowOffset();
            rowOffset11.Text = "174123";

            fromMarker6.Append(columnId11);
            fromMarker6.Append(columnOffset11);
            fromMarker6.Append(rowId11);
            fromMarker6.Append(rowOffset11);
            Xdr.Extent extent1 = new Xdr.Extent() { Cx = 3627019L, Cy = 937629L };

            Xdr.Shape shape11 = new Xdr.Shape() { Macro = "", TextLink = "" };

            Xdr.NonVisualShapeProperties nonVisualShapeProperties3 = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties12 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3U, Name = "Rectangle 2" };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties3 = new Xdr.NonVisualShapeDrawingProperties();

            nonVisualShapeProperties3.Append(nonVisualDrawingProperties12);
            nonVisualShapeProperties3.Append(nonVisualShapeDrawingProperties3);

            Xdr.ShapeProperties shapeProperties35 = new Xdr.ShapeProperties();

            A.Transform2D transform2D14 = new A.Transform2D() { Rotation = 1966164 };
            A.Offset offset16 = new A.Offset() { X = 10549942L, Y = 3793623L };
            A.Extents extents16 = new A.Extents() { Cx = 3627019L, Cy = 937629L };

            transform2D14.Append(offset16);
            transform2D14.Append(extents16);

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

            presetGeometry9.Append(adjustValueList9);
            A.NoFill noFill1 = new A.NoFill();

            shapeProperties35.Append(transform2D14);
            shapeProperties35.Append(presetGeometry9);
            shapeProperties35.Append(noFill1);

            Xdr.TextBody textBody24 = new Xdr.TextBody();

            A.BodyProperties bodyProperties24 = new A.BodyProperties() { Wrap = A.TextWrappingValues.None, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720 };
            A.ShapeAutoFit shapeAutoFit1 = new A.ShapeAutoFit();

            bodyProperties24.Append(shapeAutoFit1);
            A.ListStyle listStyle24 = new A.ListStyle();

            A.Paragraph paragraph24 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties7 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Center };

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

            A.RunProperties runProperties12 = new A.RunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0 };

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

            A.SolidFill solidFill18 = new A.SolidFill();
            A.SchemeColor schemeColor191 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };

            solidFill18.Append(schemeColor191);
            A.PresetDash presetDash9 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline10.Append(solidFill18);
            outline10.Append(presetDash9);

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

            A.SchemeColor schemeColor192 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };
            A.LuminanceModulation luminanceModulation1 = new A.LuminanceModulation() { Val = 40000 };
            A.LuminanceOffset luminanceOffset11 = new A.LuminanceOffset() { Val = 60000 };

            schemeColor192.Append(luminanceModulation1);
            schemeColor192.Append(luminanceOffset11);

            solidFill19.Append(schemeColor192);
            A.EffectList effectList9 = new A.EffectList();

            runProperties12.Append(outline10);
            runProperties12.Append(solidFill19);
            runProperties12.Append(effectList9);
            A.Text text12 = new A.Text();
            text12.Text = "Hello";

            run12.Append(runProperties12);
            run12.Append(text12);

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

            A.RunProperties runProperties13 = new A.RunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0, Baseline = 0 };

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

            A.SolidFill solidFill20 = new A.SolidFill();
            A.SchemeColor schemeColor193 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };

            solidFill20.Append(schemeColor193);
            A.PresetDash presetDash10 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline11.Append(solidFill20);
            outline11.Append(presetDash10);

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

            A.SchemeColor schemeColor194 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };
            A.LuminanceModulation luminanceModulation2 = new A.LuminanceModulation() { Val = 40000 };
            A.LuminanceOffset luminanceOffset12 = new A.LuminanceOffset() { Val = 60000 };

            schemeColor194.Append(luminanceModulation2);
            schemeColor194.Append(luminanceOffset12);

            solidFill21.Append(schemeColor194);
            A.EffectList effectList10 = new A.EffectList();

            runProperties13.Append(outline11);
            runProperties13.Append(solidFill21);
            runProperties13.Append(effectList10);
            A.Text text13 = new A.Text();
            text13.Text = " World";

            run13.Append(runProperties13);
            run13.Append(text13);

            A.EndParagraphRunProperties endParagraphRunProperties13 = new A.EndParagraphRunProperties() { Language = "en-US", FontSize = 5400, Bold = true, Capital = A.TextCapsValues.None, Spacing = 0 };

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

            A.SolidFill solidFill22 = new A.SolidFill();
            A.SchemeColor schemeColor195 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };

            solidFill22.Append(schemeColor195);
            A.PresetDash presetDash11 = new A.PresetDash() { Val = A.PresetLineDashValues.Solid };

            outline12.Append(solidFill22);
            outline12.Append(presetDash11);

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

            A.SchemeColor schemeColor196 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };
            A.LuminanceModulation luminanceModulation3 = new A.LuminanceModulation() { Val = 40000 };
            A.LuminanceOffset luminanceOffset13 = new A.LuminanceOffset() { Val = 60000 };

            schemeColor196.Append(luminanceModulation3);
            schemeColor196.Append(luminanceOffset13);

            solidFill23.Append(schemeColor196);
            A.EffectList effectList11 = new A.EffectList();

            endParagraphRunProperties13.Append(outline12);
            endParagraphRunProperties13.Append(solidFill23);
            endParagraphRunProperties13.Append(effectList11);

            paragraph24.Append(paragraphProperties7);
            paragraph24.Append(run12);
            paragraph24.Append(run13);
            paragraph24.Append(endParagraphRunProperties13);

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

            shape11.Append(nonVisualShapeProperties3);
            shape11.Append(shapeProperties35);
            shape11.Append(textBody24);
            Xdr.ClientData clientData6 = new Xdr.ClientData();

            oneCellAnchor1.Append(fromMarker6);
            oneCellAnchor1.Append(extent1);
            oneCellAnchor1.Append(shape11);
            oneCellAnchor1.Append(clientData6);

            worksheetDrawing2.Append(twoCellAnchor5);
            worksheetDrawing2.Append(oneCellAnchor1);

            drawingsPart2.WorksheetDrawing = worksheetDrawing2;
        }
Exemplo n.º 15
0
    private Run GetParaRun(bool linebreak = true)
    {
        paragraph = new Paragraph();
        ParagraphProperties paraProperties = new ParagraphProperties();
        paraProperties.Append(new SpacingBetweenLines() { Before="0", After = "0", Line = "200", LineRule = LineSpacingRuleValues.Auto });
        paragraph.Append(paraProperties);
        body.Append(paragraph);

        Run run = GetRun();
        if (linebreak)
        {
            RunProperties runProperties = new RunProperties();
            runProperties.Append(new RunFonts() { Ascii = "Cambria" });
            runProperties.Append(new FontSize() { Val = "5" });
            run.Append(runProperties);
            run.Append(new Break());
        }
        firstLine = false;
        return GetRun();
    }
Exemplo n.º 16
0
        // Creates an Run instance and adds its children.
        public Run GenerateRun_Bold(String Testo,string FontSize)
        {
            Run run1 = new Run() { RsidRunProperties = "00C2459F", RsidRunAddition = "004D372B" };

            RunProperties runProperties1 = new RunProperties();
            Bold bold1 = new Bold();
            FontSize fontSize1 = new FontSize() { Val = FontSize };

            runProperties1.Append(fontSize1);
            runProperties1.Append(bold1);
            Text text1 = new Text();
            text1.Text = Testo;

            run1.Append(runProperties1);
            run1.Append(text1);
            return run1;
        }
Exemplo n.º 17
0
 private Run GetRun()
 {
     Run run = new Run();
     RunProperties runProperties = new RunProperties();
     runProperties.Append(new RunFonts() { Ascii = "Century Gothic" });
     runProperties.Append(new FontSize() { Val = "20" });
     run.Append(runProperties);
     paragraph.Append(run);
     return run;
 }
Exemplo n.º 18
0
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellDesSpecificheTecniche(string Testo)
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "004D372B", RsidParagraphAddition = "004D372B", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "004D372B" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Left };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, ComplexScriptTheme = ThemeFontValues.MinorHighAnsi };

            paragraphMarkRunProperties1.Append(runFonts1);

            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run1 = new Run() { RsidRunProperties = "004D372B" };

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { AsciiTheme = ThemeFontValues.MinorHighAnsi, HighAnsiTheme = ThemeFontValues.MinorHighAnsi, ComplexScriptTheme = ThemeFontValues.MinorHighAnsi };

            runProperties1.Append(runFonts2);
            Text text1 = new Text();
            text1.Text = Testo;

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

            Run run2 = new Run();
            Text text2 = new Text();
            text2.Text = " ";

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            paragraph1.Append(run2);
            return paragraph1;
        }
Exemplo n.º 19
0
        protected virtual void InitDrawingsPart(int logoToMarkerColOffset  = 824661,
                                                int titleFromMarkerColumn  = 7,
                                                int titleToMarkerColumn    = 9,
                                                int titleToMarkerColOffset = 285450)
        {
            Xdr.WorksheetDrawing worksheetDrawing = new Xdr.WorksheetDrawing();
            worksheetDrawing.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor()
            {
                EditAs = Xdr.EditAsValues.OneCell
            };

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId1   = new Xdr.ColumnId();
            columnId1.Text = "0";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "0";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "0";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "82404";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "2";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = logoToMarkerColOffset.ToString();
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "2";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "126030";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)4U, Name = "Picture 3"
            };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill()
            {
                RotateWithShape = true
            };

            A.Blip blip1 = new A.Blip()
            {
                Embed = "rId1"
            };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle()
            {
                Top = 32250, Bottom = 34913
            };
            A.Stretch stretch1 = new A.Stretch();

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

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

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 0L, Y = 82404L
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = 1827961L, Cy = 450026L
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

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

            presetGeometry1.Append(adjustValueList1);

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

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor()
            {
                EditAs = Xdr.EditAsValues.OneCell
            };

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId3   = new Xdr.ColumnId();
            columnId3.Text = titleFromMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "685800";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "0";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "114300";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = titleToMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = titleToMarkerColOffset.ToString();
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "2";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "88900";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            Xdr.Shape shape1 = new Xdr.Shape()
            {
                Macro = "", TextLink = ""
            };

            Xdr.NonVisualShapeProperties   nonVisualShapeProperties1   = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)8U, Name = "TextBox 7"
            };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties()
            {
                TextBox = true
            };

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

            Xdr.ShapeProperties shapeProperties2 = new Xdr.ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = 6769100L, Y = 114300L
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = 1631650L, Cy = 381000L
            };

            transform2D2.Append(offset2);
            transform2D2.Append(extents2);

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

            presetGeometry2.Append(adjustValueList2);

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

            solidFill1.Append(schemeColor1);

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

            outline1.Append(noFill1);

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

            Xdr.ShapeStyle shapeStyle1 = new Xdr.ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            lineReference1.Append(rgbColorModelPercentage1);

            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage2 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            fillReference1.Append(rgbColorModelPercentage2);

            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage3 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            effectReference1.Append(rgbColorModelPercentage3);

            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };
            A.SchemeColor schemeColor2 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Dark1
            };

            fontReference1.Append(schemeColor2);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

            Xdr.TextBody     textBody1       = new Xdr.TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties()
            {
                VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center
            };
            A.ListStyle listStyle1 = new A.ListStyle();

            A.Paragraph           paragraph1           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };

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

            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Language = "en-US", FontSize = 1600, Bold = true
            };

            A.SolidFill   solidFill2   = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Background1
            };

            solidFill2.Append(schemeColor3);

            runProperties1.Append(solidFill2);
            A.Text text1 = new A.Text();
            text1.Text = "Deloitte Reveal";

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

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

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

            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties2);
            shape1.Append(shapeStyle1);
            shape1.Append(textBody1);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(shape1);
            twoCellAnchor2.Append(clientData2);

            worksheetDrawing.Append(twoCellAnchor1);
            worksheetDrawing.Append(twoCellAnchor2);

            DrawingsPart.WorksheetDrawing = worksheetDrawing;
        }
Exemplo n.º 20
0
        // Creates an Paragraph instance and adds its children.
        public Paragraph GenerateParagraphCellDesCodice(string Testo)
        {
            //Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "004D372C", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "00404EB3" };
            

            //ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            //Justification justification1 = new Justification() { Val = JustificationValues.Center };
            //DocumentFormat.OpenXml.Wordprocessing.Color color1 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };






            //paragraphProperties1.Append(color1);
            //paragraphProperties1.Append(justification1);
            //Run run2 = new Run() { RsidRunProperties = "004D372C", RsidRunAddition = "004D372B" };
            //Text text2 = new Text();
            //text2.Text = Testo;

            //run2.Append(GenerateRun_Bold(Testo, "25"));

            //paragraph1.Append(paragraphProperties1);
            //paragraph1.Append(run2);

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00604311", RsidParagraphAddition = "004D372C", RsidParagraphProperties = "004D372B", RsidRunAdditionDefault = "00604311" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            DocumentFormat.OpenXml.Wordprocessing.Color color1 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };

            paragraphMarkRunProperties1.Append(color1);

            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Run run1 = new Run() { RsidRunProperties = "00604311" };

            RunProperties runProperties1 = new RunProperties();
            Bold bold1 = new Bold();
            DocumentFormat.OpenXml.Wordprocessing.Color color2 = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "FF0000" };
            FontSize fontSize1 = new FontSize() { Val = "25" };

            runProperties1.Append(bold1);
            runProperties1.Append(color2);
            runProperties1.Append(fontSize1);
            Text text1 = new Text();
            text1.Text = Testo;

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

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

        }
Exemplo n.º 21
0
        /// <summary>
        /// Converts the paragraph.
        /// </summary>
        /// <param name="worksheetPart">The worksheet part.</param>
        /// <param name="RTFSection">The RTF section.</param>
        /// <param name="matchShape">The match shape.</param>
        /// <returns></returns>
        public static DrawingSpreadsheet.Shape ConvertParagraph(WorksheetPart worksheetPart, Section RTFSection, DrawingSpreadsheet.Shape matchShape)
        {
            DrawingSpreadsheet.Shape           NewShape = new DrawingSpreadsheet.Shape();
            DocumentFormat.OpenXml.Drawing.Run ShapeRun = null;

            // get the graphic frame from the source anchor
            var sourceAnchor = worksheetPart.DrawingsPart.WorksheetDrawing.GetFirstChild <DrawingSpreadsheet.TwoCellAnchor>();
            var sourceShape  = sourceAnchor.Descendants <DrawingSpreadsheet.Shape>().FirstOrDefault();

            // add it to the target anchor (ie. the one with the shape removed)
            DocumentFormat.OpenXml.Drawing.Spreadsheet.Shape targetShape = (DocumentFormat.OpenXml.Drawing.Spreadsheet.Shape)NewShape.CloneNode(true);

            targetShape.Append(matchShape.NonVisualShapeProperties.CloneNode(true));
            targetShape.Append(matchShape.ShapeProperties.CloneNode(true));
            targetShape.Append(matchShape.ShapeStyle.CloneNode(true));

            targetShape.Append(matchShape.TextBody.CloneNode(true));

            //Remove the text associated with the shape

            foreach (DocumentFormat.OpenXml.Drawing.Paragraph Paragraph in targetShape.TextBody.Descendants <DocumentFormat.OpenXml.Drawing.Paragraph>())
            {
                foreach (DocumentFormat.OpenXml.Drawing.Run RunToRemove in Paragraph.Descendants <DocumentFormat.OpenXml.Drawing.Run>())
                {
                    RunToRemove.Remove();
                }
            }

            try
            {
                foreach (System.Windows.Documents.Paragraph p in RTFSection.Blocks)
                {
                    InlineCollection ParagraphInLines = p.Inlines;


                    DocumentFormat.OpenXml.Drawing.Paragraph ShapeParagraph = new DocumentFormat.OpenXml.Drawing.Paragraph();

                    foreach (var InLine in ParagraphInLines)
                    {
                        if (InLine.GetType() == typeof(System.Windows.Documents.Span))
                        {
                            Span s = (Span)InLine;

                            Brush SourceTextColour = s.Foreground;

                            foreach (System.Windows.Documents.Run r in s.Inlines)
                            {
                                if (r.Text != "\n")
                                {
                                    ShapeRun = new DocumentFormat.OpenXml.Drawing.Run();

                                    DocumentFormat.OpenXml.Drawing.RunProperties ShapeRunProperties = new DocumentFormat.OpenXml.Drawing.RunProperties();
                                    DocumentFormat.OpenXml.Drawing.Text          ShapeText          = new DocumentFormat.OpenXml.Drawing.Text(r.Text);

                                    //the font family will be inherited from the sheet of the target shape
                                    ShapeRunProperties.FontSize = new Int32Value(System.Convert.ToInt32(s.FontSize * 100));

                                    SolidFill textFill = new SolidFill();

                                    SystemColor textColour = new SystemColor();

                                    textColour.Val = new EnumValue <SystemColorValues>(SystemColorValues.WindowText);

                                    Int64Value ColourMask   = 0xFF000000;
                                    Int64Value SourceColour = System.Convert.ToInt64(SourceTextColour.ToString().Replace("#", "0x"), 16);

                                    SourceColour = SourceColour % ColourMask;

                                    textColour.LastColor = new HexBinaryValue(string.Format("{0,10:X}", SourceColour));

                                    textFill.SystemColor = textColour;

                                    ShapeRunProperties.Append(textFill);

                                    if (r.FontWeight == System.Windows.FontWeights.Bold)
                                    {
                                        ShapeRunProperties.Bold = true;
                                    }

                                    if (r.FontStyle == System.Windows.FontStyles.Italic)
                                    {
                                        ShapeRunProperties.Italic = true;
                                    }

                                    if (r.TextDecorations == System.Windows.TextDecorations.Underline)
                                    {
                                        ShapeRunProperties.Underline = new EnumValue <TextUnderlineValues>(TextUnderlineValues.Single);
                                    }

                                    ShapeRun.Text          = ShapeText;
                                    ShapeRun.RunProperties = ShapeRunProperties;

                                    ShapeParagraph.Append(ShapeRun);
                                }
                            }
                        }
                        else
                        {
                            //do something else
                        }
                    }

                    targetShape.TextBody.Append(ShapeParagraph);
                }
            }
            catch (System.Exception ex)
            {
                throw ex;
            }

            return(targetShape);
        }
Exemplo n.º 22
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;
        }