コード例 #1
0
        public void DoParagraphBelowTable2(Paragraph paragraph69)
        {
            ParagraphProperties paragraphProperties69 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties69 = new ParagraphMarkRunProperties();
            Vanish   vanish1     = new Vanish();
            FontSize fontSize118 = new FontSize()
            {
                Val = "20"
            };

            paragraphMarkRunProperties69.Append(vanish1);
            paragraphMarkRunProperties69.Append(fontSize118);

            paragraphProperties69.Append(paragraphMarkRunProperties69);

            Run run63 = new Run()
            {
                RsidRunProperties = "00D10A17"
            };

            RunProperties runProperties63 = new RunProperties();
            RunFonts      runFonts131     = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            FontSize fontSize119 = new FontSize()
            {
                Val = "18"
            };
            FontSizeComplexScript fontSizeComplexScript117 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties63.Append(runFonts131);
            runProperties63.Append(fontSize119);
            runProperties63.Append(fontSizeComplexScript117);
            Text text63 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text63.Text = "RECORDED TEMPERATURE IS ACTUAL READING + CORRECTION ";

            run63.Append(runProperties63);
            run63.Append(text63);
            ProofError proofError45 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run64 = new Run()
            {
                RsidRunProperties = "00D10A17"
            };

            RunProperties runProperties64 = new RunProperties();
            RunFonts      runFonts132     = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            FontSize fontSize120 = new FontSize()
            {
                Val = "18"
            };
            FontSizeComplexScript fontSizeComplexScript118 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties64.Append(runFonts132);
            runProperties64.Append(fontSize120);
            runProperties64.Append(fontSizeComplexScript118);
            Text text64 = new Text();

            text64.Text = "FACTOR";

            run64.Append(runProperties64);
            run64.Append(text64);

            paragraph69.Append(paragraphProperties69);
            paragraph69.Append(run63);
            paragraph69.Append(proofError45);
            paragraph69.Append(run64);
        }
コード例 #2
0
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1, objPatientContract obj)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            WidowControl widowControl1 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE1 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN1 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent1 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "New Roman", HighAnsi = "New Roman", EastAsia = "New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize1 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(fontSize1);
            paragraphMarkRunProperties1.Append(fontSizeComplexScript1);

            paragraphProperties1.Append(widowControl1);
            paragraphProperties1.Append(autoSpaceDE1);
            paragraphProperties1.Append(autoSpaceDN1);
            paragraphProperties1.Append(adjustRightIndent1);
            paragraphProperties1.Append(spacingBetweenLines1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            paragraph1.Append(paragraphProperties1);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            WidowControl widowControl2 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE2 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN2 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent2 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "New Roman", HighAnsi = "New Roman", EastAsia = "New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize2 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties2.Append(runFonts2);
            paragraphMarkRunProperties2.Append(fontSize2);
            paragraphMarkRunProperties2.Append(fontSizeComplexScript2);

            paragraphProperties2.Append(widowControl2);
            paragraphProperties2.Append(autoSpaceDE2);
            paragraphProperties2.Append(autoSpaceDN2);
            paragraphProperties2.Append(adjustRightIndent2);
            paragraphProperties2.Append(spacingBetweenLines2);
            paragraphProperties2.Append(paragraphMarkRunProperties2);

            paragraph2.Append(paragraphProperties2);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            WidowControl widowControl3 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE3 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN3 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent3 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize3 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties3.Append(runFonts3);
            paragraphMarkRunProperties3.Append(fontSize3);
            paragraphMarkRunProperties3.Append(fontSizeComplexScript3);

            paragraphProperties3.Append(widowControl3);
            paragraphProperties3.Append(autoSpaceDE3);
            paragraphProperties3.Append(autoSpaceDN3);
            paragraphProperties3.Append(adjustRightIndent3);
            paragraphProperties3.Append(spacingBetweenLines3);
            paragraphProperties3.Append(justification1);
            paragraphProperties3.Append(paragraphMarkRunProperties3);

            Run run1 = new Run();

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize4 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "20" };

            runProperties1.Append(runFonts4);
            runProperties1.Append(fontSize4);
            runProperties1.Append(fontSizeComplexScript4);
            Text text1 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text1.Text = " ";

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

            Run run2 = new Run() { RsidRunAddition = "00D60978" };

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold1 = new Bold();
            BoldComplexScript boldComplexScript1 = new BoldComplexScript();
            FontSize fontSize5 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "20" };

            runProperties2.Append(runFonts5);
            runProperties2.Append(bold1);
            runProperties2.Append(boldComplexScript1);
            runProperties2.Append(fontSize5);
            runProperties2.Append(fontSizeComplexScript5);
            Text text2 = new Text();
            text2.Text = "МИКРОБИОЛОГИЧЕСКОЕ ИССЛЕДОВАНИЕ";

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

            Run run3 = new Run();

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold2 = new Bold();
            BoldComplexScript boldComplexScript2 = new BoldComplexScript();
            FontSize fontSize6 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "20" };

            runProperties3.Append(runFonts6);
            runProperties3.Append(bold2);
            runProperties3.Append(boldComplexScript2);
            runProperties3.Append(fontSize6);
            runProperties3.Append(fontSizeComplexScript6);
            Text text3 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text3.Text = " № ";

            run3.Append(runProperties3);
            run3.Append(text3);

            Run run4 = new Run() { RsidRunAddition = "00D60978" };

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold3 = new Bold();
            BoldComplexScript boldComplexScript3 = new BoldComplexScript();
            FontSize fontSize7 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "20" };

            runProperties4.Append(runFonts7);
            runProperties4.Append(bold3);
            runProperties4.Append(boldComplexScript3);
            runProperties4.Append(fontSize7);
            runProperties4.Append(fontSizeComplexScript7);
            Text text4 = new Text();
            text4.Text = obj.SampleID ;

            run4.Append(runProperties4);
            run4.Append(text4);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run1);
            paragraph3.Append(run2);
            paragraph3.Append(run3);
            paragraph3.Append(run4);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            WidowControl widowControl4 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE4 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN4 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent4 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification2 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize8 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties4.Append(runFonts8);
            paragraphMarkRunProperties4.Append(fontSize8);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript8);

            paragraphProperties4.Append(widowControl4);
            paragraphProperties4.Append(autoSpaceDE4);
            paragraphProperties4.Append(autoSpaceDN4);
            paragraphProperties4.Append(adjustRightIndent4);
            paragraphProperties4.Append(spacingBetweenLines4);
            paragraphProperties4.Append(justification2);
            paragraphProperties4.Append(paragraphMarkRunProperties4);

            paragraph4.Append(paragraphProperties4);

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "a3" };
            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);
            TableLayout tableLayout1 = new TableLayout() { Type = TableLayoutValues.Fixed };
            TableLook tableLook1 = new TableLook() { Val = "0000", FirstRow = false, LastRow = false, FirstColumn = false, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = false };

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

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "3500" };
            GridColumn gridColumn2 = new GridColumn() { Width = "5500" };

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

            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            TableRowHeight tableRowHeight1 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties1.Append(tableRowHeight1);

            TableCell tableCell1 = new TableCell();

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

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            WidowControl widowControl5 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE5 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN5 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent5 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize9 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties5.Append(runFonts9);
            paragraphMarkRunProperties5.Append(fontSize9);
            paragraphMarkRunProperties5.Append(fontSizeComplexScript9);

            paragraphProperties5.Append(widowControl5);
            paragraphProperties5.Append(autoSpaceDE5);
            paragraphProperties5.Append(autoSpaceDN5);
            paragraphProperties5.Append(adjustRightIndent5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run5 = new Run();

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold4 = new Bold();
            BoldComplexScript boldComplexScript4 = new BoldComplexScript();
            FontSize fontSize10 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "20" };

            runProperties5.Append(runFonts10);
            runProperties5.Append(bold4);
            runProperties5.Append(boldComplexScript4);
            runProperties5.Append(fontSize10);
            runProperties5.Append(fontSizeComplexScript10);
            Text text5 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text5.Text = "Лечебное учреждение: ";

            run5.Append(runProperties5);
            run5.Append(text5);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run5);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph5);

            TableCell tableCell2 = new TableCell();

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

            tableCellProperties2.Append(tableCellWidth2);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            WidowControl widowControl6 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE6 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN6 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent6 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize11 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties6.Append(runFonts11);
            paragraphMarkRunProperties6.Append(fontSize11);
            paragraphMarkRunProperties6.Append(fontSizeComplexScript11);

            paragraphProperties6.Append(widowControl6);
            paragraphProperties6.Append(autoSpaceDE6);
            paragraphProperties6.Append(autoSpaceDN6);
            paragraphProperties6.Append(adjustRightIndent6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            Run run6 = new Run();

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize12 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "20" };

            runProperties6.Append(runFonts12);
            runProperties6.Append(fontSize12);
            runProperties6.Append(fontSizeComplexScript12);
            Text text6 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text6.Text = obj.Clinic ;

            run6.Append(runProperties6);
            run6.Append(text6);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run6);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph6);

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties2 = new TableRowProperties();
            TableRowHeight tableRowHeight2 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties2.Append(tableRowHeight2);

            TableCell tableCell3 = new TableCell();

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

            tableCellProperties3.Append(tableCellWidth3);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            WidowControl widowControl7 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE7 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN7 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent7 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize13 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties7.Append(runFonts13);
            paragraphMarkRunProperties7.Append(fontSize13);
            paragraphMarkRunProperties7.Append(fontSizeComplexScript13);

            paragraphProperties7.Append(widowControl7);
            paragraphProperties7.Append(autoSpaceDE7);
            paragraphProperties7.Append(autoSpaceDN7);
            paragraphProperties7.Append(adjustRightIndent7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);

            Run run7 = new Run();

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold5 = new Bold();
            BoldComplexScript boldComplexScript5 = new BoldComplexScript();
            FontSize fontSize14 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "20" };

            runProperties7.Append(runFonts14);
            runProperties7.Append(bold5);
            runProperties7.Append(boldComplexScript5);
            runProperties7.Append(fontSize14);
            runProperties7.Append(fontSizeComplexScript14);
            Text text7 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text7.Text = "Врач: ";

            run7.Append(runProperties7);
            run7.Append(text7);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run7);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph7);

            TableCell tableCell4 = new TableCell();

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

            tableCellProperties4.Append(tableCellWidth4);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            WidowControl widowControl8 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE8 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN8 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent8 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize15 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties8.Append(runFonts15);
            paragraphMarkRunProperties8.Append(fontSize15);
            paragraphMarkRunProperties8.Append(fontSizeComplexScript15);

            paragraphProperties8.Append(widowControl8);
            paragraphProperties8.Append(autoSpaceDE8);
            paragraphProperties8.Append(autoSpaceDN8);
            paragraphProperties8.Append(adjustRightIndent8);
            paragraphProperties8.Append(paragraphMarkRunProperties8);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run8 = new Run();

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize16 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "20" };

            runProperties8.Append(runFonts16);
            runProperties8.Append(fontSize16);
            runProperties8.Append(fontSizeComplexScript16);
            Text text8 = new Text();
            text8.Text = obj.DoctorFIO ;

            run8.Append(runProperties8);
            run8.Append(text8);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run9 = new Run();

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize17 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "20" };

            runProperties9.Append(runFonts17);
            runProperties9.Append(fontSize17);
            runProperties9.Append(fontSizeComplexScript17);
            Text text9 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text9.Text = "";

            run9.Append(runProperties9);
            run9.Append(text9);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(proofError1);
            paragraph8.Append(run8);
            paragraph8.Append(proofError2);
            paragraph8.Append(run9);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph8);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            tableRow2.Append(tableRowProperties2);
            tableRow2.Append(tableCell3);
            tableRow2.Append(tableCell4);
            tableRow2.Append(bookmarkStart1);
            tableRow2.Append(bookmarkEnd1);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties3 = new TableRowProperties();
            TableRowHeight tableRowHeight3 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties3.Append(tableRowHeight3);

            TableCell tableCell5 = new TableCell();

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

            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            WidowControl widowControl9 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE9 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN9 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent9 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize18 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties9.Append(runFonts18);
            paragraphMarkRunProperties9.Append(fontSize18);
            paragraphMarkRunProperties9.Append(fontSizeComplexScript18);

            paragraphProperties9.Append(widowControl9);
            paragraphProperties9.Append(autoSpaceDE9);
            paragraphProperties9.Append(autoSpaceDN9);
            paragraphProperties9.Append(adjustRightIndent9);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run10 = new Run();

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold6 = new Bold();
            BoldComplexScript boldComplexScript6 = new BoldComplexScript();
            FontSize fontSize19 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript19 = new FontSizeComplexScript() { Val = "20" };

            runProperties10.Append(runFonts19);
            runProperties10.Append(bold6);
            runProperties10.Append(boldComplexScript6);
            runProperties10.Append(fontSize19);
            runProperties10.Append(fontSizeComplexScript19);
            Text text10 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text10.Text = "Пациент: ";

            run10.Append(runProperties10);
            run10.Append(text10);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run10);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph9);

            TableCell tableCell6 = new TableCell();

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

            tableCellProperties6.Append(tableCellWidth6);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            WidowControl widowControl10 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE10 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN10 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent10 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize20 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript20 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties10.Append(runFonts20);
            paragraphMarkRunProperties10.Append(fontSize20);
            paragraphMarkRunProperties10.Append(fontSizeComplexScript20);

            paragraphProperties10.Append(widowControl10);
            paragraphProperties10.Append(autoSpaceDE10);
            paragraphProperties10.Append(autoSpaceDN10);
            paragraphProperties10.Append(adjustRightIndent10);
            paragraphProperties10.Append(paragraphMarkRunProperties10);

            Run run11 = new Run();

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize21 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript21 = new FontSizeComplexScript() { Val = "20" };

            runProperties11.Append(runFonts21);
            runProperties11.Append(fontSize21);
            runProperties11.Append(fontSizeComplexScript21);
            Text text11 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text11.Text = obj.PatientFIO ;

            run11.Append(runProperties11);
            run11.Append(text11);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run11);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph10);

            tableRow3.Append(tableRowProperties3);
            tableRow3.Append(tableCell5);
            tableRow3.Append(tableCell6);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties4 = new TableRowProperties();
            TableRowHeight tableRowHeight4 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties4.Append(tableRowHeight4);

            TableCell tableCell7 = new TableCell();

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

            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            WidowControl widowControl11 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE11 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN11 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent11 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize22 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript22 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties11.Append(runFonts22);
            paragraphMarkRunProperties11.Append(fontSize22);
            paragraphMarkRunProperties11.Append(fontSizeComplexScript22);

            paragraphProperties11.Append(widowControl11);
            paragraphProperties11.Append(autoSpaceDE11);
            paragraphProperties11.Append(autoSpaceDN11);
            paragraphProperties11.Append(adjustRightIndent11);
            paragraphProperties11.Append(paragraphMarkRunProperties11);

            Run run12 = new Run();

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold7 = new Bold();
            BoldComplexScript boldComplexScript7 = new BoldComplexScript();
            FontSize fontSize23 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript23 = new FontSizeComplexScript() { Val = "20" };

            runProperties12.Append(runFonts23);
            runProperties12.Append(bold7);
            runProperties12.Append(boldComplexScript7);
            runProperties12.Append(fontSize23);
            runProperties12.Append(fontSizeComplexScript23);
            Text text12 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text12.Text = "Дата рождения: ";

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

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run12);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph11);

            TableCell tableCell8 = new TableCell();

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

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            WidowControl widowControl12 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE12 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN12 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent12 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize24 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript24 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties12.Append(runFonts24);
            paragraphMarkRunProperties12.Append(fontSize24);
            paragraphMarkRunProperties12.Append(fontSizeComplexScript24);

            paragraphProperties12.Append(widowControl12);
            paragraphProperties12.Append(autoSpaceDE12);
            paragraphProperties12.Append(autoSpaceDN12);
            paragraphProperties12.Append(adjustRightIndent12);
            paragraphProperties12.Append(paragraphMarkRunProperties12);

            Run run13 = new Run();

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize25 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript25 = new FontSizeComplexScript() { Val = "20" };

            runProperties13.Append(runFonts25);
            runProperties13.Append(fontSize25);
            runProperties13.Append(fontSizeComplexScript25);
            Text text13 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text13.Text = obj.BirthDate ;

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

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run13);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph12);

            tableRow4.Append(tableRowProperties4);
            tableRow4.Append(tableCell7);
            tableRow4.Append(tableCell8);

            TableRow tableRow5 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties5 = new TableRowProperties();
            TableRowHeight tableRowHeight5 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties5.Append(tableRowHeight5);

            TableCell tableCell9 = new TableCell();

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

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            WidowControl widowControl13 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE13 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN13 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent13 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize26 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript26 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties13.Append(runFonts26);
            paragraphMarkRunProperties13.Append(fontSize26);
            paragraphMarkRunProperties13.Append(fontSizeComplexScript26);

            paragraphProperties13.Append(widowControl13);
            paragraphProperties13.Append(autoSpaceDE13);
            paragraphProperties13.Append(autoSpaceDN13);
            paragraphProperties13.Append(adjustRightIndent13);
            paragraphProperties13.Append(paragraphMarkRunProperties13);

            Run run14 = new Run();

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold8 = new Bold();
            BoldComplexScript boldComplexScript8 = new BoldComplexScript();
            FontSize fontSize27 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript() { Val = "20" };

            runProperties14.Append(runFonts27);
            runProperties14.Append(bold8);
            runProperties14.Append(boldComplexScript8);
            runProperties14.Append(fontSize27);
            runProperties14.Append(fontSizeComplexScript27);
            Text text14 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text14.Text = "Клинический материал: ";

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

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run14);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph13);

            TableCell tableCell10 = new TableCell();

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

            tableCellProperties10.Append(tableCellWidth10);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            WidowControl widowControl14 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE14 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN14 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent14 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize28 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties14.Append(runFonts28);
            paragraphMarkRunProperties14.Append(fontSize28);
            paragraphMarkRunProperties14.Append(fontSizeComplexScript28);

            paragraphProperties14.Append(widowControl14);
            paragraphProperties14.Append(autoSpaceDE14);
            paragraphProperties14.Append(autoSpaceDN14);
            paragraphProperties14.Append(adjustRightIndent14);
            paragraphProperties14.Append(paragraphMarkRunProperties14);

            Run run15 = new Run();

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize29 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript29 = new FontSizeComplexScript() { Val = "20" };

            runProperties15.Append(runFonts29);
            runProperties15.Append(fontSize29);
            runProperties15.Append(fontSizeComplexScript29);
            Text text15 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text15.Text = obj.ClinicMaterial ;

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

            paragraph14.Append(paragraphProperties14);
            paragraph14.Append(run15);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(paragraph14);

            tableRow5.Append(tableRowProperties5);
            tableRow5.Append(tableCell9);
            tableRow5.Append(tableCell10);

            TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties6 = new TableRowProperties();
            TableRowHeight tableRowHeight6 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties6.Append(tableRowHeight6);

            TableCell tableCell11 = new TableCell();

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

            tableCellProperties11.Append(tableCellWidth11);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();
            WidowControl widowControl15 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE15 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN15 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent15 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize30 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript30 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties15.Append(runFonts30);
            paragraphMarkRunProperties15.Append(fontSize30);
            paragraphMarkRunProperties15.Append(fontSizeComplexScript30);

            paragraphProperties15.Append(widowControl15);
            paragraphProperties15.Append(autoSpaceDE15);
            paragraphProperties15.Append(autoSpaceDN15);
            paragraphProperties15.Append(adjustRightIndent15);
            paragraphProperties15.Append(paragraphMarkRunProperties15);

            Run run16 = new Run();

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold9 = new Bold();
            BoldComplexScript boldComplexScript9 = new BoldComplexScript();
            FontSize fontSize31 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript31 = new FontSizeComplexScript() { Val = "20" };

            runProperties16.Append(runFonts31);
            runProperties16.Append(bold9);
            runProperties16.Append(boldComplexScript9);
            runProperties16.Append(fontSize31);
            runProperties16.Append(fontSizeComplexScript31);
            Text text16 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text16.Text = "Дата доставки материала: ";

            run16.Append(runProperties16);
            run16.Append(text16);

            paragraph15.Append(paragraphProperties15);
            paragraph15.Append(run16);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph15);

            TableCell tableCell12 = new TableCell();

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

            tableCellProperties12.Append(tableCellWidth12);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();
            WidowControl widowControl16 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE16 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN16 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent16 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize32 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript32 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties16.Append(runFonts32);
            paragraphMarkRunProperties16.Append(fontSize32);
            paragraphMarkRunProperties16.Append(fontSizeComplexScript32);

            paragraphProperties16.Append(widowControl16);
            paragraphProperties16.Append(autoSpaceDE16);
            paragraphProperties16.Append(autoSpaceDN16);
            paragraphProperties16.Append(adjustRightIndent16);
            paragraphProperties16.Append(paragraphMarkRunProperties16);

            Run run17 = new Run();

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize33 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript33 = new FontSizeComplexScript() { Val = "20" };

            runProperties17.Append(runFonts33);
            runProperties17.Append(fontSize33);
            runProperties17.Append(fontSizeComplexScript33);
            Text text17 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text17.Text = obj.DateDeliverySample ;

            run17.Append(runProperties17);
            run17.Append(text17);

            paragraph16.Append(paragraphProperties16);
            paragraph16.Append(run17);

            tableCell12.Append(tableCellProperties12);
            tableCell12.Append(paragraph16);

            tableRow6.Append(tableRowProperties6);
            tableRow6.Append(tableCell11);
            tableRow6.Append(tableCell12);

            TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00D60978" };

            TableRowProperties tableRowProperties7 = new TableRowProperties();
            TableRowHeight tableRowHeight7 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties7.Append(tableRowHeight7);

            TableCell tableCell13 = new TableCell();

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

            tableCellProperties13.Append(tableCellWidth13);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00D60978" };

            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
            WidowControl widowControl17 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE17 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN17 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent17 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize34 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript34 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties17.Append(runFonts34);
            paragraphMarkRunProperties17.Append(fontSize34);
            paragraphMarkRunProperties17.Append(fontSizeComplexScript34);

            paragraphProperties17.Append(widowControl17);
            paragraphProperties17.Append(autoSpaceDE17);
            paragraphProperties17.Append(autoSpaceDN17);
            paragraphProperties17.Append(adjustRightIndent17);
            paragraphProperties17.Append(paragraphMarkRunProperties17);

            Run run18 = new Run();

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts35 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold10 = new Bold();
            BoldComplexScript boldComplexScript10 = new BoldComplexScript();
            FontSize fontSize35 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript35 = new FontSizeComplexScript() { Val = "20" };

            runProperties18.Append(runFonts35);
            runProperties18.Append(bold10);
            runProperties18.Append(boldComplexScript10);
            runProperties18.Append(fontSize35);
            runProperties18.Append(fontSizeComplexScript35);
            Text text18 = new Text();
            text18.Text = "Дата забора материала:";

            run18.Append(runProperties18);
            run18.Append(text18);

            Run run19 = new Run();

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold11 = new Bold();
            BoldComplexScript boldComplexScript11 = new BoldComplexScript();
            FontSize fontSize36 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript36 = new FontSizeComplexScript() { Val = "20" };

            runProperties19.Append(runFonts36);
            runProperties19.Append(bold11);
            runProperties19.Append(boldComplexScript11);
            runProperties19.Append(fontSize36);
            runProperties19.Append(fontSizeComplexScript36);
            Text text19 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text19.Text = "";

            run19.Append(runProperties19);
            run19.Append(text19);

            paragraph17.Append(paragraphProperties17);
            paragraph17.Append(run18);
            paragraph17.Append(run19);

            tableCell13.Append(tableCellProperties13);
            tableCell13.Append(paragraph17);

            TableCell tableCell14 = new TableCell();

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

            tableCellProperties14.Append(tableCellWidth14);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00D60978" };

            ParagraphProperties paragraphProperties18 = new ParagraphProperties();
            WidowControl widowControl18 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE18 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN18 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent18 = new AdjustRightIndent() { Val = false };

            ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize37 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript37 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties18.Append(runFonts37);
            paragraphMarkRunProperties18.Append(fontSize37);
            paragraphMarkRunProperties18.Append(fontSizeComplexScript37);

            paragraphProperties18.Append(widowControl18);
            paragraphProperties18.Append(autoSpaceDE18);
            paragraphProperties18.Append(autoSpaceDN18);
            paragraphProperties18.Append(adjustRightIndent18);
            paragraphProperties18.Append(paragraphMarkRunProperties18);

            Run run20 = new Run();

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize38 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript38 = new FontSizeComplexScript() { Val = "20" };

            runProperties20.Append(runFonts38);
            runProperties20.Append(fontSize38);
            runProperties20.Append(fontSizeComplexScript38);
            Text text20 = new Text();
            text20.Text = obj.DateRecieveSample;

            run20.Append(runProperties20);
            run20.Append(text20);

            paragraph18.Append(paragraphProperties18);
            paragraph18.Append(run20);

            tableCell14.Append(tableCellProperties14);
            tableCell14.Append(paragraph18);

            tableRow7.Append(tableRowProperties7);
            tableRow7.Append(tableCell13);
            tableRow7.Append(tableCell14);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            table1.Append(tableRow2);
            table1.Append(tableRow3);
            table1.Append(tableRow4);
            table1.Append(tableRow5);
            table1.Append(tableRow6);
            table1.Append(tableRow7);

            Paragraph paragraph19 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties19 = new ParagraphProperties();
            WidowControl widowControl19 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE19 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN19 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent19 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification3 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize39 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript39 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties19.Append(runFonts39);
            paragraphMarkRunProperties19.Append(fontSize39);
            paragraphMarkRunProperties19.Append(fontSizeComplexScript39);

            paragraphProperties19.Append(widowControl19);
            paragraphProperties19.Append(autoSpaceDE19);
            paragraphProperties19.Append(autoSpaceDN19);
            paragraphProperties19.Append(adjustRightIndent19);
            paragraphProperties19.Append(spacingBetweenLines5);
            paragraphProperties19.Append(justification3);
            paragraphProperties19.Append(paragraphMarkRunProperties19);

            paragraph19.Append(paragraphProperties19);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties20 = new ParagraphProperties();
            WidowControl widowControl20 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE20 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN20 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent20 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification4 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties();
            RunFonts runFonts40 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize40 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript40 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties20.Append(runFonts40);
            paragraphMarkRunProperties20.Append(fontSize40);
            paragraphMarkRunProperties20.Append(fontSizeComplexScript40);

            paragraphProperties20.Append(widowControl20);
            paragraphProperties20.Append(autoSpaceDE20);
            paragraphProperties20.Append(autoSpaceDN20);
            paragraphProperties20.Append(adjustRightIndent20);
            paragraphProperties20.Append(spacingBetweenLines6);
            paragraphProperties20.Append(justification4);
            paragraphProperties20.Append(paragraphMarkRunProperties20);

            paragraph20.Append(paragraphProperties20);

            Paragraph paragraph21 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties21 = new ParagraphProperties();
            WidowControl widowControl21 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE21 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN21 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent21 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties21 = new ParagraphMarkRunProperties();
            RunFonts runFonts41 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize41 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript41 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties21.Append(runFonts41);
            paragraphMarkRunProperties21.Append(fontSize41);
            paragraphMarkRunProperties21.Append(fontSizeComplexScript41);

            paragraphProperties21.Append(widowControl21);
            paragraphProperties21.Append(autoSpaceDE21);
            paragraphProperties21.Append(autoSpaceDN21);
            paragraphProperties21.Append(adjustRightIndent21);
            paragraphProperties21.Append(spacingBetweenLines7);
            paragraphProperties21.Append(paragraphMarkRunProperties21);

            Run run21 = new Run();

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts42 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize42 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript42 = new FontSizeComplexScript() { Val = "16" };

            runProperties21.Append(runFonts42);
            runProperties21.Append(fontSize42);
            runProperties21.Append(fontSizeComplexScript42);
            Text text21 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text21.Text = " ";

            run21.Append(runProperties21);
            run21.Append(text21);

            Run run22 = new Run();

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts43 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold12 = new Bold();
            BoldComplexScript boldComplexScript12 = new BoldComplexScript();
            FontSize fontSize43 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript43 = new FontSizeComplexScript() { Val = "16" };

            runProperties22.Append(runFonts43);
            runProperties22.Append(bold12);
            runProperties22.Append(boldComplexScript12);
            runProperties22.Append(fontSize43);
            runProperties22.Append(fontSizeComplexScript43);
            Text text22 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text22.Text = "Список заказанных анализов ";

            run22.Append(runProperties22);
            run22.Append(text22);

            paragraph21.Append(paragraphProperties21);
            paragraph21.Append(run21);
            paragraph21.Append(run22);

            Paragraph paragraph22 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties22 = new ParagraphProperties();
            WidowControl widowControl22 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE22 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN22 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent22 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties();
            RunFonts runFonts44 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize44 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript44 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties22.Append(runFonts44);
            paragraphMarkRunProperties22.Append(fontSize44);
            paragraphMarkRunProperties22.Append(fontSizeComplexScript44);

            paragraphProperties22.Append(widowControl22);
            paragraphProperties22.Append(autoSpaceDE22);
            paragraphProperties22.Append(autoSpaceDN22);
            paragraphProperties22.Append(adjustRightIndent22);
            paragraphProperties22.Append(spacingBetweenLines8);
            paragraphProperties22.Append(paragraphMarkRunProperties22);

            paragraph22.Append(paragraphProperties22);

            /////////////////////////////
            // ТАБЛИЦА СПИСОК АНАЛИЗОВ //
            //////////////////////////////////////////////////////////////////////
            Table table2 = new Table();

            TableProperties tableProperties2 = new TableProperties();
            TableWidth tableWidth2 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation1 = new TableIndentation() { Width = 30, Type = TableWidthUnitValues.Dxa };

            TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault();
            TableCellLeftMargin tableCellLeftMargin1 = new TableCellLeftMargin() { Width = 30, Type = TableWidthValues.Dxa };
            TableCellRightMargin tableCellRightMargin1 = new TableCellRightMargin() { Width = 30, Type = TableWidthValues.Dxa };

            tableCellMarginDefault1.Append(tableCellLeftMargin1);
            tableCellMarginDefault1.Append(tableCellRightMargin1);
            TableLook tableLook2 = new TableLook() { Val = "0000", FirstRow = false, LastRow = false, FirstColumn = false, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = false };

            tableProperties2.Append(tableWidth2);
            tableProperties2.Append(tableIndentation1);
            tableProperties2.Append(tableCellMarginDefault1);
            tableProperties2.Append(tableLook2);

            TableGrid tableGrid2 = new TableGrid();
            GridColumn gridColumn3 = new GridColumn() { Width = "500" };
            GridColumn gridColumn4 = new GridColumn() { Width = "1000" };
            GridColumn gridColumn5 = new GridColumn() { Width = "5500" };
            GridColumn gridColumn6 = new GridColumn() { Width = "1500" };

            tableGrid2.Append(gridColumn3);
            tableGrid2.Append(gridColumn4);
            tableGrid2.Append(gridColumn5);
            tableGrid2.Append(gridColumn6);

            //
            // новая строка таблицы
            //

            TableRow tableRow8 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00B819CE" };

            TableRowProperties tableRowProperties8 = new TableRowProperties();
            TableRowHeight tableRowHeight8 = new TableRowHeight() { Val = (UInt32Value)262U };
            TableHeader tableHeader1 = new TableHeader();

            tableRowProperties8.Append(tableRowHeight8);
            tableRowProperties8.Append(tableHeader1);

            TableCell tableCell15 = new TableCell();

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

            TableCellBorders tableCellBorders1 = new TableCellBorders();
            TopBorder topBorder2 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder2 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder2 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder2 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders1.Append(topBorder2);
            tableCellBorders1.Append(leftBorder2);
            tableCellBorders1.Append(bottomBorder2);
            tableCellBorders1.Append(rightBorder2);

            tableCellProperties15.Append(tableCellWidth15);
            tableCellProperties15.Append(tableCellBorders1);

            Paragraph paragraph23 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();
            WidowControl widowControl23 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE23 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN23 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent23 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties();
            RunFonts runFonts45 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize45 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript45 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties23.Append(runFonts45);
            paragraphMarkRunProperties23.Append(fontSize45);
            paragraphMarkRunProperties23.Append(fontSizeComplexScript45);

            paragraphProperties23.Append(widowControl23);
            paragraphProperties23.Append(autoSpaceDE23);
            paragraphProperties23.Append(autoSpaceDN23);
            paragraphProperties23.Append(adjustRightIndent23);
            paragraphProperties23.Append(spacingBetweenLines9);
            paragraphProperties23.Append(paragraphMarkRunProperties23);

            Run run23 = new Run();

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts46 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold13 = new Bold();
            BoldComplexScript boldComplexScript13 = new BoldComplexScript();
            Italic italic1 = new Italic();
            ItalicComplexScript italicComplexScript1 = new ItalicComplexScript();
            FontSize fontSize46 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript46 = new FontSizeComplexScript() { Val = "16" };
            Underline underline1 = new Underline() { Val = UnderlineValues.Single };

            runProperties23.Append(runFonts46);
            runProperties23.Append(bold13);
            runProperties23.Append(boldComplexScript13);
            runProperties23.Append(italic1);
            runProperties23.Append(italicComplexScript1);
            runProperties23.Append(fontSize46);
            runProperties23.Append(fontSizeComplexScript46);
            runProperties23.Append(underline1);
            Text text23 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text23.Text = "№ ";

            run23.Append(runProperties23);
            run23.Append(text23);

            paragraph23.Append(paragraphProperties23);
            paragraph23.Append(run23);

            tableCell15.Append(tableCellProperties15);
            tableCell15.Append(paragraph23);

            TableCell tableCell16 = new TableCell();

            TableCellProperties tableCellProperties16 = new TableCellProperties();
            TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "1000", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders2 = new TableCellBorders();
            TopBorder topBorder3 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder3 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder3 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder3 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders2.Append(topBorder3);
            tableCellBorders2.Append(leftBorder3);
            tableCellBorders2.Append(bottomBorder3);
            tableCellBorders2.Append(rightBorder3);

            tableCellProperties16.Append(tableCellWidth16);
            tableCellProperties16.Append(tableCellBorders2);

            Paragraph paragraph24 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();
            WidowControl widowControl24 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE24 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN24 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent24 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification5 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties();
            RunFonts runFonts47 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize47 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript47 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties24.Append(runFonts47);
            paragraphMarkRunProperties24.Append(fontSize47);
            paragraphMarkRunProperties24.Append(fontSizeComplexScript47);

            paragraphProperties24.Append(widowControl24);
            paragraphProperties24.Append(autoSpaceDE24);
            paragraphProperties24.Append(autoSpaceDN24);
            paragraphProperties24.Append(adjustRightIndent24);
            paragraphProperties24.Append(spacingBetweenLines10);
            paragraphProperties24.Append(justification5);
            paragraphProperties24.Append(paragraphMarkRunProperties24);

            Run run24 = new Run();

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts48 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold14 = new Bold();
            BoldComplexScript boldComplexScript14 = new BoldComplexScript();
            Italic italic2 = new Italic();
            ItalicComplexScript italicComplexScript2 = new ItalicComplexScript();
            FontSize fontSize48 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript48 = new FontSizeComplexScript() { Val = "16" };
            Underline underline2 = new Underline() { Val = UnderlineValues.Single };

            runProperties24.Append(runFonts48);
            runProperties24.Append(bold14);
            runProperties24.Append(boldComplexScript14);
            runProperties24.Append(italic2);
            runProperties24.Append(italicComplexScript2);
            runProperties24.Append(fontSize48);
            runProperties24.Append(fontSizeComplexScript48);
            runProperties24.Append(underline2);
            Text text24 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text24.Text = "Код ";

            run24.Append(runProperties24);
            run24.Append(text24);

            paragraph24.Append(paragraphProperties24);
            paragraph24.Append(run24);

            tableCell16.Append(tableCellProperties16);
            tableCell16.Append(paragraph24);

            TableCell tableCell17 = new TableCell();

            TableCellProperties tableCellProperties17 = new TableCellProperties();
            TableCellWidth tableCellWidth17 = new TableCellWidth() { Width = "5500", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders3 = new TableCellBorders();
            TopBorder topBorder4 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder4 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder4 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder4 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders3.Append(topBorder4);
            tableCellBorders3.Append(leftBorder4);
            tableCellBorders3.Append(bottomBorder4);
            tableCellBorders3.Append(rightBorder4);

            tableCellProperties17.Append(tableCellWidth17);
            tableCellProperties17.Append(tableCellBorders3);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();
            WidowControl widowControl25 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE25 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN25 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent25 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties();
            RunFonts runFonts49 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize49 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript49 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties25.Append(runFonts49);
            paragraphMarkRunProperties25.Append(fontSize49);
            paragraphMarkRunProperties25.Append(fontSizeComplexScript49);

            paragraphProperties25.Append(widowControl25);
            paragraphProperties25.Append(autoSpaceDE25);
            paragraphProperties25.Append(autoSpaceDN25);
            paragraphProperties25.Append(adjustRightIndent25);
            paragraphProperties25.Append(spacingBetweenLines11);
            paragraphProperties25.Append(paragraphMarkRunProperties25);

            Run run25 = new Run();

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts50 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold15 = new Bold();
            BoldComplexScript boldComplexScript15 = new BoldComplexScript();
            Italic italic3 = new Italic();
            ItalicComplexScript italicComplexScript3 = new ItalicComplexScript();
            FontSize fontSize50 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript50 = new FontSizeComplexScript() { Val = "16" };
            Underline underline3 = new Underline() { Val = UnderlineValues.Single };

            runProperties25.Append(runFonts50);
            runProperties25.Append(bold15);
            runProperties25.Append(boldComplexScript15);
            runProperties25.Append(italic3);
            runProperties25.Append(italicComplexScript3);
            runProperties25.Append(fontSize50);
            runProperties25.Append(fontSizeComplexScript50);
            runProperties25.Append(underline3);
            Text text25 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text25.Text = "Тип анализа ";

            run25.Append(runProperties25);
            run25.Append(text25);

            paragraph25.Append(paragraphProperties25);
            paragraph25.Append(run25);

            tableCell17.Append(tableCellProperties17);
            tableCell17.Append(paragraph25);

            TableCell tableCell18 = new TableCell();

            TableCellProperties tableCellProperties18 = new TableCellProperties();
            TableCellWidth tableCellWidth18 = new TableCellWidth() { Width = "1500", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders4 = new TableCellBorders();
            TopBorder topBorder5 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder5 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder5 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder5 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders4.Append(topBorder5);
            tableCellBorders4.Append(leftBorder5);
            tableCellBorders4.Append(bottomBorder5);
            tableCellBorders4.Append(rightBorder5);

            tableCellProperties18.Append(tableCellWidth18);
            tableCellProperties18.Append(tableCellBorders4);

            Paragraph paragraph26 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties26 = new ParagraphProperties();
            WidowControl widowControl26 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE26 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN26 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent26 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties();
            RunFonts runFonts51 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize51 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript51 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties26.Append(runFonts51);
            paragraphMarkRunProperties26.Append(fontSize51);
            paragraphMarkRunProperties26.Append(fontSizeComplexScript51);

            paragraphProperties26.Append(widowControl26);
            paragraphProperties26.Append(autoSpaceDE26);
            paragraphProperties26.Append(autoSpaceDN26);
            paragraphProperties26.Append(adjustRightIndent26);
            paragraphProperties26.Append(spacingBetweenLines12);
            paragraphProperties26.Append(paragraphMarkRunProperties26);

            Run run26 = new Run();

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts52 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold16 = new Bold();
            BoldComplexScript boldComplexScript16 = new BoldComplexScript();
            Italic italic4 = new Italic();
            ItalicComplexScript italicComplexScript4 = new ItalicComplexScript();
            FontSize fontSize52 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript52 = new FontSizeComplexScript() { Val = "16" };
            Underline underline4 = new Underline() { Val = UnderlineValues.Single };

            runProperties26.Append(runFonts52);
            runProperties26.Append(bold16);
            runProperties26.Append(boldComplexScript16);
            runProperties26.Append(italic4);
            runProperties26.Append(italicComplexScript4);
            runProperties26.Append(fontSize52);
            runProperties26.Append(fontSizeComplexScript52);
            runProperties26.Append(underline4);
            Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text26.Text = "Стоимость ";

            run26.Append(runProperties26);
            run26.Append(text26);

            paragraph26.Append(paragraphProperties26);
            paragraph26.Append(run26);

            tableCell18.Append(tableCellProperties18);
            tableCell18.Append(paragraph26);

            tableRow8.Append(tableRowProperties8);
            tableRow8.Append(tableCell15);
            tableRow8.Append(tableCell16);
            tableRow8.Append(tableCell17);
            tableRow8.Append(tableCell18);

            TableRow tableRow9 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00B819CE" };

            TableRowProperties tableRowProperties9 = new TableRowProperties();
            TableRowHeight tableRowHeight9 = new TableRowHeight() { Val = (UInt32Value)262U };

            tableRowProperties9.Append(tableRowHeight9);

            TableCell tableCell19 = new TableCell();

            TableCellProperties tableCellProperties19 = new TableCellProperties();
            TableCellWidth tableCellWidth19 = new TableCellWidth() { Width = "500", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders5 = new TableCellBorders();
            TopBorder topBorder6 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder6 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder6 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder6 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders5.Append(topBorder6);
            tableCellBorders5.Append(leftBorder6);
            tableCellBorders5.Append(bottomBorder6);
            tableCellBorders5.Append(rightBorder6);

            tableCellProperties19.Append(tableCellWidth19);
            tableCellProperties19.Append(tableCellBorders5);

            Paragraph paragraph27 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties27 = new ParagraphProperties();
            WidowControl widowControl27 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE27 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN27 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent27 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines13 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties();
            RunFonts runFonts53 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize53 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript53 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties27.Append(runFonts53);
            paragraphMarkRunProperties27.Append(fontSize53);
            paragraphMarkRunProperties27.Append(fontSizeComplexScript53);

            paragraphProperties27.Append(widowControl27);
            paragraphProperties27.Append(autoSpaceDE27);
            paragraphProperties27.Append(autoSpaceDN27);
            paragraphProperties27.Append(adjustRightIndent27);
            paragraphProperties27.Append(spacingBetweenLines13);
            paragraphProperties27.Append(paragraphMarkRunProperties27);
            //
            //Закончился ввод шапки таблицы
            //

            //
            //Началось заполнение данных таблицы
            //
            foreach (var itemAnalysis in obj.AnalysisList)
            {
                Run run27 = new Run();

                RunProperties runProperties27 = new RunProperties();
                RunFonts runFonts54 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize54 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript54 = new FontSizeComplexScript() { Val = "16" };

                runProperties27.Append(runFonts54);
                runProperties27.Append(fontSize54);
                runProperties27.Append(fontSizeComplexScript54);
                Text text27 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text27.Text = itemAnalysis.AnalysisPosition ;

                run27.Append(runProperties27);
                run27.Append(text27);

                paragraph27.Append(paragraphProperties27);
                paragraph27.Append(run27);

                tableCell19.Append(tableCellProperties19);
                tableCell19.Append(paragraph27);

                TableCell tableCell20 = new TableCell();

                TableCellProperties tableCellProperties20 = new TableCellProperties();
                TableCellWidth tableCellWidth20 = new TableCellWidth() { Width = "1000", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders6 = new TableCellBorders();
                TopBorder topBorder7 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder7 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder7 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder7 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders6.Append(topBorder7);
                tableCellBorders6.Append(leftBorder7);
                tableCellBorders6.Append(bottomBorder7);
                tableCellBorders6.Append(rightBorder7);

                tableCellProperties20.Append(tableCellWidth20);
                tableCellProperties20.Append(tableCellBorders6);

                Paragraph paragraph28 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties28 = new ParagraphProperties();
                WidowControl widowControl28 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE28 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN28 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent28 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines14 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification6 = new Justification() { Val = JustificationValues.Center };

                ParagraphMarkRunProperties paragraphMarkRunProperties28 = new ParagraphMarkRunProperties();
                RunFonts runFonts55 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize55 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript55 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties28.Append(runFonts55);
                paragraphMarkRunProperties28.Append(fontSize55);
                paragraphMarkRunProperties28.Append(fontSizeComplexScript55);

                paragraphProperties28.Append(widowControl28);
                paragraphProperties28.Append(autoSpaceDE28);
                paragraphProperties28.Append(autoSpaceDN28);
                paragraphProperties28.Append(adjustRightIndent28);
                paragraphProperties28.Append(spacingBetweenLines14);
                paragraphProperties28.Append(justification6);
                paragraphProperties28.Append(paragraphMarkRunProperties28);

                Run run28 = new Run();

                RunProperties runProperties28 = new RunProperties();
                RunFonts runFonts56 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize56 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript56 = new FontSizeComplexScript() { Val = "16" };

                runProperties28.Append(runFonts56);
                runProperties28.Append(fontSize56);
                runProperties28.Append(fontSizeComplexScript56);
                Text text28 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text28.Text = itemAnalysis.AnalysisCode ;

                run28.Append(runProperties28);
                run28.Append(text28);

                paragraph28.Append(paragraphProperties28);
                paragraph28.Append(run28);

                tableCell20.Append(tableCellProperties20);
                tableCell20.Append(paragraph28);

                TableCell tableCell21 = new TableCell();

                TableCellProperties tableCellProperties21 = new TableCellProperties();
                TableCellWidth tableCellWidth21 = new TableCellWidth() { Width = "5500", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders7 = new TableCellBorders();
                TopBorder topBorder8 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder8 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder8 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder8 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders7.Append(topBorder8);
                tableCellBorders7.Append(leftBorder8);
                tableCellBorders7.Append(bottomBorder8);
                tableCellBorders7.Append(rightBorder8);

                tableCellProperties21.Append(tableCellWidth21);
                tableCellProperties21.Append(tableCellBorders7);

                Paragraph paragraph29 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties29 = new ParagraphProperties();
                WidowControl widowControl29 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE29 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN29 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent29 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                ParagraphMarkRunProperties paragraphMarkRunProperties29 = new ParagraphMarkRunProperties();
                RunFonts runFonts57 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize57 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript57 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties29.Append(runFonts57);
                paragraphMarkRunProperties29.Append(fontSize57);
                paragraphMarkRunProperties29.Append(fontSizeComplexScript57);

                paragraphProperties29.Append(widowControl29);
                paragraphProperties29.Append(autoSpaceDE29);
                paragraphProperties29.Append(autoSpaceDN29);
                paragraphProperties29.Append(adjustRightIndent29);
                paragraphProperties29.Append(spacingBetweenLines15);
                paragraphProperties29.Append(paragraphMarkRunProperties29);

                Run run29 = new Run();

                RunProperties runProperties29 = new RunProperties();
                RunFonts runFonts58 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize58 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript58 = new FontSizeComplexScript() { Val = "16" };

                runProperties29.Append(runFonts58);
                runProperties29.Append(fontSize58);
                runProperties29.Append(fontSizeComplexScript58);
                Text text29 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text29.Text = itemAnalysis.AnalysisDescription ;

                run29.Append(runProperties29);
                run29.Append(text29);

                paragraph29.Append(paragraphProperties29);
                paragraph29.Append(run29);

                tableCell21.Append(tableCellProperties21);
                tableCell21.Append(paragraph29);

                TableCell tableCell22 = new TableCell();

                TableCellProperties tableCellProperties22 = new TableCellProperties();
                TableCellWidth tableCellWidth22 = new TableCellWidth() { Width = "1500", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders8 = new TableCellBorders();
                TopBorder topBorder9 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder9 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder9 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder9 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders8.Append(topBorder9);
                tableCellBorders8.Append(leftBorder9);
                tableCellBorders8.Append(bottomBorder9);
                tableCellBorders8.Append(rightBorder9);

                tableCellProperties22.Append(tableCellWidth22);
                tableCellProperties22.Append(tableCellBorders8);

                Paragraph paragraph30 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties30 = new ParagraphProperties();
                WidowControl widowControl30 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE30 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN30 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent30 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines16 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                ParagraphMarkRunProperties paragraphMarkRunProperties30 = new ParagraphMarkRunProperties();
                RunFonts runFonts59 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize59 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript59 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties30.Append(runFonts59);
                paragraphMarkRunProperties30.Append(fontSize59);
                paragraphMarkRunProperties30.Append(fontSizeComplexScript59);

                paragraphProperties30.Append(widowControl30);
                paragraphProperties30.Append(autoSpaceDE30);
                paragraphProperties30.Append(autoSpaceDN30);
                paragraphProperties30.Append(adjustRightIndent30);
                paragraphProperties30.Append(spacingBetweenLines16);
                paragraphProperties30.Append(paragraphMarkRunProperties30);

                Run run30 = new Run();

                RunProperties runProperties30 = new RunProperties();
                RunFonts runFonts60 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize60 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript60 = new FontSizeComplexScript() { Val = "16" };

                runProperties30.Append(runFonts60);
                runProperties30.Append(fontSize60);
                runProperties30.Append(fontSizeComplexScript60);
                Text text30 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text30.Text = itemAnalysis.AnalysisPrice ;

                run30.Append(runProperties30);
                run30.Append(text30);

                paragraph30.Append(paragraphProperties30);
                paragraph30.Append(run30);

                tableCell22.Append(tableCellProperties22);
                tableCell22.Append(paragraph30);

                tableRow9.Append(tableRowProperties9);
                tableRow9.Append(tableCell19);
                tableRow9.Append(tableCell20);
                tableRow9.Append(tableCell21);
                tableRow9.Append(tableCell22);
            }

            //
            //Заканчиваем ввод таблицы
            //
            table2.Append(tableProperties2);
            table2.Append(tableGrid2);
            table2.Append(tableRow8);
            table2.Append(tableRow9);

            Paragraph paragraph31 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties31 = new ParagraphProperties();
            WidowControl widowControl31 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE31 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN31 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent31 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines17 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties31 = new ParagraphMarkRunProperties();
            RunFonts runFonts61 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize61 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript61 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties31.Append(runFonts61);
            paragraphMarkRunProperties31.Append(fontSize61);
            paragraphMarkRunProperties31.Append(fontSizeComplexScript61);

            paragraphProperties31.Append(widowControl31);
            paragraphProperties31.Append(autoSpaceDE31);
            paragraphProperties31.Append(autoSpaceDN31);
            paragraphProperties31.Append(adjustRightIndent31);
            paragraphProperties31.Append(spacingBetweenLines17);
            paragraphProperties31.Append(paragraphMarkRunProperties31);

            paragraph31.Append(paragraphProperties31);

            Paragraph paragraph32 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties32 = new ParagraphProperties();
            WidowControl widowControl32 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE32 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN32 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent32 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines18 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties32 = new ParagraphMarkRunProperties();
            RunFonts runFonts62 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize62 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript62 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties32.Append(runFonts62);
            paragraphMarkRunProperties32.Append(fontSize62);
            paragraphMarkRunProperties32.Append(fontSizeComplexScript62);

            paragraphProperties32.Append(widowControl32);
            paragraphProperties32.Append(autoSpaceDE32);
            paragraphProperties32.Append(autoSpaceDN32);
            paragraphProperties32.Append(adjustRightIndent32);
            paragraphProperties32.Append(spacingBetweenLines18);
            paragraphProperties32.Append(paragraphMarkRunProperties32);

            paragraph32.Append(paragraphProperties32);

            Paragraph paragraph33 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties33 = new ParagraphProperties();
            WidowControl widowControl33 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE33 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN33 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent33 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines19 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties33 = new ParagraphMarkRunProperties();
            RunFonts runFonts63 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize63 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript63 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties33.Append(runFonts63);
            paragraphMarkRunProperties33.Append(fontSize63);
            paragraphMarkRunProperties33.Append(fontSizeComplexScript63);

            paragraphProperties33.Append(widowControl33);
            paragraphProperties33.Append(autoSpaceDE33);
            paragraphProperties33.Append(autoSpaceDN33);
            paragraphProperties33.Append(adjustRightIndent33);
            paragraphProperties33.Append(spacingBetweenLines19);
            paragraphProperties33.Append(paragraphMarkRunProperties33);

            Run run31 = new Run();

            RunProperties runProperties31 = new RunProperties();
            RunFonts runFonts64 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize64 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript64 = new FontSizeComplexScript() { Val = "16" };

            runProperties31.Append(runFonts64);
            runProperties31.Append(fontSize64);
            runProperties31.Append(fontSizeComplexScript64);
            Text text31 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text31.Text = " ";

            run31.Append(runProperties31);
            run31.Append(text31);

            Run run32 = new Run();

            RunProperties runProperties32 = new RunProperties();
            RunFonts runFonts65 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold17 = new Bold();
            BoldComplexScript boldComplexScript17 = new BoldComplexScript();
            FontSize fontSize65 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript65 = new FontSizeComplexScript() { Val = "16" };

            runProperties32.Append(runFonts65);
            runProperties32.Append(bold17);
            runProperties32.Append(boldComplexScript17);
            runProperties32.Append(fontSize65);
            runProperties32.Append(fontSizeComplexScript65);
            Text text32 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text32.Text = "Дополнительные услуги ";

            run32.Append(runProperties32);
            run32.Append(text32);

            paragraph33.Append(paragraphProperties33);
            paragraph33.Append(run31);
            paragraph33.Append(run32);

            Paragraph paragraph34 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties34 = new ParagraphProperties();
            WidowControl widowControl34 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE34 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN34 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent34 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines20 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties34 = new ParagraphMarkRunProperties();
            RunFonts runFonts66 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize66 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript66 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties34.Append(runFonts66);
            paragraphMarkRunProperties34.Append(fontSize66);
            paragraphMarkRunProperties34.Append(fontSizeComplexScript66);

            paragraphProperties34.Append(widowControl34);
            paragraphProperties34.Append(autoSpaceDE34);
            paragraphProperties34.Append(autoSpaceDN34);
            paragraphProperties34.Append(adjustRightIndent34);
            paragraphProperties34.Append(spacingBetweenLines20);
            paragraphProperties34.Append(paragraphMarkRunProperties34);

            paragraph34.Append(paragraphProperties34);

            /////////////////////////////////////////////
            // Начинается ввод таблицы с дополнительными услугами
            ////////////////////////////////////////////////
            Table table3 = new Table();

            TableProperties tableProperties3 = new TableProperties();
            TableWidth tableWidth3 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation2 = new TableIndentation() { Width = 30, Type = TableWidthUnitValues.Dxa };
            TableLayout tableLayout2 = new TableLayout() { Type = TableLayoutValues.Fixed };

            TableCellMarginDefault tableCellMarginDefault2 = new TableCellMarginDefault();
            TableCellLeftMargin tableCellLeftMargin2 = new TableCellLeftMargin() { Width = 30, Type = TableWidthValues.Dxa };
            TableCellRightMargin tableCellRightMargin2 = new TableCellRightMargin() { Width = 30, Type = TableWidthValues.Dxa };

            tableCellMarginDefault2.Append(tableCellLeftMargin2);
            tableCellMarginDefault2.Append(tableCellRightMargin2);
            TableLook tableLook3 = new TableLook() { Val = "0000", FirstRow = false, LastRow = false, FirstColumn = false, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = false };

            tableProperties3.Append(tableWidth3);
            tableProperties3.Append(tableIndentation2);
            tableProperties3.Append(tableLayout2);
            tableProperties3.Append(tableCellMarginDefault2);
            tableProperties3.Append(tableLook3);

            TableGrid tableGrid3 = new TableGrid();
            GridColumn gridColumn7 = new GridColumn() { Width = "500" };
            GridColumn gridColumn8 = new GridColumn() { Width = "1000" };
            GridColumn gridColumn9 = new GridColumn() { Width = "5500" };
            GridColumn gridColumn10 = new GridColumn() { Width = "1500" };

            tableGrid3.Append(gridColumn7);
            tableGrid3.Append(gridColumn8);
            tableGrid3.Append(gridColumn9);
            tableGrid3.Append(gridColumn10);

            //
            // Пошло заполнение данных
            //
            foreach (var itemAddService in obj.AddServiceList)
            {
                TableRow tableRow10 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00B819CE" };

                TableRowProperties tableRowProperties10 = new TableRowProperties();
                TableRowHeight tableRowHeight10 = new TableRowHeight() { Val = (UInt32Value)262U };

                tableRowProperties10.Append(tableRowHeight10);

                TableCell tableCell23 = new TableCell();

                TableCellProperties tableCellProperties23 = new TableCellProperties();
                TableCellWidth tableCellWidth23 = new TableCellWidth() { Width = "500", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders9 = new TableCellBorders();
                TopBorder topBorder10 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder10 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder10 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder10 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders9.Append(topBorder10);
                tableCellBorders9.Append(leftBorder10);
                tableCellBorders9.Append(bottomBorder10);
                tableCellBorders9.Append(rightBorder10);

                tableCellProperties23.Append(tableCellWidth23);
                tableCellProperties23.Append(tableCellBorders9);

                Paragraph paragraph35 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties35 = new ParagraphProperties();
                WidowControl widowControl35 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE35 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN35 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent35 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines21 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                ParagraphMarkRunProperties paragraphMarkRunProperties35 = new ParagraphMarkRunProperties();
                RunFonts runFonts67 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize67 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript67 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties35.Append(runFonts67);
                paragraphMarkRunProperties35.Append(fontSize67);
                paragraphMarkRunProperties35.Append(fontSizeComplexScript67);

                paragraphProperties35.Append(widowControl35);
                paragraphProperties35.Append(autoSpaceDE35);
                paragraphProperties35.Append(autoSpaceDN35);
                paragraphProperties35.Append(adjustRightIndent35);
                paragraphProperties35.Append(spacingBetweenLines21);
                paragraphProperties35.Append(paragraphMarkRunProperties35);

                Run run33 = new Run();

                RunProperties runProperties33 = new RunProperties();
                RunFonts runFonts68 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize68 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript68 = new FontSizeComplexScript() { Val = "16" };

                runProperties33.Append(runFonts68);
                runProperties33.Append(fontSize68);
                runProperties33.Append(fontSizeComplexScript68);
                Text text33 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text33.Text = itemAddService.AddServicePosition ;

                run33.Append(runProperties33);
                run33.Append(text33);

                paragraph35.Append(paragraphProperties35);
                paragraph35.Append(run33);

                tableCell23.Append(tableCellProperties23);
                tableCell23.Append(paragraph35);

                TableCell tableCell24 = new TableCell();

                TableCellProperties tableCellProperties24 = new TableCellProperties();
                TableCellWidth tableCellWidth24 = new TableCellWidth() { Width = "1000", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders10 = new TableCellBorders();
                TopBorder topBorder11 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder11 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder11 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder11 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders10.Append(topBorder11);
                tableCellBorders10.Append(leftBorder11);
                tableCellBorders10.Append(bottomBorder11);
                tableCellBorders10.Append(rightBorder11);

                tableCellProperties24.Append(tableCellWidth24);
                tableCellProperties24.Append(tableCellBorders10);

                Paragraph paragraph36 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties36 = new ParagraphProperties();
                WidowControl widowControl36 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE36 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN36 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent36 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines22 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification7 = new Justification() { Val = JustificationValues.Center };

                ParagraphMarkRunProperties paragraphMarkRunProperties36 = new ParagraphMarkRunProperties();
                RunFonts runFonts69 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize69 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript69 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties36.Append(runFonts69);
                paragraphMarkRunProperties36.Append(fontSize69);
                paragraphMarkRunProperties36.Append(fontSizeComplexScript69);

                paragraphProperties36.Append(widowControl36);
                paragraphProperties36.Append(autoSpaceDE36);
                paragraphProperties36.Append(autoSpaceDN36);
                paragraphProperties36.Append(adjustRightIndent36);
                paragraphProperties36.Append(spacingBetweenLines22);
                paragraphProperties36.Append(justification7);
                paragraphProperties36.Append(paragraphMarkRunProperties36);

                Run run34 = new Run();

                RunProperties runProperties34 = new RunProperties();
                RunFonts runFonts70 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize70 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript70 = new FontSizeComplexScript() { Val = "16" };

                runProperties34.Append(runFonts70);
                runProperties34.Append(fontSize70);
                runProperties34.Append(fontSizeComplexScript70);
                Text text34 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text34.Text = itemAddService.AddServiceCode ;

                run34.Append(runProperties34);
                run34.Append(text34);

                paragraph36.Append(paragraphProperties36);
                paragraph36.Append(run34);

                tableCell24.Append(tableCellProperties24);
                tableCell24.Append(paragraph36);

                TableCell tableCell25 = new TableCell();

                TableCellProperties tableCellProperties25 = new TableCellProperties();
                TableCellWidth tableCellWidth25 = new TableCellWidth() { Width = "5500", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders11 = new TableCellBorders();
                TopBorder topBorder12 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder12 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder12 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder12 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders11.Append(topBorder12);
                tableCellBorders11.Append(leftBorder12);
                tableCellBorders11.Append(bottomBorder12);
                tableCellBorders11.Append(rightBorder12);

                tableCellProperties25.Append(tableCellWidth25);
                tableCellProperties25.Append(tableCellBorders11);

                Paragraph paragraph37 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties37 = new ParagraphProperties();
                WidowControl widowControl37 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE37 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN37 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent37 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines23 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                ParagraphMarkRunProperties paragraphMarkRunProperties37 = new ParagraphMarkRunProperties();
                RunFonts runFonts71 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize71 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript71 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties37.Append(runFonts71);
                paragraphMarkRunProperties37.Append(fontSize71);
                paragraphMarkRunProperties37.Append(fontSizeComplexScript71);

                paragraphProperties37.Append(widowControl37);
                paragraphProperties37.Append(autoSpaceDE37);
                paragraphProperties37.Append(autoSpaceDN37);
                paragraphProperties37.Append(adjustRightIndent37);
                paragraphProperties37.Append(spacingBetweenLines23);
                paragraphProperties37.Append(paragraphMarkRunProperties37);

                Run run35 = new Run();

                RunProperties runProperties35 = new RunProperties();
                RunFonts runFonts72 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize72 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript72 = new FontSizeComplexScript() { Val = "16" };

                runProperties35.Append(runFonts72);
                runProperties35.Append(fontSize72);
                runProperties35.Append(fontSizeComplexScript72);
                Text text35 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text35.Text = itemAddService.AddServiceDescription ;

                run35.Append(runProperties35);
                run35.Append(text35);

                paragraph37.Append(paragraphProperties37);
                paragraph37.Append(run35);

                tableCell25.Append(tableCellProperties25);
                tableCell25.Append(paragraph37);

                TableCell tableCell26 = new TableCell();

                TableCellProperties tableCellProperties26 = new TableCellProperties();
                TableCellWidth tableCellWidth26 = new TableCellWidth() { Width = "1500", Type = TableWidthUnitValues.Dxa };

                TableCellBorders tableCellBorders12 = new TableCellBorders();
                TopBorder topBorder13 = new TopBorder() { Val = BorderValues.Nil };
                LeftBorder leftBorder13 = new LeftBorder() { Val = BorderValues.Nil };
                BottomBorder bottomBorder13 = new BottomBorder() { Val = BorderValues.Nil };
                RightBorder rightBorder13 = new RightBorder() { Val = BorderValues.Nil };

                tableCellBorders12.Append(topBorder13);
                tableCellBorders12.Append(leftBorder13);
                tableCellBorders12.Append(bottomBorder13);
                tableCellBorders12.Append(rightBorder13);

                tableCellProperties26.Append(tableCellWidth26);
                tableCellProperties26.Append(tableCellBorders12);

                Paragraph paragraph38 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

                ParagraphProperties paragraphProperties38 = new ParagraphProperties();
                WidowControl widowControl38 = new WidowControl() { Val = false };
                AutoSpaceDE autoSpaceDE38 = new AutoSpaceDE() { Val = false };
                AutoSpaceDN autoSpaceDN38 = new AutoSpaceDN() { Val = false };
                AdjustRightIndent adjustRightIndent38 = new AdjustRightIndent() { Val = false };
                SpacingBetweenLines spacingBetweenLines24 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                ParagraphMarkRunProperties paragraphMarkRunProperties38 = new ParagraphMarkRunProperties();
                RunFonts runFonts73 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize73 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript73 = new FontSizeComplexScript() { Val = "16" };

                paragraphMarkRunProperties38.Append(runFonts73);
                paragraphMarkRunProperties38.Append(fontSize73);
                paragraphMarkRunProperties38.Append(fontSizeComplexScript73);

                paragraphProperties38.Append(widowControl38);
                paragraphProperties38.Append(autoSpaceDE38);
                paragraphProperties38.Append(autoSpaceDN38);
                paragraphProperties38.Append(adjustRightIndent38);
                paragraphProperties38.Append(spacingBetweenLines24);
                paragraphProperties38.Append(paragraphMarkRunProperties38);

                Run run36 = new Run();

                RunProperties runProperties36 = new RunProperties();
                RunFonts runFonts74 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
                FontSize fontSize74 = new FontSize() { Val = "16" };
                FontSizeComplexScript fontSizeComplexScript74 = new FontSizeComplexScript() { Val = "16" };

                runProperties36.Append(runFonts74);
                runProperties36.Append(fontSize74);
                runProperties36.Append(fontSizeComplexScript74);
                Text text36 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text36.Text = itemAddService.AddServicePrice ;

                run36.Append(runProperties36);
                run36.Append(text36);

                paragraph38.Append(paragraphProperties38);
                paragraph38.Append(run36);

                tableCell26.Append(tableCellProperties26);
                tableCell26.Append(paragraph38);

                tableRow10.Append(tableRowProperties10);
                tableRow10.Append(tableCell23);
                tableRow10.Append(tableCell24);
                tableRow10.Append(tableCell25);
                tableRow10.Append(tableCell26);

                table3.Append(tableProperties3);
                table3.Append(tableGrid3);
                table3.Append(tableRow10);
            }

            Paragraph paragraph39 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties39 = new ParagraphProperties();
            WidowControl widowControl39 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE39 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN39 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent39 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines25 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties39 = new ParagraphMarkRunProperties();
            RunFonts runFonts75 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize75 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript75 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties39.Append(runFonts75);
            paragraphMarkRunProperties39.Append(fontSize75);
            paragraphMarkRunProperties39.Append(fontSizeComplexScript75);

            paragraphProperties39.Append(widowControl39);
            paragraphProperties39.Append(autoSpaceDE39);
            paragraphProperties39.Append(autoSpaceDN39);
            paragraphProperties39.Append(adjustRightIndent39);
            paragraphProperties39.Append(spacingBetweenLines25);
            paragraphProperties39.Append(paragraphMarkRunProperties39);

            paragraph39.Append(paragraphProperties39);

            Paragraph paragraph40 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties40 = new ParagraphProperties();
            WidowControl widowControl40 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE40 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN40 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent40 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines26 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties40 = new ParagraphMarkRunProperties();
            RunFonts runFonts76 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize76 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript76 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties40.Append(runFonts76);
            paragraphMarkRunProperties40.Append(fontSize76);
            paragraphMarkRunProperties40.Append(fontSizeComplexScript76);

            paragraphProperties40.Append(widowControl40);
            paragraphProperties40.Append(autoSpaceDE40);
            paragraphProperties40.Append(autoSpaceDN40);
            paragraphProperties40.Append(adjustRightIndent40);
            paragraphProperties40.Append(spacingBetweenLines26);
            paragraphProperties40.Append(paragraphMarkRunProperties40);

            paragraph40.Append(paragraphProperties40);

            Paragraph paragraph41 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties41 = new ParagraphProperties();
            WidowControl widowControl41 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE41 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN41 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent41 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines27 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties41 = new ParagraphMarkRunProperties();
            RunFonts runFonts77 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize77 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript77 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties41.Append(runFonts77);
            paragraphMarkRunProperties41.Append(fontSize77);
            paragraphMarkRunProperties41.Append(fontSizeComplexScript77);

            paragraphProperties41.Append(widowControl41);
            paragraphProperties41.Append(autoSpaceDE41);
            paragraphProperties41.Append(autoSpaceDN41);
            paragraphProperties41.Append(adjustRightIndent41);
            paragraphProperties41.Append(spacingBetweenLines27);
            paragraphProperties41.Append(paragraphMarkRunProperties41);

            Run run37 = new Run();

            RunProperties runProperties37 = new RunProperties();
            RunFonts runFonts78 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize78 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript78 = new FontSizeComplexScript() { Val = "18" };

            runProperties37.Append(runFonts78);
            runProperties37.Append(fontSize78);
            runProperties37.Append(fontSizeComplexScript78);
            Text text37 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text37.Text = " ";

            run37.Append(runProperties37);
            run37.Append(text37);

            Run run38 = new Run();

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts79 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            Bold bold18 = new Bold();
            BoldComplexScript boldComplexScript18 = new BoldComplexScript();
            FontSize fontSize79 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript79 = new FontSizeComplexScript() { Val = "18" };

            runProperties38.Append(runFonts79);
            runProperties38.Append(bold18);
            runProperties38.Append(boldComplexScript18);
            runProperties38.Append(fontSize79);
            runProperties38.Append(fontSizeComplexScript79);
            Text text38 = new Text();
            text38.Text = "Итого на общую сумму: " + obj.TotalSum ;

            run38.Append(runProperties38);
            run38.Append(text38);

            paragraph41.Append(paragraphProperties41);
            paragraph41.Append(run37);
            paragraph41.Append(run38);

            Paragraph paragraph42 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties42 = new ParagraphProperties();
            WidowControl widowControl42 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE42 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN42 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent42 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines28 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties42 = new ParagraphMarkRunProperties();
            RunFonts runFonts80 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize80 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript80 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties42.Append(runFonts80);
            paragraphMarkRunProperties42.Append(fontSize80);
            paragraphMarkRunProperties42.Append(fontSizeComplexScript80);

            paragraphProperties42.Append(widowControl42);
            paragraphProperties42.Append(autoSpaceDE42);
            paragraphProperties42.Append(autoSpaceDN42);
            paragraphProperties42.Append(adjustRightIndent42);
            paragraphProperties42.Append(spacingBetweenLines28);
            paragraphProperties42.Append(paragraphMarkRunProperties42);

            paragraph42.Append(paragraphProperties42);

            Paragraph paragraph43 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties43 = new ParagraphProperties();
            WidowControl widowControl43 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE43 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN43 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent43 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines29 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties43 = new ParagraphMarkRunProperties();
            RunFonts runFonts81 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize81 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript81 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties43.Append(runFonts81);
            paragraphMarkRunProperties43.Append(fontSize81);
            paragraphMarkRunProperties43.Append(fontSizeComplexScript81);

            paragraphProperties43.Append(widowControl43);
            paragraphProperties43.Append(autoSpaceDE43);
            paragraphProperties43.Append(autoSpaceDN43);
            paragraphProperties43.Append(adjustRightIndent43);
            paragraphProperties43.Append(spacingBetweenLines29);
            paragraphProperties43.Append(paragraphMarkRunProperties43);

            paragraph43.Append(paragraphProperties43);

            Paragraph paragraph44 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties44 = new ParagraphProperties();
            WidowControl widowControl44 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE44 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN44 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent44 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines30 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties44 = new ParagraphMarkRunProperties();
            RunFonts runFonts82 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize82 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript82 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties44.Append(runFonts82);
            paragraphMarkRunProperties44.Append(fontSize82);
            paragraphMarkRunProperties44.Append(fontSizeComplexScript82);

            paragraphProperties44.Append(widowControl44);
            paragraphProperties44.Append(autoSpaceDE44);
            paragraphProperties44.Append(autoSpaceDN44);
            paragraphProperties44.Append(adjustRightIndent44);
            paragraphProperties44.Append(spacingBetweenLines30);
            paragraphProperties44.Append(paragraphMarkRunProperties44);

            paragraph44.Append(paragraphProperties44);

            Table table4 = new Table();

            TableProperties tableProperties4 = new TableProperties();
            TableWidth tableWidth4 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation3 = new TableIndentation() { Width = 30, Type = TableWidthUnitValues.Dxa };
            TableLayout tableLayout3 = new TableLayout() { Type = TableLayoutValues.Fixed };

            TableCellMarginDefault tableCellMarginDefault3 = new TableCellMarginDefault();
            TableCellLeftMargin tableCellLeftMargin3 = new TableCellLeftMargin() { Width = 30, Type = TableWidthValues.Dxa };
            TableCellRightMargin tableCellRightMargin3 = new TableCellRightMargin() { Width = 30, Type = TableWidthValues.Dxa };

            tableCellMarginDefault3.Append(tableCellLeftMargin3);
            tableCellMarginDefault3.Append(tableCellRightMargin3);
            TableLook tableLook4 = new TableLook() { Val = "0000", FirstRow = false, LastRow = false, FirstColumn = false, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = false };

            tableProperties4.Append(tableWidth4);
            tableProperties4.Append(tableIndentation3);
            tableProperties4.Append(tableLayout3);
            tableProperties4.Append(tableCellMarginDefault3);
            tableProperties4.Append(tableLook4);

            TableGrid tableGrid4 = new TableGrid();
            GridColumn gridColumn11 = new GridColumn() { Width = "2000" };
            GridColumn gridColumn12 = new GridColumn() { Width = "2000" };
            GridColumn gridColumn13 = new GridColumn() { Width = "2500" };
            GridColumn gridColumn14 = new GridColumn() { Width = "3000" };

            tableGrid4.Append(gridColumn11);
            tableGrid4.Append(gridColumn12);
            tableGrid4.Append(gridColumn13);
            tableGrid4.Append(gridColumn14);

            TableRow tableRow11 = new TableRow() { RsidTableRowAddition = "00900A10", RsidTableRowProperties = "00B819CE" };

            TableRowProperties tableRowProperties11 = new TableRowProperties();
            TableRowHeight tableRowHeight11 = new TableRowHeight() { Val = (UInt32Value)262U };
            TableHeader tableHeader2 = new TableHeader();

            tableRowProperties11.Append(tableRowHeight11);
            tableRowProperties11.Append(tableHeader2);

            TableCell tableCell27 = new TableCell();

            TableCellProperties tableCellProperties27 = new TableCellProperties();
            TableCellWidth tableCellWidth27 = new TableCellWidth() { Width = "2000", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders13 = new TableCellBorders();
            TopBorder topBorder14 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder14 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder14 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder14 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders13.Append(topBorder14);
            tableCellBorders13.Append(leftBorder14);
            tableCellBorders13.Append(bottomBorder14);
            tableCellBorders13.Append(rightBorder14);

            tableCellProperties27.Append(tableCellWidth27);
            tableCellProperties27.Append(tableCellBorders13);

            Paragraph paragraph45 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties45 = new ParagraphProperties();
            WidowControl widowControl45 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE45 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN45 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent45 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines31 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties45 = new ParagraphMarkRunProperties();
            RunFonts runFonts83 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize83 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript83 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties45.Append(runFonts83);
            paragraphMarkRunProperties45.Append(fontSize83);
            paragraphMarkRunProperties45.Append(fontSizeComplexScript83);

            paragraphProperties45.Append(widowControl45);
            paragraphProperties45.Append(autoSpaceDE45);
            paragraphProperties45.Append(autoSpaceDN45);
            paragraphProperties45.Append(adjustRightIndent45);
            paragraphProperties45.Append(spacingBetweenLines31);
            paragraphProperties45.Append(paragraphMarkRunProperties45);

            Run run39 = new Run();

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts84 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize84 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript84 = new FontSizeComplexScript() { Val = "16" };

            runProperties39.Append(runFonts84);
            runProperties39.Append(fontSize84);
            runProperties39.Append(fontSizeComplexScript84);
            Text text39 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text39.Text = "Подпись пациента:  ";

            run39.Append(runProperties39);
            run39.Append(text39);

            paragraph45.Append(paragraphProperties45);
            paragraph45.Append(run39);

            tableCell27.Append(tableCellProperties27);
            tableCell27.Append(paragraph45);

            TableCell tableCell28 = new TableCell();

            TableCellProperties tableCellProperties28 = new TableCellProperties();
            TableCellWidth tableCellWidth28 = new TableCellWidth() { Width = "2000", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders14 = new TableCellBorders();
            TopBorder topBorder15 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder15 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder15 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder15 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders14.Append(topBorder15);
            tableCellBorders14.Append(leftBorder15);
            tableCellBorders14.Append(bottomBorder15);
            tableCellBorders14.Append(rightBorder15);

            tableCellProperties28.Append(tableCellWidth28);
            tableCellProperties28.Append(tableCellBorders14);

            Paragraph paragraph46 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties46 = new ParagraphProperties();
            WidowControl widowControl46 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE46 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN46 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent46 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines32 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification8 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties46 = new ParagraphMarkRunProperties();
            RunFonts runFonts85 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize85 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript85 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties46.Append(runFonts85);
            paragraphMarkRunProperties46.Append(fontSize85);
            paragraphMarkRunProperties46.Append(fontSizeComplexScript85);

            paragraphProperties46.Append(widowControl46);
            paragraphProperties46.Append(autoSpaceDE46);
            paragraphProperties46.Append(autoSpaceDN46);
            paragraphProperties46.Append(adjustRightIndent46);
            paragraphProperties46.Append(spacingBetweenLines32);
            paragraphProperties46.Append(justification8);
            paragraphProperties46.Append(paragraphMarkRunProperties46);

            Run run40 = new Run();

            RunProperties runProperties40 = new RunProperties();
            RunFonts runFonts86 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize86 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript86 = new FontSizeComplexScript() { Val = "16" };

            runProperties40.Append(runFonts86);
            runProperties40.Append(fontSize86);
            runProperties40.Append(fontSizeComplexScript86);
            Text text40 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text40.Text = "___________________ ";

            run40.Append(runProperties40);
            run40.Append(text40);

            paragraph46.Append(paragraphProperties46);
            paragraph46.Append(run40);

            tableCell28.Append(tableCellProperties28);
            tableCell28.Append(paragraph46);

            TableCell tableCell29 = new TableCell();

            TableCellProperties tableCellProperties29 = new TableCellProperties();
            TableCellWidth tableCellWidth29 = new TableCellWidth() { Width = "2500", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders15 = new TableCellBorders();
            TopBorder topBorder16 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder16 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder16 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder16 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders15.Append(topBorder16);
            tableCellBorders15.Append(leftBorder16);
            tableCellBorders15.Append(bottomBorder16);
            tableCellBorders15.Append(rightBorder16);

            tableCellProperties29.Append(tableCellWidth29);
            tableCellProperties29.Append(tableCellBorders15);

            Paragraph paragraph47 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties47 = new ParagraphProperties();
            WidowControl widowControl47 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE47 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN47 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent47 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines33 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification9 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties47 = new ParagraphMarkRunProperties();
            RunFonts runFonts87 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize87 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript87 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties47.Append(runFonts87);
            paragraphMarkRunProperties47.Append(fontSize87);
            paragraphMarkRunProperties47.Append(fontSizeComplexScript87);

            paragraphProperties47.Append(widowControl47);
            paragraphProperties47.Append(autoSpaceDE47);
            paragraphProperties47.Append(autoSpaceDN47);
            paragraphProperties47.Append(adjustRightIndent47);
            paragraphProperties47.Append(spacingBetweenLines33);
            paragraphProperties47.Append(justification9);
            paragraphProperties47.Append(paragraphMarkRunProperties47);

            Run run41 = new Run();

            RunProperties runProperties41 = new RunProperties();
            RunFonts runFonts88 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize88 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript88 = new FontSizeComplexScript() { Val = "16" };

            runProperties41.Append(runFonts88);
            runProperties41.Append(fontSize88);
            runProperties41.Append(fontSizeComplexScript88);
            Text text41 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text41.Text = "("+obj.PatientFIO + ")";

            run41.Append(runProperties41);
            run41.Append(text41);

            paragraph47.Append(paragraphProperties47);
            paragraph47.Append(run41);

            tableCell29.Append(tableCellProperties29);
            tableCell29.Append(paragraph47);

            TableCell tableCell30 = new TableCell();

            TableCellProperties tableCellProperties30 = new TableCellProperties();
            TableCellWidth tableCellWidth30 = new TableCellWidth() { Width = "3000", Type = TableWidthUnitValues.Dxa };

            TableCellBorders tableCellBorders16 = new TableCellBorders();
            TopBorder topBorder17 = new TopBorder() { Val = BorderValues.Nil };
            LeftBorder leftBorder17 = new LeftBorder() { Val = BorderValues.Nil };
            BottomBorder bottomBorder17 = new BottomBorder() { Val = BorderValues.Nil };
            RightBorder rightBorder17 = new RightBorder() { Val = BorderValues.Nil };

            tableCellBorders16.Append(topBorder17);
            tableCellBorders16.Append(leftBorder17);
            tableCellBorders16.Append(bottomBorder17);
            tableCellBorders16.Append(rightBorder17);

            tableCellProperties30.Append(tableCellWidth30);
            tableCellProperties30.Append(tableCellBorders16);

            Paragraph paragraph48 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00B819CE", RsidRunAdditionDefault = "00900A10" };

            ParagraphProperties paragraphProperties48 = new ParagraphProperties();
            WidowControl widowControl48 = new WidowControl() { Val = false };
            AutoSpaceDE autoSpaceDE48 = new AutoSpaceDE() { Val = false };
            AutoSpaceDN autoSpaceDN48 = new AutoSpaceDN() { Val = false };
            AdjustRightIndent adjustRightIndent48 = new AdjustRightIndent() { Val = false };
            SpacingBetweenLines spacingBetweenLines34 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

            ParagraphMarkRunProperties paragraphMarkRunProperties48 = new ParagraphMarkRunProperties();
            RunFonts runFonts89 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize89 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript89 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties48.Append(runFonts89);
            paragraphMarkRunProperties48.Append(fontSize89);
            paragraphMarkRunProperties48.Append(fontSizeComplexScript89);

            paragraphProperties48.Append(widowControl48);
            paragraphProperties48.Append(autoSpaceDE48);
            paragraphProperties48.Append(autoSpaceDN48);
            paragraphProperties48.Append(adjustRightIndent48);
            paragraphProperties48.Append(spacingBetweenLines34);
            paragraphProperties48.Append(paragraphMarkRunProperties48);

            Run run42 = new Run();

            RunProperties runProperties42 = new RunProperties();
            RunFonts runFonts90 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana", EastAsia = "New Roman", ComplexScript = "Verdana" };
            FontSize fontSize90 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript90 = new FontSizeComplexScript() { Val = "16" };

            runProperties42.Append(runFonts90);
            runProperties42.Append(fontSize90);
            runProperties42.Append(fontSizeComplexScript90);
            Text text42 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text42.Text = "Дата: " + DateTime.Now;

            run42.Append(runProperties42);
            run42.Append(text42);

            paragraph48.Append(paragraphProperties48);
            paragraph48.Append(run42);

            tableCell30.Append(tableCellProperties30);
            tableCell30.Append(paragraph48);

            tableRow11.Append(tableRowProperties11);
            tableRow11.Append(tableCell27);
            tableRow11.Append(tableCell28);
            tableRow11.Append(tableCell29);
            tableRow11.Append(tableCell30);

            table4.Append(tableProperties4);
            table4.Append(tableGrid4);
            table4.Append(tableRow11);
            Paragraph paragraph49 = new Paragraph() { RsidParagraphAddition = "00900A10", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00900A10" };
            Paragraph paragraph50 = new Paragraph() { RsidParagraphMarkRevision = "00900A10", RsidParagraphAddition = "00945FC6", RsidParagraphProperties = "00900A10", RsidRunAdditionDefault = "00945FC6" };

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "00900A10", RsidR = "00945FC6" };
            HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rId7" };
            FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rId8" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1134, Right = (UInt32Value)850U, Bottom = 1134, Left = (UInt32Value)1701U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "720" };
            NoEndnote noEndnote1 = new NoEndnote();

            sectionProperties1.Append(headerReference1);
            sectionProperties1.Append(footerReference1);
            sectionProperties1.Append(pageSize1);
            sectionProperties1.Append(pageMargin1);
            sectionProperties1.Append(columns1);
            sectionProperties1.Append(noEndnote1);

            body1.Append(paragraph1);
            body1.Append(paragraph2);
            body1.Append(paragraph3);
            body1.Append(paragraph4);
            body1.Append(table1);
            body1.Append(paragraph19);
            body1.Append(paragraph20);
            body1.Append(paragraph21);
            body1.Append(paragraph22);
            body1.Append(table2);
            body1.Append(paragraph31);
            body1.Append(paragraph32);
            body1.Append(paragraph33);
            body1.Append(paragraph34);
            body1.Append(table3);
            body1.Append(paragraph39);
            body1.Append(paragraph40);
            body1.Append(paragraph41);
            body1.Append(paragraph42);
            body1.Append(paragraph43);
            body1.Append(paragraph44);
            body1.Append(table4);
            body1.Append(paragraph49);
            body1.Append(paragraph50);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #3
0
ファイル: HardCode.cs プロジェクト: silmarion/WPDHelper
        private void GenerateChapterSix1()
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header1" };

            paragraphProperties1.Append(paragraphStyleId1);

            Run run1 = new Run();
            Text text1 = new Text();
            text1.Text = "6";

            run1.Append(text1);

            Run run2 = new Run() { RsidRunProperties = "006354D8" };
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text2.Text = ". ";

            run2.Append(text2);

            Run run3 = new Run();
            Text text3 = new Text();
            text3.Text = "Оценочные средства дисциплины";

            run3.Append(text3);

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

            Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId2 = new ParagraphStyleId() { Val = "2" };
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { Before = "120", After = "120" };
            Justification justification1 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Languages languages1 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(languages1);

            paragraphProperties2.Append(paragraphStyleId2);
            paragraphProperties2.Append(spacingBetweenLines1);
            paragraphProperties2.Append(justification1);
            paragraphProperties2.Append(paragraphMarkRunProperties1);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_Toc293679414", Id = "0" };

            Run run4 = new Run() { RsidRunProperties = "000F6A5D" };

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Languages languages2 = new Languages() { Val = "ru-RU" };

            runProperties1.Append(runFonts2);
            runProperties1.Append(languages2);
            Text text4 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text4.Text = "6.1 ";

            run4.Append(runProperties1);
            run4.Append(text4);

            Run run5 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Languages languages3 = new Languages() { Val = "ru-RU" };

            runProperties2.Append(runFonts3);
            runProperties2.Append(languages3);
            Text text5 = new Text();
            text5.Text = "Контрольно-измерительные материалы к промежуточному и итоговому контролю";

            run5.Append(runProperties2);
            run5.Append(text5);
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(bookmarkStart1);
            paragraph2.Append(run4);
            paragraph2.Append(run5);
            paragraph2.Append(bookmarkEnd1);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            Indentation indentation1 = new Indentation() { FirstLine = "720" };
            Justification justification2 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize1 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties2.Append(runFonts4);
            paragraphMarkRunProperties2.Append(fontSize1);
            paragraphMarkRunProperties2.Append(fontSizeComplexScript1);

            paragraphProperties3.Append(indentation1);
            paragraphProperties3.Append(justification2);
            paragraphProperties3.Append(paragraphMarkRunProperties2);

            Run run6 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize2 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "28" };

            runProperties3.Append(runFonts5);
            runProperties3.Append(fontSize2);
            runProperties3.Append(fontSizeComplexScript2);
            Text text6 = new Text();
            text6.Text = "В процессе изучения дисциплины осуществляются следующие виды контроля:";

            run6.Append(runProperties3);
            run6.Append(text6);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run6);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            Indentation indentation2 = new Indentation() { FirstLine = "720" };
            Justification justification3 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize3 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties3.Append(runFonts6);
            paragraphMarkRunProperties3.Append(fontSize3);
            paragraphMarkRunProperties3.Append(fontSizeComplexScript3);

            paragraphProperties4.Append(indentation2);
            paragraphProperties4.Append(justification3);
            paragraphProperties4.Append(paragraphMarkRunProperties3);

            Run run7 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold1 = new Bold();
            BoldComplexScript boldComplexScript1 = new BoldComplexScript();
            FontSize fontSize4 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "28" };

            runProperties4.Append(runFonts7);
            runProperties4.Append(bold1);
            runProperties4.Append(boldComplexScript1);
            runProperties4.Append(fontSize4);
            runProperties4.Append(fontSizeComplexScript4);
            Text text7 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text7.Text = "входной контроль ";

            run7.Append(runProperties4);
            run7.Append(text7);

            Run run8 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize5 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "28" };

            runProperties5.Append(runFonts8);
            runProperties5.Append(fontSize5);
            runProperties5.Append(fontSizeComplexScript5);
            Text text8 = new Text();
            text8.Text = "заключается в изучении первоначальных знаний по смежным предшествующим дисциплинам, проведении входного тестирования о наличии представлений, знаний, умений и навыков по данной дисциплине;";

            run8.Append(runProperties5);
            run8.Append(text8);

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(run7);
            paragraph4.Append(run8);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            Indentation indentation3 = new Indentation() { FirstLine = "720" };
            Justification justification4 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize6 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties4.Append(runFonts9);
            paragraphMarkRunProperties4.Append(fontSize6);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript6);

            paragraphProperties5.Append(indentation3);
            paragraphProperties5.Append(justification4);
            paragraphProperties5.Append(paragraphMarkRunProperties4);

            Run run9 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold2 = new Bold();
            BoldComplexScript boldComplexScript2 = new BoldComplexScript();
            FontSize fontSize7 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "28" };

            runProperties6.Append(runFonts10);
            runProperties6.Append(bold2);
            runProperties6.Append(boldComplexScript2);
            runProperties6.Append(fontSize7);
            runProperties6.Append(fontSizeComplexScript7);
            Text text9 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text9.Text = "текущий контроль качества ";

            run9.Append(runProperties6);
            run9.Append(text9);

            Run run10 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize8 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "28" };

            runProperties7.Append(runFonts11);
            runProperties7.Append(fontSize8);
            runProperties7.Append(fontSizeComplexScript8);
            Text text10 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text10.Text = "усвоения знаний состоит в проведении тестов в конце разделов курса, а так же в отработке практических навыков, активность на лабораторных занятиях. ";

            run10.Append(runProperties7);
            run10.Append(text10);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run9);
            paragraph5.Append(run10);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            Indentation indentation4 = new Indentation() { FirstLine = "720" };
            Justification justification5 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize9 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties5.Append(runFonts12);
            paragraphMarkRunProperties5.Append(fontSize9);
            paragraphMarkRunProperties5.Append(fontSizeComplexScript9);

            paragraphProperties6.Append(indentation4);
            paragraphProperties6.Append(justification5);
            paragraphProperties6.Append(paragraphMarkRunProperties5);

            Run run11 = new Run();

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold3 = new Bold();
            BoldComplexScript boldComplexScript3 = new BoldComplexScript();
            FontSize fontSize10 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "28" };

            runProperties8.Append(runFonts13);
            runProperties8.Append(bold3);
            runProperties8.Append(boldComplexScript3);
            runProperties8.Append(fontSize10);
            runProperties8.Append(fontSizeComplexScript10);
            Text text11 = new Text();
            text11.Text = "рубежный";

            run11.Append(runProperties8);
            run11.Append(text11);

            Run run12 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold4 = new Bold();
            BoldComplexScript boldComplexScript4 = new BoldComplexScript();
            FontSize fontSize11 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "28" };

            runProperties9.Append(runFonts14);
            runProperties9.Append(bold4);
            runProperties9.Append(boldComplexScript4);
            runProperties9.Append(fontSize11);
            runProperties9.Append(fontSizeComplexScript11);
            Text text12 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text12.Text = " контроль ";

            run12.Append(runProperties9);
            run12.Append(text12);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run13 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold5 = new Bold();
            BoldComplexScript boldComplexScript5 = new BoldComplexScript();
            FontSize fontSize12 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "28" };

            runProperties10.Append(runFonts15);
            runProperties10.Append(bold5);
            runProperties10.Append(boldComplexScript5);
            runProperties10.Append(fontSize12);
            runProperties10.Append(fontSizeComplexScript12);
            Text text13 = new Text();
            text13.Text = "–";

            run13.Append(runProperties10);
            run13.Append(text13);

            Run run14 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            BoldComplexScript boldComplexScript6 = new BoldComplexScript();
            FontSize fontSize13 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "28" };

            runProperties11.Append(runFonts16);
            runProperties11.Append(boldComplexScript6);
            runProperties11.Append(fontSize13);
            runProperties11.Append(fontSizeComplexScript13);
            Text text14 = new Text();
            text14.Text = "з";

            run14.Append(runProperties11);
            run14.Append(text14);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run15 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            BoldComplexScript boldComplexScript7 = new BoldComplexScript();
            FontSize fontSize14 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "28" };

            runProperties12.Append(runFonts17);
            runProperties12.Append(boldComplexScript7);
            runProperties12.Append(fontSize14);
            runProperties12.Append(fontSizeComplexScript14);
            Text text15 = new Text();
            text15.Text = "ачет (третий семестр) и экзамен (четвертый семестр)";

            run15.Append(runProperties12);
            run15.Append(text15);

            Run run16 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize15 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "28" };

            runProperties13.Append(runFonts18);
            runProperties13.Append(fontSize15);
            runProperties13.Append(fontSizeComplexScript15);
            Text text16 = new Text();
            text16.Text = ".";

            run16.Append(runProperties13);
            run16.Append(text16);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run11);
            paragraph6.Append(run12);
            paragraph6.Append(proofError1);
            paragraph6.Append(run13);
            paragraph6.Append(run14);
            paragraph6.Append(proofError2);
            paragraph6.Append(run15);
            paragraph6.Append(run16);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            Indentation indentation5 = new Indentation() { FirstLine = "720" };
            Justification justification6 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize16 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties6.Append(runFonts19);
            paragraphMarkRunProperties6.Append(fontSize16);
            paragraphMarkRunProperties6.Append(fontSizeComplexScript16);

            paragraphProperties7.Append(indentation5);
            paragraphProperties7.Append(justification6);
            paragraphProperties7.Append(paragraphMarkRunProperties6);

            Run run17 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize17 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "28" };

            runProperties14.Append(runFonts20);
            runProperties14.Append(fontSize17);
            runProperties14.Append(fontSizeComplexScript17);
            Text text17 = new Text();
            text17.Text = "Рейтинговая оценка по данной дисциплине в каждом семестре осуществляется по 100-балльной шкале и складывается из текущих оценок посещаемости занятий, защиты результатов работ, выполняемых на практических занятиях, знаний на промежуточном контроле (тестирование по темам) и итоговой оценки на зачете или экзамене. Формой итогового контроля в 3-м семестре является зачет, в 4-м семестре — экзамен.";

            run17.Append(runProperties14);
            run17.Append(text17);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run17);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            Indentation indentation6 = new Indentation() { FirstLine = "720" };
            Justification justification7 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize18 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties7.Append(runFonts21);
            paragraphMarkRunProperties7.Append(fontSize18);
            paragraphMarkRunProperties7.Append(fontSizeComplexScript18);

            paragraphProperties8.Append(indentation6);
            paragraphProperties8.Append(justification7);
            paragraphProperties8.Append(paragraphMarkRunProperties7);

            Run run18 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize19 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript19 = new FontSizeComplexScript() { Val = "28" };

            runProperties15.Append(runFonts22);
            runProperties15.Append(fontSize19);
            runProperties15.Append(fontSizeComplexScript19);
            Text text18 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text18.Text = "В 3-м семестре, заканчивающимся зачетом, текущий контроль оценивается интервалом 40–80 баллов, а итоговый — 0–20 баллов. Сумма баллов текущего и итогового контроля в интервале 60–100 баллов соответствует положительной оценке знаний студента и позволяет преподавателю поставить оценку «Зачет» за семестр. ";

            run18.Append(runProperties15);
            run18.Append(text18);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run18);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            Indentation indentation7 = new Indentation() { FirstLine = "720" };
            Justification justification8 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize20 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript20 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties8.Append(runFonts23);
            paragraphMarkRunProperties8.Append(fontSize20);
            paragraphMarkRunProperties8.Append(fontSizeComplexScript20);

            paragraphProperties9.Append(indentation7);
            paragraphProperties9.Append(justification8);
            paragraphProperties9.Append(paragraphMarkRunProperties8);

            Run run19 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize21 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript21 = new FontSizeComplexScript() { Val = "28" };

            runProperties16.Append(runFonts24);
            runProperties16.Append(fontSize21);
            runProperties16.Append(fontSizeComplexScript21);
            Text text19 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text19.Text = "В случае пропуска занятий студент ликвидирует образовавшуюся задолженность в сроки, устанавливаемые по договоренности с преподавателем. В случае пропуска занятий по уважительной причине, что подтверждается соответствующей справкой из деканата, защита результатов его работы оценивается по обычной шкале баллов, установленной для каждой темы; при этом ему компенсируется оценка посещаемости пропущенных занятий. В случае пропуска занятий по неуважительной причине защита результатов работы оценивается по 50%-ной шкале баллов ";

            run19.Append(runProperties16);
            run19.Append(text19);

            Run run20 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize22 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript22 = new FontSizeComplexScript() { Val = "28" };

            runProperties17.Append(runFonts25);
            runProperties17.Append(fontSize22);
            runProperties17.Append(fontSizeComplexScript22);
            LastRenderedPageBreak lastRenderedPageBreak1 = new LastRenderedPageBreak();
            Text text20 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text20.Text = "по каждой теме без компенсации оценки посещаемости пропущенных занятий. ";

            run20.Append(runProperties17);
            run20.Append(lastRenderedPageBreak1);
            run20.Append(text20);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run19);
            paragraph9.Append(run20);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            Indentation indentation8 = new Indentation() { FirstLine = "720" };
            Justification justification9 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize23 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript23 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties9.Append(runFonts26);
            paragraphMarkRunProperties9.Append(fontSize23);
            paragraphMarkRunProperties9.Append(fontSizeComplexScript23);

            paragraphProperties10.Append(indentation8);
            paragraphProperties10.Append(justification9);
            paragraphProperties10.Append(paragraphMarkRunProperties9);

            Run run21 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize24 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript24 = new FontSizeComplexScript() { Val = "28" };

            runProperties18.Append(runFonts27);
            runProperties18.Append(fontSize24);
            runProperties18.Append(fontSizeComplexScript24);
            Text text21 = new Text();
            text21.Text = "Студенты, не сумевшие ликвидировать задолженности в установленные сроки в течение семестра, получают на зачете дополнительные вопросы (задачи для решения) по соответствующим темам.";

            run21.Append(runProperties18);
            run21.Append(text21);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run21);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            Indentation indentation9 = new Indentation() { FirstLine = "720" };
            Justification justification10 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize25 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript25 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties10.Append(runFonts28);
            paragraphMarkRunProperties10.Append(fontSize25);
            paragraphMarkRunProperties10.Append(fontSizeComplexScript25);

            paragraphProperties11.Append(indentation9);
            paragraphProperties11.Append(justification10);
            paragraphProperties11.Append(paragraphMarkRunProperties10);

            Run run22 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize26 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript26 = new FontSizeComplexScript() { Val = "28" };

            runProperties19.Append(runFonts29);
            runProperties19.Append(fontSize26);
            runProperties19.Append(fontSizeComplexScript26);
            Text text22 = new Text();
            text22.Text = "Если студенту разрешено деканатом заниматься по индивидуальному учебному плану, то в начале семестра совместно с преподавателем устанавливается график защиты результатов его работы по темам в соответствии с учебным планом изучения дисциплины. В случае соблюдения графика его работа оценивается по обычной шкале баллов с компенсацией оценки посещаемости пропущенных занятий, отведенных рабочим учебным планом на изучение соответствующих тем. В случае нарушения установленных сроков он получает на зачете дополнительные вопросы (задачи для решения) по соответствующим темам.";

            run22.Append(runProperties19);
            run22.Append(text22);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run22);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            Indentation indentation10 = new Indentation() { FirstLine = "720" };
            Justification justification11 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize27 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties11.Append(runFonts30);
            paragraphMarkRunProperties11.Append(fontSize27);
            paragraphMarkRunProperties11.Append(fontSizeComplexScript27);

            paragraphProperties12.Append(indentation10);
            paragraphProperties12.Append(justification11);
            paragraphProperties12.Append(paragraphMarkRunProperties11);

            Run run23 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize28 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript() { Val = "28" };

            runProperties20.Append(runFonts31);
            runProperties20.Append(fontSize28);
            runProperties20.Append(fontSizeComplexScript28);
            Text text23 = new Text();
            text23.Text = "При защите результатов работы по темам дисциплины студент получает положительную оценку только в том случае, если он демонстрирует умение работать с материалами, предъявленными к защите в электронном виде.";

            run23.Append(runProperties20);
            run23.Append(text23);

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run23);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            Indentation indentation11 = new Indentation() { FirstLine = "720" };
            Justification justification12 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize29 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript29 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties12.Append(runFonts32);
            paragraphMarkRunProperties12.Append(fontSize29);
            paragraphMarkRunProperties12.Append(fontSizeComplexScript29);

            paragraphProperties13.Append(indentation11);
            paragraphProperties13.Append(justification12);
            paragraphProperties13.Append(paragraphMarkRunProperties12);

            Run run24 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize30 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript30 = new FontSizeComplexScript() { Val = "28" };

            runProperties21.Append(runFonts33);
            runProperties21.Append(fontSize30);
            runProperties21.Append(fontSizeComplexScript30);
            Text text24 = new Text();
            text24.Text = "Оценки, полученные при тестировании по темам дисциплины (от 0 до 100), пересчитываются в шкалу баллов, предусмотренную для соответствующих тем.";

            run24.Append(runProperties21);
            run24.Append(text24);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run24);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            Indentation indentation12 = new Indentation() { FirstLine = "720" };
            Justification justification13 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize31 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript31 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties13.Append(runFonts34);
            paragraphMarkRunProperties13.Append(fontSize31);
            paragraphMarkRunProperties13.Append(fontSizeComplexScript31);

            paragraphProperties14.Append(indentation12);
            paragraphProperties14.Append(justification13);
            paragraphProperties14.Append(paragraphMarkRunProperties13);

            Run run25 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts35 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize32 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript32 = new FontSizeComplexScript() { Val = "28" };

            runProperties22.Append(runFonts35);
            runProperties22.Append(fontSize32);
            runProperties22.Append(fontSizeComplexScript32);
            Text text25 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text25.Text = "В 4-м семестре, заканчивающимся экзаменом, текущий контроль оценивается интервалом 20–60 баллов, а итоговый — 0–40 баллов. Студенты, не сумевшие ликвидировать задолженности в установленные сроки в течение семестра, получают на экзамене дополнительные вопросы (задачи для решения) по соответствующим темам. ";

            run25.Append(runProperties22);
            run25.Append(text25);

            paragraph14.Append(paragraphProperties14);
            paragraph14.Append(run25);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();
            Indentation indentation13 = new Indentation() { FirstLine = "720" };
            Justification justification14 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize33 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript33 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties14.Append(runFonts36);
            paragraphMarkRunProperties14.Append(fontSize33);
            paragraphMarkRunProperties14.Append(fontSizeComplexScript33);

            paragraphProperties15.Append(indentation13);
            paragraphProperties15.Append(justification14);
            paragraphProperties15.Append(paragraphMarkRunProperties14);

            Run run26 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize34 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript34 = new FontSizeComplexScript() { Val = "28" };

            runProperties23.Append(runFonts37);
            runProperties23.Append(fontSize34);
            runProperties23.Append(fontSizeComplexScript34);
            Text text26 = new Text();
            text26.Text = "Экзамен состоит из теоретического вопроса и нескольких практических заданий, выполняемых студентом непосредственно на компьютере.";

            run26.Append(runProperties23);
            run26.Append(text26);

            paragraph15.Append(paragraphProperties15);
            paragraph15.Append(run26);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();
            Indentation indentation14 = new Indentation() { FirstLine = "720" };
            Justification justification15 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize35 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript35 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties15.Append(runFonts38);
            paragraphMarkRunProperties15.Append(fontSize35);
            paragraphMarkRunProperties15.Append(fontSizeComplexScript35);

            paragraphProperties16.Append(indentation14);
            paragraphProperties16.Append(justification15);
            paragraphProperties16.Append(paragraphMarkRunProperties15);

            paragraph16.Append(paragraphProperties16);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
            Indentation indentation15 = new Indentation() { FirstLine = "720" };
            Justification justification16 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize36 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript36 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties16.Append(runFonts39);
            paragraphMarkRunProperties16.Append(fontSize36);
            paragraphMarkRunProperties16.Append(fontSizeComplexScript36);

            paragraphProperties17.Append(indentation15);
            paragraphProperties17.Append(justification16);
            paragraphProperties17.Append(paragraphMarkRunProperties16);

            Run run27 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts40 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize37 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript37 = new FontSizeComplexScript() { Val = "28" };

            runProperties24.Append(runFonts40);
            runProperties24.Append(fontSize37);
            runProperties24.Append(fontSizeComplexScript37);
            Text text27 = new Text();
            text27.Text = "Итоговая сумма баллов на экзамене учитывает результат, накопленный студентом за оба семестра, и вычисляется по формуле:";

            run27.Append(runProperties24);
            run27.Append(text27);

            paragraph17.Append(paragraphProperties17);
            paragraph17.Append(run27);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties18 = new ParagraphProperties();
            Indentation indentation16 = new Indentation() { FirstLine = "720" };
            Justification justification17 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties();
            RunFonts runFonts41 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize38 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript38 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties17.Append(runFonts41);
            paragraphMarkRunProperties17.Append(fontSize38);
            paragraphMarkRunProperties17.Append(fontSizeComplexScript38);

            paragraphProperties18.Append(indentation16);
            paragraphProperties18.Append(justification17);
            paragraphProperties18.Append(paragraphMarkRunProperties17);

            //Run run28 = new Run() { RsidRunProperties = "00881E7E" };

            //RunProperties runProperties25 = new RunProperties();
            //RunFonts runFonts42 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            //Position position1 = new Position() { Val = "-28" };
            //FontSize fontSize39 = new FontSize() { Val = "28" };
            //FontSizeComplexScript fontSizeComplexScript39 = new FontSizeComplexScript() { Val = "28" };

            //runProperties25.Append(runFonts42);
            //runProperties25.Append(position1);
            //runProperties25.Append(fontSize39);
            //runProperties25.Append(fontSizeComplexScript39);

            //EmbeddedObject embeddedObject1 = new EmbeddedObject() { DxaOriginal = "2520", DyaOriginal = "680" };

            //V.Shapetype shapetype1 = new V.Shapetype() { Id = "_x0000_t75", CoordinateSize = "21600,21600", Filled = false, Stroked = false, OptionalNumber = 75, PreferRelative = true, EdgePath = "m@4@5l@4@11@9@11@9@5xe" };
            //V.Stroke stroke1 = new V.Stroke() { JoinStyle = V.StrokeJoinStyleValues.Miter };

            //V.Formulas formulas1 = new V.Formulas();
            //V.Formula formula1 = new V.Formula() { Equation = "if lineDrawn pixelLineWidth 0" };
            //V.Formula formula2 = new V.Formula() { Equation = "sum @0 1 0" };
            //V.Formula formula3 = new V.Formula() { Equation = "sum 0 0 @1" };
            //V.Formula formula4 = new V.Formula() { Equation = "prod @2 1 2" };
            //V.Formula formula5 = new V.Formula() { Equation = "prod @3 21600 pixelWidth" };
            //V.Formula formula6 = new V.Formula() { Equation = "prod @3 21600 pixelHeight" };
            //V.Formula formula7 = new V.Formula() { Equation = "sum @0 0 1" };
            //V.Formula formula8 = new V.Formula() { Equation = "prod @6 1 2" };
            //V.Formula formula9 = new V.Formula() { Equation = "prod @7 21600 pixelWidth" };
            //V.Formula formula10 = new V.Formula() { Equation = "sum @8 21600 0" };
            //V.Formula formula11 = new V.Formula() { Equation = "prod @7 21600 pixelHeight" };
            //V.Formula formula12 = new V.Formula() { Equation = "sum @10 21600 0" };

            //formulas1.Append(formula1);
            //formulas1.Append(formula2);
            //formulas1.Append(formula3);
            //formulas1.Append(formula4);
            //formulas1.Append(formula5);
            //formulas1.Append(formula6);
            //formulas1.Append(formula7);
            //formulas1.Append(formula8);
            //formulas1.Append(formula9);
            //formulas1.Append(formula10);
            //formulas1.Append(formula11);
            //formulas1.Append(formula12);
            //V.Path path1 = new V.Path() { AllowGradientShape = true, ConnectionPointType = Ovml.ConnectValues.Rectangle, AllowExtrusion = false };
            //Ovml.Lock lock1 = new Ovml.Lock() { Extension = V.ExtensionHandlingBehaviorValues.Edit, AspectRatio = true };

            //shapetype1.Append(stroke1);
            //shapetype1.Append(formulas1);
            //shapetype1.Append(path1);
            //shapetype1.Append(lock1);

            //V.Shape shape1 = new V.Shape() { Id = "_x0000_i1025", Style = "width:171.05pt;height:45.5pt", Ole = false, Type = "#_x0000_t75" };
            //V.ImageData imageData1 = new V.ImageData() { Title = "", RelationshipId = "rId5" };

            //shape1.Append(imageData1);
            //Ovml.OleObject oleObject1 = new Ovml.OleObject() { Type = Ovml.OleValues.Embed, ProgId = "Equation.3", ShapeId = "_x0000_i1025", DrawAspect = Ovml.OleDrawAspectValues.Content, ObjectId = "_1432036585", Id = "rId6" };

            //embeddedObject1.Append(shapetype1);
            //embeddedObject1.Append(shape1);
            //embeddedObject1.Append(oleObject1);

            //run28.Append(runProperties25);
            //run28.Append(embeddedObject1);

            //paragraph18.Append(paragraphProperties18);
            //paragraph18.Append(run28);

            Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties19 = new ParagraphProperties();
            Justification justification18 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties();
            RunFonts runFonts43 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize40 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript40 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties18.Append(runFonts43);
            paragraphMarkRunProperties18.Append(fontSize40);
            paragraphMarkRunProperties18.Append(fontSizeComplexScript40);

            paragraphProperties19.Append(justification18);
            paragraphProperties19.Append(paragraphMarkRunProperties18);

            Run run29 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts44 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize41 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript41 = new FontSizeComplexScript() { Val = "28" };

            runProperties26.Append(runFonts44);
            runProperties26.Append(fontSize41);
            runProperties26.Append(fontSizeComplexScript41);
            LastRenderedPageBreak lastRenderedPageBreak2 = new LastRenderedPageBreak();
            Text text28 = new Text();
            text28.Text = "где:";

            run29.Append(runProperties26);
            run29.Append(lastRenderedPageBreak2);
            run29.Append(text28);

            paragraph19.Append(paragraphProperties19);
            paragraph19.Append(run29);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties20 = new ParagraphProperties();
            Indentation indentation17 = new Indentation() { FirstLine = "720" };
            Justification justification19 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties();
            RunFonts runFonts45 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize42 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript42 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties19.Append(runFonts45);
            paragraphMarkRunProperties19.Append(fontSize42);
            paragraphMarkRunProperties19.Append(fontSizeComplexScript42);

            paragraphProperties20.Append(indentation17);
            paragraphProperties20.Append(justification19);
            paragraphProperties20.Append(paragraphMarkRunProperties19);

            Run run30 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties27 = new RunProperties();
            RunFonts runFonts46 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Italic italic1 = new Italic();
            FontSize fontSize43 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript43 = new FontSizeComplexScript() { Val = "28" };

            runProperties27.Append(runFonts46);
            runProperties27.Append(italic1);
            runProperties27.Append(fontSize43);
            runProperties27.Append(fontSizeComplexScript43);
            Text text29 = new Text();
            text29.Text = "R";

            run30.Append(runProperties27);
            run30.Append(text29);

            Run run31 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties28 = new RunProperties();
            RunFonts runFonts47 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize44 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript44 = new FontSizeComplexScript() { Val = "28" };
            VerticalTextAlignment verticalTextAlignment1 = new VerticalTextAlignment() { Val = VerticalPositionValues.Subscript };

            runProperties28.Append(runFonts47);
            runProperties28.Append(fontSize44);
            runProperties28.Append(fontSizeComplexScript44);
            runProperties28.Append(verticalTextAlignment1);
            Text text30 = new Text();
            text30.Text = "3";

            run31.Append(runProperties28);
            run31.Append(text30);

            Run run32 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties29 = new RunProperties();
            RunFonts runFonts48 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize45 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript45 = new FontSizeComplexScript() { Val = "28" };

            runProperties29.Append(runFonts48);
            runProperties29.Append(fontSize45);
            runProperties29.Append(fontSizeComplexScript45);
            Text text31 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text31.Text = " — рейтинг за 3-й семестр, закончившийся зачетом (от 60 до 100);";

            run32.Append(runProperties29);
            run32.Append(text31);

            paragraph20.Append(paragraphProperties20);
            paragraph20.Append(run30);
            paragraph20.Append(run31);
            paragraph20.Append(run32);

            Paragraph paragraph21 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties21 = new ParagraphProperties();
            Indentation indentation18 = new Indentation() { FirstLine = "720" };
            Justification justification20 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties();
            RunFonts runFonts49 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize46 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript46 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties20.Append(runFonts49);
            paragraphMarkRunProperties20.Append(fontSize46);
            paragraphMarkRunProperties20.Append(fontSizeComplexScript46);

            paragraphProperties21.Append(indentation18);
            paragraphProperties21.Append(justification20);
            paragraphProperties21.Append(paragraphMarkRunProperties20);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run33 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties30 = new RunProperties();
            RunFonts runFonts50 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Italic italic2 = new Italic();
            FontSize fontSize47 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript47 = new FontSizeComplexScript() { Val = "28" };

            runProperties30.Append(runFonts50);
            runProperties30.Append(italic2);
            runProperties30.Append(fontSize47);
            runProperties30.Append(fontSizeComplexScript47);
            Text text32 = new Text();
            text32.Text = "S";

            run33.Append(runProperties30);
            run33.Append(text32);
            ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run34 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties31 = new RunProperties();
            RunFonts runFonts51 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize48 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript48 = new FontSizeComplexScript() { Val = "28" };
            VerticalTextAlignment verticalTextAlignment2 = new VerticalTextAlignment() { Val = VerticalPositionValues.Subscript };

            runProperties31.Append(runFonts51);
            runProperties31.Append(fontSize48);
            runProperties31.Append(fontSizeComplexScript48);
            runProperties31.Append(verticalTextAlignment2);
            Text text33 = new Text();
            text33.Text = "Т";

            run34.Append(runProperties31);
            run34.Append(text33);

            Run run35 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties32 = new RunProperties();
            RunFonts runFonts52 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize49 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript49 = new FontSizeComplexScript() { Val = "28" };

            runProperties32.Append(runFonts52);
            runProperties32.Append(fontSize49);
            runProperties32.Append(fontSizeComplexScript49);
            Text text34 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text34.Text = " — сумма баллов текущей успеваемости в четвертом семестре (от 0 до 60);";

            run35.Append(runProperties32);
            run35.Append(text34);

            paragraph21.Append(paragraphProperties21);
            paragraph21.Append(proofError3);
            paragraph21.Append(run33);
            paragraph21.Append(proofError4);
            paragraph21.Append(run34);
            paragraph21.Append(run35);

            Paragraph paragraph22 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties22 = new ParagraphProperties();
            Indentation indentation19 = new Indentation() { FirstLine = "720" };
            Justification justification21 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties21 = new ParagraphMarkRunProperties();
            RunFonts runFonts53 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize50 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript50 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties21.Append(runFonts53);
            paragraphMarkRunProperties21.Append(fontSize50);
            paragraphMarkRunProperties21.Append(fontSizeComplexScript50);

            paragraphProperties22.Append(indentation19);
            paragraphProperties22.Append(justification21);
            paragraphProperties22.Append(paragraphMarkRunProperties21);
            ProofError proofError5 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run36 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties33 = new RunProperties();
            RunFonts runFonts54 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Italic italic3 = new Italic();
            FontSize fontSize51 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript51 = new FontSizeComplexScript() { Val = "28" };

            runProperties33.Append(runFonts54);
            runProperties33.Append(italic3);
            runProperties33.Append(fontSize51);
            runProperties33.Append(fontSizeComplexScript51);
            Text text35 = new Text();
            text35.Text = "S";

            run36.Append(runProperties33);
            run36.Append(text35);
            ProofError proofError6 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run37 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties34 = new RunProperties();
            RunFonts runFonts55 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize52 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript52 = new FontSizeComplexScript() { Val = "28" };
            VerticalTextAlignment verticalTextAlignment3 = new VerticalTextAlignment() { Val = VerticalPositionValues.Subscript };

            runProperties34.Append(runFonts55);
            runProperties34.Append(fontSize52);
            runProperties34.Append(fontSizeComplexScript52);
            runProperties34.Append(verticalTextAlignment3);
            Text text36 = new Text();
            text36.Text = "Э";

            run37.Append(runProperties34);
            run37.Append(text36);

            Run run38 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties35 = new RunProperties();
            RunFonts runFonts56 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize53 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript53 = new FontSizeComplexScript() { Val = "28" };

            runProperties35.Append(runFonts56);
            runProperties35.Append(fontSize53);
            runProperties35.Append(fontSizeComplexScript53);
            Text text37 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text37.Text = " — балл, полученный на экзамене (от 0 до 40).";

            run38.Append(runProperties35);
            run38.Append(text37);

            paragraph22.Append(paragraphProperties22);
            paragraph22.Append(proofError5);
            paragraph22.Append(run36);
            paragraph22.Append(proofError6);
            paragraph22.Append(run37);
            paragraph22.Append(run38);

            Paragraph paragraph23 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();
            Indentation indentation20 = new Indentation() { FirstLine = "720" };
            Justification justification22 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties();
            RunFonts runFonts57 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize54 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript54 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties22.Append(runFonts57);
            paragraphMarkRunProperties22.Append(fontSize54);
            paragraphMarkRunProperties22.Append(fontSizeComplexScript54);

            paragraphProperties23.Append(indentation20);
            paragraphProperties23.Append(justification22);
            paragraphProperties23.Append(paragraphMarkRunProperties22);

            Run run39 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties36 = new RunProperties();
            RunFonts runFonts58 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize55 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript55 = new FontSizeComplexScript() { Val = "28" };

            runProperties36.Append(runFonts58);
            runProperties36.Append(fontSize55);
            runProperties36.Append(fontSizeComplexScript55);
            Text text38 = new Text();
            text38.Text = "Полученный таким образом рейтинг пересчитывается в традиционную шкалу оценок, выставляемых в ведомость и зачетную книжку, следующим образом:";

            run39.Append(runProperties36);
            run39.Append(text38);

            paragraph23.Append(paragraphProperties23);
            paragraph23.Append(run39);

            Paragraph paragraph24 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();
            Indentation indentation21 = new Indentation() { FirstLine = "720" };
            Justification justification23 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties();
            RunFonts runFonts59 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize56 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript56 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties23.Append(runFonts59);
            paragraphMarkRunProperties23.Append(fontSize56);
            paragraphMarkRunProperties23.Append(fontSizeComplexScript56);

            paragraphProperties24.Append(indentation21);
            paragraphProperties24.Append(justification23);
            paragraphProperties24.Append(paragraphMarkRunProperties23);

            Run run40 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties37 = new RunProperties();
            RunFonts runFonts60 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize57 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript57 = new FontSizeComplexScript() { Val = "28" };

            runProperties37.Append(runFonts60);
            runProperties37.Append(fontSize57);
            runProperties37.Append(fontSizeComplexScript57);
            Text text39 = new Text();
            text39.Text = "неудовлетворительно";

            run40.Append(runProperties37);
            run40.Append(text39);

            Run run41 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts61 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize58 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript58 = new FontSizeComplexScript() { Val = "28" };

            runProperties38.Append(runFonts61);
            runProperties38.Append(fontSize58);
            runProperties38.Append(fontSizeComplexScript58);
            TabChar tabChar1 = new TabChar();
            Text text40 = new Text();
            text40.Text = "—";

            run41.Append(runProperties38);
            run41.Append(tabChar1);
            run41.Append(text40);

            Run run42 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts62 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize59 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript59 = new FontSizeComplexScript() { Val = "28" };

            runProperties39.Append(runFonts62);
            runProperties39.Append(fontSize59);
            runProperties39.Append(fontSizeComplexScript59);
            TabChar tabChar2 = new TabChar();
            Text text41 = new Text();
            text41.Text = "менее 55 баллов;";

            run42.Append(runProperties39);
            run42.Append(tabChar2);
            run42.Append(text41);

            paragraph24.Append(paragraphProperties24);
            paragraph24.Append(run40);
            paragraph24.Append(run41);
            paragraph24.Append(run42);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();
            Indentation indentation22 = new Indentation() { FirstLine = "720" };
            Justification justification24 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties();
            RunFonts runFonts63 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize60 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript60 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties24.Append(runFonts63);
            paragraphMarkRunProperties24.Append(fontSize60);
            paragraphMarkRunProperties24.Append(fontSizeComplexScript60);

            paragraphProperties25.Append(indentation22);
            paragraphProperties25.Append(justification24);
            paragraphProperties25.Append(paragraphMarkRunProperties24);

            Run run43 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties40 = new RunProperties();
            RunFonts runFonts64 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize61 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript61 = new FontSizeComplexScript() { Val = "28" };

            runProperties40.Append(runFonts64);
            runProperties40.Append(fontSize61);
            runProperties40.Append(fontSizeComplexScript61);
            Text text42 = new Text();
            text42.Text = "удовлетворительно";

            run43.Append(runProperties40);
            run43.Append(text42);

            Run run44 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties41 = new RunProperties();
            RunFonts runFonts65 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize62 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript62 = new FontSizeComplexScript() { Val = "28" };

            runProperties41.Append(runFonts65);
            runProperties41.Append(fontSize62);
            runProperties41.Append(fontSizeComplexScript62);
            TabChar tabChar3 = new TabChar();
            Text text43 = new Text();
            text43.Text = "—";

            run44.Append(runProperties41);
            run44.Append(tabChar3);
            run44.Append(text43);

            Run run45 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties42 = new RunProperties();
            RunFonts runFonts66 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize63 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript63 = new FontSizeComplexScript() { Val = "28" };

            runProperties42.Append(runFonts66);
            runProperties42.Append(fontSize63);
            runProperties42.Append(fontSizeComplexScript63);
            TabChar tabChar4 = new TabChar();
            Text text44 = new Text();
            text44.Text = "55 – 69 баллов;";

            run45.Append(runProperties42);
            run45.Append(tabChar4);
            run45.Append(text44);

            paragraph25.Append(paragraphProperties25);
            paragraph25.Append(run43);
            paragraph25.Append(run44);
            paragraph25.Append(run45);

            Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties26 = new ParagraphProperties();
            Indentation indentation23 = new Indentation() { FirstLine = "720" };
            Justification justification25 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties();
            RunFonts runFonts67 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize64 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript64 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties25.Append(runFonts67);
            paragraphMarkRunProperties25.Append(fontSize64);
            paragraphMarkRunProperties25.Append(fontSizeComplexScript64);

            paragraphProperties26.Append(indentation23);
            paragraphProperties26.Append(justification25);
            paragraphProperties26.Append(paragraphMarkRunProperties25);

            Run run46 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties43 = new RunProperties();
            RunFonts runFonts68 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize65 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript65 = new FontSizeComplexScript() { Val = "28" };

            runProperties43.Append(runFonts68);
            runProperties43.Append(fontSize65);
            runProperties43.Append(fontSizeComplexScript65);
            Text text45 = new Text();
            text45.Text = "хорошо";

            run46.Append(runProperties43);
            run46.Append(text45);

            Run run47 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties44 = new RunProperties();
            RunFonts runFonts69 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize66 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript66 = new FontSizeComplexScript() { Val = "28" };

            runProperties44.Append(runFonts69);
            runProperties44.Append(fontSize66);
            runProperties44.Append(fontSizeComplexScript66);
            TabChar tabChar5 = new TabChar();
            Text text46 = new Text();
            text46.Text = "—";

            run47.Append(runProperties44);
            run47.Append(tabChar5);
            run47.Append(text46);

            Run run48 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties45 = new RunProperties();
            RunFonts runFonts70 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize67 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript67 = new FontSizeComplexScript() { Val = "28" };

            runProperties45.Append(runFonts70);
            runProperties45.Append(fontSize67);
            runProperties45.Append(fontSizeComplexScript67);
            TabChar tabChar6 = new TabChar();
            Text text47 = new Text();
            text47.Text = "70 – 84 баллов;";

            run48.Append(runProperties45);
            run48.Append(tabChar6);
            run48.Append(text47);

            paragraph26.Append(paragraphProperties26);
            paragraph26.Append(run46);
            paragraph26.Append(run47);
            paragraph26.Append(run48);

            Paragraph paragraph27 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties27 = new ParagraphProperties();
            Indentation indentation24 = new Indentation() { FirstLine = "720" };
            Justification justification26 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties();
            RunFonts runFonts71 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize68 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript68 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties26.Append(runFonts71);
            paragraphMarkRunProperties26.Append(fontSize68);
            paragraphMarkRunProperties26.Append(fontSizeComplexScript68);

            paragraphProperties27.Append(indentation24);
            paragraphProperties27.Append(justification26);
            paragraphProperties27.Append(paragraphMarkRunProperties26);

            Run run49 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties46 = new RunProperties();
            RunFonts runFonts72 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize69 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript69 = new FontSizeComplexScript() { Val = "28" };

            runProperties46.Append(runFonts72);
            runProperties46.Append(fontSize69);
            runProperties46.Append(fontSizeComplexScript69);
            Text text48 = new Text();
            text48.Text = "отлично";

            run49.Append(runProperties46);
            run49.Append(text48);

            Run run50 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties47 = new RunProperties();
            RunFonts runFonts73 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize70 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript70 = new FontSizeComplexScript() { Val = "28" };

            runProperties47.Append(runFonts73);
            runProperties47.Append(fontSize70);
            runProperties47.Append(fontSizeComplexScript70);
            TabChar tabChar7 = new TabChar();
            Text text49 = new Text();
            text49.Text = "—";

            run50.Append(runProperties47);
            run50.Append(tabChar7);
            run50.Append(text49);

            Run run51 = new Run() { RsidRunProperties = "00881E7E" };

            RunProperties runProperties48 = new RunProperties();
            RunFonts runFonts74 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize71 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript71 = new FontSizeComplexScript() { Val = "28" };

            runProperties48.Append(runFonts74);
            runProperties48.Append(fontSize71);
            runProperties48.Append(fontSizeComplexScript71);
            TabChar tabChar8 = new TabChar();
            Text text50 = new Text();
            text50.Text = "85 – 100 баллов.";

            run51.Append(runProperties48);
            run51.Append(tabChar8);
            run51.Append(text50);

            paragraph27.Append(paragraphProperties27);
            paragraph27.Append(run49);
            paragraph27.Append(run50);
            paragraph27.Append(run51);

            Paragraph paragraph28 = new Paragraph() { RsidParagraphMarkRevision = "00881E7E", RsidParagraphAddition = "000F6A5D", RsidParagraphProperties = "000F6A5D", RsidRunAdditionDefault = "000F6A5D" };

            ParagraphProperties paragraphProperties28 = new ParagraphProperties();
            Indentation indentation25 = new Indentation() { FirstLine = "709" };
            Justification justification27 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties();
            RunFonts runFonts75 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize72 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript72 = new FontSizeComplexScript() { Val = "28" };

            paragraphMarkRunProperties27.Append(runFonts75);
            paragraphMarkRunProperties27.Append(fontSize72);
            paragraphMarkRunProperties27.Append(fontSizeComplexScript72);

            paragraphProperties28.Append(indentation25);
            paragraphProperties28.Append(justification27);
            paragraphProperties28.Append(paragraphMarkRunProperties27);

            paragraph28.Append(paragraphProperties28);

            Paragraph paragraph29 = new Paragraph() { RsidParagraphAddition = "00E03058", RsidRunAdditionDefault = "00E03058" };

            ParagraphProperties paragraphProperties29 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId3 = new ParagraphStyleId() { Val = "StyleWithoutIndentation" };

            paragraphProperties29.Append(paragraphStyleId3);

            paragraph29.Append(paragraphProperties29);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidR = "00E03058" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1134, Right = (UInt32Value)850U, Bottom = 1134, Left = (UInt32Value)1701U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

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

            _body.Append(paragraph1);
            _body.Append(paragraph2);
            _body.Append(paragraph3);
            _body.Append(paragraph4);
            _body.Append(paragraph5);
            _body.Append(paragraph6);
            _body.Append(paragraph7);
            _body.Append(paragraph8);
            _body.Append(paragraph9);
            _body.Append(paragraph10);
            _body.Append(paragraph11);
            _body.Append(paragraph12);
            _body.Append(paragraph13);
            _body.Append(paragraph14);
            _body.Append(paragraph15);
            _body.Append(paragraph16);
            _body.Append(paragraph17);
            _body.Append(paragraph18);
            _body.Append(paragraph19);
            _body.Append(paragraph20);
            _body.Append(paragraph21);
            _body.Append(paragraph22);
            _body.Append(paragraph23);
            _body.Append(paragraph24);
            _body.Append(paragraph25);
            _body.Append(paragraph26);
            _body.Append(paragraph27);
            _body.Append(paragraph28);
            _body.Append(paragraph29);
            _body.Append(sectionProperties1);
        }
コード例 #4
0
        //.....................................................................
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        private static Paragraph MakeTextLine2( )
        {
            string textlines =
                "中华网财经12月5日讯,2020年,百年不遇的新冠疫情席卷全球,全球化遭遇严重打击,世界经济陷入衰退,价值和族群空前撕裂。" +
                "面对百年未有之变局,由凤凰网、中国企业改革与发展研究会主办,人民日报出版社协办,凤凰网财经、" +
                "中华网财经承办的“2020凤凰网财经峰会”在北京举办," +
                "本届峰会以“破局与新生”为主题,盛邀政商学界顶级嘉宾,围绕全球和中国经济发展建言献策,凝聚共识。\n" +

                "All eyes are on Georgia ahead of Trump's rally and Senate debate																																									"+
                "Updated 10:56 AM ET, Sat December 5, 2020                                                                                                                                                                                          " +
                "(CNN) - The eyes of the political universe will turn to Georgia this weekend, as the voter registration deadline for January's Senate runoffs approaches.                                                                          " +
                "Each side is desperately trying to motivate their party before the Monday deadline and early voting begins on December 14.                                                                                                         " +
                "Former President Barack Obama and former state House minority leader Stacey Abrams held a virtual event for Democratic Senate challengers Jon Ossoff and Raphael Warnock on Friday,                                                " +
                "while Vice President Mike Pence rallied for the Republicans.                                                                                                                                                                       " +
                "Next in the frenzied rush is President Donald Trump's own rally on Saturday to elect Sens. David Perdue and Kelly Loeffler and protect the party's control of the chamber.                                                         " +
                "Then on Sunday, Loeffler and Warnock will participate in a debate hosted by the Atlanta Press Club.                                                                                                                                " +
                "The focus on Georgia comes as the state is ravaged by the coronavirus pandemic.                                                                                                                                                    " +
                "It reported its highest number of cases in a single day on Friday -- 5,023 -- and saw the postponement of the Georgia-Vanderbilt football game partially because of Covid-19.                                                      " +
                "Trump is faced with the task of motivating his own supporters to vote for the two Republican senators after he undermined their faith in the electoral process by falsely decrying that his election was rigged.                   " +
                "Since his loss in Georgia to President-elect Joe Biden, Trump has attacked top Republican officials in the state, including Gov.                                                                                                   " +
                "Brian Kemp and Georgia Secretary of State Brad Raffensperger. Kemp certified the results of Biden's victory, while Raffensperger has vociferously defended the state's election integrity.                                         " +
                "The President's continued refusal to concede has worried Republicans determined to prevent Democratic control of the Senate. A group of prominent Georgia Republicans, including former Gov.                                       " +
                "Nathan Deal and former Sens. Johnny Isakson and Saxby Chambliss, released a statement this week urging the party to unify, and shift its attention to electing Loeffler and Perdue.                                                " +
                "But there is little evidence that Trump will stop his unceasing attacks on the democratic process and the state officials in charge of the election.                                                                               " +
                "In the past few weeks, Trump publicly called Raffensperger an \"enemy of the people\" and privately called Kemp a \"moron\" and \"nut job,\" according to two sources.                                                             " +
                "The President also asked in a recent phone call why Loeffler, who ran in a 20-person special election, did not secure a majority of votes on Election Day against Warnock, who received a plurality of the votes.                  " +
                "After no Senate candidate received 50% of the vote in November, the races turned to particularly nasty runoffs.                                                                                                                    " +
                "Democrats have charged that Perdue and Loeffler profited off the pandemic, saying their multi-million dollar stock trades drew the attention -- although no charges -- from the Justice Department.                                " +
                "Meanwhile, the Republican senators have said they were cleared during the investigations, and have called Ossoff and Warnock socialists who will destroy America. Democrats have rejected those attacks as false fear-mongering.   " +
                "Pence said on Friday that Republicans need to elect Perdue and Loeffler to defend the Trump administration's accomplishments over the past four years.                                                                             " +
                "\"We need to send them back because the Republican Senate majority could be the last line of defense preserving all that we've done to defend this nation,                                                                         " +
                "revive our economy, and preserve the god given liberties we hold dear,\" said Pence in Savannah.                                                                                                                                   " +
                "While Biden narrowly won Georgia -- the first time for a Democratic presidential nominee since Bill Clinton in 1992 -- Republicans have a number of advantages in the two races.                                                   " +
                "The state has not sent a Democrat to the Senate in 20 years. Last month, Perdue received tens of thousands of more votes than Ossoff. And Republicans are spending about $38 million more on ads than the Democrats,               " +
                "according to Kantar Media/CMAG data.                                                                                                                                                                                               " +
                "But Democrats are hopeful that the Republican intra-party fight, voter registration drives by Abrams and others and the state's rapidly diversifying suburbs will fuel their victories and flip the Senate.                        " +
                "\"The special election in Georgia is going to determine, ultimately, the course of the Biden presidency,\" said Obama at the virtual event on Friday.                                                                              ";

            Paragraph paragraph9 = new Paragraph( )
            {
                RsidParagraphAddition = "001A467D", RsidParagraphProperties = "001A467D", RsidRunAdditionDefault = "001A467D"
            };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties( );
            WidowControl        widowControl2        = new WidowControl( );
            Justification       justification3       = new Justification( )
            {
                Val = JustificationValues.Left
            };

            paragraphProperties3.Append(widowControl2);
            paragraphProperties3.Append(justification3);
            ProofError proofError1 = new ProofError( )
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run11 = new Run( );
            LastRenderedPageBreak lastRenderedPageBreak1 = new LastRenderedPageBreak( );
            Text text10 = new Text( );

            text10.Text = textlines;

            run11.Append(lastRenderedPageBreak1);
            run11.Append(text10);

            //ProofError proofError2 = new ProofError( ) { Type = ProofingErrorValues.SpellEnd };

            //Run run12 = new Run( );
            //Text text11 = new Text( );
            //text11.Text = "得空可可可乐鄂温克";

            //run12.Append( text11 );
            //ProofError proofError3 = new ProofError( ) { Type = ProofingErrorValues.SpellStart };

            //Run run13 = new Run( );
            //Text text12 = new Text( );
            //text12.Text = "eelkeleked";

            //run13.Append( text12 );
            //ProofError proofError4 = new ProofError( ) { Type = ProofingErrorValues.SpellEnd };

            //Run run14 = new Run( );
            //Text text13 = new Text( );
            //text13.Text = "理论领料单是老老实实是理论上来说";

            //run14.Append( text13 );
            //ProofError proofError5 = new ProofError( ) { Type = ProofingErrorValues.GrammarStart };

            //Run run15 = new Run( );
            //Text text14 = new Text( );
            //text14.Text = "算了算了算了算了算了算了";

            //run15.Append( text14 );
            //ProofError proofError6 = new ProofError( ) { Type = ProofingErrorValues.GrammarEnd };

            //Run run16 = new Run( );
            //Text text15 = new Text( );
            //text15.Text = "网咯水利水电老地方说得出口的";

            //run16.Append( text15 );
            //ProofError proofError7 = new ProofError( ) { Type = ProofingErrorValues.GrammarStart };

            //Run run17 = new Run( );
            //Text text16 = new Text( );
            //text16.Text = "的";

            //run17.Append( text16 );
            //ProofError proofError8 = new ProofError( ) { Type = ProofingErrorValues.GrammarEnd };

            //Run run18 = new Run( );
            //Text text17 = new Text( );
            //text17.Text = "口袋里的";

            //run18.Append( text17 );

            //Run run19 = new Run( );

            //RunProperties runProperties7 = new RunProperties( );
            //RunFonts runFonts7 = new RunFonts( ) { Hint = FontTypeHintValues.EastAsia };

            //runProperties7.Append( runFonts7 );
            //Text text18 = new Text( );
            //text18.Text = ";";

            //run19.Append( runProperties7 );
            //run19.Append( text18 );

            paragraph9.Append(paragraphProperties3);
            paragraph9.Append(proofError1);
            paragraph9.Append(run11);

            //emptypara.Append( proofError2 );
            //emptypara.Append( run12 );
            //emptypara.Append( proofError3 );
            //emptypara.Append( run13 );
            //emptypara.Append( proofError4 );
            //emptypara.Append( run14 );
            //emptypara.Append( proofError5 );
            //emptypara.Append( run15 );
            //emptypara.Append( proofError6 );
            //emptypara.Append( run16 );
            //emptypara.Append( proofError7 );
            //emptypara.Append( run17 );
            //emptypara.Append( proofError8 );
            //emptypara.Append( run18 );
            //emptypara.Append( run19 );

            return(paragraph9);
        }
コード例 #5
0
ファイル: NewWordExport.cs プロジェクト: BesuglovS/Schedule
        // Generates content of mainDocumentPart1.
        private static void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1, WordprocessingDocument document)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

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

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            FontSize fontSize1 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties1.Append(fontSize1);

            paragraphProperties1.Append(spacingBetweenLines1);
            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            Run run1 = new Run();

            RunProperties runProperties1 = new RunProperties();
            NoProof noProof1 = new NoProof();
            FontSize fontSize2 = new FontSize() { Val = "20" };
            Languages languages1 = new Languages() { EastAsia = "ru-RU" };

            runProperties1.Append(noProof1);
            runProperties1.Append(fontSize2);
            runProperties1.Append(languages1);

            AlternateContent alternateContent1 = new AlternateContent();

            AlternateContentChoice alternateContentChoice1 = new AlternateContentChoice() { Requires = "wps" };

            Drawing drawing1 = new Drawing();

            Wp.Anchor anchor1 = new Wp.Anchor() { DistanceFromTop = (UInt32Value)0U, DistanceFromBottom = (UInt32Value)0U, DistanceFromLeft = (UInt32Value)114300U, DistanceFromRight = (UInt32Value)114300U, SimplePos = false, RelativeHeight = (UInt32Value)251659264U, BehindDoc = false, Locked = false, LayoutInCell = true, AllowOverlap = true };
            Wp.SimplePosition simplePosition1 = new Wp.SimplePosition() { X = 0L, Y = 0L };

            Wp.HorizontalPosition horizontalPosition1 = new Wp.HorizontalPosition() { RelativeFrom = Wp.HorizontalRelativePositionValues.Column };
            Wp.PositionOffset positionOffset1 = new Wp.PositionOffset();
            positionOffset1.Text = "7559955";

            horizontalPosition1.Append(positionOffset1);

            Wp.VerticalPosition verticalPosition1 = new Wp.VerticalPosition() { RelativeFrom = Wp.VerticalRelativePositionValues.Paragraph };
            Wp.PositionOffset positionOffset2 = new Wp.PositionOffset();
            positionOffset2.Text = "-180045";

            verticalPosition1.Append(positionOffset2);
            Wp.Extent extent1 = new Wp.Extent() { Cx = 2540000L, Cy = 635000L };
            Wp.EffectExtent effectExtent1 = new Wp.EffectExtent() { LeftEdge = 0L, TopEdge = 0L, RightEdge = 0L, BottomEdge = 0L };
            Wp.WrapNone wrapNone1 = new Wp.WrapNone();
            Wp.DocProperties docProperties1 = new Wp.DocProperties() { Id = (UInt32Value)1U, Name = "Надпись 1" };
            Wp.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Wp.NonVisualGraphicFrameDrawingProperties();

            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.microsoft.com/office/word/2010/wordprocessingShape" };

            Wps.WordprocessingShape wordprocessingShape1 = new Wps.WordprocessingShape();
            Wps.NonVisualDrawingShapeProperties nonVisualDrawingShapeProperties1 = new Wps.NonVisualDrawingShapeProperties() { TextBox = true };

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

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

            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() { Width = 6350 };
            A.NoFill noFill2 = new A.NoFill();

            outline1.Append(noFill2);
            A.EffectList effectList1 = new A.EffectList();

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

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

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

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

            solidFill1.Append(presetColor1);

            hiddenLineProperties1.Append(solidFill1);

            shapePropertiesExtension1.Append(hiddenLineProperties1);

            shapePropertiesExtensionList1.Append(shapePropertiesExtension1);

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

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

            A.LineReference lineReference1 = new A.LineReference() { Index = (UInt32Value)0U };
            A.SchemeColor schemeColor1 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            lineReference1.Append(schemeColor1);

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

            fillReference1.Append(schemeColor2);

            A.EffectReference effectReference1 = new A.EffectReference() { Index = (UInt32Value)0U };
            A.SchemeColor schemeColor3 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            effectReference1.Append(schemeColor3);

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

            fontReference1.Append(schemeColor4);

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

            Wps.TextBoxInfo2 textBoxInfo21 = new Wps.TextBoxInfo2();

            TextBoxContent textBoxContent1 = new TextBoxContent();

            if (Dow == "Понедельник")
            {
                Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                ParagraphProperties paragraphProperties2 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification2 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
                FontSize fontSize3 = new FontSize() { Val = "20" };

                paragraphMarkRunProperties2.Append(fontSize3);

                paragraphProperties2.Append(spacingBetweenLines2);
                paragraphProperties2.Append(justification2);
                paragraphProperties2.Append(paragraphMarkRunProperties2);

                Run run2 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties2 = new RunProperties();
                FontSize fontSize4 = new FontSize() { Val = "20" };

                runProperties2.Append(fontSize4);
                Text text1 = new Text();
                text1.Text = "«УТВЕРЖДАЮ»";

                run2.Append(runProperties2);
                run2.Append(text1);

                paragraph2.Append(paragraphProperties2);
                paragraph2.Append(run2);

                Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                ParagraphProperties paragraphProperties3 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification3 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
                FontSize fontSize5 = new FontSize() { Val = "20" };

                paragraphMarkRunProperties3.Append(fontSize5);

                paragraphProperties3.Append(spacingBetweenLines3);
                paragraphProperties3.Append(justification3);
                paragraphProperties3.Append(paragraphMarkRunProperties3);

                Run run3 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties3 = new RunProperties();
                FontSize fontSize6 = new FontSize() { Val = "20" };

                runProperties3.Append(fontSize6);
                Text text2 = new Text();
                text2.Text = "Проректор по учебной работе";

                run3.Append(runProperties3);
                run3.Append(text2);

                paragraph3.Append(paragraphProperties3);
                paragraph3.Append(run3);

                Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                ParagraphProperties paragraphProperties4 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification4 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
                FontSize fontSize7 = new FontSize() { Val = "20" };

                paragraphMarkRunProperties4.Append(fontSize7);

                paragraphProperties4.Append(spacingBetweenLines4);
                paragraphProperties4.Append(justification4);
                paragraphProperties4.Append(paragraphMarkRunProperties4);

                Run run4 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties4 = new RunProperties();
                FontSize fontSize8 = new FontSize() { Val = "20" };

                runProperties4.Append(fontSize8);
                Text text3 = new Text() { Space = SpaceProcessingModeValues.Preserve };
                text3.Text = "______________     ";

                run4.Append(runProperties4);
                run4.Append(text3);
                ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart };

                Run run5 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties5 = new RunProperties();
                FontSize fontSize9 = new FontSize() { Val = "20" };

                runProperties5.Append(fontSize9);
                Text text4 = new Text();
                text4.Text = "А.В.Синицкий";

                run5.Append(runProperties5);
                run5.Append(text4);
                ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

                paragraph4.Append(paragraphProperties4);
                paragraph4.Append(run4);
                paragraph4.Append(proofError1);
                paragraph4.Append(run5);
                paragraph4.Append(proofError2);

                textBoxContent1.Append(paragraph2);
                textBoxContent1.Append(paragraph3);
                textBoxContent1.Append(paragraph4);
            }

            textBoxInfo21.Append(textBoxContent1);

            Wps.TextBodyProperties textBodyProperties1 = new Wps.TextBodyProperties() { Rotation = 0, UseParagraphSpacing = false, VerticalOverflow = A.TextVerticalOverflowValues.Overflow, HorizontalOverflow = A.TextHorizontalOverflowValues.Overflow, Vertical = A.TextVerticalValues.Horizontal, Wrap = A.TextWrappingValues.Square, LeftInset = 91440, TopInset = 45720, RightInset = 91440, BottomInset = 45720, ColumnCount = 1, ColumnSpacing = 0, RightToLeftColumns = false, FromWordArt = false, Anchor = A.TextAnchoringTypeValues.Top, AnchorCenter = false, ForceAntiAlias = false, CompatibleLineSpacing = true };

            A.PresetTextWrap presetTextWrap1 = new A.PresetTextWrap() { Preset = A.TextShapeValues.TextNoShape };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetTextWrap1.Append(adjustValueList2);
            A.NoAutoFit noAutoFit1 = new A.NoAutoFit();

            textBodyProperties1.Append(presetTextWrap1);
            textBodyProperties1.Append(noAutoFit1);

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

            graphicData1.Append(wordprocessingShape1);

            graphic1.Append(graphicData1);

            anchor1.Append(simplePosition1);
            anchor1.Append(horizontalPosition1);
            anchor1.Append(verticalPosition1);
            anchor1.Append(extent1);
            anchor1.Append(effectExtent1);
            anchor1.Append(wrapNone1);
            anchor1.Append(docProperties1);
            anchor1.Append(nonVisualGraphicFrameDrawingProperties1);
            anchor1.Append(graphic1);

            drawing1.Append(anchor1);

            alternateContentChoice1.Append(drawing1);

            AlternateContentFallback alternateContentFallback1 = new AlternateContentFallback();

            Picture picture1 = new Picture();

            V.Shapetype shapetype1 = new V.Shapetype() { Id = "_x0000_t202", CoordinateSize = "21600,21600", OptionalNumber = 202, EdgePath = "m,l,21600r21600,l21600,xe" };
            V.Stroke stroke1 = new V.Stroke() { JoinStyle = V.StrokeJoinStyleValues.Miter };
            V.Path path1 = new V.Path() { AllowGradientShape = true, ConnectionPointType = Ovml.ConnectValues.Rectangle };

            shapetype1.Append(stroke1);
            shapetype1.Append(path1);

            V.Shape shape1 = new V.Shape() { Id = "Надпись 1", Style = "position:absolute;left:0;text-align:left;margin-left:595.25pt;margin-top:-14.2pt;width:200pt;height:50pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;v-text-anchor:top", OptionalString = "_x0000_s1026", Filled = false, Stroked = false, StrokeWeight = ".5pt", Type = "#_x0000_t202", EncodedPackage = "UEsDBBQABgAIAAAAIQC2gziS/gAAAOEBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRQU7DMBBF\n90jcwfIWJU67QAgl6YK0S0CoHGBkTxKLZGx5TGhvj5O2G0SRWNoz/78nu9wcxkFMGNg6quQqL6RA\n0s5Y6ir5vt9lD1JwBDIwOMJKHpHlpr69KfdHjyxSmriSfYz+USnWPY7AufNIadK6MEJMx9ApD/oD\nOlTrorhX2lFEilmcO2RdNtjC5xDF9pCuTyYBB5bi6bQ4syoJ3g9WQ0ymaiLzg5KdCXlKLjvcW893\nSUOqXwnz5DrgnHtJTxOsQfEKIT7DmDSUCaxw7Rqn8787ZsmRM9e2VmPeBN4uqYvTtW7jvijg9N/y\nJsXecLq0q+WD6m8AAAD//wMAUEsDBBQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAX3JlbHMvLnJl\nbHOkkMFqwzAMhu+DvYPRfXGawxijTi+j0GvpHsDYimMaW0Yy2fr2M4PBMnrbUb/Q94l/f/hMi1qR\nJVI2sOt6UJgd+ZiDgffL8ekFlFSbvV0oo4EbChzGx4f9GRdb25HMsYhqlCwG5lrLq9biZkxWOiqY\n22YiTra2kYMu1l1tQD30/bPm3wwYN0x18gb45AdQl1tp5j/sFB2T0FQ7R0nTNEV3j6o9feQzro1i\nOWA14Fm+Q8a1a8+Bvu/d/dMb2JY5uiPbhG/ktn4cqGU/er3pcvwCAAD//wMAUEsDBBQABgAIAAAA\nIQBUFACl/wIAAFgGAAAOAAAAZHJzL2Uyb0RvYy54bWysVcFuEzEQvSPxD5bv6e6GTZqsuqnSVkFI\nUVvRop4dr7ex6rWN7SQbEAfu/AL/wIEDN34h/SPG3k2aFg4UkYN3PPM8nnkznhwd15VAS2YsVzLH\nyUGMEZNUFVze5vjd9aQzwMg6IgsilGQ5XjOLj0cvXxytdMa6aq5EwQwCJ9JmK53juXM6iyJL56wi\n9kBpJsFYKlMRB1tzGxWGrMB7JaJuHPejlTKFNooya0F71hjxKPgvS0bdRVla5pDIMcTmwmrCOvNr\nNDoi2a0hes5pGwb5hygqwiVcunN1RhxBC8N/c1VxapRVpTugqopUWXLKQg6QTRI/yeZqTjQLuQA5\nVu9osv/PLT1fXhrEC6gdRpJUUKLN1823zffNz82P+8/3X1DiOVppmwH0SgPY1Seq9vhWb0HpU69L\nU/kvJIXADmyvdwyz2iEKym4vjeGHEQVb/1XPy+AmejitjXWvmaqQF3JsoIKBWLKcWtdAtxB/mVQT\nLgToSSYkWjVOw4GdBZwL6QEs9EPjBna1AzHoIbhQq4/DpJvGJ91hZ9IfHHbSSdrrDA/jQSdOhifD\nfpwO07PJJ+89SbM5Lwomp1yybd8k6d/Vpe3gpuKhcx4FbpXghc/Kx+ZzPRUGLQk08EwQetfytYeK\nHocT6ITstt+QZeQr2FQqSG4tmPcv5FtWQv1DwbwivDy2u5JQyqQLtQ48AtqjSgjvOQdbvD/aVOE5\nh3cnws1Kut3hiktlQrWfhF3cbUMuGzyQsZe3F109q9sOnqliDY1tFDQc9KbVdMKB9ymx7pIYmAeg\nhBnnLmAphYIuU62E0VyZD3/Sezy0A1gxWsF8ybF9vyCGYSTeSHjAwyRNwa0Lm7R32IWN2bfM9i1y\nUZ0q6AB4pBBdED3eia1YGlXdwCgc+1vBRCSFu3PstuKpa6YejFLKxuMAghGkiZvKK029a0+v77fr\n+oYY3T5AB510rraTiGRP3mGD9SelGi+cKnl4pJ7ghtWWeBhfoR/bUevn4/4+oB7+EEa/AAAA//8D\nAFBLAwQUAAYACAAAACEAneNfUOIAAAAMAQAADwAAAGRycy9kb3ducmV2LnhtbEyPwU7DMAyG70i8\nQ2Qkblvaio7SNZ2mShMSgsPGLtzcJmurJU5psq3w9GRc4Pjbn35/LlaT0eysRtdbEhDPI2CKGit7\nagXs3zezDJjzSBK1JSXgSzlYlbc3BebSXmirzjvfslBCLkcBnfdDzrlrOmXQze2gKOwOdjToQxxb\nLke8hHKjeRJFC26wp3Chw0FVnWqOu5MR8FJt3nBbJyb71tXz62E9fO4/UiHu76b1EphXk/+D4aof\n1KEMTrU9kXRMhxw/RWlgBcyS7AHYFUl/R7WAx3gBvCz4/yfKHwAAAP//AwBQSwECLQAUAAYACAAA\nACEAtoM4kv4AAADhAQAAEwAAAAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQIt\nABQABgAIAAAAIQA4/SH/1gAAAJQBAAALAAAAAAAAAAAAAAAAAC8BAABfcmVscy8ucmVsc1BLAQIt\nABQABgAIAAAAIQBUFACl/wIAAFgGAAAOAAAAAAAAAAAAAAAAAC4CAABkcnMvZTJvRG9jLnhtbFBL\nAQItABQABgAIAAAAIQCd419Q4gAAAAwBAAAPAAAAAAAAAAAAAAAAAFkFAABkcnMvZG93bnJldi54\nbWxQSwUGAAAAAAQABADzAAAAaAYAAAAA\n" };
            V.Fill fill1 = new V.Fill() { DetectMouseClick = true };

            V.TextBox textBox1 = new V.TextBox();

            TextBoxContent textBoxContent2 = new TextBoxContent();

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification5 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            FontSize fontSize10 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties5.Append(fontSize10);

            paragraphProperties5.Append(spacingBetweenLines5);
            paragraphProperties5.Append(justification5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run6 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties6 = new RunProperties();
            FontSize fontSize11 = new FontSize() { Val = "20" };

            runProperties6.Append(fontSize11);
            Text text5 = new Text();
            text5.Text = "«УТВЕРЖДАЮ»";

            run6.Append(runProperties6);
            run6.Append(text5);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run6);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification6 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            FontSize fontSize12 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties6.Append(fontSize12);

            paragraphProperties6.Append(spacingBetweenLines6);
            paragraphProperties6.Append(justification6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            Run run7 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties7 = new RunProperties();
            FontSize fontSize13 = new FontSize() { Val = "20" };

            runProperties7.Append(fontSize13);
            Text text6 = new Text();
            text6.Text = "Проректор по учебной работе";

            run7.Append(runProperties7);
            run7.Append(text6);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run7);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification7 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            FontSize fontSize14 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties7.Append(fontSize14);

            paragraphProperties7.Append(spacingBetweenLines7);
            paragraphProperties7.Append(justification7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);

            Run run8 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties8 = new RunProperties();
            FontSize fontSize15 = new FontSize() { Val = "20" };

            runProperties8.Append(fontSize15);
            Text text7 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text7.Text = "______________     ";

            run8.Append(runProperties8);
            run8.Append(text7);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run9 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties9 = new RunProperties();
            FontSize fontSize16 = new FontSize() { Val = "20" };

            runProperties9.Append(fontSize16);
            Text text8 = new Text();
            text8.Text = "А.В.Синицкий";

            run9.Append(runProperties9);
            run9.Append(text8);
            ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run8);
            paragraph7.Append(proofError3);
            paragraph7.Append(run9);
            paragraph7.Append(proofError4);

            textBoxContent2.Append(paragraph5);
            textBoxContent2.Append(paragraph6);
            textBoxContent2.Append(paragraph7);

            textBox1.Append(textBoxContent2);

            shape1.Append(fill1);
            shape1.Append(textBox1);

            picture1.Append(shapetype1);
            picture1.Append(shape1);

            alternateContentFallback1.Append(picture1);

            alternateContent1.Append(alternateContentChoice1);
            alternateContent1.Append(alternateContentFallback1);

            run1.Append(runProperties1);
            run1.Append(alternateContent1);

            Run run10 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties10 = new RunProperties();
            FontSize fontSize17 = new FontSize() { Val = "20" };

            runProperties10.Append(fontSize17);
            Text text9 = new Text();
            text9.Text = "Расписание";

            run10.Append(runProperties10);
            run10.Append(text9);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(bookmarkStart1);
            paragraph1.Append(bookmarkEnd1);
            paragraph1.Append(run1);
            paragraph1.Append(run10);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification8 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            FontSize fontSize18 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties8.Append(fontSize18);

            paragraphProperties8.Append(spacingBetweenLines8);
            paragraphProperties8.Append(justification8);
            paragraphProperties8.Append(paragraphMarkRunProperties8);

            Run run11 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties11 = new RunProperties();
            FontSize fontSize19 = new FontSize() { Val = "20" };

            runProperties11.Append(fontSize19);
            Text text10 = new Text();
            text10.Text = "второго семестра 2013 – 2014 учебного года";

            run11.Append(runProperties11);
            run11.Append(text10);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run11);

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

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification9 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            FontSize fontSize20 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties9.Append(fontSize20);

            paragraphProperties9.Append(spacingBetweenLines9);
            paragraphProperties9.Append(justification9);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run12 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties12 = new RunProperties();
            FontSize fontSize21 = new FontSize() { Val = "20" };

            runProperties12.Append(fontSize21);
            Text text11 = new Text();
            text11.Text = FacultyName;

            run12.Append(runProperties12);
            run12.Append(text11);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run12);

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

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification10 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            Bold bold1 = new Bold();
            FontSize fontSize22 = new FontSize() { Val = "28" };

            paragraphMarkRunProperties10.Append(bold1);
            paragraphMarkRunProperties10.Append(fontSize22);

            paragraphProperties10.Append(spacingBetweenLines10);
            paragraphProperties10.Append(justification10);
            paragraphProperties10.Append(paragraphMarkRunProperties10);

            Run run13 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties13 = new RunProperties();
            Bold bold2 = new Bold();
            FontSize fontSize23 = new FontSize() { Val = "28" };

            runProperties13.Append(bold2);
            runProperties13.Append(fontSize23);
            Text text12 = new Text();
            text12.Text = Dow;

            run13.Append(runProperties13);
            run13.Append(text12);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run13);

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableWidth tableWidth1 = new TableWidth() { Width = "15919", Type = TableWidthUnitValues.Dxa };

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

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);
            TableLayout tableLayout1 = new TableLayout() { Type = TableLayoutValues.Fixed };
            TableLook tableLook1 = new TableLook() { Val = "0000" };

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

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "1383" };

            int colWidth = 14536 / Schedule.Count;
            for (int i = 0; i < Schedule.Count; i++)
            {
                GridColumn gridColumn2 = new GridColumn() { Width = colWidth.ToString() };

                tableGrid1.Append(gridColumn2);
            }

            // Ряд имён групп

            TableRow tableRow1 = new TableRow() { RsidTableRowMarkRevision = "00FA5335", RsidTableRowAddition = "00FA5335", RsidTableRowProperties = "00FA5335" };

            TablePropertyExceptions tablePropertyExceptions1 = new TablePropertyExceptions();

            TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault();
            TopMargin topMargin1 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
            BottomMargin bottomMargin1 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };

            tableCellMarginDefault1.Append(topMargin1);
            tableCellMarginDefault1.Append(bottomMargin1);

            tablePropertyExceptions1.Append(tableCellMarginDefault1);

            Dictionary<int, List<int>> plainGroupsListIds = new Dictionary<int, List<int>>();
            Dictionary<int, List<int>> nGroupsListIds = new Dictionary<int, List<int>>();

            var groupNames = new List<string>();

            foreach (var group in Schedule)
            {
                var groupName = _Repo.GetStudentGroup(group.Key).Name;
                groupNames.Add(groupName.Replace(" (+Н)", ""));

                if (groupName.Contains(" (+Н)"))
                {
                    var plainGroupName = groupName.Replace(" (+Н)", "");
                    var nGroupName = groupName.Replace(" (+", "(");

                    var plainGroupId = _Repo.FindStudentGroup(plainGroupName).StudentGroupId;
                    var plainStudentIds = _Repo.GetAllStudentsInGroups()
                            .Where(sig => sig.StudentGroup.StudentGroupId == plainGroupId)
                            .Select(stig => stig.Student.StudentId)
                            .ToList();
                    plainGroupsListIds.Add(group.Key, _Repo.GetAllStudentsInGroups()
                            .Where(sig => plainStudentIds.Contains(sig.Student.StudentId))
                            .Select(stig => stig.StudentGroup.StudentGroupId)
                            .Distinct()
                            .ToList());

                    var nGroupId = _Repo.FindStudentGroup(nGroupName).StudentGroupId;
                    var nStudentIds = _Repo.GetAllStudentsInGroups()
                            .Where(sig => sig.StudentGroup.StudentGroupId == nGroupId)
                            .Select(stig => stig.Student.StudentId)
                            .ToList();
                    nGroupsListIds.Add(group.Key, _Repo.GetAllStudentsInGroups()
                            .Where(sig => nStudentIds.Contains(sig.Student.StudentId))
                            .Select(stig => stig.StudentGroup.StudentGroupId)
                            .Distinct()
                            .ToList());
                }
            }

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "1383", Type = TableWidthUnitValues.Dxa };
            Shading shading1 = new Shading() { Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(shading1);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification11 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            FontSize fontSize24 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties11.Append(fontSize24);

            paragraphProperties11.Append(spacingBetweenLines11);
            paragraphProperties11.Append(justification11);
            paragraphProperties11.Append(paragraphMarkRunProperties11);

            Run run14 = new Run() { RsidRunProperties = "00FA5335" };

            RunProperties runProperties14 = new RunProperties();
            FontSize fontSize25 = new FontSize() { Val = "20" };

            runProperties14.Append(fontSize25);
            Text text13 = new Text();
            text13.Text = "Время";

            run14.Append(runProperties14);
            run14.Append(text13);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run14);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph11);

            var HeaderCells = new List<TableCell>();

            for (int i = 0; i < Schedule.Count; i++)
            {
                TableCell tableCell2 = new TableCell();

                TableCellProperties tableCellProperties2 = new TableCellProperties();
                TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = colWidth.ToString(), Type = TableWidthUnitValues.Dxa };
                Shading shading2 = new Shading() { Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

                tableCellProperties2.Append(tableCellWidth2);
                tableCellProperties2.Append(shading2);

                Paragraph paragraph12 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                ParagraphProperties paragraphProperties12 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification12 = new Justification() { Val = JustificationValues.Center };

                ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
                FontSize fontSize26 = new FontSize() { Val = "20" };

                paragraphMarkRunProperties12.Append(fontSize26);

                paragraphProperties12.Append(spacingBetweenLines12);
                paragraphProperties12.Append(justification12);
                paragraphProperties12.Append(paragraphMarkRunProperties12);

                Run run15 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties15 = new RunProperties();
                FontSize fontSize27 = new FontSize() { Val = "20" };

                runProperties15.Append(fontSize27);
                Text text14 = new Text();
                text14.Text = groupNames[i];

                run15.Append(runProperties15);
                run15.Append(text14);

                paragraph12.Append(paragraphProperties12);
                paragraph12.Append(run15);

                tableCell2.Append(tableCellProperties2);
                tableCell2.Append(paragraph12);

                HeaderCells.Add(tableCell2);
            }

            tableRow1.Append(tablePropertyExceptions1);
            tableRow1.Append(tableCell1);
            foreach (var tc in HeaderCells)
            {
                tableRow1.Append(tc);
            }
            // FINISH --------- Ряд имён групп

            var timeList = new List<string>();
            foreach (var group in Schedule)
            {
                foreach (var time in group.Value.Keys)
                {
                    if (!timeList.Contains(time))
                    {
                        timeList.Add(time);
                    }
                }
            }

            var ScheduleRows = new List<TableRow>();

            var timeRowIndexList = new List<int>();

            foreach (var time in timeList.OrderBy(t => int.Parse(t.Split(':')[0]) * 60 + int.Parse(t.Split(':')[1])))
            {
                var TimeSchedule = new List<List<string>>();
                for (int i = 0; i < Schedule.Count; i++)
                {
                    TimeSchedule.Add(new List<string>());
                }

                var Hour = int.Parse(time.Substring(0, 2));
                var Minute = int.Parse(time.Substring(3, 2));

                Minute += 80;

                while (Minute >= 60)
                {
                    Hour++;
                    Minute -= 60;
                }

                var timeString = time + " - " + Hour.ToString("D2") + ":" + Minute.ToString("D2");

                var columnGroupIndex = 0;
                foreach (var group in Schedule)
                {
                    if (group.Value.ContainsKey(time))
                    {
                        var eventCount = group.Value[time].Count;

                        var tfdIndex = 0;
                        foreach (var tfdData in group.Value[time].OrderBy(tfd => tfd.Value.Item2.Select(l => _Repo.CalculateWeekNumber(l.Calendar.Date)).Min()))
                        {
                            var cellText = "";
                            cellText += tfdData.Value.Item2[0].TeacherForDiscipline.Discipline.Name;
                            var groupId = tfdData.Value.Item2[0].TeacherForDiscipline.Discipline.StudentGroup.StudentGroupId;

                            if (plainGroupsListIds.ContainsKey(group.Key))
                            {
                                if (plainGroupsListIds[group.Key].Contains(groupId) && nGroupsListIds[group.Key].Contains(groupId))
                                {
                                    cellText += " (+Н)";
                                }
                                if (!plainGroupsListIds[group.Key].Contains(groupId) && nGroupsListIds[group.Key].Contains(groupId))
                                {
                                    cellText += " (Н)";
                                }
                            }
                            cellText += Environment.NewLine;
                            cellText += tfdData.Value.Item2[0].TeacherForDiscipline.Teacher.FIO + Environment.NewLine;
                            cellText += "(" + tfdData.Value.Item1 + ")" + Environment.NewLine;

                            var audWeekList = tfdData.Value.Item2.ToDictionary(l => _Repo.CalculateWeekNumber(l.Calendar.Date), l => l.Auditorium.Name);
                            var grouped = audWeekList.GroupBy(a => a.Value);

                            var enumerable = grouped as List<IGrouping<string, KeyValuePair<int, string>>> ?? grouped.ToList();
                            var gcount = enumerable.Count();
                            if (gcount == 1)
                            {
                                cellText += enumerable.ElementAt(0).Key;
                            }
                            else
                            {
                                for (int j = 0; j < gcount; j++)
                                {
                                    var jItem = enumerable.OrderBy(e => e.Select(ag => ag.Key).ToList().Min()).ElementAt(j);
                                    cellText += ScheduleRepository.CombineWeeks(jItem.Select(ag => ag.Key).ToList()) + " - " + jItem.Key;

                                    if (j != gcount - 1)
                                    {
                                        cellText += Environment.NewLine;
                                    }
                                }
                            }

                            TimeSchedule[columnGroupIndex].Add(cellText);

                            tfdIndex++;

                        }
                    }

                    columnGroupIndex++;
                }

                // ====================================================================================================================================================

                TableRow tableRow2 = new TableRow() { RsidTableRowMarkRevision = "00FA5335", RsidTableRowAddition = "00FA5335", RsidTableRowProperties = "00FA5335" };

                TablePropertyExceptions tablePropertyExceptions2 = new TablePropertyExceptions();

                TableCellMarginDefault tableCellMarginDefault2 = new TableCellMarginDefault();
                TopMargin topMargin2 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
                BottomMargin bottomMargin2 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };

                tableCellMarginDefault2.Append(topMargin2);
                tableCellMarginDefault2.Append(bottomMargin2);

                tablePropertyExceptions2.Append(tableCellMarginDefault2);

                TableCell tableCell4 = new TableCell();

                TableCellProperties tableCellProperties4 = new TableCellProperties();
                TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "1383", Type = TableWidthUnitValues.Dxa };
                Shading shading4 = new Shading() { Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };
                TableCellVerticalAlignment tableCellVerticalAlignment1 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

                tableCellProperties4.Append(tableCellWidth4);
                tableCellProperties4.Append(shading4);
                tableCellProperties4.Append(tableCellVerticalAlignment1);

                Paragraph paragraph14 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                ParagraphProperties paragraphProperties14 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines14 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
                Justification justification14 = new Justification() { Val = JustificationValues.Center };

                ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
                FontSize fontSize30 = new FontSize() { Val = "20" };

                paragraphMarkRunProperties14.Append(fontSize30);

                paragraphProperties14.Append(spacingBetweenLines14);
                paragraphProperties14.Append(justification14);
                paragraphProperties14.Append(paragraphMarkRunProperties14);

                Run run17 = new Run() { RsidRunProperties = "00FA5335" };

                RunProperties runProperties17 = new RunProperties();
                FontSize fontSize31 = new FontSize() { Val = "20" };

                runProperties17.Append(fontSize31);
                Text text16 = new Text();
                text16.Text = timeString;

                run17.Append(runProperties17);
                run17.Append(text16);

                paragraph14.Append(paragraphProperties14);
                paragraph14.Append(run17);

                tableCell4.Append(tableCellProperties4);
                tableCell4.Append(paragraph14);

                var TimeScheduleTableCells = new List<TableCell>();

                for (int i = 0; i < TimeSchedule.Count; i++)
                {
                    TableCell tableCell6 = new TableCell();

                    TableCellProperties tableCellProperties6 = new TableCellProperties();
                    TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = colWidth.ToString(), Type = TableWidthUnitValues.Dxa };
                    Shading shading6 = new Shading() { Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };
                    TableCellVerticalAlignment tableCellVerticalAlignment2 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

                    tableCellProperties6.Append(tableCellWidth6);
                    tableCellProperties6.Append(shading6);
                    tableCellProperties6.Append(tableCellVerticalAlignment2);

                    if (TimeSchedule[i].Count == 0) // Empty cell
                    {
                        Paragraph paragraph15 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                        ParagraphProperties paragraphProperties15 = new ParagraphProperties();
                        SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                        ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
                        FontSize fontSize32 = new FontSize() { Val = "20" };

                        paragraphMarkRunProperties15.Append(fontSize32);

                        paragraphProperties15.Append(spacingBetweenLines15);
                        paragraphProperties15.Append(paragraphMarkRunProperties15);

                        paragraph15.Append(paragraphProperties15);

                        tableCell6.Append(tableCellProperties6);
                        tableCell6.Append(paragraph15);
                    }
                    else
                    {
                        Table table2 = new Table();

                        TableProperties tableProperties2 = new TableProperties();
                        TableWidth tableWidth2 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
                        TableLayout tableLayout2 = new TableLayout() { Type = TableLayoutValues.Fixed };
                        TableLook tableLook2 = new TableLook() { Val = "0000" };

                        TableBorders tableBorders9 = new TableBorders();
                        TopBorder topBorder9 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                        LeftBorder leftBorder9 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                        BottomBorder bottomBorder9 = new BottomBorder() { Val = BorderValues.None, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                        RightBorder rightBorder9 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                        InsideHorizontalBorder insideHorizontalBorder9 = new InsideHorizontalBorder() { Val = BorderValues.Single, Color = "000000", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                        InsideVerticalBorder insideVerticalBorder9 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U };

                        tableBorders9.Append(topBorder9);
                        tableBorders9.Append(leftBorder9);
                        tableBorders9.Append(bottomBorder9);
                        tableBorders9.Append(rightBorder9);
                        tableBorders9.Append(insideHorizontalBorder9);
                        tableBorders9.Append(insideVerticalBorder9);

                        tableProperties2.Append(tableWidth2);
                        tableProperties2.Append(tableBorders9);
                        tableProperties2.Append(tableLayout2);
                        tableProperties2.Append(tableLook2);

                        TableGrid tableGrid2 = new TableGrid();
                        GridColumn gridColumn4 = new GridColumn() { Width = "7052" };

                        tableGrid2.Append(gridColumn4);

                        for (int j = 0; j < TimeSchedule[i].Count; j++)
                        {
                            var item = TimeSchedule[i][j];
                            var itemLines = Regex.Split(item, "\r\n");

                            TableRow tableRow3 = new TableRow() { RsidTableRowMarkRevision = "00FA5335", RsidTableRowAddition = "00FA5335", RsidTableRowProperties = "00FA5335" };

                            TablePropertyExceptions tablePropertyExceptions3 = new TablePropertyExceptions();

                            TableCellMarginDefault tableCellMarginDefault3 = new TableCellMarginDefault();
                            TopMargin topMargin3 = new TopMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };
                            BottomMargin bottomMargin3 = new BottomMargin() { Width = "0", Type = TableWidthUnitValues.Dxa };

                            tableCellMarginDefault3.Append(topMargin3);
                            tableCellMarginDefault3.Append(bottomMargin3);

                            tablePropertyExceptions3.Append(tableCellMarginDefault3);

                            TableCell tableCell7 = new TableCell();

                            TableCellProperties tableCellProperties7 = new TableCellProperties();
                            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "7052", Type = TableWidthUnitValues.Dxa };
                            TableCellVerticalAlignment tableCellVerticalAlignment3 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

                            TableCellBorders tableCellBorders99 = new TableCellBorders();
                            BottomBorder bottomBorder99;
                            if (j != TimeSchedule[i].Count - 1)
                            {
                                bottomBorder99 = new BottomBorder() { Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
                                tableCellBorders99.Append(bottomBorder99);
                            }

                            tableCellProperties7.Append(tableCellWidth7);
                            tableCellProperties7.Append(tableCellBorders99);
                            tableCellProperties7.Append(tableCellVerticalAlignment3);

                            Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                            ParagraphProperties paragraphProperties16 = new ParagraphProperties();
                            SpacingBetweenLines spacingBetweenLines16 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
                            FontSize fontSize33 = new FontSize() { Val = "20" };

                            paragraphMarkRunProperties16.Append(fontSize33);

                            paragraphProperties16.Append(spacingBetweenLines16);
                            paragraphProperties16.Append(paragraphMarkRunProperties16);

                            Run run18 = new Run() { RsidRunProperties = "00FA5335" };

                            RunProperties runProperties18 = new RunProperties();
                            FontSize fontSize34 = new FontSize() { Val = "20" };

                            runProperties18.Append(fontSize34);
                            Text text17 = new Text();
                            text17.Text = itemLines[0];

                            run18.Append(runProperties18);
                            run18.Append(text17);

                            paragraph16.Append(paragraphProperties16);
                            paragraph16.Append(run18);

                            Paragraph paragraph17 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
                            SpacingBetweenLines spacingBetweenLines17 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                            ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties();
                            FontSize fontSize35 = new FontSize() { Val = "20" };

                            paragraphMarkRunProperties17.Append(fontSize35);

                            paragraphProperties17.Append(spacingBetweenLines17);
                            paragraphProperties17.Append(paragraphMarkRunProperties17);

                            Run run19 = new Run() { RsidRunProperties = "00FA5335" };

                            RunProperties runProperties19 = new RunProperties();
                            FontSize fontSize36 = new FontSize() { Val = "20" };

                            runProperties19.Append(fontSize36);
                            Text text18 = new Text();
                            text18.Text = itemLines[1];

                            run19.Append(runProperties19);
                            run19.Append(text18);

                            paragraph17.Append(paragraphProperties17);
                            paragraph17.Append(run19);

                            Paragraph paragraph18 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                            ParagraphProperties paragraphProperties18 = new ParagraphProperties();
                            SpacingBetweenLines spacingBetweenLines18 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                            ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties();
                            FontSize fontSize37 = new FontSize() { Val = "20" };

                            paragraphMarkRunProperties18.Append(fontSize37);

                            paragraphProperties18.Append(spacingBetweenLines18);
                            paragraphProperties18.Append(paragraphMarkRunProperties18);

                            Run run20 = new Run() { RsidRunProperties = "00FA5335" };

                            RunProperties runProperties20 = new RunProperties();
                            FontSize fontSize38 = new FontSize() { Val = "20" };

                            runProperties20.Append(fontSize38);
                            Text text19 = new Text();
                            text19.Text = itemLines[2];

                            run20.Append(runProperties20);
                            run20.Append(text19);

                            paragraph18.Append(paragraphProperties18);
                            paragraph18.Append(run20);

                            Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                            ParagraphProperties paragraphProperties19 = new ParagraphProperties();
                            SpacingBetweenLines spacingBetweenLines19 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                            ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties();
                            FontSize fontSize39 = new FontSize() { Val = "20" };

                            paragraphMarkRunProperties19.Append(fontSize39);

                            paragraphProperties19.Append(spacingBetweenLines19);
                            paragraphProperties19.Append(paragraphMarkRunProperties19);

                            Run run21 = new Run() { RsidRunProperties = "00FA5335" };

                            RunProperties runProperties21 = new RunProperties();
                            FontSize fontSize40 = new FontSize() { Val = "20" };

                            runProperties21.Append(fontSize40);
                            Text text20 = new Text();
                            text20.Text = itemLines[3];

                            run21.Append(runProperties21);
                            run21.Append(text20);

                            paragraph19.Append(paragraphProperties19);
                            paragraph19.Append(run21);

                            tableCell7.Append(tableCellProperties7);
                            tableCell7.Append(paragraph16);
                            tableCell7.Append(paragraph17);
                            tableCell7.Append(paragraph18);
                            tableCell7.Append(paragraph19);

                            tableRow3.Append(tablePropertyExceptions3);
                            tableRow3.Append(tableCell7);

                            table2.Append(tableRow3);
                        }

                        table2.Append(tableProperties2);
                        table2.Append(tableGrid2);

                        Paragraph paragraph20 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

                        ParagraphProperties paragraphProperties20 = new ParagraphProperties();
                        SpacingBetweenLines spacingBetweenLines20 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };

                        ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties();
                        FontSize fontSize41 = new FontSize() { Val = "20" };

                        paragraphMarkRunProperties20.Append(fontSize41);

                        paragraphProperties20.Append(spacingBetweenLines20);
                        paragraphProperties20.Append(paragraphMarkRunProperties20);

                        paragraph20.Append(paragraphProperties20);

                        tableCell6.Append(tableCellProperties6);
                        tableCell6.Append(table2);
                        tableCell6.Append(paragraph20);
                    }

                    TimeScheduleTableCells.Add(tableCell6);
                }

                tableRow2.Append(tablePropertyExceptions2);
                tableRow2.Append(tableCell4);

                foreach (var tc in TimeScheduleTableCells)
                {
                    tableRow2.Append(tc);
                }

                ScheduleRows.Add(tableRow2);
            }

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);

            foreach (var tr in ScheduleRows)
            {
                table1.Append(tr);
            }

            Paragraph paragraph61 = new Paragraph() { RsidParagraphMarkRevision = "00FA5335", RsidParagraphAddition = "00FA5335", RsidParagraphProperties = "00FA5335", RsidRunAdditionDefault = "00FA5335" };

            ParagraphProperties paragraphProperties61 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines61 = new SpacingBetweenLines() { After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
            Justification justification19 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties61 = new ParagraphMarkRunProperties();
            Bold bold3 = new Bold();
            FontSize fontSize114 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties61.Append(bold3);
            paragraphMarkRunProperties61.Append(fontSize114);

            paragraphProperties61.Append(spacingBetweenLines61);
            paragraphProperties61.Append(justification19);
            paragraphProperties61.Append(paragraphMarkRunProperties61);

            paragraph61.Append(paragraphProperties61);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "00FA5335", RsidR = "00FA5335", RsidSect = "00FA5335" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)16838U, Height = (UInt32Value)11906U, Orient = PageOrientationValues.Landscape };
            PageMargin pageMargin1 = new PageMargin() { Top = 567, Right = (UInt32Value)567U, Bottom = 567, Left = (UInt32Value)567U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

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

            body1.Append(paragraph1);
            body1.Append(paragraph8);
            body1.Append(paragraph9);
            body1.Append(paragraph10);
            body1.Append(table1);
            body1.Append(paragraph61);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #6
0
ファイル: HardCode.cs プロジェクト: silmarion/WPDHelper
        private void GenerateChapterFive()
        {
            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            Indentation indentation1 = new Indentation() { FirstLine = "567" };
            Justification justification1 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize1 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "28" };
            Languages languages1 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(fontSize1);
            paragraphMarkRunProperties1.Append(fontSizeComplexScript1);
            paragraphMarkRunProperties1.Append(languages1);

            paragraphProperties1.Append(indentation1);
            paragraphProperties1.Append(justification1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            Run run1 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize2 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "28" };
            Languages languages2 = new Languages() { Val = "ru-RU" };

            runProperties1.Append(runFonts2);
            runProperties1.Append(fontSize2);
            runProperties1.Append(fontSizeComplexScript2);
            runProperties1.Append(languages2);
            Text text1 = new Text();
            text1.Text = "При чтении лекционного материала занятия могут проходить как с использованием:";

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

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

            Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();

            NumberingProperties numberingProperties1 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference1 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId1 = new NumberingId() { Val = 6 };

            numberingProperties1.Append(numberingLevelReference1);
            numberingProperties1.Append(numberingId1);
            Indentation indentation2 = new Indentation() { Left = "641", Hanging = "357" };
            Justification justification2 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize3 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "28" };
            Languages languages3 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties2.Append(runFonts3);
            paragraphMarkRunProperties2.Append(fontSize3);
            paragraphMarkRunProperties2.Append(fontSizeComplexScript3);
            paragraphMarkRunProperties2.Append(languages3);

            paragraphProperties2.Append(numberingProperties1);
            paragraphProperties2.Append(indentation2);
            paragraphProperties2.Append(justification2);
            paragraphProperties2.Append(paragraphMarkRunProperties2);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run2 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold1 = new Bold();
            FontSize fontSize4 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "28" };
            Languages languages4 = new Languages() { Val = "ru-RU" };

            runProperties2.Append(runFonts4);
            runProperties2.Append(bold1);
            runProperties2.Append(fontSize4);
            runProperties2.Append(fontSizeComplexScript4);
            runProperties2.Append(languages4);
            Text text2 = new Text();
            text2.Text = "информационно";

            run2.Append(runProperties2);
            run2.Append(text2);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run3 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold2 = new Bold();
            FontSize fontSize5 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "28" };
            Languages languages5 = new Languages() { Val = "ru-RU" };

            runProperties3.Append(runFonts5);
            runProperties3.Append(bold2);
            runProperties3.Append(fontSize5);
            runProperties3.Append(fontSizeComplexScript5);
            runProperties3.Append(languages5);
            Text text3 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text3.Text = "-коммуникационных образовательных технологий: ";

            run3.Append(runProperties3);
            run3.Append(text3);

            Run run4 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold3 = new Bold();
            Italic italic1 = new Italic();
            FontSize fontSize6 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "28" };
            Languages languages6 = new Languages() { Val = "ru-RU" };

            runProperties4.Append(runFonts6);
            runProperties4.Append(bold3);
            runProperties4.Append(italic1);
            runProperties4.Append(fontSize6);
            runProperties4.Append(fontSizeComplexScript6);
            runProperties4.Append(languages6);
            Text text4 = new Text();
            text4.Text = "лекция-визуализация";

            run4.Append(runProperties4);
            run4.Append(text4);

            Run run5 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize7 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "28" };
            Languages languages7 = new Languages() { Val = "ru-RU" };

            runProperties5.Append(runFonts7);
            runProperties5.Append(fontSize7);
            runProperties5.Append(fontSizeComplexScript7);
            runProperties5.Append(languages7);
            Text text5 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text5.Text = " – изложение содержания каждой темы сопровождается презентацией (демонстрацией учебных материалов, представленных в среде программы ";

            run5.Append(runProperties5);
            run5.Append(text5);

            Run run6 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize8 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "28" };

            runProperties6.Append(runFonts8);
            runProperties6.Append(fontSize8);
            runProperties6.Append(fontSizeComplexScript8);
            Text text6 = new Text();
            text6.Text = "Microsoft";

            run6.Append(runProperties6);
            run6.Append(text6);

            Run run7 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize9 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "28" };
            Languages languages8 = new Languages() { Val = "ru-RU" };

            runProperties7.Append(runFonts9);
            runProperties7.Append(fontSize9);
            runProperties7.Append(fontSizeComplexScript9);
            runProperties7.Append(languages8);
            Text text7 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text7.Text = " ";

            run7.Append(runProperties7);
            run7.Append(text7);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run8 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize10 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "28" };

            runProperties8.Append(runFonts10);
            runProperties8.Append(fontSize10);
            runProperties8.Append(fontSizeComplexScript10);
            Text text8 = new Text();
            text8.Text = "Powerpoint";

            run8.Append(runProperties8);
            run8.Append(text8);
            ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run9 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize11 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "28" };
            Languages languages9 = new Languages() { Val = "ru-RU" };

            runProperties9.Append(runFonts11);
            runProperties9.Append(fontSize11);
            runProperties9.Append(fontSizeComplexScript11);
            runProperties9.Append(languages9);
            Text text9 = new Text();
            text9.Text = ")";

            run9.Append(runProperties9);
            run9.Append(text9);

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(proofError1);
            paragraph2.Append(run2);
            paragraph2.Append(proofError2);
            paragraph2.Append(run3);
            paragraph2.Append(run4);
            paragraph2.Append(run5);
            paragraph2.Append(run6);
            paragraph2.Append(run7);
            paragraph2.Append(proofError3);
            paragraph2.Append(run8);
            paragraph2.Append(proofError4);
            paragraph2.Append(run9);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();

            NumberingProperties numberingProperties2 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference2 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId2 = new NumberingId() { Val = 6 };

            numberingProperties2.Append(numberingLevelReference2);
            numberingProperties2.Append(numberingId2);
            Indentation indentation3 = new Indentation() { Left = "641", Hanging = "357" };
            Justification justification3 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize12 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "28" };
            Languages languages10 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties3.Append(runFonts12);
            paragraphMarkRunProperties3.Append(fontSize12);
            paragraphMarkRunProperties3.Append(fontSizeComplexScript12);
            paragraphMarkRunProperties3.Append(languages10);

            paragraphProperties3.Append(numberingProperties2);
            paragraphProperties3.Append(indentation3);
            paragraphProperties3.Append(justification3);
            paragraphProperties3.Append(paragraphMarkRunProperties3);
            ProofError proofError5 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run10 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize13 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "28" };
            Languages languages11 = new Languages() { Val = "ru-RU" };

            runProperties10.Append(runFonts13);
            runProperties10.Append(fontSize13);
            runProperties10.Append(fontSizeComplexScript13);
            runProperties10.Append(languages11);
            Text text10 = new Text();
            text10.Text = "так";

            run10.Append(runProperties10);
            run10.Append(text10);
            ProofError proofError6 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run11 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize14 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "28" };
            Languages languages12 = new Languages() { Val = "ru-RU" };

            runProperties11.Append(runFonts14);
            runProperties11.Append(fontSize14);
            runProperties11.Append(fontSizeComplexScript14);
            runProperties11.Append(languages12);
            Text text11 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text11.Text = " и с помощью специализированных ";

            run11.Append(runProperties11);
            run11.Append(text11);

            Run run12 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold4 = new Bold();
            FontSize fontSize15 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "28" };
            Languages languages13 = new Languages() { Val = "ru-RU" };

            runProperties12.Append(runFonts15);
            runProperties12.Append(bold4);
            runProperties12.Append(fontSize15);
            runProperties12.Append(fontSizeComplexScript15);
            runProperties12.Append(languages13);
            Text text12 = new Text();
            text12.Text = "интерактивных технологий";

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

            Run run13 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize16 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "28" };
            Languages languages14 = new Languages() { Val = "ru-RU" };

            runProperties13.Append(runFonts16);
            runProperties13.Append(fontSize16);
            runProperties13.Append(fontSizeComplexScript16);
            runProperties13.Append(languages14);
            Text text13 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text13.Text = " (";

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

            Run run14 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold5 = new Bold();
            Italic italic2 = new Italic();
            FontSize fontSize17 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "28" };
            Languages languages15 = new Languages() { Val = "ru-RU" };

            runProperties14.Append(runFonts17);
            runProperties14.Append(bold5);
            runProperties14.Append(italic2);
            runProperties14.Append(fontSize17);
            runProperties14.Append(fontSizeComplexScript17);
            runProperties14.Append(languages15);
            Text text14 = new Text();
            text14.Text = "лекция «обратной связи»";

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

            Run run15 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize18 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "28" };
            Languages languages16 = new Languages() { Val = "ru-RU" };

            runProperties15.Append(runFonts18);
            runProperties15.Append(fontSize18);
            runProperties15.Append(fontSizeComplexScript18);
            runProperties15.Append(languages16);
            Text text15 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text15.Text = " – лекция–провокация, в которой часть материала приводится с заранее запланированными ошибками, после чего завязывается лекция-беседа, лекция-дискуссия).";

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

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(proofError5);
            paragraph3.Append(run10);
            paragraph3.Append(proofError6);
            paragraph3.Append(run11);
            paragraph3.Append(run12);
            paragraph3.Append(run13);
            paragraph3.Append(run14);
            paragraph3.Append(run15);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            Indentation indentation4 = new Indentation() { FirstLine = "567" };
            Justification justification4 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize19 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript19 = new FontSizeComplexScript() { Val = "28" };
            Languages languages17 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties4.Append(runFonts19);
            paragraphMarkRunProperties4.Append(fontSize19);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript19);
            paragraphMarkRunProperties4.Append(languages17);

            paragraphProperties4.Append(indentation4);
            paragraphProperties4.Append(justification4);
            paragraphProperties4.Append(paragraphMarkRunProperties4);

            Run run16 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize20 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript20 = new FontSizeComplexScript() { Val = "28" };
            Languages languages18 = new Languages() { Val = "ru-RU" };

            runProperties16.Append(runFonts20);
            runProperties16.Append(fontSize20);
            runProperties16.Append(fontSizeComplexScript20);
            runProperties16.Append(languages18);
            Text text16 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text16.Text = "На всех практических занятиях студенты выполняют задания на рабочем месте за персональным компьютером, пользуясь консультацией преподавателя на индивидуальном уровне. ";

            run16.Append(runProperties16);
            run16.Append(text16);

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(run16);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            Indentation indentation5 = new Indentation() { FirstLine = "567" };
            Justification justification5 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize21 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript21 = new FontSizeComplexScript() { Val = "28" };
            Languages languages19 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties5.Append(runFonts21);
            paragraphMarkRunProperties5.Append(fontSize21);
            paragraphMarkRunProperties5.Append(fontSizeComplexScript21);
            paragraphMarkRunProperties5.Append(languages19);

            paragraphProperties5.Append(indentation5);
            paragraphProperties5.Append(justification5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run17 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize22 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript22 = new FontSizeComplexScript() { Val = "28" };
            Languages languages20 = new Languages() { Val = "ru-RU" };

            runProperties17.Append(runFonts22);
            runProperties17.Append(fontSize22);
            runProperties17.Append(fontSizeComplexScript22);
            runProperties17.Append(languages20);
            Text text17 = new Text();
            text17.Text = "В качестве домашних заданий студенты заканчивают работу, выданную на практических занятиях, а также выполняют индивидуальные задания, выдаваемые преподавателем, с проверкой и обсуждением результата выполнения на следующем занятии.";

            run17.Append(runProperties17);
            run17.Append(text17);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run17);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            Indentation indentation6 = new Indentation() { FirstLine = "567" };
            Justification justification6 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize23 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript23 = new FontSizeComplexScript() { Val = "28" };
            Languages languages21 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties6.Append(runFonts23);
            paragraphMarkRunProperties6.Append(fontSize23);
            paragraphMarkRunProperties6.Append(fontSizeComplexScript23);
            paragraphMarkRunProperties6.Append(languages21);

            paragraphProperties6.Append(indentation6);
            paragraphProperties6.Append(justification6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            Run run18 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize24 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript24 = new FontSizeComplexScript() { Val = "28" };
            Languages languages22 = new Languages() { Val = "ru-RU" };

            runProperties18.Append(runFonts24);
            runProperties18.Append(fontSize24);
            runProperties18.Append(fontSizeComplexScript24);
            runProperties18.Append(languages22);
            Text text18 = new Text();
            text18.Text = "С целью повышения эффективности учебного процесса, в ходе практических занятий используются:";

            run18.Append(runProperties18);
            run18.Append(text18);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run18);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            WidowControl widowControl1 = new WidowControl() { Val = false };

            NumberingProperties numberingProperties3 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference3 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId3 = new NumberingId() { Val = 5 };

            numberingProperties3.Append(numberingLevelReference3);
            numberingProperties3.Append(numberingId3);
            Indentation indentation7 = new Indentation() { Left = "641", Hanging = "357" };
            Justification justification7 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize25 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript25 = new FontSizeComplexScript() { Val = "28" };
            Languages languages23 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties7.Append(runFonts25);
            paragraphMarkRunProperties7.Append(fontSize25);
            paragraphMarkRunProperties7.Append(fontSizeComplexScript25);
            paragraphMarkRunProperties7.Append(languages23);

            paragraphProperties7.Append(widowControl1);
            paragraphProperties7.Append(numberingProperties3);
            paragraphProperties7.Append(indentation7);
            paragraphProperties7.Append(justification7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);

            Run run19 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold6 = new Bold();
            FontSize fontSize26 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript26 = new FontSizeComplexScript() { Val = "28" };
            Languages languages24 = new Languages() { Val = "ru-RU" };

            runProperties19.Append(runFonts26);
            runProperties19.Append(bold6);
            runProperties19.Append(fontSize26);
            runProperties19.Append(fontSizeComplexScript26);
            runProperties19.Append(languages24);
            Text text19 = new Text();
            text19.Text = "Интерактивные технологии";

            run19.Append(runProperties19);
            run19.Append(text19);

            Run run20 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize27 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript() { Val = "28" };
            Languages languages25 = new Languages() { Val = "ru-RU" };

            runProperties20.Append(runFonts27);
            runProperties20.Append(fontSize27);
            runProperties20.Append(fontSizeComplexScript27);
            runProperties20.Append(languages25);
            Text text20 = new Text();
            text20.Text = ", например, семинар-дискуссия – коллективное обсуждение какого-либо спорного вопроса, проблемы, выявление мнений в группе.";

            run20.Append(runProperties20);
            run20.Append(text20);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run19);
            paragraph7.Append(run20);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            WidowControl widowControl2 = new WidowControl() { Val = false };

            NumberingProperties numberingProperties4 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference4 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId4 = new NumberingId() { Val = 5 };

            numberingProperties4.Append(numberingLevelReference4);
            numberingProperties4.Append(numberingId4);
            Indentation indentation8 = new Indentation() { Left = "641", Hanging = "357" };
            Justification justification8 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize28 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript() { Val = "28" };
            Languages languages26 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties8.Append(runFonts28);
            paragraphMarkRunProperties8.Append(fontSize28);
            paragraphMarkRunProperties8.Append(fontSizeComplexScript28);
            paragraphMarkRunProperties8.Append(languages26);

            paragraphProperties8.Append(widowControl2);
            paragraphProperties8.Append(numberingProperties4);
            paragraphProperties8.Append(indentation8);
            paragraphProperties8.Append(justification8);
            paragraphProperties8.Append(paragraphMarkRunProperties8);

            Run run21 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold7 = new Bold();
            FontSize fontSize29 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript29 = new FontSizeComplexScript() { Val = "28" };
            Languages languages27 = new Languages() { Val = "ru-RU" };

            runProperties21.Append(runFonts29);
            runProperties21.Append(bold7);
            runProperties21.Append(fontSize29);
            runProperties21.Append(fontSizeComplexScript29);
            runProperties21.Append(languages27);
            Text text21 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text21.Text = "Информационно-коммуникационные образовательные технологии: ";

            run21.Append(runProperties21);
            run21.Append(text21);

            Run run22 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize30 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript30 = new FontSizeComplexScript() { Val = "28" };
            Languages languages28 = new Languages() { Val = "ru-RU" };

            runProperties22.Append(runFonts30);
            runProperties22.Append(fontSize30);
            runProperties22.Append(fontSizeComplexScript30);
            runProperties22.Append(languages28);
            Text text22 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text22.Text = "практическое занятие в форме презентации (представление результатов исследовательской деятельности с использованием специализированных программных сред). ";

            run22.Append(runProperties22);
            run22.Append(text22);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run21);
            paragraph8.Append(run22);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            WidowControl widowControl3 = new WidowControl() { Val = false };

            NumberingProperties numberingProperties5 = new NumberingProperties();
            NumberingLevelReference numberingLevelReference5 = new NumberingLevelReference() { Val = 0 };
            NumberingId numberingId5 = new NumberingId() { Val = 5 };

            numberingProperties5.Append(numberingLevelReference5);
            numberingProperties5.Append(numberingId5);
            Indentation indentation9 = new Indentation() { Left = "641", Hanging = "357" };
            Justification justification9 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize31 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript31 = new FontSizeComplexScript() { Val = "28" };
            Languages languages29 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties9.Append(runFonts31);
            paragraphMarkRunProperties9.Append(fontSize31);
            paragraphMarkRunProperties9.Append(fontSizeComplexScript31);
            paragraphMarkRunProperties9.Append(languages29);

            paragraphProperties9.Append(widowControl3);
            paragraphProperties9.Append(numberingProperties5);
            paragraphProperties9.Append(indentation9);
            paragraphProperties9.Append(justification9);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run23 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            Bold bold8 = new Bold();
            FontSize fontSize32 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript32 = new FontSizeComplexScript() { Val = "28" };
            Languages languages30 = new Languages() { Val = "ru-RU" };

            runProperties23.Append(runFonts32);
            runProperties23.Append(bold8);
            runProperties23.Append(fontSize32);
            runProperties23.Append(fontSizeComplexScript32);
            runProperties23.Append(languages30);
            Text text23 = new Text();
            text23.Text = "Инновационные методы";

            run23.Append(runProperties23);
            run23.Append(text23);

            Run run24 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize33 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript33 = new FontSizeComplexScript() { Val = "28" };
            Languages languages31 = new Languages() { Val = "ru-RU" };

            runProperties24.Append(runFonts33);
            runProperties24.Append(fontSize33);
            runProperties24.Append(fontSizeComplexScript33);
            runProperties24.Append(languages31);
            Text text24 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text24.Text = ": использование мультимедийных учебников, электронных версий эксклюзивных курсов в преподавании дисциплины; использование ";

            run24.Append(runProperties24);
            run24.Append(text24);
            ProofError proofError7 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run25 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize34 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript34 = new FontSizeComplexScript() { Val = "28" };
            Languages languages32 = new Languages() { Val = "ru-RU" };

            runProperties25.Append(runFonts34);
            runProperties25.Append(fontSize34);
            runProperties25.Append(fontSizeComplexScript34);
            runProperties25.Append(languages32);
            Text text25 = new Text();
            text25.Text = "медиаресурсов";

            run25.Append(runProperties25);
            run25.Append(text25);
            ProofError proofError8 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run26 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts35 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize35 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript35 = new FontSizeComplexScript() { Val = "28" };
            Languages languages33 = new Languages() { Val = "ru-RU" };

            runProperties26.Append(runFonts35);
            runProperties26.Append(fontSize35);
            runProperties26.Append(fontSizeComplexScript35);
            runProperties26.Append(languages33);
            Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text26.Text = ", энциклопедий, электронных библиотек ";

            run26.Append(runProperties26);
            run26.Append(text26);
            ProofError proofError9 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run27 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties27 = new RunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize36 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript36 = new FontSizeComplexScript() { Val = "28" };
            Languages languages34 = new Languages() { Val = "ru-RU" };

            runProperties27.Append(runFonts36);
            runProperties27.Append(fontSize36);
            runProperties27.Append(fontSizeComplexScript36);
            runProperties27.Append(languages34);
            Text text27 = new Text();
            text27.Text = "и  Интернет";

            run27.Append(runProperties27);
            run27.Append(text27);
            ProofError proofError10 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run28 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties28 = new RunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize37 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript37 = new FontSizeComplexScript() { Val = "28" };
            Languages languages35 = new Languages() { Val = "ru-RU" };

            runProperties28.Append(runFonts37);
            runProperties28.Append(fontSize37);
            runProperties28.Append(fontSizeComplexScript37);
            runProperties28.Append(languages35);
            Text text28 = new Text();
            text28.Text = "; использование программно-педагогических тестовых заданий для проверки знаний студентов и т.д.";

            run28.Append(runProperties28);
            run28.Append(text28);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run23);
            paragraph9.Append(run24);
            paragraph9.Append(proofError7);
            paragraph9.Append(run25);
            paragraph9.Append(proofError8);
            paragraph9.Append(run26);
            paragraph9.Append(proofError9);
            paragraph9.Append(run27);
            paragraph9.Append(proofError10);
            paragraph9.Append(run28);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005B1369", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005B1369" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            WidowControl widowControl4 = new WidowControl() { Val = false };

            Tabs tabs1 = new Tabs();
            TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 1080 };

            tabs1.Append(tabStop1);
            Indentation indentation10 = new Indentation() { Left = "851", FirstLine = "567" };
            Justification justification10 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize38 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript38 = new FontSizeComplexScript() { Val = "28" };
            Languages languages36 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties10.Append(runFonts38);
            paragraphMarkRunProperties10.Append(fontSize38);
            paragraphMarkRunProperties10.Append(fontSizeComplexScript38);
            paragraphMarkRunProperties10.Append(languages36);

            paragraphProperties10.Append(widowControl4);
            paragraphProperties10.Append(tabs1);
            paragraphProperties10.Append(indentation10);
            paragraphProperties10.Append(justification10);
            paragraphProperties10.Append(paragraphMarkRunProperties10);

            Run run29 = new Run() { RsidRunProperties = "005B1369" };

            RunProperties runProperties29 = new RunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman" };
            FontSize fontSize39 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript39 = new FontSizeComplexScript() { Val = "28" };
            Languages languages37 = new Languages() { Val = "ru-RU" };

            runProperties29.Append(runFonts39);
            runProperties29.Append(fontSize39);
            runProperties29.Append(fontSizeComplexScript39);
            runProperties29.Append(languages37);
            Text text29 = new Text();
            text29.Text = "Кроме того, инновационные методы также предполагают и применение методов активного обучения: интерактивные методы обучения: («метод кейсов», метод проектов), модульно-рейтинговые технологии организации учебного процесса и др.";

            run29.Append(runProperties29);
            run29.Append(text29);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run29);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "005B1369", RsidParagraphAddition = "005E7445", RsidParagraphProperties = "005B1369", RsidRunAdditionDefault = "005E7445" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            Languages languages38 = new Languages() { Val = "ru-RU" };

            paragraphMarkRunProperties11.Append(languages38);

            paragraphProperties11.Append(paragraphMarkRunProperties11);

            paragraph11.Append(paragraphProperties11);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "005B1369", RsidR = "005E7445" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1134, Right = (UInt32Value)850U, Bottom = 1134, Left = (UInt32Value)1701U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

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

            var paraProp = new ParagraphProperties();
            var paragraph0 = new Paragraph();
            var runProp = new RunProperties();
            var run = new Run();

            paraProp = GetParagraphProperties("StyleWithoutIndentation");
            var paragraphStyleId = new ParagraphStyleId() { Val = "Header1" };
            paraProp.Append(paragraphStyleId);
            run.Append(new Text("5.	Образовательные технологии"));
            paragraph0.Append(paraProp);
            paragraph0.Append(run);

            var paragraph00 = new Paragraph();
            paraProp = GetParagraphProperties("StyleWithoutIndentation");
            run = new Run();
            runProp = new RunProperties { Color = new Color { Val = "FF0000" } };
            run.Append(runProp);
            run.Append(new Text("Данный раздел генерируется в стандартной форме. Возможно его требуется изменить."));
            paragraph00.Append(paraProp);
            paragraph00.Append(run);

            _body.Append(paragraph0);
            _body.Append(paragraph00);
            _body.Append(paragraph1);
            _body.Append(paragraph2);
            _body.Append(paragraph3);
            _body.Append(paragraph4);
            _body.Append(paragraph5);
            _body.Append(paragraph6);
            _body.Append(paragraph7);
            _body.Append(paragraph8);
            _body.Append(paragraph9);
            _body.Append(paragraph10);
            _body.Append(paragraph11);
            _body.Append(sectionProperties1);
        }
コード例 #7
0
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00264050", RsidParagraphAddition = "009F4FE3", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0" };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold1 = new Bold();
            FontSize fontSize1 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(bold1);
            paragraphMarkRunProperties1.Append(fontSize1);
            paragraphMarkRunProperties1.Append(fontSizeComplexScript1);

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

            Run run1 = new Run() { RsidRunProperties = "00A86B82" };

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold2 = new Bold();
            FontSize fontSize2 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "24" };

            runProperties1.Append(runFonts2);
            runProperties1.Append(bold2);
            runProperties1.Append(fontSize2);
            runProperties1.Append(fontSizeComplexScript2);
            Text text1 = new Text();
            text1.Text = "Задание Заказчика";

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

            Run run2 = new Run() { RsidRunAddition = "00350EC1" };

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold3 = new Bold();
            FontSize fontSize3 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "24" };

            runProperties2.Append(runFonts3);
            runProperties2.Append(bold3);
            runProperties2.Append(fontSize3);
            runProperties2.Append(fontSizeComplexScript3);
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text2.Text = " №Ф1";

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

            Run run3 = new Run() { RsidRunAddition = "00885B8E" };

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold4 = new Bold();
            FontSize fontSize4 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "24" };

            runProperties3.Append(runFonts4);
            runProperties3.Append(bold4);
            runProperties3.Append(fontSize4);
            runProperties3.Append(fontSizeComplexScript4);
            Text text3 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text3.Text = " ";

            run3.Append(runProperties3);
            run3.Append(text3);

            Run run4 = new Run() { RsidRunAddition = "00A151C0" };

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold5 = new Bold();
            FontSize fontSize5 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "24" };

            runProperties4.Append(runFonts5);
            runProperties4.Append(bold5);
            runProperties4.Append(fontSize5);
            runProperties4.Append(fontSizeComplexScript5);
            Text text4 = new Text();
            text4.Text = "–";

            run4.Append(runProperties4);
            run4.Append(text4);

            Run run5 = new Run() { RsidRunProperties = "00885B8E", RsidRunAddition = "00350EC1" };

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold6 = new Bold();
            FontSize fontSize6 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "24" };

            runProperties5.Append(runFonts6);
            runProperties5.Append(bold6);
            runProperties5.Append(fontSize6);
            runProperties5.Append(fontSizeComplexScript6);
            Text text5 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text5.Text = " ";

            run5.Append(runProperties5);
            run5.Append(text5);

            Run run6 = new Run() { RsidRunProperties = "00264050", RsidRunAddition = "00264050" };

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold7 = new Bold();
            FontSize fontSize7 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "24" };
            Languages languages1 = new Languages() { Val = "en-US" };

            runProperties6.Append(runFonts7);
            runProperties6.Append(bold7);
            runProperties6.Append(fontSize7);
            runProperties6.Append(fontSizeComplexScript7);
            runProperties6.Append(languages1);
            Text text6 = new Text();
            text6.Text = "REPORDERNO";

            run6.Append(runProperties6);
            run6.Append(text6);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);
            paragraph1.Append(run2);
            paragraph1.Append(run3);
            paragraph1.Append(run4);
            paragraph1.Append(run5);
            paragraph1.Append(run6);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00A151C0", RsidParagraphAddition = "00A151C0", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A151C0" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0" };
            Justification justification2 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize8 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties2.Append(runFonts8);
            paragraphMarkRunProperties2.Append(fontSize8);
            paragraphMarkRunProperties2.Append(fontSizeComplexScript8);

            paragraphProperties2.Append(spacingBetweenLines2);
            paragraphProperties2.Append(justification2);
            paragraphProperties2.Append(paragraphMarkRunProperties2);

            Run run7 = new Run();

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize9 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "24" };

            runProperties7.Append(runFonts9);
            runProperties7.Append(fontSize9);
            runProperties7.Append(fontSizeComplexScript9);
            Text text7 = new Text();
            text7.Text = "в рамках договора №___________";

            run7.Append(runProperties7);
            run7.Append(text7);

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run7);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00A86B82", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A151C0" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0" };
            Justification justification3 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize10 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties3.Append(runFonts10);
            paragraphMarkRunProperties3.Append(fontSize10);
            paragraphMarkRunProperties3.Append(fontSizeComplexScript10);

            paragraphProperties3.Append(spacingBetweenLines3);
            paragraphProperties3.Append(justification3);
            paragraphProperties3.Append(paragraphMarkRunProperties3);

            Run run8 = new Run();

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize11 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "24" };

            runProperties8.Append(runFonts11);
            runProperties8.Append(fontSize11);
            runProperties8.Append(fontSizeComplexScript11);
            Text text8 = new Text();
            text8.Text = "н";

            run8.Append(runProperties8);
            run8.Append(text8);

            Run run9 = new Run() { RsidRunProperties = "00A86B82", RsidRunAddition = "00A86B82" };

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize12 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "24" };

            runProperties9.Append(runFonts12);
            runProperties9.Append(fontSize12);
            runProperties9.Append(fontSizeComplexScript12);
            Text text9 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text9.Text = "а ";

            run9.Append(runProperties9);
            run9.Append(text9);

            Run run10 = new Run() { RsidRunAddition = "00350EC1" };

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize13 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "24" };

            runProperties10.Append(runFonts13);
            runProperties10.Append(fontSize13);
            runProperties10.Append(fontSizeComplexScript13);
            Text text10 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text10.Text = "проведение ";

            run10.Append(runProperties10);
            run10.Append(text10);

            Run run11 = new Run() { RsidRunProperties = "00A86B82", RsidRunAddition = "00A86B82" };

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize14 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "24" };

            runProperties11.Append(runFonts14);
            runProperties11.Append(fontSize14);
            runProperties11.Append(fontSizeComplexScript14);
            Text text11 = new Text();
            text11.Text = "работ по ремонту систем автоматизации  (Мастер, Трансформер)";

            run11.Append(runProperties11);
            run11.Append(text11);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run8);
            paragraph3.Append(run9);
            paragraph3.Append(run10);
            paragraph3.Append(run11);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00683C1F", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0" };
            Justification justification4 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize15 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "24" };
            Underline underline1 = new Underline() { Val = UnderlineValues.Single };

            paragraphMarkRunProperties4.Append(runFonts15);
            paragraphMarkRunProperties4.Append(fontSize15);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript15);
            paragraphMarkRunProperties4.Append(underline1);

            paragraphProperties4.Append(spacingBetweenLines4);
            paragraphProperties4.Append(justification4);
            paragraphProperties4.Append(paragraphMarkRunProperties4);

            paragraph4.Append(paragraphProperties4);

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

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0" };
            Justification justification5 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold8 = new Bold();
            FontSize fontSize16 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties5.Append(runFonts16);
            paragraphMarkRunProperties5.Append(bold8);
            paragraphMarkRunProperties5.Append(fontSize16);
            paragraphMarkRunProperties5.Append(fontSizeComplexScript16);

            paragraphProperties5.Append(spacingBetweenLines5);
            paragraphProperties5.Append(justification5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run12 = new Run() { RsidRunProperties = "00A86B82" };

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold9 = new Bold();
            FontSize fontSize17 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "24" };

            runProperties12.Append(runFonts17);
            runProperties12.Append(bold9);
            runProperties12.Append(fontSize17);
            runProperties12.Append(fontSizeComplexScript17);
            Text text12 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text12.Text = "Предприятие № ";

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

            Run run13 = new Run() { RsidRunAddition = "00683C1F" };

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold10 = new Bold();
            FontSize fontSize18 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "24" };
            Languages languages2 = new Languages() { Val = "en-US" };

            runProperties13.Append(runFonts18);
            runProperties13.Append(bold10);
            runProperties13.Append(fontSize18);
            runProperties13.Append(fontSizeComplexScript18);
            runProperties13.Append(languages2);
            Text text13 = new Text();
            text13.Text = "ENTNO";

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

            Run run14 = new Run() { RsidRunProperties = "00A86B82" };

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold11 = new Bold();
            FontSize fontSize19 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript19 = new FontSizeComplexScript() { Val = "24" };

            runProperties14.Append(runFonts19);
            runProperties14.Append(bold11);
            runProperties14.Append(fontSize19);
            runProperties14.Append(fontSizeComplexScript19);
            Text text14 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text14.Text = " Филиала №1 ПАО «МОЭК»";

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

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run12);
            paragraph5.Append(run13);
            paragraph5.Append(run14);

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "a3" };
            TableWidth tableWidth1 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            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(tableLook1);

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "534" };
            GridColumn gridColumn2 = new GridColumn() { Width = "3118" };
            GridColumn gridColumn3 = new GridColumn() { Width = "3827" };
            GridColumn gridColumn4 = new GridColumn() { Width = "2235" };

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

            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            TableRowHeight tableRowHeight1 = new TableRowHeight() { Val = (UInt32Value)639U };

            tableRowProperties1.Append(tableRowHeight1);

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment1 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(tableCellVerticalAlignment1);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            Justification justification6 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold12 = new Bold();
            FontSize fontSize20 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript20 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties6.Append(runFonts20);
            paragraphMarkRunProperties6.Append(bold12);
            paragraphMarkRunProperties6.Append(fontSize20);
            paragraphMarkRunProperties6.Append(fontSizeComplexScript20);

            paragraphProperties6.Append(justification6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            Run run15 = new Run();

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold13 = new Bold();
            FontSize fontSize21 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript21 = new FontSizeComplexScript() { Val = "24" };

            runProperties15.Append(runFonts21);
            runProperties15.Append(bold13);
            runProperties15.Append(fontSize21);
            runProperties15.Append(fontSizeComplexScript21);
            Text text15 = new Text();
            text15.Text = "№";

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

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run15);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph6);

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment2 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties2.Append(tableCellWidth2);
            tableCellProperties2.Append(tableCellVerticalAlignment2);

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

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            Justification justification7 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold14 = new Bold();
            FontSize fontSize22 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript22 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties7.Append(runFonts22);
            paragraphMarkRunProperties7.Append(bold14);
            paragraphMarkRunProperties7.Append(fontSize22);
            paragraphMarkRunProperties7.Append(fontSizeComplexScript22);

            paragraphProperties7.Append(justification7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);

            Run run16 = new Run();

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold15 = new Bold();
            FontSize fontSize23 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript23 = new FontSizeComplexScript() { Val = "24" };

            runProperties16.Append(runFonts23);
            runProperties16.Append(bold15);
            runProperties16.Append(fontSize23);
            runProperties16.Append(fontSizeComplexScript23);
            Text text16 = new Text();
            text16.Text = "Наименование";

            run16.Append(runProperties16);
            run16.Append(text16);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run16);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph7);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment3 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties3.Append(tableCellWidth3);
            tableCellProperties3.Append(tableCellVerticalAlignment3);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            Justification justification8 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold16 = new Bold();
            FontSize fontSize24 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript24 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties8.Append(runFonts24);
            paragraphMarkRunProperties8.Append(bold16);
            paragraphMarkRunProperties8.Append(fontSize24);
            paragraphMarkRunProperties8.Append(fontSizeComplexScript24);

            paragraphProperties8.Append(justification8);
            paragraphProperties8.Append(paragraphMarkRunProperties8);

            Run run17 = new Run();

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold17 = new Bold();
            FontSize fontSize25 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript25 = new FontSizeComplexScript() { Val = "24" };

            runProperties17.Append(runFonts25);
            runProperties17.Append(bold17);
            runProperties17.Append(fontSize25);
            runProperties17.Append(fontSizeComplexScript25);
            Text text17 = new Text();
            text17.Text = "Данные для заполнения";

            run17.Append(runProperties17);
            run17.Append(text17);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run17);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph8);

            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth tableCellWidth4 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment4 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties4.Append(tableCellWidth4);
            tableCellProperties4.Append(tableCellVerticalAlignment4);

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

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            Justification justification9 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold18 = new Bold();
            FontSize fontSize26 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript26 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties9.Append(runFonts26);
            paragraphMarkRunProperties9.Append(bold18);
            paragraphMarkRunProperties9.Append(fontSize26);
            paragraphMarkRunProperties9.Append(fontSizeComplexScript26);

            paragraphProperties9.Append(justification9);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run18 = new Run();

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold19 = new Bold();
            FontSize fontSize27 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript() { Val = "24" };

            runProperties18.Append(runFonts27);
            runProperties18.Append(bold19);
            runProperties18.Append(fontSize27);
            runProperties18.Append(fontSizeComplexScript27);
            Text text18 = new Text();
            text18.Text = "Примечание";

            run18.Append(runProperties18);
            run18.Append(text18);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run18);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph9);

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);
            tableRow1.Append(tableCell3);
            tableRow1.Append(tableCell4);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "006B4E48", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties2 = new TableRowProperties();
            TableRowHeight tableRowHeight2 = new TableRowHeight() { Val = (UInt32Value)265U };

            tableRowProperties2.Append(tableRowHeight2);

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment5 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties5.Append(tableCellWidth5);
            tableCellProperties5.Append(tableCellVerticalAlignment5);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "006B4E48", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "006B4E48" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            Justification justification10 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize28 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties10.Append(runFonts28);
            paragraphMarkRunProperties10.Append(fontSize28);
            paragraphMarkRunProperties10.Append(fontSizeComplexScript28);

            paragraphProperties10.Append(justification10);
            paragraphProperties10.Append(paragraphMarkRunProperties10);

            Run run19 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize29 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript29 = new FontSizeComplexScript() { Val = "20" };

            runProperties19.Append(runFonts29);
            runProperties19.Append(fontSize29);
            runProperties19.Append(fontSizeComplexScript29);
            Text text19 = new Text();
            text19.Text = "1";

            run19.Append(runProperties19);
            run19.Append(text19);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run19);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph10);

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment6 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties6.Append(tableCellWidth6);
            tableCellProperties6.Append(tableCellVerticalAlignment6);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "006B4E48", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "006B4E48" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            Justification justification11 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize30 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript30 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties11.Append(runFonts30);
            paragraphMarkRunProperties11.Append(fontSize30);
            paragraphMarkRunProperties11.Append(fontSizeComplexScript30);

            paragraphProperties11.Append(justification11);
            paragraphProperties11.Append(paragraphMarkRunProperties11);

            Run run20 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize31 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript31 = new FontSizeComplexScript() { Val = "20" };

            runProperties20.Append(runFonts31);
            runProperties20.Append(fontSize31);
            runProperties20.Append(fontSizeComplexScript31);
            Text text20 = new Text();
            text20.Text = "2";

            run20.Append(runProperties20);
            run20.Append(text20);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run20);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph11);

            TableCell tableCell7 = new TableCell();

            TableCellProperties tableCellProperties7 = new TableCellProperties();
            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment7 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties7.Append(tableCellWidth7);
            tableCellProperties7.Append(tableCellVerticalAlignment7);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "006B4E48", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "006B4E48" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            Justification justification12 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize32 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript32 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties12.Append(runFonts32);
            paragraphMarkRunProperties12.Append(fontSize32);
            paragraphMarkRunProperties12.Append(fontSizeComplexScript32);

            paragraphProperties12.Append(justification12);
            paragraphProperties12.Append(paragraphMarkRunProperties12);

            Run run21 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize33 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript33 = new FontSizeComplexScript() { Val = "20" };

            runProperties21.Append(runFonts33);
            runProperties21.Append(fontSize33);
            runProperties21.Append(fontSizeComplexScript33);
            Text text21 = new Text();
            text21.Text = "3";

            run21.Append(runProperties21);
            run21.Append(text21);

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run21);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph12);

            TableCell tableCell8 = new TableCell();

            TableCellProperties tableCellProperties8 = new TableCellProperties();
            TableCellWidth tableCellWidth8 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };
            TableCellVerticalAlignment tableCellVerticalAlignment8 = new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center };

            tableCellProperties8.Append(tableCellWidth8);
            tableCellProperties8.Append(tableCellVerticalAlignment8);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "006B4E48", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "006B4E48" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            Justification justification13 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize34 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript34 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties13.Append(runFonts34);
            paragraphMarkRunProperties13.Append(fontSize34);
            paragraphMarkRunProperties13.Append(fontSizeComplexScript34);

            paragraphProperties13.Append(justification13);
            paragraphProperties13.Append(paragraphMarkRunProperties13);

            Run run22 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts35 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize35 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript35 = new FontSizeComplexScript() { Val = "20" };

            runProperties22.Append(runFonts35);
            runProperties22.Append(fontSize35);
            runProperties22.Append(fontSizeComplexScript35);
            Text text22 = new Text();
            text22.Text = "4";

            run22.Append(runProperties22);
            run22.Append(text22);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run22);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph13);

            tableRow2.Append(tableRowProperties2);
            tableRow2.Append(tableCell5);
            tableRow2.Append(tableCell6);
            tableRow2.Append(tableCell7);
            tableRow2.Append(tableCell8);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell9 = new TableCell();

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

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            Justification justification14 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize36 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript36 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties14.Append(runFonts36);
            paragraphMarkRunProperties14.Append(fontSize36);
            paragraphMarkRunProperties14.Append(fontSizeComplexScript36);

            paragraphProperties14.Append(justification14);
            paragraphProperties14.Append(paragraphMarkRunProperties14);

            Run run23 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize37 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript37 = new FontSizeComplexScript() { Val = "20" };

            runProperties23.Append(runFonts37);
            runProperties23.Append(fontSize37);
            runProperties23.Append(fontSizeComplexScript37);
            Text text23 = new Text();
            text23.Text = "1";

            run23.Append(runProperties23);
            run23.Append(text23);

            paragraph14.Append(paragraphProperties14);
            paragraph14.Append(run23);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph14);

            TableCell tableCell10 = new TableCell();

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

            tableCellProperties10.Append(tableCellWidth10);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize38 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript38 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties15.Append(runFonts38);
            paragraphMarkRunProperties15.Append(fontSize38);
            paragraphMarkRunProperties15.Append(fontSizeComplexScript38);

            paragraphProperties15.Append(paragraphMarkRunProperties15);

            Run run24 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize39 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript39 = new FontSizeComplexScript() { Val = "20" };

            runProperties24.Append(runFonts39);
            runProperties24.Append(fontSize39);
            runProperties24.Append(fontSizeComplexScript39);
            Text text24 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text24.Text = "Наименование ";

            run24.Append(runProperties24);
            run24.Append(text24);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run25 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts40 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize40 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript40 = new FontSizeComplexScript() { Val = "20" };

            runProperties25.Append(runFonts40);
            runProperties25.Append(fontSize40);
            runProperties25.Append(fontSizeComplexScript40);
            Text text25 = new Text();
            text25.Text = "неисправного";

            run25.Append(runProperties25);
            run25.Append(text25);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run26 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts41 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize41 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript41 = new FontSizeComplexScript() { Val = "20" };

            runProperties26.Append(runFonts41);
            runProperties26.Append(fontSize41);
            runProperties26.Append(fontSizeComplexScript41);
            Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text26.Text = " оборудования:";

            run26.Append(runProperties26);
            run26.Append(text26);

            paragraph15.Append(paragraphProperties15);
            paragraph15.Append(run24);
            paragraph15.Append(proofError1);
            paragraph15.Append(run25);
            paragraph15.Append(proofError2);
            paragraph15.Append(run26);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(paragraph15);

            TableCell tableCell11 = new TableCell();

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

            tableCellProperties11.Append(tableCellWidth11);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00683C1F", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00683C1F", RsidRunAdditionDefault = "00412D79" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
            RunFonts runFonts42 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold20 = new Bold();
            FontSize fontSize42 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript42 = new FontSizeComplexScript() { Val = "20" };
            Languages languages3 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties16.Append(runFonts42);
            paragraphMarkRunProperties16.Append(bold20);
            paragraphMarkRunProperties16.Append(fontSize42);
            paragraphMarkRunProperties16.Append(fontSizeComplexScript42);
            paragraphMarkRunProperties16.Append(languages3);

            paragraphProperties16.Append(paragraphMarkRunProperties16);

            Run run27 = new Run();

            RunProperties runProperties27 = new RunProperties();
            RunFonts runFonts43 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold21 = new Bold();
            FontSize fontSize43 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript43 = new FontSizeComplexScript() { Val = "20" };
            Languages languages4 = new Languages() { Val = "en-US" };

            runProperties27.Append(runFonts43);
            runProperties27.Append(bold21);
            runProperties27.Append(fontSize43);
            runProperties27.Append(fontSizeComplexScript43);
            runProperties27.Append(languages4);
            Text text27 = new Text();
            text27.Text = "EQUIPMENT";

            run27.Append(runProperties27);
            run27.Append(text27);

            paragraph16.Append(paragraphProperties16);
            paragraph16.Append(run27);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph16);

            TableCell tableCell12 = new TableCell();

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

            tableCellProperties12.Append(tableCellWidth12);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphMarkRevision = "0053093D", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
            Justification justification15 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties();
            RunFonts runFonts44 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize44 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript44 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties17.Append(runFonts44);
            paragraphMarkRunProperties17.Append(fontSize44);
            paragraphMarkRunProperties17.Append(fontSizeComplexScript44);

            paragraphProperties17.Append(justification15);
            paragraphProperties17.Append(paragraphMarkRunProperties17);

            paragraph17.Append(paragraphProperties17);

            tableCell12.Append(tableCellProperties12);
            tableCell12.Append(paragraph17);

            tableRow3.Append(tableCell9);
            tableRow3.Append(tableCell10);
            tableRow3.Append(tableCell11);
            tableRow3.Append(tableCell12);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell13 = new TableCell();

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

            tableCellProperties13.Append(tableCellWidth13);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties18 = new ParagraphProperties();
            Justification justification16 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties();
            RunFonts runFonts45 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize45 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript45 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties18.Append(runFonts45);
            paragraphMarkRunProperties18.Append(fontSize45);
            paragraphMarkRunProperties18.Append(fontSizeComplexScript45);

            paragraphProperties18.Append(justification16);
            paragraphProperties18.Append(paragraphMarkRunProperties18);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", ColumnFirst = 1, ColumnLast = 2, Id = "0" };

            Run run28 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties28 = new RunProperties();
            RunFonts runFonts46 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize46 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript46 = new FontSizeComplexScript() { Val = "20" };

            runProperties28.Append(runFonts46);
            runProperties28.Append(fontSize46);
            runProperties28.Append(fontSizeComplexScript46);
            Text text28 = new Text();
            text28.Text = "2";

            run28.Append(runProperties28);
            run28.Append(text28);

            paragraph18.Append(paragraphProperties18);
            paragraph18.Append(bookmarkStart1);
            paragraph18.Append(run28);

            tableCell13.Append(tableCellProperties13);
            tableCell13.Append(paragraph18);

            TableCell tableCell14 = new TableCell();

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

            tableCellProperties14.Append(tableCellWidth14);

            Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties19 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties();
            RunFonts runFonts47 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize47 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript47 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties19.Append(runFonts47);
            paragraphMarkRunProperties19.Append(fontSize47);
            paragraphMarkRunProperties19.Append(fontSizeComplexScript47);

            paragraphProperties19.Append(paragraphMarkRunProperties19);

            Run run29 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties29 = new RunProperties();
            RunFonts runFonts48 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize48 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript48 = new FontSizeComplexScript() { Val = "20" };

            runProperties29.Append(runFonts48);
            runProperties29.Append(fontSize48);
            runProperties29.Append(fontSizeComplexScript48);
            Text text29 = new Text();
            text29.Text = "Заводской номер:";

            run29.Append(runProperties29);
            run29.Append(text29);

            paragraph19.Append(paragraphProperties19);
            paragraph19.Append(run29);

            tableCell14.Append(tableCellProperties14);
            tableCell14.Append(paragraph19);

            TableCell tableCell15 = new TableCell();

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

            tableCellProperties15.Append(tableCellWidth15);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties20 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties();
            RunFonts runFonts49 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold22 = new Bold();
            FontSize fontSize49 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript49 = new FontSizeComplexScript() { Val = "20" };
            Languages languages5 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties20.Append(runFonts49);
            paragraphMarkRunProperties20.Append(bold22);
            paragraphMarkRunProperties20.Append(fontSize49);
            paragraphMarkRunProperties20.Append(fontSizeComplexScript49);
            paragraphMarkRunProperties20.Append(languages5);

            paragraphProperties20.Append(paragraphMarkRunProperties20);

            Run run30 = new Run();

            RunProperties runProperties30 = new RunProperties();
            RunFonts runFonts50 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold23 = new Bold();
            FontSize fontSize50 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript50 = new FontSizeComplexScript() { Val = "20" };
            Languages languages6 = new Languages() { Val = "en-US" };

            runProperties30.Append(runFonts50);
            runProperties30.Append(bold23);
            runProperties30.Append(fontSize50);
            runProperties30.Append(fontSizeComplexScript50);
            runProperties30.Append(languages6);
            Text text30 = new Text();
            text30.Text = "SERNO";

            run30.Append(runProperties30);
            run30.Append(text30);

            paragraph20.Append(paragraphProperties20);
            paragraph20.Append(run30);

            tableCell15.Append(tableCellProperties15);
            tableCell15.Append(paragraph20);

            TableCell tableCell16 = new TableCell();

            TableCellProperties tableCellProperties16 = new TableCellProperties();
            TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties16.Append(tableCellWidth16);

            Paragraph paragraph21 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties21 = new ParagraphProperties();
            Justification justification17 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties21 = new ParagraphMarkRunProperties();
            RunFonts runFonts51 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize51 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript51 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties21.Append(runFonts51);
            paragraphMarkRunProperties21.Append(fontSize51);
            paragraphMarkRunProperties21.Append(fontSizeComplexScript51);

            paragraphProperties21.Append(justification17);
            paragraphProperties21.Append(paragraphMarkRunProperties21);

            paragraph21.Append(paragraphProperties21);

            tableCell16.Append(tableCellProperties16);
            tableCell16.Append(paragraph21);

            tableRow4.Append(tableCell13);
            tableRow4.Append(tableCell14);
            tableRow4.Append(tableCell15);
            tableRow4.Append(tableCell16);

            TableRow tableRow5 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell17 = new TableCell();

            TableCellProperties tableCellProperties17 = new TableCellProperties();
            TableCellWidth tableCellWidth17 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties17.Append(tableCellWidth17);

            Paragraph paragraph22 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties22 = new ParagraphProperties();
            Justification justification18 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties();
            RunFonts runFonts52 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize52 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript52 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties22.Append(runFonts52);
            paragraphMarkRunProperties22.Append(fontSize52);
            paragraphMarkRunProperties22.Append(fontSizeComplexScript52);

            paragraphProperties22.Append(justification18);
            paragraphProperties22.Append(paragraphMarkRunProperties22);

            Run run31 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties31 = new RunProperties();
            RunFonts runFonts53 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize53 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript53 = new FontSizeComplexScript() { Val = "20" };

            runProperties31.Append(runFonts53);
            runProperties31.Append(fontSize53);
            runProperties31.Append(fontSizeComplexScript53);
            Text text31 = new Text();
            text31.Text = "3";

            run31.Append(runProperties31);
            run31.Append(text31);

            paragraph22.Append(paragraphProperties22);
            paragraph22.Append(run31);

            tableCell17.Append(tableCellProperties17);
            tableCell17.Append(paragraph22);

            TableCell tableCell18 = new TableCell();

            TableCellProperties tableCellProperties18 = new TableCellProperties();
            TableCellWidth tableCellWidth18 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties18.Append(tableCellWidth18);

            Paragraph paragraph23 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties();
            RunFonts runFonts54 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize54 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript54 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties23.Append(runFonts54);
            paragraphMarkRunProperties23.Append(fontSize54);
            paragraphMarkRunProperties23.Append(fontSizeComplexScript54);

            paragraphProperties23.Append(paragraphMarkRunProperties23);

            Run run32 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties32 = new RunProperties();
            RunFonts runFonts55 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize55 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript55 = new FontSizeComplexScript() { Val = "20" };

            runProperties32.Append(runFonts55);
            runProperties32.Append(fontSize55);
            runProperties32.Append(fontSizeComplexScript55);
            Text text32 = new Text();
            text32.Text = "Инвентарный номер:";

            run32.Append(runProperties32);
            run32.Append(text32);

            paragraph23.Append(paragraphProperties23);
            paragraph23.Append(run32);

            tableCell18.Append(tableCellProperties18);
            tableCell18.Append(paragraph23);

            TableCell tableCell19 = new TableCell();

            TableCellProperties tableCellProperties19 = new TableCellProperties();
            TableCellWidth tableCellWidth19 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties19.Append(tableCellWidth19);

            Paragraph paragraph24 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties();
            RunFonts runFonts56 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold24 = new Bold();
            FontSize fontSize56 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript56 = new FontSizeComplexScript() { Val = "20" };
            Languages languages7 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties24.Append(runFonts56);
            paragraphMarkRunProperties24.Append(bold24);
            paragraphMarkRunProperties24.Append(fontSize56);
            paragraphMarkRunProperties24.Append(fontSizeComplexScript56);
            paragraphMarkRunProperties24.Append(languages7);

            paragraphProperties24.Append(paragraphMarkRunProperties24);

            Run run33 = new Run();

            RunProperties runProperties33 = new RunProperties();
            RunFonts runFonts57 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold25 = new Bold();
            FontSize fontSize57 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript57 = new FontSizeComplexScript() { Val = "20" };
            Languages languages8 = new Languages() { Val = "en-US" };

            runProperties33.Append(runFonts57);
            runProperties33.Append(bold25);
            runProperties33.Append(fontSize57);
            runProperties33.Append(fontSizeComplexScript57);
            runProperties33.Append(languages8);
            Text text33 = new Text();
            text33.Text = "INVNO";

            run33.Append(runProperties33);
            run33.Append(text33);

            paragraph24.Append(paragraphProperties24);
            paragraph24.Append(run33);

            tableCell19.Append(tableCellProperties19);
            tableCell19.Append(paragraph24);

            TableCell tableCell20 = new TableCell();

            TableCellProperties tableCellProperties20 = new TableCellProperties();
            TableCellWidth tableCellWidth20 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties20.Append(tableCellWidth20);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();
            Justification justification19 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties();
            RunFonts runFonts58 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize58 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript58 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties25.Append(runFonts58);
            paragraphMarkRunProperties25.Append(fontSize58);
            paragraphMarkRunProperties25.Append(fontSizeComplexScript58);

            paragraphProperties25.Append(justification19);
            paragraphProperties25.Append(paragraphMarkRunProperties25);

            paragraph25.Append(paragraphProperties25);

            tableCell20.Append(tableCellProperties20);
            tableCell20.Append(paragraph25);

            tableRow5.Append(tableCell17);
            tableRow5.Append(tableCell18);
            tableRow5.Append(tableCell19);
            tableRow5.Append(tableCell20);

            TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell21 = new TableCell();

            TableCellProperties tableCellProperties21 = new TableCellProperties();
            TableCellWidth tableCellWidth21 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties21.Append(tableCellWidth21);

            Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties26 = new ParagraphProperties();
            Justification justification20 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties();
            RunFonts runFonts59 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize59 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript59 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties26.Append(runFonts59);
            paragraphMarkRunProperties26.Append(fontSize59);
            paragraphMarkRunProperties26.Append(fontSizeComplexScript59);

            paragraphProperties26.Append(justification20);
            paragraphProperties26.Append(paragraphMarkRunProperties26);

            Run run34 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties34 = new RunProperties();
            RunFonts runFonts60 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize60 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript60 = new FontSizeComplexScript() { Val = "20" };

            runProperties34.Append(runFonts60);
            runProperties34.Append(fontSize60);
            runProperties34.Append(fontSizeComplexScript60);
            Text text34 = new Text();
            text34.Text = "4";

            run34.Append(runProperties34);
            run34.Append(text34);

            paragraph26.Append(paragraphProperties26);
            paragraph26.Append(run34);

            tableCell21.Append(tableCellProperties21);
            tableCell21.Append(paragraph26);

            TableCell tableCell22 = new TableCell();

            TableCellProperties tableCellProperties22 = new TableCellProperties();
            TableCellWidth tableCellWidth22 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties22.Append(tableCellWidth22);

            Paragraph paragraph27 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties27 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties();
            RunFonts runFonts61 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize61 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript61 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties27.Append(runFonts61);
            paragraphMarkRunProperties27.Append(fontSize61);
            paragraphMarkRunProperties27.Append(fontSizeComplexScript61);

            paragraphProperties27.Append(paragraphMarkRunProperties27);

            Run run35 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties35 = new RunProperties();
            RunFonts runFonts62 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize62 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript62 = new FontSizeComplexScript() { Val = "20" };

            runProperties35.Append(runFonts62);
            runProperties35.Append(fontSize62);
            runProperties35.Append(fontSizeComplexScript62);
            Text text35 = new Text();
            text35.Text = "Адрес инвентарного номера:";

            run35.Append(runProperties35);
            run35.Append(text35);

            paragraph27.Append(paragraphProperties27);
            paragraph27.Append(run35);

            tableCell22.Append(tableCellProperties22);
            tableCell22.Append(paragraph27);

            TableCell tableCell23 = new TableCell();

            TableCellProperties tableCellProperties23 = new TableCellProperties();
            TableCellWidth tableCellWidth23 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties23.Append(tableCellWidth23);

            Paragraph paragraph28 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties28 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties28 = new ParagraphMarkRunProperties();
            RunFonts runFonts63 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold26 = new Bold();
            FontSize fontSize63 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript63 = new FontSizeComplexScript() { Val = "20" };
            Languages languages9 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties28.Append(runFonts63);
            paragraphMarkRunProperties28.Append(bold26);
            paragraphMarkRunProperties28.Append(fontSize63);
            paragraphMarkRunProperties28.Append(fontSizeComplexScript63);
            paragraphMarkRunProperties28.Append(languages9);

            paragraphProperties28.Append(paragraphMarkRunProperties28);

            Run run36 = new Run();

            RunProperties runProperties36 = new RunProperties();
            RunFonts runFonts64 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold27 = new Bold();
            FontSize fontSize64 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript64 = new FontSizeComplexScript() { Val = "20" };
            Languages languages10 = new Languages() { Val = "en-US" };

            runProperties36.Append(runFonts64);
            runProperties36.Append(bold27);
            runProperties36.Append(fontSize64);
            runProperties36.Append(fontSizeComplexScript64);
            runProperties36.Append(languages10);
            Text text36 = new Text();
            text36.Text = "HSANDADRESS";

            run36.Append(runProperties36);
            run36.Append(text36);

            paragraph28.Append(paragraphProperties28);
            paragraph28.Append(run36);

            tableCell23.Append(tableCellProperties23);
            tableCell23.Append(paragraph28);

            TableCell tableCell24 = new TableCell();

            TableCellProperties tableCellProperties24 = new TableCellProperties();
            TableCellWidth tableCellWidth24 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties24.Append(tableCellWidth24);

            Paragraph paragraph29 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties29 = new ParagraphProperties();
            Justification justification21 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties29 = new ParagraphMarkRunProperties();
            RunFonts runFonts65 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize65 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript65 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties29.Append(runFonts65);
            paragraphMarkRunProperties29.Append(fontSize65);
            paragraphMarkRunProperties29.Append(fontSizeComplexScript65);

            paragraphProperties29.Append(justification21);
            paragraphProperties29.Append(paragraphMarkRunProperties29);

            paragraph29.Append(paragraphProperties29);

            tableCell24.Append(tableCellProperties24);
            tableCell24.Append(paragraph29);

            tableRow6.Append(tableCell21);
            tableRow6.Append(tableCell22);
            tableRow6.Append(tableCell23);
            tableRow6.Append(tableCell24);

            TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell25 = new TableCell();

            TableCellProperties tableCellProperties25 = new TableCellProperties();
            TableCellWidth tableCellWidth25 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties25.Append(tableCellWidth25);

            Paragraph paragraph30 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties30 = new ParagraphProperties();
            Justification justification22 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties30 = new ParagraphMarkRunProperties();
            RunFonts runFonts66 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize66 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript66 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties30.Append(runFonts66);
            paragraphMarkRunProperties30.Append(fontSize66);
            paragraphMarkRunProperties30.Append(fontSizeComplexScript66);

            paragraphProperties30.Append(justification22);
            paragraphProperties30.Append(paragraphMarkRunProperties30);

            Run run37 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties37 = new RunProperties();
            RunFonts runFonts67 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize67 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript67 = new FontSizeComplexScript() { Val = "20" };

            runProperties37.Append(runFonts67);
            runProperties37.Append(fontSize67);
            runProperties37.Append(fontSizeComplexScript67);
            Text text37 = new Text();
            text37.Text = "5";

            run37.Append(runProperties37);
            run37.Append(text37);

            paragraph30.Append(paragraphProperties30);
            paragraph30.Append(run37);

            tableCell25.Append(tableCellProperties25);
            tableCell25.Append(paragraph30);

            TableCell tableCell26 = new TableCell();

            TableCellProperties tableCellProperties26 = new TableCellProperties();
            TableCellWidth tableCellWidth26 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties26.Append(tableCellWidth26);

            Paragraph paragraph31 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties31 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties31 = new ParagraphMarkRunProperties();
            RunFonts runFonts68 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize68 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript68 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties31.Append(runFonts68);
            paragraphMarkRunProperties31.Append(fontSize68);
            paragraphMarkRunProperties31.Append(fontSizeComplexScript68);

            paragraphProperties31.Append(paragraphMarkRunProperties31);

            Run run38 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts69 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize69 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript69 = new FontSizeComplexScript() { Val = "20" };

            runProperties38.Append(runFonts69);
            runProperties38.Append(fontSize69);
            runProperties38.Append(fontSizeComplexScript69);
            Text text38 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text38.Text = "Местонахождение ";

            run38.Append(runProperties38);
            run38.Append(text38);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run39 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts70 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize70 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript70 = new FontSizeComplexScript() { Val = "20" };

            runProperties39.Append(runFonts70);
            runProperties39.Append(fontSize70);
            runProperties39.Append(fontSizeComplexScript70);
            Text text39 = new Text();
            text39.Text = "неисправного";

            run39.Append(runProperties39);
            run39.Append(text39);
            ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run40 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties40 = new RunProperties();
            RunFonts runFonts71 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize71 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript71 = new FontSizeComplexScript() { Val = "20" };

            runProperties40.Append(runFonts71);
            runProperties40.Append(fontSize71);
            runProperties40.Append(fontSizeComplexScript71);
            Text text40 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text40.Text = " оборудования";

            run40.Append(runProperties40);
            run40.Append(text40);

            Run run41 = new Run() { RsidRunAddition = "00980A5B" };

            RunProperties runProperties41 = new RunProperties();
            RunFonts runFonts72 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize72 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript72 = new FontSizeComplexScript() { Val = "20" };

            runProperties41.Append(runFonts72);
            runProperties41.Append(fontSize72);
            runProperties41.Append(fontSizeComplexScript72);
            Text text41 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text41.Text = " (объект)";

            run41.Append(runProperties41);
            run41.Append(text41);

            Run run42 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties42 = new RunProperties();
            RunFonts runFonts73 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize73 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript73 = new FontSizeComplexScript() { Val = "20" };

            runProperties42.Append(runFonts73);
            runProperties42.Append(fontSize73);
            runProperties42.Append(fontSizeComplexScript73);
            Text text42 = new Text();
            text42.Text = ":";

            run42.Append(runProperties42);
            run42.Append(text42);

            paragraph31.Append(paragraphProperties31);
            paragraph31.Append(run38);
            paragraph31.Append(proofError3);
            paragraph31.Append(run39);
            paragraph31.Append(proofError4);
            paragraph31.Append(run40);
            paragraph31.Append(run41);
            paragraph31.Append(run42);

            tableCell26.Append(tableCellProperties26);
            tableCell26.Append(paragraph31);

            TableCell tableCell27 = new TableCell();

            TableCellProperties tableCellProperties27 = new TableCellProperties();
            TableCellWidth tableCellWidth27 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties27.Append(tableCellWidth27);

            Paragraph paragraph32 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties32 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties32 = new ParagraphMarkRunProperties();
            RunFonts runFonts74 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold28 = new Bold();
            FontSize fontSize74 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript74 = new FontSizeComplexScript() { Val = "20" };
            Languages languages11 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties32.Append(runFonts74);
            paragraphMarkRunProperties32.Append(bold28);
            paragraphMarkRunProperties32.Append(fontSize74);
            paragraphMarkRunProperties32.Append(fontSizeComplexScript74);
            paragraphMarkRunProperties32.Append(languages11);

            paragraphProperties32.Append(paragraphMarkRunProperties32);

            Run run43 = new Run();

            RunProperties runProperties43 = new RunProperties();
            RunFonts runFonts75 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold29 = new Bold();
            FontSize fontSize75 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript75 = new FontSizeComplexScript() { Val = "20" };
            Languages languages12 = new Languages() { Val = "en-US" };

            runProperties43.Append(runFonts75);
            runProperties43.Append(bold29);
            runProperties43.Append(fontSize75);
            runProperties43.Append(fontSizeComplexScript75);
            runProperties43.Append(languages12);
            Text text43 = new Text();
            text43.Text = "EQUIPLOCATION";

            run43.Append(runProperties43);
            run43.Append(text43);

            paragraph32.Append(paragraphProperties32);
            paragraph32.Append(run43);

            tableCell27.Append(tableCellProperties27);
            tableCell27.Append(paragraph32);

            TableCell tableCell28 = new TableCell();

            TableCellProperties tableCellProperties28 = new TableCellProperties();
            TableCellWidth tableCellWidth28 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties28.Append(tableCellWidth28);

            Paragraph paragraph33 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties33 = new ParagraphProperties();
            Justification justification23 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties33 = new ParagraphMarkRunProperties();
            RunFonts runFonts76 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize76 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript76 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties33.Append(runFonts76);
            paragraphMarkRunProperties33.Append(fontSize76);
            paragraphMarkRunProperties33.Append(fontSizeComplexScript76);

            paragraphProperties33.Append(justification23);
            paragraphProperties33.Append(paragraphMarkRunProperties33);

            paragraph33.Append(paragraphProperties33);

            tableCell28.Append(tableCellProperties28);
            tableCell28.Append(paragraph33);

            tableRow7.Append(tableCell25);
            tableRow7.Append(tableCell26);
            tableRow7.Append(tableCell27);
            tableRow7.Append(tableCell28);

            TableRow tableRow8 = new TableRow() { RsidTableRowMarkRevision = "00E17905", RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties3 = new TableRowProperties();
            TableRowHeight tableRowHeight3 = new TableRowHeight() { Val = (UInt32Value)1880U };

            tableRowProperties3.Append(tableRowHeight3);

            TableCell tableCell29 = new TableCell();

            TableCellProperties tableCellProperties29 = new TableCellProperties();
            TableCellWidth tableCellWidth29 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties29.Append(tableCellWidth29);

            Paragraph paragraph34 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties34 = new ParagraphProperties();
            Justification justification24 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties34 = new ParagraphMarkRunProperties();
            RunFonts runFonts77 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize77 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript77 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties34.Append(runFonts77);
            paragraphMarkRunProperties34.Append(fontSize77);
            paragraphMarkRunProperties34.Append(fontSizeComplexScript77);

            paragraphProperties34.Append(justification24);
            paragraphProperties34.Append(paragraphMarkRunProperties34);

            Run run44 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties44 = new RunProperties();
            RunFonts runFonts78 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize78 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript78 = new FontSizeComplexScript() { Val = "20" };

            runProperties44.Append(runFonts78);
            runProperties44.Append(fontSize78);
            runProperties44.Append(fontSizeComplexScript78);
            Text text44 = new Text();
            text44.Text = "6";

            run44.Append(runProperties44);
            run44.Append(text44);

            paragraph34.Append(paragraphProperties34);
            paragraph34.Append(run44);

            tableCell29.Append(tableCellProperties29);
            tableCell29.Append(paragraph34);

            TableCell tableCell30 = new TableCell();

            TableCellProperties tableCellProperties30 = new TableCellProperties();
            TableCellWidth tableCellWidth30 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties30.Append(tableCellWidth30);

            Paragraph paragraph35 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties35 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties35 = new ParagraphMarkRunProperties();
            RunFonts runFonts79 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize79 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript79 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties35.Append(runFonts79);
            paragraphMarkRunProperties35.Append(fontSize79);
            paragraphMarkRunProperties35.Append(fontSizeComplexScript79);

            paragraphProperties35.Append(paragraphMarkRunProperties35);

            Run run45 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties45 = new RunProperties();
            RunFonts runFonts80 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize80 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript80 = new FontSizeComplexScript() { Val = "20" };

            runProperties45.Append(runFonts80);
            runProperties45.Append(fontSize80);
            runProperties45.Append(fontSizeComplexScript80);
            Text text45 = new Text();
            text45.Text = "Описание неисправности:";

            run45.Append(runProperties45);
            run45.Append(text45);

            paragraph35.Append(paragraphProperties35);
            paragraph35.Append(run45);

            tableCell30.Append(tableCellProperties30);
            tableCell30.Append(paragraph35);

            TableCell tableCell31 = new TableCell();

            TableCellProperties tableCellProperties31 = new TableCellProperties();
            TableCellWidth tableCellWidth31 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties31.Append(tableCellWidth31);

            Paragraph paragraph36 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties36 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties36 = new ParagraphMarkRunProperties();
            RunFonts runFonts81 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold30 = new Bold();
            FontSize fontSize81 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript81 = new FontSizeComplexScript() { Val = "20" };
            Languages languages13 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties36.Append(runFonts81);
            paragraphMarkRunProperties36.Append(bold30);
            paragraphMarkRunProperties36.Append(fontSize81);
            paragraphMarkRunProperties36.Append(fontSizeComplexScript81);
            paragraphMarkRunProperties36.Append(languages13);

            paragraphProperties36.Append(paragraphMarkRunProperties36);

            Run run46 = new Run();

            RunProperties runProperties46 = new RunProperties();
            RunFonts runFonts82 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold31 = new Bold();
            FontSize fontSize82 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript82 = new FontSizeComplexScript() { Val = "20" };
            Languages languages14 = new Languages() { Val = "en-US" };

            runProperties46.Append(runFonts82);
            runProperties46.Append(bold31);
            runProperties46.Append(fontSize82);
            runProperties46.Append(fontSizeComplexScript82);
            runProperties46.Append(languages14);
            Text text46 = new Text();
            text46.Text = "DESCRIPTION";

            run46.Append(runProperties46);
            run46.Append(text46);

            paragraph36.Append(paragraphProperties36);
            paragraph36.Append(run46);

            tableCell31.Append(tableCellProperties31);
            tableCell31.Append(paragraph36);

            TableCell tableCell32 = new TableCell();

            TableCellProperties tableCellProperties32 = new TableCellProperties();
            TableCellWidth tableCellWidth32 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties32.Append(tableCellWidth32);

            Paragraph paragraph37 = new Paragraph() { RsidParagraphMarkRevision = "003434A0", RsidParagraphAddition = "003434A0", RsidParagraphProperties = "003434A0", RsidRunAdditionDefault = "003434A0" };

            ParagraphProperties paragraphProperties37 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "a6" };

            ParagraphMarkRunProperties paragraphMarkRunProperties37 = new ParagraphMarkRunProperties();
            RunFonts runFonts83 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize83 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript83 = new FontSizeComplexScript() { Val = "16" };
            Languages languages15 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties37.Append(runFonts83);
            paragraphMarkRunProperties37.Append(fontSize83);
            paragraphMarkRunProperties37.Append(fontSizeComplexScript83);
            paragraphMarkRunProperties37.Append(languages15);

            paragraphProperties37.Append(paragraphStyleId1);
            paragraphProperties37.Append(paragraphMarkRunProperties37);
            ProofError proofError5 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run47 = new Run() { RsidRunProperties = "003434A0" };

            RunProperties runProperties47 = new RunProperties();
            RunFonts runFonts84 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize84 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript84 = new FontSizeComplexScript() { Val = "16" };

            runProperties47.Append(runFonts84);
            runProperties47.Append(fontSize84);
            runProperties47.Append(fontSizeComplexScript84);
            Text text47 = new Text();
            text47.Text = "Сформирована";

            run47.Append(runProperties47);
            run47.Append(text47);

            Run run48 = new Run() { RsidRunProperties = "003434A0" };

            RunProperties runProperties48 = new RunProperties();
            RunFonts runFonts85 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize85 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript85 = new FontSizeComplexScript() { Val = "16" };
            Languages languages16 = new Languages() { Val = "en-US" };

            runProperties48.Append(runFonts85);
            runProperties48.Append(fontSize85);
            runProperties48.Append(fontSizeComplexScript85);
            runProperties48.Append(languages16);
            Text text48 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text48.Text = " ";

            run48.Append(runProperties48);
            run48.Append(text48);
            ProofError proofError6 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run49 = new Run() { RsidRunProperties = "003434A0" };

            RunProperties runProperties49 = new RunProperties();
            RunFonts runFonts86 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize86 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript86 = new FontSizeComplexScript() { Val = "16" };
            Languages languages17 = new Languages() { Val = "en-US" };

            runProperties49.Append(runFonts86);
            runProperties49.Append(fontSize86);
            runProperties49.Append(fontSizeComplexScript86);
            runProperties49.Append(languages17);
            Text text49 = new Text();
            text49.Text = "HSA_Maintanance";

            run49.Append(runProperties49);
            run49.Append(text49);
            ProofError proofError7 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run50 = new Run() { RsidRunProperties = "003434A0" };

            RunProperties runProperties50 = new RunProperties();
            RunFonts runFonts87 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize87 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript87 = new FontSizeComplexScript() { Val = "16" };
            Languages languages18 = new Languages() { Val = "en-US" };

            runProperties50.Append(runFonts87);
            runProperties50.Append(fontSize87);
            runProperties50.Append(fontSizeComplexScript87);
            runProperties50.Append(languages18);
            Text text50 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text50.Text = " DATETIMENOW";

            run50.Append(runProperties50);
            run50.Append(text50);
            ProofError proofError8 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            paragraph37.Append(paragraphProperties37);
            paragraph37.Append(proofError5);
            paragraph37.Append(run47);
            paragraph37.Append(run48);
            paragraph37.Append(proofError6);
            paragraph37.Append(run49);
            paragraph37.Append(proofError7);
            paragraph37.Append(run50);
            paragraph37.Append(proofError8);

            Paragraph paragraph38 = new Paragraph() { RsidParagraphMarkRevision = "00E17905", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "003434A0", RsidRunAdditionDefault = "00E17905" };

            ParagraphProperties paragraphProperties38 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties38 = new ParagraphMarkRunProperties();
            RunFonts runFonts88 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize88 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript88 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties38.Append(runFonts88);
            paragraphMarkRunProperties38.Append(fontSize88);
            paragraphMarkRunProperties38.Append(fontSizeComplexScript88);

            paragraphProperties38.Append(paragraphMarkRunProperties38);

            Run run51 = new Run();

            RunProperties runProperties51 = new RunProperties();
            RunFonts runFonts89 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize89 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript89 = new FontSizeComplexScript() { Val = "16" };
            Languages languages19 = new Languages() { Val = "en-US" };

            runProperties51.Append(runFonts89);
            runProperties51.Append(fontSize89);
            runProperties51.Append(fontSizeComplexScript89);
            runProperties51.Append(languages19);
            Text text51 = new Text();
            text51.Text = "ID";

            run51.Append(runProperties51);
            run51.Append(text51);

            Run run52 = new Run() { RsidRunProperties = "00E17905", RsidRunAddition = "00D209DB" };

            RunProperties runProperties52 = new RunProperties();
            RunFonts runFonts90 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize90 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript90 = new FontSizeComplexScript() { Val = "16" };

            runProperties52.Append(runFonts90);
            runProperties52.Append(fontSize90);
            runProperties52.Append(fontSizeComplexScript90);
            Text text52 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text52.Text = ":  ";

            run52.Append(runProperties52);
            run52.Append(text52);

            Run run53 = new Run() { RsidRunProperties = "00E17905" };

            RunProperties runProperties53 = new RunProperties();
            RunFonts runFonts91 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize91 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript91 = new FontSizeComplexScript() { Val = "16" };
            Languages languages20 = new Languages() { Val = "en-US" };

            runProperties53.Append(runFonts91);
            runProperties53.Append(fontSize91);
            runProperties53.Append(fontSizeComplexScript91);
            runProperties53.Append(languages20);
            Text text53 = new Text();
            text53.Text = "REPORDERID";

            run53.Append(runProperties53);
            run53.Append(text53);

            paragraph38.Append(paragraphProperties38);
            paragraph38.Append(run51);
            paragraph38.Append(run52);
            paragraph38.Append(run53);

            tableCell32.Append(tableCellProperties32);
            tableCell32.Append(paragraph37);
            tableCell32.Append(paragraph38);

            tableRow8.Append(tableRowProperties3);
            tableRow8.Append(tableCell29);
            tableRow8.Append(tableCell30);
            tableRow8.Append(tableCell31);
            tableRow8.Append(tableCell32);
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            TableRow tableRow9 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties4 = new TableRowProperties();
            TableRowHeight tableRowHeight4 = new TableRowHeight() { Val = (UInt32Value)418U };

            tableRowProperties4.Append(tableRowHeight4);

            TableCell tableCell33 = new TableCell();

            TableCellProperties tableCellProperties33 = new TableCellProperties();
            TableCellWidth tableCellWidth33 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties33.Append(tableCellWidth33);

            Paragraph paragraph39 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties39 = new ParagraphProperties();
            Justification justification25 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties39 = new ParagraphMarkRunProperties();
            RunFonts runFonts92 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize92 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript92 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties39.Append(runFonts92);
            paragraphMarkRunProperties39.Append(fontSize92);
            paragraphMarkRunProperties39.Append(fontSizeComplexScript92);

            paragraphProperties39.Append(justification25);
            paragraphProperties39.Append(paragraphMarkRunProperties39);

            Run run54 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties54 = new RunProperties();
            RunFonts runFonts93 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize93 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript93 = new FontSizeComplexScript() { Val = "20" };

            runProperties54.Append(runFonts93);
            runProperties54.Append(fontSize93);
            runProperties54.Append(fontSizeComplexScript93);
            Text text54 = new Text();
            text54.Text = "7";

            run54.Append(runProperties54);
            run54.Append(text54);

            paragraph39.Append(paragraphProperties39);
            paragraph39.Append(run54);

            tableCell33.Append(tableCellProperties33);
            tableCell33.Append(paragraph39);

            TableCell tableCell34 = new TableCell();

            TableCellProperties tableCellProperties34 = new TableCellProperties();
            TableCellWidth tableCellWidth34 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties34.Append(tableCellWidth34);

            Paragraph paragraph40 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties40 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties40 = new ParagraphMarkRunProperties();
            RunFonts runFonts94 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize94 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript94 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties40.Append(runFonts94);
            paragraphMarkRunProperties40.Append(fontSize94);
            paragraphMarkRunProperties40.Append(fontSizeComplexScript94);

            paragraphProperties40.Append(paragraphMarkRunProperties40);

            Run run55 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties55 = new RunProperties();
            RunFonts runFonts95 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize95 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript95 = new FontSizeComplexScript() { Val = "20" };

            runProperties55.Append(runFonts95);
            runProperties55.Append(fontSize95);
            runProperties55.Append(fontSizeComplexScript95);
            Text text55 = new Text();
            text55.Text = "Дата обнаружения:";

            run55.Append(runProperties55);
            run55.Append(text55);

            paragraph40.Append(paragraphProperties40);
            paragraph40.Append(run55);

            tableCell34.Append(tableCellProperties34);
            tableCell34.Append(paragraph40);

            TableCell tableCell35 = new TableCell();

            TableCellProperties tableCellProperties35 = new TableCellProperties();
            TableCellWidth tableCellWidth35 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties35.Append(tableCellWidth35);

            Paragraph paragraph41 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties41 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties41 = new ParagraphMarkRunProperties();
            RunFonts runFonts96 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold32 = new Bold();
            FontSize fontSize96 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript96 = new FontSizeComplexScript() { Val = "20" };
            Languages languages21 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties41.Append(runFonts96);
            paragraphMarkRunProperties41.Append(bold32);
            paragraphMarkRunProperties41.Append(fontSize96);
            paragraphMarkRunProperties41.Append(fontSizeComplexScript96);
            paragraphMarkRunProperties41.Append(languages21);

            paragraphProperties41.Append(paragraphMarkRunProperties41);

            Run run56 = new Run();

            RunProperties runProperties56 = new RunProperties();
            RunFonts runFonts97 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold33 = new Bold();
            FontSize fontSize97 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript97 = new FontSizeComplexScript() { Val = "20" };
            Languages languages22 = new Languages() { Val = "en-US" };

            runProperties56.Append(runFonts97);
            runProperties56.Append(bold33);
            runProperties56.Append(fontSize97);
            runProperties56.Append(fontSizeComplexScript97);
            runProperties56.Append(languages22);
            Text text56 = new Text();
            text56.Text = "REVEALEDDATE";

            run56.Append(runProperties56);
            run56.Append(text56);

            paragraph41.Append(paragraphProperties41);
            paragraph41.Append(run56);

            tableCell35.Append(tableCellProperties35);
            tableCell35.Append(paragraph41);

            TableCell tableCell36 = new TableCell();

            TableCellProperties tableCellProperties36 = new TableCellProperties();
            TableCellWidth tableCellWidth36 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties36.Append(tableCellWidth36);

            Paragraph paragraph42 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties42 = new ParagraphProperties();
            Justification justification26 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties42 = new ParagraphMarkRunProperties();
            RunFonts runFonts98 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize98 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript98 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties42.Append(runFonts98);
            paragraphMarkRunProperties42.Append(fontSize98);
            paragraphMarkRunProperties42.Append(fontSizeComplexScript98);

            paragraphProperties42.Append(justification26);
            paragraphProperties42.Append(paragraphMarkRunProperties42);

            paragraph42.Append(paragraphProperties42);

            tableCell36.Append(tableCellProperties36);
            tableCell36.Append(paragraph42);

            tableRow9.Append(tableRowProperties4);
            tableRow9.Append(tableCell33);
            tableRow9.Append(tableCell34);
            tableRow9.Append(tableCell35);
            tableRow9.Append(tableCell36);

            TableRow tableRow10 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties5 = new TableRowProperties();
            TableRowHeight tableRowHeight5 = new TableRowHeight() { Val = (UInt32Value)553U };

            tableRowProperties5.Append(tableRowHeight5);

            TableCell tableCell37 = new TableCell();

            TableCellProperties tableCellProperties37 = new TableCellProperties();
            TableCellWidth tableCellWidth37 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties37.Append(tableCellWidth37);

            Paragraph paragraph43 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties43 = new ParagraphProperties();
            Justification justification27 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties43 = new ParagraphMarkRunProperties();
            RunFonts runFonts99 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize99 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript99 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties43.Append(runFonts99);
            paragraphMarkRunProperties43.Append(fontSize99);
            paragraphMarkRunProperties43.Append(fontSizeComplexScript99);

            paragraphProperties43.Append(justification27);
            paragraphProperties43.Append(paragraphMarkRunProperties43);

            Run run57 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties57 = new RunProperties();
            RunFonts runFonts100 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize100 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript100 = new FontSizeComplexScript() { Val = "20" };

            runProperties57.Append(runFonts100);
            runProperties57.Append(fontSize100);
            runProperties57.Append(fontSizeComplexScript100);
            Text text57 = new Text();
            text57.Text = "8";

            run57.Append(runProperties57);
            run57.Append(text57);

            paragraph43.Append(paragraphProperties43);
            paragraph43.Append(run57);

            tableCell37.Append(tableCellProperties37);
            tableCell37.Append(paragraph43);

            TableCell tableCell38 = new TableCell();

            TableCellProperties tableCellProperties38 = new TableCellProperties();
            TableCellWidth tableCellWidth38 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties38.Append(tableCellWidth38);

            Paragraph paragraph44 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties44 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties44 = new ParagraphMarkRunProperties();
            RunFonts runFonts101 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize101 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript101 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties44.Append(runFonts101);
            paragraphMarkRunProperties44.Append(fontSize101);
            paragraphMarkRunProperties44.Append(fontSizeComplexScript101);

            paragraphProperties44.Append(paragraphMarkRunProperties44);

            Run run58 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties58 = new RunProperties();
            RunFonts runFonts102 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize102 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript102 = new FontSizeComplexScript() { Val = "20" };

            runProperties58.Append(runFonts102);
            runProperties58.Append(fontSize102);
            runProperties58.Append(fontSizeComplexScript102);
            Text text58 = new Text();
            text58.Text = "Адрес объекта:";

            run58.Append(runProperties58);
            run58.Append(text58);

            paragraph44.Append(paragraphProperties44);
            paragraph44.Append(run58);

            tableCell38.Append(tableCellProperties38);
            tableCell38.Append(paragraph44);

            TableCell tableCell39 = new TableCell();

            TableCellProperties tableCellProperties39 = new TableCellProperties();
            TableCellWidth tableCellWidth39 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties39.Append(tableCellWidth39);

            Paragraph paragraph45 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties45 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties45 = new ParagraphMarkRunProperties();
            RunFonts runFonts103 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold34 = new Bold();
            FontSize fontSize103 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript103 = new FontSizeComplexScript() { Val = "20" };
            Languages languages23 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties45.Append(runFonts103);
            paragraphMarkRunProperties45.Append(bold34);
            paragraphMarkRunProperties45.Append(fontSize103);
            paragraphMarkRunProperties45.Append(fontSizeComplexScript103);
            paragraphMarkRunProperties45.Append(languages23);

            paragraphProperties45.Append(paragraphMarkRunProperties45);

            Run run59 = new Run();

            RunProperties runProperties59 = new RunProperties();
            RunFonts runFonts104 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold35 = new Bold();
            FontSize fontSize104 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript104 = new FontSizeComplexScript() { Val = "20" };
            Languages languages24 = new Languages() { Val = "en-US" };

            runProperties59.Append(runFonts104);
            runProperties59.Append(bold35);
            runProperties59.Append(fontSize104);
            runProperties59.Append(fontSizeComplexScript104);
            runProperties59.Append(languages24);
            Text text59 = new Text();
            text59.Text = "ADRESS";

            run59.Append(runProperties59);
            run59.Append(text59);

            paragraph45.Append(paragraphProperties45);
            paragraph45.Append(run59);

            tableCell39.Append(tableCellProperties39);
            tableCell39.Append(paragraph45);

            TableCell tableCell40 = new TableCell();

            TableCellProperties tableCellProperties40 = new TableCellProperties();
            TableCellWidth tableCellWidth40 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties40.Append(tableCellWidth40);

            Paragraph paragraph46 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties46 = new ParagraphProperties();
            Justification justification28 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties46 = new ParagraphMarkRunProperties();
            RunFonts runFonts105 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize105 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript105 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties46.Append(runFonts105);
            paragraphMarkRunProperties46.Append(fontSize105);
            paragraphMarkRunProperties46.Append(fontSizeComplexScript105);

            paragraphProperties46.Append(justification28);
            paragraphProperties46.Append(paragraphMarkRunProperties46);

            paragraph46.Append(paragraphProperties46);

            tableCell40.Append(tableCellProperties40);
            tableCell40.Append(paragraph46);

            tableRow10.Append(tableRowProperties5);
            tableRow10.Append(tableCell37);
            tableRow10.Append(tableCell38);
            tableRow10.Append(tableCell39);
            tableRow10.Append(tableCell40);

            TableRow tableRow11 = new TableRow() { RsidTableRowMarkRevision = "00E17905", RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell41 = new TableCell();

            TableCellProperties tableCellProperties41 = new TableCellProperties();
            TableCellWidth tableCellWidth41 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties41.Append(tableCellWidth41);

            Paragraph paragraph47 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties47 = new ParagraphProperties();
            Justification justification29 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties47 = new ParagraphMarkRunProperties();
            RunFonts runFonts106 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize106 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript106 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties47.Append(runFonts106);
            paragraphMarkRunProperties47.Append(fontSize106);
            paragraphMarkRunProperties47.Append(fontSizeComplexScript106);

            paragraphProperties47.Append(justification29);
            paragraphProperties47.Append(paragraphMarkRunProperties47);

            Run run60 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties60 = new RunProperties();
            RunFonts runFonts107 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize107 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript107 = new FontSizeComplexScript() { Val = "20" };

            runProperties60.Append(runFonts107);
            runProperties60.Append(fontSize107);
            runProperties60.Append(fontSizeComplexScript107);
            Text text60 = new Text();
            text60.Text = "9";

            run60.Append(runProperties60);
            run60.Append(text60);

            paragraph47.Append(paragraphProperties47);
            paragraph47.Append(run60);

            tableCell41.Append(tableCellProperties41);
            tableCell41.Append(paragraph47);

            TableCell tableCell42 = new TableCell();

            TableCellProperties tableCellProperties42 = new TableCellProperties();
            TableCellWidth tableCellWidth42 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties42.Append(tableCellWidth42);

            Paragraph paragraph48 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties48 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties48 = new ParagraphMarkRunProperties();
            RunFonts runFonts108 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize108 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript108 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties48.Append(runFonts108);
            paragraphMarkRunProperties48.Append(fontSize108);
            paragraphMarkRunProperties48.Append(fontSizeComplexScript108);

            paragraphProperties48.Append(paragraphMarkRunProperties48);

            Run run61 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties61 = new RunProperties();
            RunFonts runFonts109 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize109 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript109 = new FontSizeComplexScript() { Val = "20" };

            runProperties61.Append(runFonts109);
            runProperties61.Append(fontSize109);
            runProperties61.Append(fontSizeComplexScript109);
            Text text61 = new Text();
            text61.Text = "Контактное лицо:";

            run61.Append(runProperties61);
            run61.Append(text61);

            paragraph48.Append(paragraphProperties48);
            paragraph48.Append(run61);

            Paragraph paragraph49 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties49 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties49 = new ParagraphMarkRunProperties();
            RunFonts runFonts110 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize110 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript110 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties49.Append(runFonts110);
            paragraphMarkRunProperties49.Append(fontSize110);
            paragraphMarkRunProperties49.Append(fontSizeComplexScript110);

            paragraphProperties49.Append(paragraphMarkRunProperties49);

            Run run62 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties62 = new RunProperties();
            RunFonts runFonts111 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize111 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript111 = new FontSizeComplexScript() { Val = "20" };

            runProperties62.Append(runFonts111);
            runProperties62.Append(fontSize111);
            runProperties62.Append(fontSizeComplexScript111);
            Text text62 = new Text();
            text62.Text = "(Ф.И.О., должность)";

            run62.Append(runProperties62);
            run62.Append(text62);

            paragraph49.Append(paragraphProperties49);
            paragraph49.Append(run62);

            tableCell42.Append(tableCellProperties42);
            tableCell42.Append(paragraph48);
            tableCell42.Append(paragraph49);

            TableCell tableCell43 = new TableCell();

            TableCellProperties tableCellProperties43 = new TableCellProperties();
            TableCellWidth tableCellWidth43 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties43.Append(tableCellWidth43);

            Paragraph paragraph50 = new Paragraph() { RsidParagraphAddition = "00980A5B", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties50 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties50 = new ParagraphMarkRunProperties();
            RunFonts runFonts112 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold36 = new Bold();
            FontSize fontSize112 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript112 = new FontSizeComplexScript() { Val = "20" };
            Languages languages25 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties50.Append(runFonts112);
            paragraphMarkRunProperties50.Append(bold36);
            paragraphMarkRunProperties50.Append(fontSize112);
            paragraphMarkRunProperties50.Append(fontSizeComplexScript112);
            paragraphMarkRunProperties50.Append(languages25);

            paragraphProperties50.Append(paragraphMarkRunProperties50);

            Run run63 = new Run();

            RunProperties runProperties63 = new RunProperties();
            RunFonts runFonts113 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold37 = new Bold();
            FontSize fontSize113 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript113 = new FontSizeComplexScript() { Val = "20" };
            Languages languages26 = new Languages() { Val = "en-US" };

            runProperties63.Append(runFonts113);
            runProperties63.Append(bold37);
            runProperties63.Append(fontSize113);
            runProperties63.Append(fontSizeComplexScript113);
            runProperties63.Append(languages26);
            Text text63 = new Text();
            text63.Text = "CONENAME";

            run63.Append(runProperties63);
            run63.Append(text63);

            paragraph50.Append(paragraphProperties50);
            paragraph50.Append(run63);

            Paragraph paragraph51 = new Paragraph() { RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties51 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties51 = new ParagraphMarkRunProperties();
            RunFonts runFonts114 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold38 = new Bold();
            FontSize fontSize114 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript114 = new FontSizeComplexScript() { Val = "20" };
            Languages languages27 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties51.Append(runFonts114);
            paragraphMarkRunProperties51.Append(bold38);
            paragraphMarkRunProperties51.Append(fontSize114);
            paragraphMarkRunProperties51.Append(fontSizeComplexScript114);
            paragraphMarkRunProperties51.Append(languages27);

            paragraphProperties51.Append(paragraphMarkRunProperties51);

            Run run64 = new Run();

            RunProperties runProperties64 = new RunProperties();
            RunFonts runFonts115 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold39 = new Bold();
            FontSize fontSize115 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript115 = new FontSizeComplexScript() { Val = "20" };
            Languages languages28 = new Languages() { Val = "en-US" };

            runProperties64.Append(runFonts115);
            runProperties64.Append(bold39);
            runProperties64.Append(fontSize115);
            runProperties64.Append(fontSizeComplexScript115);
            runProperties64.Append(languages28);
            Text text64 = new Text();
            text64.Text = "CTWONAME";

            run64.Append(runProperties64);
            run64.Append(text64);

            paragraph51.Append(paragraphProperties51);
            paragraph51.Append(run64);

            Paragraph paragraph52 = new Paragraph() { RsidParagraphMarkRevision = "00D9517A", RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00CB2215" };

            ParagraphProperties paragraphProperties52 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties52 = new ParagraphMarkRunProperties();
            RunFonts runFonts116 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold40 = new Bold();
            FontSize fontSize116 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript116 = new FontSizeComplexScript() { Val = "20" };
            Languages languages29 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties52.Append(runFonts116);
            paragraphMarkRunProperties52.Append(bold40);
            paragraphMarkRunProperties52.Append(fontSize116);
            paragraphMarkRunProperties52.Append(fontSizeComplexScript116);
            paragraphMarkRunProperties52.Append(languages29);

            paragraphProperties52.Append(paragraphMarkRunProperties52);

            Run run65 = new Run() { RsidRunProperties = "00CB2215" };

            RunProperties runProperties65 = new RunProperties();
            RunFonts runFonts117 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold41 = new Bold();
            FontSize fontSize117 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript117 = new FontSizeComplexScript() { Val = "20" };
            Languages languages30 = new Languages() { Val = "en-US" };

            runProperties65.Append(runFonts117);
            runProperties65.Append(bold41);
            runProperties65.Append(fontSize117);
            runProperties65.Append(fontSizeComplexScript117);
            runProperties65.Append(languages30);
            Text text65 = new Text();
            text65.Text = "CTRINAME";

            run65.Append(runProperties65);
            run65.Append(text65);

            paragraph52.Append(paragraphProperties52);
            paragraph52.Append(run65);

            Paragraph paragraph53 = new Paragraph() { RsidParagraphMarkRevision = "00D9517A", RsidParagraphAddition = "00D9517A", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00D9517A" };

            ParagraphProperties paragraphProperties53 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties53 = new ParagraphMarkRunProperties();
            RunFonts runFonts118 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold42 = new Bold();
            FontSize fontSize118 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript118 = new FontSizeComplexScript() { Val = "20" };
            Languages languages31 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties53.Append(runFonts118);
            paragraphMarkRunProperties53.Append(bold42);
            paragraphMarkRunProperties53.Append(fontSize118);
            paragraphMarkRunProperties53.Append(fontSizeComplexScript118);
            paragraphMarkRunProperties53.Append(languages31);

            paragraphProperties53.Append(paragraphMarkRunProperties53);

            Run run66 = new Run();

            RunProperties runProperties66 = new RunProperties();
            RunFonts runFonts119 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold43 = new Bold();
            FontSize fontSize119 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript119 = new FontSizeComplexScript() { Val = "20" };
            Languages languages32 = new Languages() { Val = "en-US" };

            runProperties66.Append(runFonts119);
            runProperties66.Append(bold43);
            runProperties66.Append(fontSize119);
            runProperties66.Append(fontSizeComplexScript119);
            runProperties66.Append(languages32);
            Text text66 = new Text();
            text66.Text = "CFOURNAME";

            run66.Append(runProperties66);
            run66.Append(text66);

            paragraph53.Append(paragraphProperties53);
            paragraph53.Append(run66);

            Paragraph paragraph54 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties54 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties54 = new ParagraphMarkRunProperties();
            RunFonts runFonts120 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold44 = new Bold();
            FontSize fontSize120 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript120 = new FontSizeComplexScript() { Val = "20" };
            Languages languages33 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties54.Append(runFonts120);
            paragraphMarkRunProperties54.Append(bold44);
            paragraphMarkRunProperties54.Append(fontSize120);
            paragraphMarkRunProperties54.Append(fontSizeComplexScript120);
            paragraphMarkRunProperties54.Append(languages33);

            paragraphProperties54.Append(paragraphMarkRunProperties54);

            Run run67 = new Run();

            RunProperties runProperties67 = new RunProperties();
            RunFonts runFonts121 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold45 = new Bold();
            FontSize fontSize121 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript121 = new FontSizeComplexScript() { Val = "20" };
            Languages languages34 = new Languages() { Val = "en-US" };

            runProperties67.Append(runFonts121);
            runProperties67.Append(bold45);
            runProperties67.Append(fontSize121);
            runProperties67.Append(fontSizeComplexScript121);
            runProperties67.Append(languages34);
            Text text67 = new Text();
            text67.Text = "CFIVENAME";

            run67.Append(runProperties67);
            run67.Append(text67);

            paragraph54.Append(paragraphProperties54);
            paragraph54.Append(run67);

            tableCell43.Append(tableCellProperties43);
            tableCell43.Append(paragraph50);
            tableCell43.Append(paragraph51);
            tableCell43.Append(paragraph52);
            tableCell43.Append(paragraph53);
            tableCell43.Append(paragraph54);

            TableCell tableCell44 = new TableCell();

            TableCellProperties tableCellProperties44 = new TableCellProperties();
            TableCellWidth tableCellWidth44 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties44.Append(tableCellWidth44);

            Paragraph paragraph55 = new Paragraph() { RsidParagraphMarkRevision = "001403E6", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties55 = new ParagraphProperties();
            Justification justification30 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties55 = new ParagraphMarkRunProperties();
            RunFonts runFonts122 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize122 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript122 = new FontSizeComplexScript() { Val = "20" };
            Languages languages35 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties55.Append(runFonts122);
            paragraphMarkRunProperties55.Append(fontSize122);
            paragraphMarkRunProperties55.Append(fontSizeComplexScript122);
            paragraphMarkRunProperties55.Append(languages35);

            paragraphProperties55.Append(justification30);
            paragraphProperties55.Append(paragraphMarkRunProperties55);

            paragraph55.Append(paragraphProperties55);

            tableCell44.Append(tableCellProperties44);
            tableCell44.Append(paragraph55);

            tableRow11.Append(tableCell41);
            tableRow11.Append(tableCell42);
            tableRow11.Append(tableCell43);
            tableRow11.Append(tableCell44);

            TableRow tableRow12 = new TableRow() { RsidTableRowMarkRevision = "00E17905", RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableCell tableCell45 = new TableCell();

            TableCellProperties tableCellProperties45 = new TableCellProperties();
            TableCellWidth tableCellWidth45 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties45.Append(tableCellWidth45);

            Paragraph paragraph56 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties56 = new ParagraphProperties();
            Justification justification31 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties56 = new ParagraphMarkRunProperties();
            RunFonts runFonts123 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize123 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript123 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties56.Append(runFonts123);
            paragraphMarkRunProperties56.Append(fontSize123);
            paragraphMarkRunProperties56.Append(fontSizeComplexScript123);

            paragraphProperties56.Append(justification31);
            paragraphProperties56.Append(paragraphMarkRunProperties56);

            Run run68 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties68 = new RunProperties();
            RunFonts runFonts124 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize124 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript124 = new FontSizeComplexScript() { Val = "20" };

            runProperties68.Append(runFonts124);
            runProperties68.Append(fontSize124);
            runProperties68.Append(fontSizeComplexScript124);
            Text text68 = new Text();
            text68.Text = "10";

            run68.Append(runProperties68);
            run68.Append(text68);

            paragraph56.Append(paragraphProperties56);
            paragraph56.Append(run68);

            tableCell45.Append(tableCellProperties45);
            tableCell45.Append(paragraph56);

            TableCell tableCell46 = new TableCell();

            TableCellProperties tableCellProperties46 = new TableCellProperties();
            TableCellWidth tableCellWidth46 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties46.Append(tableCellWidth46);

            Paragraph paragraph57 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties57 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties57 = new ParagraphMarkRunProperties();
            RunFonts runFonts125 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize125 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript125 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties57.Append(runFonts125);
            paragraphMarkRunProperties57.Append(fontSize125);
            paragraphMarkRunProperties57.Append(fontSizeComplexScript125);

            paragraphProperties57.Append(paragraphMarkRunProperties57);

            Run run69 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties69 = new RunProperties();
            RunFonts runFonts126 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize126 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript126 = new FontSizeComplexScript() { Val = "20" };

            runProperties69.Append(runFonts126);
            runProperties69.Append(fontSize126);
            runProperties69.Append(fontSizeComplexScript126);
            Text text69 = new Text();
            text69.Text = "Контактные данные:";

            run69.Append(runProperties69);
            run69.Append(text69);

            paragraph57.Append(paragraphProperties57);
            paragraph57.Append(run69);

            Paragraph paragraph58 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties58 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties58 = new ParagraphMarkRunProperties();
            RunFonts runFonts127 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize127 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript127 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties58.Append(runFonts127);
            paragraphMarkRunProperties58.Append(fontSize127);
            paragraphMarkRunProperties58.Append(fontSizeComplexScript127);

            paragraphProperties58.Append(paragraphMarkRunProperties58);

            Run run70 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties70 = new RunProperties();
            RunFonts runFonts128 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize128 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript128 = new FontSizeComplexScript() { Val = "20" };

            runProperties70.Append(runFonts128);
            runProperties70.Append(fontSize128);
            runProperties70.Append(fontSizeComplexScript128);
            Text text70 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text70.Text = "(телефон, факс, ";

            run70.Append(runProperties70);
            run70.Append(text70);

            Run run71 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties71 = new RunProperties();
            RunFonts runFonts129 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize129 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript129 = new FontSizeComplexScript() { Val = "20" };
            Languages languages36 = new Languages() { Val = "en-US" };

            runProperties71.Append(runFonts129);
            runProperties71.Append(fontSize129);
            runProperties71.Append(fontSizeComplexScript129);
            runProperties71.Append(languages36);
            Text text71 = new Text();
            text71.Text = "e";

            run71.Append(runProperties71);
            run71.Append(text71);

            Run run72 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties72 = new RunProperties();
            RunFonts runFonts130 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize130 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript130 = new FontSizeComplexScript() { Val = "20" };

            runProperties72.Append(runFonts130);
            runProperties72.Append(fontSize130);
            runProperties72.Append(fontSizeComplexScript130);
            Text text72 = new Text();
            text72.Text = "-";

            run72.Append(runProperties72);
            run72.Append(text72);

            Run run73 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties73 = new RunProperties();
            RunFonts runFonts131 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize131 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript131 = new FontSizeComplexScript() { Val = "20" };
            Languages languages37 = new Languages() { Val = "en-US" };

            runProperties73.Append(runFonts131);
            runProperties73.Append(fontSize131);
            runProperties73.Append(fontSizeComplexScript131);
            runProperties73.Append(languages37);
            Text text73 = new Text();
            text73.Text = "mail";

            run73.Append(runProperties73);
            run73.Append(text73);

            Run run74 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties74 = new RunProperties();
            RunFonts runFonts132 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize132 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript132 = new FontSizeComplexScript() { Val = "20" };

            runProperties74.Append(runFonts132);
            runProperties74.Append(fontSize132);
            runProperties74.Append(fontSizeComplexScript132);
            Text text74 = new Text();
            text74.Text = ")";

            run74.Append(runProperties74);
            run74.Append(text74);

            paragraph58.Append(paragraphProperties58);
            paragraph58.Append(run70);
            paragraph58.Append(run71);
            paragraph58.Append(run72);
            paragraph58.Append(run73);
            paragraph58.Append(run74);

            tableCell46.Append(tableCellProperties46);
            tableCell46.Append(paragraph57);
            tableCell46.Append(paragraph58);

            TableCell tableCell47 = new TableCell();

            TableCellProperties tableCellProperties47 = new TableCellProperties();
            TableCellWidth tableCellWidth47 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties47.Append(tableCellWidth47);

            Paragraph paragraph59 = new Paragraph() { RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00633FB5", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties59 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties59 = new ParagraphMarkRunProperties();
            RunFonts runFonts133 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold46 = new Bold();
            FontSize fontSize133 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript133 = new FontSizeComplexScript() { Val = "20" };
            Languages languages38 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties59.Append(runFonts133);
            paragraphMarkRunProperties59.Append(bold46);
            paragraphMarkRunProperties59.Append(fontSize133);
            paragraphMarkRunProperties59.Append(fontSizeComplexScript133);
            paragraphMarkRunProperties59.Append(languages38);

            paragraphProperties59.Append(paragraphMarkRunProperties59);

            Run run75 = new Run();

            RunProperties runProperties75 = new RunProperties();
            RunFonts runFonts134 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold47 = new Bold();
            FontSize fontSize134 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript134 = new FontSizeComplexScript() { Val = "20" };
            Languages languages39 = new Languages() { Val = "en-US" };

            runProperties75.Append(runFonts134);
            runProperties75.Append(bold47);
            runProperties75.Append(fontSize134);
            runProperties75.Append(fontSizeComplexScript134);
            runProperties75.Append(languages39);
            Text text75 = new Text();
            text75.Text = "CONEDATA";

            run75.Append(runProperties75);
            run75.Append(text75);

            paragraph59.Append(paragraphProperties59);
            paragraph59.Append(run75);

            Paragraph paragraph60 = new Paragraph() { RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00633FB5", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties60 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties60 = new ParagraphMarkRunProperties();
            RunFonts runFonts135 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold48 = new Bold();
            FontSize fontSize135 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript135 = new FontSizeComplexScript() { Val = "20" };
            Languages languages40 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties60.Append(runFonts135);
            paragraphMarkRunProperties60.Append(bold48);
            paragraphMarkRunProperties60.Append(fontSize135);
            paragraphMarkRunProperties60.Append(fontSizeComplexScript135);
            paragraphMarkRunProperties60.Append(languages40);

            paragraphProperties60.Append(paragraphMarkRunProperties60);

            Run run76 = new Run();

            RunProperties runProperties76 = new RunProperties();
            RunFonts runFonts136 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold49 = new Bold();
            FontSize fontSize136 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript136 = new FontSizeComplexScript() { Val = "20" };
            Languages languages41 = new Languages() { Val = "en-US" };

            runProperties76.Append(runFonts136);
            runProperties76.Append(bold49);
            runProperties76.Append(fontSize136);
            runProperties76.Append(fontSizeComplexScript136);
            runProperties76.Append(languages41);
            Text text76 = new Text();
            text76.Text = "CTWODATA";

            run76.Append(runProperties76);
            run76.Append(text76);

            paragraph60.Append(paragraphProperties60);
            paragraph60.Append(run76);

            Paragraph paragraph61 = new Paragraph() { RsidParagraphAddition = "0085395D", RsidParagraphProperties = "00633FB5", RsidRunAdditionDefault = "0085395D" };

            ParagraphProperties paragraphProperties61 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties61 = new ParagraphMarkRunProperties();
            RunFonts runFonts137 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold50 = new Bold();
            FontSize fontSize137 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript137 = new FontSizeComplexScript() { Val = "20" };
            Languages languages42 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties61.Append(runFonts137);
            paragraphMarkRunProperties61.Append(bold50);
            paragraphMarkRunProperties61.Append(fontSize137);
            paragraphMarkRunProperties61.Append(fontSizeComplexScript137);
            paragraphMarkRunProperties61.Append(languages42);

            paragraphProperties61.Append(paragraphMarkRunProperties61);

            Run run77 = new Run();

            RunProperties runProperties77 = new RunProperties();
            RunFonts runFonts138 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold51 = new Bold();
            FontSize fontSize138 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript138 = new FontSizeComplexScript() { Val = "20" };
            Languages languages43 = new Languages() { Val = "en-US" };

            runProperties77.Append(runFonts138);
            runProperties77.Append(bold51);
            runProperties77.Append(fontSize138);
            runProperties77.Append(fontSizeComplexScript138);
            runProperties77.Append(languages43);
            Text text77 = new Text();
            text77.Text = "CTRIDATA";

            run77.Append(runProperties77);
            run77.Append(text77);

            paragraph61.Append(paragraphProperties61);
            paragraph61.Append(run77);

            Paragraph paragraph62 = new Paragraph() { RsidParagraphAddition = "00633FB5", RsidParagraphProperties = "00633FB5", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties62 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties62 = new ParagraphMarkRunProperties();
            RunFonts runFonts139 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold52 = new Bold();
            FontSize fontSize139 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript139 = new FontSizeComplexScript() { Val = "20" };
            Languages languages44 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties62.Append(runFonts139);
            paragraphMarkRunProperties62.Append(bold52);
            paragraphMarkRunProperties62.Append(fontSize139);
            paragraphMarkRunProperties62.Append(fontSizeComplexScript139);
            paragraphMarkRunProperties62.Append(languages44);

            paragraphProperties62.Append(paragraphMarkRunProperties62);

            Run run78 = new Run();

            RunProperties runProperties78 = new RunProperties();
            RunFonts runFonts140 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold53 = new Bold();
            FontSize fontSize140 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript140 = new FontSizeComplexScript() { Val = "20" };
            Languages languages45 = new Languages() { Val = "en-US" };

            runProperties78.Append(runFonts140);
            runProperties78.Append(bold53);
            runProperties78.Append(fontSize140);
            runProperties78.Append(fontSizeComplexScript140);
            runProperties78.Append(languages45);
            Text text78 = new Text();
            text78.Text = "CFOURDATA";

            run78.Append(runProperties78);
            run78.Append(text78);

            paragraph62.Append(paragraphProperties62);
            paragraph62.Append(run78);

            Paragraph paragraph63 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00980A5B", RsidParagraphProperties = "00633FB5", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties63 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties63 = new ParagraphMarkRunProperties();
            RunFonts runFonts141 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold54 = new Bold();
            FontSize fontSize141 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript141 = new FontSizeComplexScript() { Val = "20" };
            Languages languages46 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties63.Append(runFonts141);
            paragraphMarkRunProperties63.Append(bold54);
            paragraphMarkRunProperties63.Append(fontSize141);
            paragraphMarkRunProperties63.Append(fontSizeComplexScript141);
            paragraphMarkRunProperties63.Append(languages46);

            paragraphProperties63.Append(paragraphMarkRunProperties63);

            Run run79 = new Run();

            RunProperties runProperties79 = new RunProperties();
            RunFonts runFonts142 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold55 = new Bold();
            FontSize fontSize142 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript142 = new FontSizeComplexScript() { Val = "20" };
            Languages languages47 = new Languages() { Val = "en-US" };

            runProperties79.Append(runFonts142);
            runProperties79.Append(bold55);
            runProperties79.Append(fontSize142);
            runProperties79.Append(fontSizeComplexScript142);
            runProperties79.Append(languages47);
            Text text79 = new Text();
            text79.Text = "CFIVEDATA";

            run79.Append(runProperties79);
            run79.Append(text79);

            paragraph63.Append(paragraphProperties63);
            paragraph63.Append(run79);

            tableCell47.Append(tableCellProperties47);
            tableCell47.Append(paragraph59);
            tableCell47.Append(paragraph60);
            tableCell47.Append(paragraph61);
            tableCell47.Append(paragraph62);
            tableCell47.Append(paragraph63);

            TableCell tableCell48 = new TableCell();

            TableCellProperties tableCellProperties48 = new TableCellProperties();
            TableCellWidth tableCellWidth48 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties48.Append(tableCellWidth48);

            Paragraph paragraph64 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties64 = new ParagraphProperties();
            Justification justification32 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties64 = new ParagraphMarkRunProperties();
            RunFonts runFonts143 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize143 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript143 = new FontSizeComplexScript() { Val = "20" };
            Languages languages48 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties64.Append(runFonts143);
            paragraphMarkRunProperties64.Append(fontSize143);
            paragraphMarkRunProperties64.Append(fontSizeComplexScript143);
            paragraphMarkRunProperties64.Append(languages48);

            paragraphProperties64.Append(justification32);
            paragraphProperties64.Append(paragraphMarkRunProperties64);

            paragraph64.Append(paragraphProperties64);

            tableCell48.Append(tableCellProperties48);
            tableCell48.Append(paragraph64);

            tableRow12.Append(tableCell45);
            tableRow12.Append(tableCell46);
            tableRow12.Append(tableCell47);
            tableRow12.Append(tableCell48);

            TableRow tableRow13 = new TableRow() { RsidTableRowAddition = "00A86B82", RsidTableRowProperties = "00980A5B" };

            TableRowProperties tableRowProperties6 = new TableRowProperties();
            TableRowHeight tableRowHeight6 = new TableRowHeight() { Val = (UInt32Value)330U };

            tableRowProperties6.Append(tableRowHeight6);

            TableCell tableCell49 = new TableCell();

            TableCellProperties tableCellProperties49 = new TableCellProperties();
            TableCellWidth tableCellWidth49 = new TableCellWidth() { Width = "534", Type = TableWidthUnitValues.Dxa };

            tableCellProperties49.Append(tableCellWidth49);

            Paragraph paragraph65 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties65 = new ParagraphProperties();
            Justification justification33 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties65 = new ParagraphMarkRunProperties();
            RunFonts runFonts144 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize144 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript144 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties65.Append(runFonts144);
            paragraphMarkRunProperties65.Append(fontSize144);
            paragraphMarkRunProperties65.Append(fontSizeComplexScript144);

            paragraphProperties65.Append(justification33);
            paragraphProperties65.Append(paragraphMarkRunProperties65);

            Run run80 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties80 = new RunProperties();
            RunFonts runFonts145 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize145 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript145 = new FontSizeComplexScript() { Val = "20" };

            runProperties80.Append(runFonts145);
            runProperties80.Append(fontSize145);
            runProperties80.Append(fontSizeComplexScript145);
            Text text80 = new Text();
            text80.Text = "11";

            run80.Append(runProperties80);
            run80.Append(text80);

            paragraph65.Append(paragraphProperties65);
            paragraph65.Append(run80);

            tableCell49.Append(tableCellProperties49);
            tableCell49.Append(paragraph65);

            TableCell tableCell50 = new TableCell();

            TableCellProperties tableCellProperties50 = new TableCellProperties();
            TableCellWidth tableCellWidth50 = new TableCellWidth() { Width = "3118", Type = TableWidthUnitValues.Dxa };

            tableCellProperties50.Append(tableCellWidth50);

            Paragraph paragraph66 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties66 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties66 = new ParagraphMarkRunProperties();
            RunFonts runFonts146 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize146 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript146 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties66.Append(runFonts146);
            paragraphMarkRunProperties66.Append(fontSize146);
            paragraphMarkRunProperties66.Append(fontSizeComplexScript146);

            paragraphProperties66.Append(paragraphMarkRunProperties66);

            Run run81 = new Run() { RsidRunProperties = "006B4E48" };

            RunProperties runProperties81 = new RunProperties();
            RunFonts runFonts147 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize147 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript147 = new FontSizeComplexScript() { Val = "20" };

            runProperties81.Append(runFonts147);
            runProperties81.Append(fontSize147);
            runProperties81.Append(fontSizeComplexScript147);
            Text text81 = new Text();
            text81.Text = "Срок выполнения Работ";

            run81.Append(runProperties81);
            run81.Append(text81);

            paragraph66.Append(paragraphProperties66);
            paragraph66.Append(run81);

            tableCell50.Append(tableCellProperties50);
            tableCell50.Append(paragraph66);

            TableCell tableCell51 = new TableCell();

            TableCellProperties tableCellProperties51 = new TableCellProperties();
            TableCellWidth tableCellWidth51 = new TableCellWidth() { Width = "3827", Type = TableWidthUnitValues.Dxa };

            tableCellProperties51.Append(tableCellWidth51);

            Paragraph paragraph67 = new Paragraph() { RsidParagraphMarkRevision = "00633FB5", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00633FB5" };

            ParagraphProperties paragraphProperties67 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties67 = new ParagraphMarkRunProperties();
            RunFonts runFonts148 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold56 = new Bold();
            FontSize fontSize148 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript148 = new FontSizeComplexScript() { Val = "20" };
            Languages languages49 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties67.Append(runFonts148);
            paragraphMarkRunProperties67.Append(bold56);
            paragraphMarkRunProperties67.Append(fontSize148);
            paragraphMarkRunProperties67.Append(fontSizeComplexScript148);
            paragraphMarkRunProperties67.Append(languages49);

            paragraphProperties67.Append(paragraphMarkRunProperties67);

            Run run82 = new Run();

            RunProperties runProperties82 = new RunProperties();
            RunFonts runFonts149 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold57 = new Bold();
            FontSize fontSize149 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript149 = new FontSizeComplexScript() { Val = "20" };
            Languages languages50 = new Languages() { Val = "en-US" };

            runProperties82.Append(runFonts149);
            runProperties82.Append(bold57);
            runProperties82.Append(fontSize149);
            runProperties82.Append(fontSizeComplexScript149);
            runProperties82.Append(languages50);
            Text text82 = new Text();
            text82.Text = "EXPTERM";

            run82.Append(runProperties82);
            run82.Append(text82);

            paragraph67.Append(paragraphProperties67);
            paragraph67.Append(run82);

            tableCell51.Append(tableCellProperties51);
            tableCell51.Append(paragraph67);

            TableCell tableCell52 = new TableCell();

            TableCellProperties tableCellProperties52 = new TableCellProperties();
            TableCellWidth tableCellWidth52 = new TableCellWidth() { Width = "2235", Type = TableWidthUnitValues.Dxa };

            tableCellProperties52.Append(tableCellWidth52);

            Paragraph paragraph68 = new Paragraph() { RsidParagraphMarkRevision = "006B4E48", RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "00A86B82", RsidRunAdditionDefault = "00A86B82" };

            ParagraphProperties paragraphProperties68 = new ParagraphProperties();
            Justification justification34 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties68 = new ParagraphMarkRunProperties();
            RunFonts runFonts150 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize150 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript150 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties68.Append(runFonts150);
            paragraphMarkRunProperties68.Append(fontSize150);
            paragraphMarkRunProperties68.Append(fontSizeComplexScript150);

            paragraphProperties68.Append(justification34);
            paragraphProperties68.Append(paragraphMarkRunProperties68);

            paragraph68.Append(paragraphProperties68);

            tableCell52.Append(tableCellProperties52);
            tableCell52.Append(paragraph68);

            tableRow13.Append(tableRowProperties6);
            tableRow13.Append(tableCell49);
            tableRow13.Append(tableCell50);
            tableRow13.Append(tableCell51);
            tableRow13.Append(tableCell52);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            table1.Append(tableRow2);
            table1.Append(tableRow3);
            table1.Append(tableRow4);
            table1.Append(tableRow5);
            table1.Append(tableRow6);
            table1.Append(tableRow7);
            table1.Append(tableRow8);
            table1.Append(bookmarkEnd1);
            table1.Append(tableRow9);
            table1.Append(tableRow10);
            table1.Append(tableRow11);
            table1.Append(tableRow12);
            table1.Append(tableRow13);

            Paragraph paragraph69 = new Paragraph() { RsidParagraphAddition = "005E5B29", RsidParagraphProperties = "005E5B29", RsidRunAdditionDefault = "005E5B29" };

            ParagraphProperties paragraphProperties69 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0" };
            Justification justification35 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties69 = new ParagraphMarkRunProperties();
            RunFonts runFonts151 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize151 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript151 = new FontSizeComplexScript() { Val = "24" };
            Languages languages51 = new Languages() { Val = "en-US" };

            paragraphMarkRunProperties69.Append(runFonts151);
            paragraphMarkRunProperties69.Append(fontSize151);
            paragraphMarkRunProperties69.Append(fontSizeComplexScript151);
            paragraphMarkRunProperties69.Append(languages51);

            paragraphProperties69.Append(spacingBetweenLines6);
            paragraphProperties69.Append(justification35);
            paragraphProperties69.Append(paragraphMarkRunProperties69);

            paragraph69.Append(paragraphProperties69);

            Paragraph paragraph70 = new Paragraph() { RsidParagraphAddition = "00A86B82", RsidParagraphProperties = "005E5B29", RsidRunAdditionDefault = "005E5B29" };

            ParagraphProperties paragraphProperties70 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0" };
            Justification justification36 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties70 = new ParagraphMarkRunProperties();
            RunFonts runFonts152 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize152 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript152 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties70.Append(runFonts152);
            paragraphMarkRunProperties70.Append(fontSize152);
            paragraphMarkRunProperties70.Append(fontSizeComplexScript152);

            paragraphProperties70.Append(spacingBetweenLines7);
            paragraphProperties70.Append(justification36);
            paragraphProperties70.Append(paragraphMarkRunProperties70);

            Run run83 = new Run() { RsidRunProperties = "00BF41B3" };

            RunProperties runProperties83 = new RunProperties();
            RunFonts runFonts153 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize153 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript153 = new FontSizeComplexScript() { Val = "24" };

            runProperties83.Append(runFonts153);
            runProperties83.Append(fontSize153);
            runProperties83.Append(fontSizeComplexScript153);
            Text text83 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text83.Text = "Дата составления: ";

            run83.Append(runProperties83);
            run83.Append(text83);

            Run run84 = new Run() { RsidRunAddition = "00633FB5" };

            RunProperties runProperties84 = new RunProperties();
            RunFonts runFonts154 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize154 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript154 = new FontSizeComplexScript() { Val = "24" };
            Languages languages52 = new Languages() { Val = "en-US" };

            runProperties84.Append(runFonts154);
            runProperties84.Append(fontSize154);
            runProperties84.Append(fontSizeComplexScript154);
            runProperties84.Append(languages52);
            Text text84 = new Text();
            text84.Text = "DATENOW";

            run84.Append(runProperties84);
            run84.Append(text84);

            Run run85 = new Run() { RsidRunProperties = "00BF41B3" };

            RunProperties runProperties85 = new RunProperties();
            RunFonts runFonts155 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize155 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript155 = new FontSizeComplexScript() { Val = "24" };

            runProperties85.Append(runFonts155);
            runProperties85.Append(fontSize155);
            runProperties85.Append(fontSizeComplexScript155);
            Text text85 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text85.Text = " ";

            run85.Append(runProperties85);
            run85.Append(text85);

            Run run86 = new Run();

            RunProperties runProperties86 = new RunProperties();
            RunFonts runFonts156 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize156 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript156 = new FontSizeComplexScript() { Val = "24" };

            runProperties86.Append(runFonts156);
            runProperties86.Append(fontSize156);
            runProperties86.Append(fontSizeComplexScript156);
            Text text86 = new Text();
            text86.Text = "года";

            run86.Append(runProperties86);
            run86.Append(text86);

            paragraph70.Append(paragraphProperties70);
            paragraph70.Append(run83);
            paragraph70.Append(run84);
            paragraph70.Append(run85);
            paragraph70.Append(run86);

            Paragraph paragraph71 = new Paragraph() { RsidParagraphAddition = "005E5B29", RsidParagraphProperties = "005E5B29", RsidRunAdditionDefault = "005E5B29" };

            ParagraphProperties paragraphProperties71 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0" };
            Justification justification37 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties71 = new ParagraphMarkRunProperties();
            RunFonts runFonts157 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize157 = new FontSize() { Val = "24" };
            FontSizeComplexScript fontSizeComplexScript157 = new FontSizeComplexScript() { Val = "24" };

            paragraphMarkRunProperties71.Append(runFonts157);
            paragraphMarkRunProperties71.Append(fontSize157);
            paragraphMarkRunProperties71.Append(fontSizeComplexScript157);

            paragraphProperties71.Append(spacingBetweenLines8);
            paragraphProperties71.Append(justification37);
            paragraphProperties71.Append(paragraphMarkRunProperties71);

            paragraph71.Append(paragraphProperties71);

            Paragraph paragraph72 = new Paragraph() { RsidParagraphMarkRevision = "005E5B29", RsidParagraphAddition = "005E5B29", RsidParagraphProperties = "005E5B29", RsidRunAdditionDefault = "005E5B29" };

            ParagraphProperties paragraphProperties72 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0" };
            Justification justification38 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties72 = new ParagraphMarkRunProperties();
            RunFonts runFonts158 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize158 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript158 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties72.Append(runFonts158);
            paragraphMarkRunProperties72.Append(fontSize158);
            paragraphMarkRunProperties72.Append(fontSizeComplexScript158);

            paragraphProperties72.Append(spacingBetweenLines9);
            paragraphProperties72.Append(justification38);
            paragraphProperties72.Append(paragraphMarkRunProperties72);

            Run run87 = new Run() { RsidRunProperties = "00350EC1" };

            RunProperties runProperties87 = new RunProperties();
            RunFonts runFonts159 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold58 = new Bold();
            FontSize fontSize159 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript159 = new FontSizeComplexScript() { Val = "20" };
            Underline underline2 = new Underline() { Val = UnderlineValues.Single };

            runProperties87.Append(runFonts159);
            runProperties87.Append(bold58);
            runProperties87.Append(fontSize159);
            runProperties87.Append(fontSizeComplexScript159);
            runProperties87.Append(underline2);
            Text text87 = new Text();
            text87.Text = "Директор (гл. инженер) Предприятия №";

            run87.Append(runProperties87);
            run87.Append(text87);

            Run run88 = new Run() { RsidRunAddition = "001B1FF0" };

            RunProperties runProperties88 = new RunProperties();
            RunFonts runFonts160 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold59 = new Bold();
            FontSize fontSize160 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript160 = new FontSizeComplexScript() { Val = "20" };
            Underline underline3 = new Underline() { Val = UnderlineValues.Single };
            Languages languages53 = new Languages() { Val = "en-US" };

            runProperties88.Append(runFonts160);
            runProperties88.Append(bold59);
            runProperties88.Append(fontSize160);
            runProperties88.Append(fontSizeComplexScript160);
            runProperties88.Append(underline3);
            runProperties88.Append(languages53);
            Text text88 = new Text();
            text88.Text = "ENTNO";

            run88.Append(runProperties88);
            run88.Append(text88);

            Run run89 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties89 = new RunProperties();
            RunFonts runFonts161 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize161 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript161 = new FontSizeComplexScript() { Val = "20" };

            runProperties89.Append(runFonts161);
            runProperties89.Append(fontSize161);
            runProperties89.Append(fontSizeComplexScript161);
            Text text89 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text89.Text = "     ";

            run89.Append(runProperties89);
            run89.Append(text89);

            Run run90 = new Run() { RsidRunProperties = "00A40C57", RsidRunAddition = "00A40C57" };

            RunProperties runProperties90 = new RunProperties();
            RunFonts runFonts162 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize162 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript162 = new FontSizeComplexScript() { Val = "20" };

            runProperties90.Append(runFonts162);
            runProperties90.Append(fontSize162);
            runProperties90.Append(fontSizeComplexScript162);
            Text text90 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text90.Text = "              ";

            run90.Append(runProperties90);
            run90.Append(text90);

            Run run91 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties91 = new RunProperties();
            RunFonts runFonts163 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize163 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript163 = new FontSizeComplexScript() { Val = "20" };

            runProperties91.Append(runFonts163);
            runProperties91.Append(fontSize163);
            runProperties91.Append(fontSizeComplexScript163);
            Text text91 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text91.Text = " ";

            run91.Append(runProperties91);
            run91.Append(text91);

            Run run92 = new Run() { RsidRunProperties = "001B1FF0", RsidRunAddition = "001B1FF0" };

            RunProperties runProperties92 = new RunProperties();
            RunFonts runFonts164 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize164 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript164 = new FontSizeComplexScript() { Val = "20" };

            runProperties92.Append(runFonts164);
            runProperties92.Append(fontSize164);
            runProperties92.Append(fontSizeComplexScript164);
            Text text92 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text92.Text = "    ";

            run92.Append(runProperties92);
            run92.Append(text92);

            Run run93 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties93 = new RunProperties();
            RunFonts runFonts165 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize165 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript165 = new FontSizeComplexScript() { Val = "20" };

            runProperties93.Append(runFonts165);
            runProperties93.Append(fontSize165);
            runProperties93.Append(fontSizeComplexScript165);
            Text text93 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text93.Text = "______________     ";

            run93.Append(runProperties93);
            run93.Append(text93);

            Run run94 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties94 = new RunProperties();
            RunFonts runFonts166 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize166 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript166 = new FontSizeComplexScript() { Val = "28" };

            runProperties94.Append(runFonts166);
            runProperties94.Append(fontSize166);
            runProperties94.Append(fontSizeComplexScript166);
            Text text94 = new Text();
            text94.Text = "/";

            run94.Append(runProperties94);
            run94.Append(text94);

            Run run95 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties95 = new RunProperties();
            RunFonts runFonts167 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize167 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript167 = new FontSizeComplexScript() { Val = "20" };

            runProperties95.Append(runFonts167);
            runProperties95.Append(fontSize167);
            runProperties95.Append(fontSizeComplexScript167);
            Text text95 = new Text();
            text95.Text = "__";

            run95.Append(runProperties95);
            run95.Append(text95);

            Run run96 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties96 = new RunProperties();
            RunFonts runFonts168 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize168 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript168 = new FontSizeComplexScript() { Val = "20" };

            runProperties96.Append(runFonts168);
            runProperties96.Append(fontSize168);
            runProperties96.Append(fontSizeComplexScript168);
            Text text96 = new Text();
            text96.Text = "______";

            run96.Append(runProperties96);
            run96.Append(text96);

            Run run97 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties97 = new RunProperties();
            RunFonts runFonts169 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize169 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript169 = new FontSizeComplexScript() { Val = "20" };

            runProperties97.Append(runFonts169);
            runProperties97.Append(fontSize169);
            runProperties97.Append(fontSizeComplexScript169);
            Text text97 = new Text();
            text97.Text = "_________________";

            run97.Append(runProperties97);
            run97.Append(text97);

            Run run98 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties98 = new RunProperties();
            RunFonts runFonts170 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize170 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript170 = new FontSizeComplexScript() { Val = "28" };

            runProperties98.Append(runFonts170);
            runProperties98.Append(fontSize170);
            runProperties98.Append(fontSizeComplexScript170);
            Text text98 = new Text();
            text98.Text = "/";

            run98.Append(runProperties98);
            run98.Append(text98);

            paragraph72.Append(paragraphProperties72);
            paragraph72.Append(run87);
            paragraph72.Append(run88);
            paragraph72.Append(run89);
            paragraph72.Append(run90);
            paragraph72.Append(run91);
            paragraph72.Append(run92);
            paragraph72.Append(run93);
            paragraph72.Append(run94);
            paragraph72.Append(run95);
            paragraph72.Append(run96);
            paragraph72.Append(run97);
            paragraph72.Append(run98);

            Paragraph paragraph73 = new Paragraph() { RsidParagraphAddition = "005E5B29", RsidParagraphProperties = "00642B12", RsidRunAdditionDefault = "005E5B29" };

            ParagraphProperties paragraphProperties73 = new ParagraphProperties();

            Tabs tabs1 = new Tabs();
            TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 8000 };

            tabs1.Append(tabStop1);
            SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { After = "0" };
            Justification justification39 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties73 = new ParagraphMarkRunProperties();
            RunFonts runFonts171 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize171 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript171 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties73.Append(runFonts171);
            paragraphMarkRunProperties73.Append(fontSize171);
            paragraphMarkRunProperties73.Append(fontSizeComplexScript171);

            paragraphProperties73.Append(tabs1);
            paragraphProperties73.Append(spacingBetweenLines10);
            paragraphProperties73.Append(justification39);
            paragraphProperties73.Append(paragraphMarkRunProperties73);

            Run run99 = new Run();

            RunProperties runProperties99 = new RunProperties();
            RunFonts runFonts172 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize172 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript172 = new FontSizeComplexScript() { Val = "20" };

            runProperties99.Append(runFonts172);
            runProperties99.Append(fontSize172);
            runProperties99.Append(fontSizeComplexScript172);
            Text text99 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text99.Text = "                              ";

            run99.Append(runProperties99);
            run99.Append(text99);

            Run run100 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties100 = new RunProperties();
            RunFonts runFonts173 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize173 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript173 = new FontSizeComplexScript() { Val = "16" };

            runProperties100.Append(runFonts173);
            runProperties100.Append(fontSize173);
            runProperties100.Append(fontSizeComplexScript173);
            Text text100 = new Text();
            text100.Text = "д";

            run100.Append(runProperties100);
            run100.Append(text100);

            Run run101 = new Run() { RsidRunProperties = "00A40C57" };

            RunProperties runProperties101 = new RunProperties();
            RunFonts runFonts174 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize174 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript174 = new FontSizeComplexScript() { Val = "16" };

            runProperties101.Append(runFonts174);
            runProperties101.Append(fontSize174);
            runProperties101.Append(fontSizeComplexScript174);
            Text text101 = new Text();
            text101.Text = "олжность";

            run101.Append(runProperties101);
            run101.Append(text101);

            Run run102 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties102 = new RunProperties();
            RunFonts runFonts175 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize175 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript175 = new FontSizeComplexScript() { Val = "16" };

            runProperties102.Append(runFonts175);
            runProperties102.Append(fontSize175);
            runProperties102.Append(fontSizeComplexScript175);
            Text text102 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text102.Text = "                                                          ";

            run102.Append(runProperties102);
            run102.Append(text102);

            Run run103 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties103 = new RunProperties();
            RunFonts runFonts176 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize176 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript176 = new FontSizeComplexScript() { Val = "16" };

            runProperties103.Append(runFonts176);
            runProperties103.Append(fontSize176);
            runProperties103.Append(fontSizeComplexScript176);
            Text text103 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text103.Text = "                ";

            run103.Append(runProperties103);
            run103.Append(text103);

            Run run104 = new Run() { RsidRunProperties = "001403E6", RsidRunAddition = "00A40C57" };

            RunProperties runProperties104 = new RunProperties();
            RunFonts runFonts177 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize177 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript177 = new FontSizeComplexScript() { Val = "16" };

            runProperties104.Append(runFonts177);
            runProperties104.Append(fontSize177);
            runProperties104.Append(fontSizeComplexScript177);
            Text text104 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text104.Text = "    ";

            run104.Append(runProperties104);
            run104.Append(text104);

            Run run105 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties105 = new RunProperties();
            RunFonts runFonts178 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize178 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript178 = new FontSizeComplexScript() { Val = "16" };

            runProperties105.Append(runFonts178);
            runProperties105.Append(fontSize178);
            runProperties105.Append(fontSizeComplexScript178);
            Text text105 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text105.Text = "  ";

            run105.Append(runProperties105);
            run105.Append(text105);

            Run run106 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties106 = new RunProperties();
            RunFonts runFonts179 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize179 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript179 = new FontSizeComplexScript() { Val = "16" };

            runProperties106.Append(runFonts179);
            runProperties106.Append(fontSize179);
            runProperties106.Append(fontSizeComplexScript179);
            Text text106 = new Text();
            text106.Text = "п";

            run106.Append(runProperties106);
            run106.Append(text106);

            Run run107 = new Run() { RsidRunAddition = "00642B12" };

            RunProperties runProperties107 = new RunProperties();
            RunFonts runFonts180 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize180 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript180 = new FontSizeComplexScript() { Val = "16" };

            runProperties107.Append(runFonts180);
            runProperties107.Append(fontSize180);
            runProperties107.Append(fontSizeComplexScript180);
            Text text107 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text107.Text = "одпись                                  ";

            run107.Append(runProperties107);
            run107.Append(text107);

            Run run108 = new Run() { RsidRunProperties = "00642B12", RsidRunAddition = "00642B12" };

            RunProperties runProperties108 = new RunProperties();
            RunFonts runFonts181 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize181 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript181 = new FontSizeComplexScript() { Val = "16" };

            runProperties108.Append(runFonts181);
            runProperties108.Append(fontSize181);
            runProperties108.Append(fontSizeComplexScript181);
            Text text108 = new Text();
            text108.Text = "расшифровка подписи";

            run108.Append(runProperties108);
            run108.Append(text108);

            paragraph73.Append(paragraphProperties73);
            paragraph73.Append(run99);
            paragraph73.Append(run100);
            paragraph73.Append(run101);
            paragraph73.Append(run102);
            paragraph73.Append(run103);
            paragraph73.Append(run104);
            paragraph73.Append(run105);
            paragraph73.Append(run106);
            paragraph73.Append(run107);
            paragraph73.Append(run108);

            Paragraph paragraph74 = new Paragraph() { RsidParagraphAddition = "00350EC1", RsidParagraphProperties = "00642B12", RsidRunAdditionDefault = "00350EC1" };

            ParagraphProperties paragraphProperties74 = new ParagraphProperties();

            Tabs tabs2 = new Tabs();
            TabStop tabStop2 = new TabStop() { Val = TabStopValues.Left, Position = 8000 };

            tabs2.Append(tabStop2);
            SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { After = "0" };
            Justification justification40 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties74 = new ParagraphMarkRunProperties();
            RunFonts runFonts182 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize182 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript182 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties74.Append(runFonts182);
            paragraphMarkRunProperties74.Append(fontSize182);
            paragraphMarkRunProperties74.Append(fontSizeComplexScript182);

            paragraphProperties74.Append(tabs2);
            paragraphProperties74.Append(spacingBetweenLines11);
            paragraphProperties74.Append(justification40);
            paragraphProperties74.Append(paragraphMarkRunProperties74);

            paragraph74.Append(paragraphProperties74);

            Paragraph paragraph75 = new Paragraph() { RsidParagraphMarkRevision = "005E5B29", RsidParagraphAddition = "00350EC1", RsidParagraphProperties = "00350EC1", RsidRunAdditionDefault = "00350EC1" };

            ParagraphProperties paragraphProperties75 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { After = "0" };
            Justification justification41 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties75 = new ParagraphMarkRunProperties();
            RunFonts runFonts183 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize183 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript183 = new FontSizeComplexScript() { Val = "20" };

            paragraphMarkRunProperties75.Append(runFonts183);
            paragraphMarkRunProperties75.Append(fontSize183);
            paragraphMarkRunProperties75.Append(fontSizeComplexScript183);

            paragraphProperties75.Append(spacingBetweenLines12);
            paragraphProperties75.Append(justification41);
            paragraphProperties75.Append(paragraphMarkRunProperties75);

            Run run109 = new Run() { RsidRunProperties = "00350EC1" };

            RunProperties runProperties109 = new RunProperties();
            RunFonts runFonts184 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold60 = new Bold();
            FontSize fontSize184 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript184 = new FontSizeComplexScript() { Val = "20" };
            Underline underline4 = new Underline() { Val = UnderlineValues.Single };

            runProperties109.Append(runFonts184);
            runProperties109.Append(bold60);
            runProperties109.Append(fontSize184);
            runProperties109.Append(fontSizeComplexScript184);
            runProperties109.Append(underline4);
            Text text109 = new Text();
            text109.Text = "На";

            run109.Append(runProperties109);
            run109.Append(text109);

            Run run110 = new Run();

            RunProperties runProperties110 = new RunProperties();
            RunFonts runFonts185 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold61 = new Bold();
            FontSize fontSize185 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript185 = new FontSizeComplexScript() { Val = "20" };
            Underline underline5 = new Underline() { Val = UnderlineValues.Single };

            runProperties110.Append(runFonts185);
            runProperties110.Append(bold61);
            runProperties110.Append(fontSize185);
            runProperties110.Append(fontSizeComplexScript185);
            runProperties110.Append(underline5);
            Text text110 = new Text();
            text110.Text = "чальник отдела КИПиА Филиала №1";

            run110.Append(runProperties110);
            run110.Append(text110);

            Run run111 = new Run() { RsidRunProperties = "00885B8E" };

            RunProperties runProperties111 = new RunProperties();
            RunFonts runFonts186 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            Bold bold62 = new Bold();
            FontSize fontSize186 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript186 = new FontSizeComplexScript() { Val = "20" };

            runProperties111.Append(runFonts186);
            runProperties111.Append(bold62);
            runProperties111.Append(fontSize186);
            runProperties111.Append(fontSizeComplexScript186);
            Text text111 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text111.Text = "                         ";

            run111.Append(runProperties111);
            run111.Append(text111);

            Run run112 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties112 = new RunProperties();
            RunFonts runFonts187 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize187 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript187 = new FontSizeComplexScript() { Val = "20" };

            runProperties112.Append(runFonts187);
            runProperties112.Append(fontSize187);
            runProperties112.Append(fontSizeComplexScript187);
            Text text112 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text112.Text = "_____________     ";

            run112.Append(runProperties112);
            run112.Append(text112);

            Run run113 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties113 = new RunProperties();
            RunFonts runFonts188 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize188 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript188 = new FontSizeComplexScript() { Val = "28" };

            runProperties113.Append(runFonts188);
            runProperties113.Append(fontSize188);
            runProperties113.Append(fontSizeComplexScript188);
            Text text113 = new Text();
            text113.Text = "/";

            run113.Append(runProperties113);
            run113.Append(text113);

            Run run114 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties114 = new RunProperties();
            RunFonts runFonts189 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize189 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript189 = new FontSizeComplexScript() { Val = "20" };

            runProperties114.Append(runFonts189);
            runProperties114.Append(fontSize189);
            runProperties114.Append(fontSizeComplexScript189);
            Text text114 = new Text();
            text114.Text = "__";

            run114.Append(runProperties114);
            run114.Append(text114);

            Run run115 = new Run();

            RunProperties runProperties115 = new RunProperties();
            RunFonts runFonts190 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize190 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript190 = new FontSizeComplexScript() { Val = "20" };

            runProperties115.Append(runFonts190);
            runProperties115.Append(fontSize190);
            runProperties115.Append(fontSizeComplexScript190);
            Text text115 = new Text();
            text115.Text = "______";

            run115.Append(runProperties115);
            run115.Append(text115);

            Run run116 = new Run() { RsidRunProperties = "005E5B29" };

            RunProperties runProperties116 = new RunProperties();
            RunFonts runFonts191 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize191 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript191 = new FontSizeComplexScript() { Val = "20" };

            runProperties116.Append(runFonts191);
            runProperties116.Append(fontSize191);
            runProperties116.Append(fontSizeComplexScript191);
            Text text116 = new Text();
            text116.Text = "_________________";

            run116.Append(runProperties116);
            run116.Append(text116);

            Run run117 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties117 = new RunProperties();
            RunFonts runFonts192 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize192 = new FontSize() { Val = "28" };
            FontSizeComplexScript fontSizeComplexScript192 = new FontSizeComplexScript() { Val = "28" };

            runProperties117.Append(runFonts192);
            runProperties117.Append(fontSize192);
            runProperties117.Append(fontSizeComplexScript192);
            Text text117 = new Text();
            text117.Text = "/";

            run117.Append(runProperties117);
            run117.Append(text117);

            paragraph75.Append(paragraphProperties75);
            paragraph75.Append(run109);
            paragraph75.Append(run110);
            paragraph75.Append(run111);
            paragraph75.Append(run112);
            paragraph75.Append(run113);
            paragraph75.Append(run114);
            paragraph75.Append(run115);
            paragraph75.Append(run116);
            paragraph75.Append(run117);

            Paragraph paragraph76 = new Paragraph() { RsidParagraphAddition = "00350EC1", RsidParagraphProperties = "00350EC1", RsidRunAdditionDefault = "00350EC1" };

            ParagraphProperties paragraphProperties76 = new ParagraphProperties();

            Tabs tabs3 = new Tabs();
            TabStop tabStop3 = new TabStop() { Val = TabStopValues.Left, Position = 8000 };

            tabs3.Append(tabStop3);
            SpacingBetweenLines spacingBetweenLines13 = new SpacingBetweenLines() { After = "0" };
            Justification justification42 = new Justification() { Val = JustificationValues.Both };

            ParagraphMarkRunProperties paragraphMarkRunProperties76 = new ParagraphMarkRunProperties();
            RunFonts runFonts193 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize193 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript193 = new FontSizeComplexScript() { Val = "16" };

            paragraphMarkRunProperties76.Append(runFonts193);
            paragraphMarkRunProperties76.Append(fontSize193);
            paragraphMarkRunProperties76.Append(fontSizeComplexScript193);

            paragraphProperties76.Append(tabs3);
            paragraphProperties76.Append(spacingBetweenLines13);
            paragraphProperties76.Append(justification42);
            paragraphProperties76.Append(paragraphMarkRunProperties76);

            Run run118 = new Run();

            RunProperties runProperties118 = new RunProperties();
            RunFonts runFonts194 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize194 = new FontSize() { Val = "20" };
            FontSizeComplexScript fontSizeComplexScript194 = new FontSizeComplexScript() { Val = "20" };

            runProperties118.Append(runFonts194);
            runProperties118.Append(fontSize194);
            runProperties118.Append(fontSizeComplexScript194);
            Text text118 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text118.Text = "                              ";

            run118.Append(runProperties118);
            run118.Append(text118);

            Run run119 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties119 = new RunProperties();
            RunFonts runFonts195 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize195 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript195 = new FontSizeComplexScript() { Val = "16" };

            runProperties119.Append(runFonts195);
            runProperties119.Append(fontSize195);
            runProperties119.Append(fontSizeComplexScript195);
            Text text119 = new Text();
            text119.Text = "д";

            run119.Append(runProperties119);
            run119.Append(text119);

            Run run120 = new Run() { RsidRunProperties = "00A40C57" };

            RunProperties runProperties120 = new RunProperties();
            RunFonts runFonts196 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize196 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript196 = new FontSizeComplexScript() { Val = "16" };

            runProperties120.Append(runFonts196);
            runProperties120.Append(fontSize196);
            runProperties120.Append(fontSizeComplexScript196);
            Text text120 = new Text();
            text120.Text = "олжность";

            run120.Append(runProperties120);
            run120.Append(text120);

            Run run121 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties121 = new RunProperties();
            RunFonts runFonts197 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize197 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript197 = new FontSizeComplexScript() { Val = "16" };

            runProperties121.Append(runFonts197);
            runProperties121.Append(fontSize197);
            runProperties121.Append(fontSizeComplexScript197);
            Text text121 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text121.Text = "                                                          ";

            run121.Append(runProperties121);
            run121.Append(text121);

            Run run122 = new Run();

            RunProperties runProperties122 = new RunProperties();
            RunFonts runFonts198 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize198 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript198 = new FontSizeComplexScript() { Val = "16" };

            runProperties122.Append(runFonts198);
            runProperties122.Append(fontSize198);
            runProperties122.Append(fontSizeComplexScript198);
            Text text122 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text122.Text = "                ";

            run122.Append(runProperties122);
            run122.Append(text122);

            Run run123 = new Run() { RsidRunProperties = "001403E6" };

            RunProperties runProperties123 = new RunProperties();
            RunFonts runFonts199 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize199 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript199 = new FontSizeComplexScript() { Val = "16" };

            runProperties123.Append(runFonts199);
            runProperties123.Append(fontSize199);
            runProperties123.Append(fontSizeComplexScript199);
            Text text123 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text123.Text = "    ";

            run123.Append(runProperties123);
            run123.Append(text123);

            Run run124 = new Run();

            RunProperties runProperties124 = new RunProperties();
            RunFonts runFonts200 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize200 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript200 = new FontSizeComplexScript() { Val = "16" };

            runProperties124.Append(runFonts200);
            runProperties124.Append(fontSize200);
            runProperties124.Append(fontSizeComplexScript200);
            Text text124 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text124.Text = "  ";

            run124.Append(runProperties124);
            run124.Append(text124);

            Run run125 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties125 = new RunProperties();
            RunFonts runFonts201 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize201 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript201 = new FontSizeComplexScript() { Val = "16" };

            runProperties125.Append(runFonts201);
            runProperties125.Append(fontSize201);
            runProperties125.Append(fontSizeComplexScript201);
            Text text125 = new Text();
            text125.Text = "п";

            run125.Append(runProperties125);
            run125.Append(text125);

            Run run126 = new Run();

            RunProperties runProperties126 = new RunProperties();
            RunFonts runFonts202 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize202 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript202 = new FontSizeComplexScript() { Val = "16" };

            runProperties126.Append(runFonts202);
            runProperties126.Append(fontSize202);
            runProperties126.Append(fontSizeComplexScript202);
            Text text126 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text126.Text = "одпись                                  ";

            run126.Append(runProperties126);
            run126.Append(text126);

            Run run127 = new Run() { RsidRunProperties = "00642B12" };

            RunProperties runProperties127 = new RunProperties();
            RunFonts runFonts203 = new RunFonts() { Ascii = "Times New Roman", HighAnsi = "Times New Roman", ComplexScript = "Times New Roman" };
            FontSize fontSize203 = new FontSize() { Val = "16" };
            FontSizeComplexScript fontSizeComplexScript203 = new FontSizeComplexScript() { Val = "16" };

            runProperties127.Append(runFonts203);
            runProperties127.Append(fontSize203);
            runProperties127.Append(fontSizeComplexScript203);
            Text text127 = new Text();
            text127.Text = "расшифровка подписи";

            run127.Append(runProperties127);
            run127.Append(text127);

            paragraph76.Append(paragraphProperties76);
            paragraph76.Append(run118);
            paragraph76.Append(run119);
            paragraph76.Append(run120);
            paragraph76.Append(run121);
            paragraph76.Append(run122);
            paragraph76.Append(run123);
            paragraph76.Append(run124);
            paragraph76.Append(run125);
            paragraph76.Append(run126);
            paragraph76.Append(run127);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidR = "00350EC1", RsidSect = "00633FB5" };
            FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rId8" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1134, Right = (UInt32Value)1274U, Bottom = 142, Left = (UInt32Value)1134U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

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

            body1.Append(paragraph1);
            body1.Append(paragraph2);
            body1.Append(paragraph3);
            body1.Append(paragraph4);
            body1.Append(paragraph5);
            body1.Append(table1);
            body1.Append(paragraph69);
            body1.Append(paragraph70);
            body1.Append(paragraph71);
            body1.Append(paragraph72);
            body1.Append(paragraph73);
            body1.Append(paragraph74);
            body1.Append(paragraph75);
            body1.Append(paragraph76);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #8
0
        // Creates an Table instance and adds its children.
        public static Table GenerateTable(GenerationData data)
        {
            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableWidth      tableWidth1      = new TableWidth()
            {
                Width = "0", Type = TableWidthUnitValues.Auto
            };
            TableIndentation tableIndentation1 = new TableIndentation()
            {
                Width = 10, Type = TableWidthUnitValues.Dxa
            };

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

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);

            TableCellMarginDefault tableCellMarginDefault1 = new TableCellMarginDefault();
            TableCellLeftMargin    tableCellLeftMargin1    = new TableCellLeftMargin()
            {
                Width = 10, Type = TableWidthValues.Dxa
            };
            TableCellRightMargin tableCellRightMargin1 = new TableCellRightMargin()
            {
                Width = 10, Type = TableWidthValues.Dxa
            };

            tableCellMarginDefault1.Append(tableCellLeftMargin1);
            tableCellMarginDefault1.Append(tableCellRightMargin1);
            TableLook tableLook1 = new TableLook()
            {
                Val = "0000", FirstRow = false, LastRow = false, FirstColumn = false, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = false
            };

            tableProperties1.Append(tableWidth1);
            tableProperties1.Append(tableIndentation1);
            tableProperties1.Append(tableBorders1);
            tableProperties1.Append(tableCellMarginDefault1);
            tableProperties1.Append(tableLook1);

            TableGrid  tableGrid1  = new TableGrid();
            GridColumn gridColumn1 = new GridColumn()
            {
                Width = "8980"
            };

            tableGrid1.Append(gridColumn1);

            TableRow tableRow1 = new TableRow()
            {
                RsidTableRowAddition = "009B2C1D", ParagraphId = "34C34FBB", TextId = "77777777"
            };

            TableCell tableCell1 = new TableCell();

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

            TableCellBorders tableCellBorders1 = new TableCellBorders();
            TopBorder        topBorder2        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "FFFFFF", Size = (UInt32Value)0U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder2 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "FFFFFF", Size = (UInt32Value)0U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder2 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "FFFFFF", Size = (UInt32Value)0U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder2 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "FFFFFF", Size = (UInt32Value)0U, Space = (UInt32Value)0U
            };

            tableCellBorders1.Append(topBorder2);
            tableCellBorders1.Append(leftBorder2);
            tableCellBorders1.Append(bottomBorder2);
            tableCellBorders1.Append(rightBorder2);

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(tableCellBorders1);

            Paragraph paragraph1 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009B2C1D", ParagraphId = "6C4075DB", TextId = "77777777"
            };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines()
            {
                Before = "1000"
            };
            Justification justification1 = new Justification()
            {
                Val = JustificationValues.Center
            };

            paragraphProperties1.Append(spacingBetweenLines1);
            paragraphProperties1.Append(justification1);

            paragraph1.Append(paragraphProperties1);
            Paragraph paragraph2 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009B2C1D", ParagraphId = "7FF63C21", TextId = "77777777"
            };

            Paragraph paragraph3 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00BE3F16", RsidParagraphAddition = "009E39C2", RsidParagraphProperties = "009E39C2", RsidRunAdditionDefault = "0007641E", ParagraphId = "0937AE70", TextId = "42846C98"
            };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines()
            {
                Before = "1000"
            };
            Justification justification2 = new Justification()
            {
                Val = JustificationValues.Center
            };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            Bold     bold1     = new Bold();
            FontSize fontSize1 = new FontSize()
            {
                Val = "28"
            };

            paragraphMarkRunProperties1.Append(bold1);
            paragraphMarkRunProperties1.Append(fontSize1);

            paragraphProperties2.Append(spacingBetweenLines2);
            paragraphProperties2.Append(justification2);
            paragraphProperties2.Append(paragraphMarkRunProperties1);

            Run run1 = new Run();

            RunProperties runProperties1 = new RunProperties();
            Bold          bold2          = new Bold();
            FontSize      fontSize2      = new FontSize()
            {
                Val = "28"
            };

            runProperties1.Append(bold2);
            runProperties1.Append(fontSize2);
            Text text1 = new Text();

            text1.Text = data.TitleArea.Company;

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

            Run run2 = new Run()
            {
                RsidRunAddition = "009E39C2"
            };

            RunProperties runProperties2 = new RunProperties();
            Bold          bold3          = new Bold();
            FontSize      fontSize3      = new FontSize()
            {
                Val = "28"
            };

            runProperties2.Append(bold3);
            runProperties2.Append(fontSize3);
            Text text2 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text2.Text = " – " + data.TitleArea.Role;

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

            paragraph3.Append(paragraphProperties2);
            paragraph3.Append(run1);
            paragraph3.Append(run2);

            Paragraph paragraph4 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "01FC911A", TextId = "77777777"
            };

            Run run3 = new Run();

            RunProperties runProperties3 = new RunProperties();
            FontSize      fontSize4      = new FontSize()
            {
                Val = "22"
            };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties3.Append(fontSize4);
            runProperties3.Append(fontSizeComplexScript1);
            Text text3 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text3.Text = " ";

            run3.Append(runProperties3);
            run3.Append(text3);

            paragraph4.Append(run3);

            Paragraph paragraph5 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "51573CC7", TextId = "77777777"
            };

            Run run4 = new Run();

            RunProperties runProperties4 = new RunProperties();
            FontSize      fontSize5      = new FontSize()
            {
                Val = "22"
            };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties4.Append(fontSize5);
            runProperties4.Append(fontSizeComplexScript2);
            Text text4 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text4.Text = " ";

            run4.Append(runProperties4);
            run4.Append(text4);

            paragraph5.Append(run4);

            Paragraph paragraph6 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "1AC39030", TextId = "77777777"
            };

            Run run5 = new Run();

            RunProperties runProperties5 = new RunProperties();
            FontSize      fontSize6      = new FontSize()
            {
                Val = "22"
            };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties5.Append(fontSize6);
            runProperties5.Append(fontSizeComplexScript3);
            Text text5 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text5.Text = " ";

            run5.Append(runProperties5);
            run5.Append(text5);

            paragraph6.Append(run5);

            Paragraph paragraph7 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "5B7F4F83", TextId = "77777777"
            };

            Run run6 = new Run();

            RunProperties runProperties6 = new RunProperties();
            FontSize      fontSize7      = new FontSize()
            {
                Val = "22"
            };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript()
            {
                Val = "22"
            };

            runProperties6.Append(fontSize7);
            runProperties6.Append(fontSizeComplexScript4);
            Text text6 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text6.Text = " ";

            run6.Append(runProperties6);
            run6.Append(text6);

            paragraph7.Append(run6);

            Paragraph paragraph8 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "3E1A38C5", TextId = "77777777"
            };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines()
            {
                After = "195", Line = "240", LineRule = LineSpacingRuleValues.Auto
            };

            paragraphProperties3.Append(spacingBetweenLines3);

            Run run7 = new Run();

            RunProperties runProperties7 = new RunProperties();
            FontSize      fontSize8      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties7.Append(fontSize8);
            runProperties7.Append(fontSizeComplexScript5);
            Text text7 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text7.Text = "This CV contains personal information obtained on a confidential basis; ";

            run7.Append(runProperties7);
            run7.Append(text7);
            ProofError proofError1 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarStart
            };

            Run run8 = new Run();

            RunProperties runProperties8 = new RunProperties();
            FontSize      fontSize9      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties8.Append(fontSize9);
            runProperties8.Append(fontSizeComplexScript6);
            Text text8 = new Text();

            text8.Text = "therefore";

            run8.Append(runProperties8);
            run8.Append(text8);
            ProofError proofError2 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarEnd
            };

            Run run9 = new Run();

            RunProperties runProperties9 = new RunProperties();
            FontSize      fontSize10     = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties9.Append(fontSize10);
            runProperties9.Append(fontSizeComplexScript7);
            Text text9 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text9.Text = " its use should be controlled and strictly limited to designated executives concerned with the selection of the candidate";

            run9.Append(runProperties9);
            run9.Append(text9);

            paragraph8.Append(paragraphProperties3);
            paragraph8.Append(run7);
            paragraph8.Append(proofError1);
            paragraph8.Append(run8);
            paragraph8.Append(proofError2);
            paragraph8.Append(run9);

            Paragraph paragraph9 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "0F00B1CA", TextId = "77777777"
            };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines()
            {
                After = "195", Line = "240", LineRule = LineSpacingRuleValues.Auto
            };

            paragraphProperties4.Append(spacingBetweenLines4);

            Run run10 = new Run();

            RunProperties runProperties10 = new RunProperties();
            FontSize      fontSize11      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties10.Append(fontSize11);
            runProperties10.Append(fontSizeComplexScript8);
            Text text10 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text10.Text = "Complete references have not been taken up to substantiate the information in this report, but ";

            run10.Append(runProperties10);
            run10.Append(text10);
            ProofError proofError3 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run11 = new Run();

            RunProperties runProperties11 = new RunProperties();
            FontSize      fontSize12      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties11.Append(fontSize12);
            runProperties11.Append(fontSizeComplexScript9);
            Text text11 = new Text();

            text11.Text = "Amrop";

            run11.Append(runProperties11);
            run11.Append(text11);
            ProofError proofError4 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };

            Run run12 = new Run();

            RunProperties runProperties12 = new RunProperties();
            FontSize      fontSize13      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties12.Append(fontSize13);
            runProperties12.Append(fontSizeComplexScript10);
            Text text12 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text12.Text = " will do so at the appropriate ";

            run12.Append(runProperties12);
            run12.Append(text12);
            ProofError proofError5 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };
            ProofError proofError6 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarStart
            };

            Run run13 = new Run();

            RunProperties runProperties13 = new RunProperties();
            FontSize      fontSize14      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties13.Append(fontSize14);
            runProperties13.Append(fontSizeComplexScript11);
            Text text13 = new Text();

            text13.Text = "stage.The";

            run13.Append(runProperties13);
            run13.Append(text13);
            ProofError proofError7 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };
            ProofError proofError8 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarEnd
            };

            Run run14 = new Run();

            RunProperties runProperties14 = new RunProperties();
            FontSize      fontSize15      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties14.Append(fontSize15);
            runProperties14.Append(fontSizeComplexScript12);
            Text text14 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text14.Text = " candidate has agreed to discuss this opportunity on a completely confidential basis. ";

            run14.Append(runProperties14);
            run14.Append(text14);
            ProofError proofError9 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarStart
            };

            Run run15 = new Run();

            RunProperties runProperties15 = new RunProperties();
            FontSize      fontSize16      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties15.Append(fontSize16);
            runProperties15.Append(fontSizeComplexScript13);
            Text text15 = new Text();

            text15.Text = "Therefore";

            run15.Append(runProperties15);
            run15.Append(text15);
            ProofError proofError10 = new ProofError()
            {
                Type = ProofingErrorValues.GrammarEnd
            };

            Run run16 = new Run();

            RunProperties runProperties16 = new RunProperties();
            FontSize      fontSize17      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties16.Append(fontSize17);
            runProperties16.Append(fontSizeComplexScript14);
            Text text16 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text16.Text = " it is imperative that any member of your ";

            run16.Append(runProperties16);
            run16.Append(text16);
            ProofError proofError11 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run17 = new Run();

            RunProperties runProperties17 = new RunProperties();
            FontSize      fontSize18      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties17.Append(fontSize18);
            runProperties17.Append(fontSizeComplexScript15);
            Text text17 = new Text();

            text17.Text = "organisation";

            run17.Append(runProperties17);
            run17.Append(text17);
            ProofError proofError12 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };

            Run run18 = new Run();

            RunProperties runProperties18 = new RunProperties();
            FontSize      fontSize19      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties18.Append(fontSize19);
            runProperties18.Append(fontSizeComplexScript16);
            Text text18 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text18.Text = " without our prior notification and consent check no references";

            run18.Append(runProperties18);
            run18.Append(text18);

            paragraph9.Append(paragraphProperties4);
            paragraph9.Append(run10);
            paragraph9.Append(proofError3);
            paragraph9.Append(run11);
            paragraph9.Append(proofError4);
            paragraph9.Append(run12);
            paragraph9.Append(proofError5);
            paragraph9.Append(proofError6);
            paragraph9.Append(run13);
            paragraph9.Append(proofError7);
            paragraph9.Append(proofError8);
            paragraph9.Append(run14);
            paragraph9.Append(proofError9);
            paragraph9.Append(run15);
            paragraph9.Append(proofError10);
            paragraph9.Append(run16);
            paragraph9.Append(proofError11);
            paragraph9.Append(run17);
            paragraph9.Append(proofError12);
            paragraph9.Append(run18);

            Paragraph paragraph10 = new Paragraph()
            {
                RsidParagraphAddition = "009B2C1D", RsidRunAdditionDefault = "009E39C2", ParagraphId = "28B14C27", TextId = "77777777"
            };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines()
            {
                After = "195", Line = "240", LineRule = LineSpacingRuleValues.Auto
            };

            paragraphProperties5.Append(spacingBetweenLines5);

            Run run19 = new Run();

            RunProperties runProperties19 = new RunProperties();
            FontSize      fontSize20      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties19.Append(fontSize20);
            runProperties19.Append(fontSizeComplexScript17);
            Text text19 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text19.Text = "No contact should be made with this individual, without the prior consent of ";

            run19.Append(runProperties19);
            run19.Append(text19);
            ProofError proofError13 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run20 = new Run();

            RunProperties runProperties20 = new RunProperties();
            FontSize      fontSize21      = new FontSize()
            {
                Val = "15"
            };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript()
            {
                Val = "15"
            };

            runProperties20.Append(fontSize21);
            runProperties20.Append(fontSizeComplexScript18);
            Text text20 = new Text();

            text20.Text = "Amrop";

            run20.Append(runProperties20);
            run20.Append(text20);
            ProofError proofError14 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };

            paragraph10.Append(paragraphProperties5);
            paragraph10.Append(run19);
            paragraph10.Append(proofError13);
            paragraph10.Append(run20);
            paragraph10.Append(proofError14);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph1);
            tableCell1.Append(paragraph2);
            tableCell1.Append(paragraph3);
            tableCell1.Append(paragraph4);
            tableCell1.Append(paragraph5);
            tableCell1.Append(paragraph6);
            tableCell1.Append(paragraph7);
            tableCell1.Append(paragraph8);
            tableCell1.Append(paragraph9);
            tableCell1.Append(paragraph10);

            tableRow1.Append(tableCell1);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            return(table1);
        }
コード例 #9
0
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "00082073", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize1 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(fontSize1);

            paragraphProperties1.Append(spacingBetweenLines1);
            paragraphProperties1.Append(paragraphMarkRunProperties1);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize3 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties2.Append(runFonts3);
            paragraphMarkRunProperties2.Append(fontSize3);

            paragraphProperties2.Append(spacingBetweenLines2);
            paragraphProperties2.Append(paragraphMarkRunProperties2);

            Run run2 = new Run() { RsidRunProperties = "00570900" };
            Bold bold8 = new Bold();

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize4 = new FontSize() { Val = customerDetailsFontSize };

            runProperties2.Append(runFonts4);
            runProperties2.Append(fontSize4);
            runProperties2.Append(bold8);
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };

            //TODO add in customer first Name
            text2.Text = customer.firstName + " ";

            run2.Append(runProperties2);
            run2.Append(text2);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run3 = new Run() { RsidRunProperties = "00570900" };
            Bold bold9 = new Bold();

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize5 = new FontSize() { Val = customerDetailsFontSize };

            runProperties3.Append(bold9);
            runProperties3.Append(runFonts5);
            runProperties3.Append(fontSize5);
            Text text3 = new Text();

            //TODO add in customer last name
            text3.Text = customer.lastName;

            run3.Append(runProperties3);
            run3.Append(text3);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run2);
            paragraph2.Append(proofError1);
            paragraph2.Append(run3);
            paragraph2.Append(proofError2);

            Paragraph paragraphInstitute = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphInstituteProperties = new ParagraphProperties();
            SpacingBetweenLines institudeSpacingBetweenLines = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphInstituteMarkRunProperties = new ParagraphMarkRunProperties();
            RunFonts paragraphRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize paragraphFontSize = new FontSize() { Val = "26" };

            paragraphInstituteMarkRunProperties.Append(paragraphRunFonts);
            paragraphInstituteMarkRunProperties.Append(paragraphFontSize);

            paragraphInstituteProperties.Append(institudeSpacingBetweenLines);
            paragraphInstituteProperties.Append(paragraphInstituteMarkRunProperties);

            Run instituteRun = new Run() { RsidRunProperties = "00570900" };
            Bold instituteBold = new Bold();

            RunProperties instituteRunProperties = new RunProperties();
            RunFonts instituteRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize instituteFontSize = new FontSize() { Val = customerDetailsFontSize };

            instituteRunProperties.Append(instituteBold);
            instituteRunProperties.Append(instituteRunFonts);
            instituteRunProperties.Append(instituteFontSize);
            Text instituteText = new Text() { Space = SpaceProcessingModeValues.Preserve };

            //TODO add in institute
            instituteText.Text = customer.institution;

            instituteRun.Append(instituteRunProperties);
            instituteRun.Append(instituteText);
            ProofError instituteProofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            paragraphInstitute.Append(paragraphInstituteProperties);
            paragraphInstitute.Append(instituteRun);
            paragraphInstitute.Append(instituteProofError3);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize6 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties3.Append(runFonts6);
            paragraphMarkRunProperties3.Append(fontSize6);

            paragraphProperties3.Append(spacingBetweenLines3);
            paragraphProperties3.Append(paragraphMarkRunProperties3);

            Run run4 = new Run() { RsidRunProperties = "00570900" };
            Bold bold10 = new Bold();

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize7 = new FontSize() { Val = customerDetailsFontSize };

            runProperties4.Append(bold10);
            runProperties4.Append(runFonts7);
            runProperties4.Append(fontSize7);
            Text text4 = new Text() { Space = SpaceProcessingModeValues.Preserve };

            //TODO add in address1
            text4.Text = customer.address1;

            run4.Append(runProperties4);
            run4.Append(text4);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run4);
            paragraph3.Append(proofError3);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize10 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties4.Append(runFonts10);
            paragraphMarkRunProperties4.Append(fontSize10);

            paragraphProperties4.Append(spacingBetweenLines4);
            paragraphProperties4.Append(paragraphMarkRunProperties4);
            ProofError proofError5 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run7 = new Run() { RsidRunProperties = "00570900" };
            Bold bold11 = new Bold();

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize11 = new FontSize() { Val = customerDetailsFontSize };

            runProperties7.Append(bold11);
            runProperties7.Append(runFonts11);
            runProperties7.Append(fontSize11);
            Text text7 = new Text();

            //TODO add in address2
            text7.Text = customer.address2;

            run7.Append(runProperties7);
            run7.Append(text7);

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(proofError5);
            paragraph4.Append(run7);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize13 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties5.Append(runFonts13);
            paragraphMarkRunProperties5.Append(fontSize13);

            paragraphProperties5.Append(spacingBetweenLines5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run9 = new Run() { RsidRunProperties = "00570900" };
            Bold bold12 = new Bold();

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize14 = new FontSize() { Val = customerDetailsFontSize };

            runProperties9.Append(bold12);
            runProperties9.Append(runFonts14);
            runProperties9.Append(fontSize14);
            Text text9 = new Text();

            //TODO add in address3
            text9.Text = customer.address3;

            run9.Append(runProperties9);
            run9.Append(text9);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run9);
            paragraph5.Append(bookmarkStart1);
            paragraph5.Append(bookmarkEnd1);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize15 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties6.Append(runFonts15);
            paragraphMarkRunProperties6.Append(fontSize15);

            paragraphProperties6.Append(spacingBetweenLines6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            Run run10 = new Run() { RsidRunProperties = "00570900" };
            Bold bold13 = new Bold();

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize16 = new FontSize() { Val = customerDetailsFontSize };

            runProperties10.Append(bold13);
            runProperties10.Append(runFonts16);
            runProperties10.Append(fontSize16);
            Text text10 = new Text();

            //TODO add in postcode
            text10.Text = customer.postCode;

            run10.Append(runProperties10);
            run10.Append(text10);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run10);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphMarkRevision = "00570900", RsidParagraphAddition = "003627FC", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize17 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties7.Append(runFonts17);
            paragraphMarkRunProperties7.Append(fontSize17);

            paragraphProperties7.Append(spacingBetweenLines7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);

            Run run11 = new Run() { RsidRunProperties = "00570900" };
            Bold bold14 = new Bold();

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize18 = new FontSize() { Val = customerDetailsFontSize };

            runProperties11.Append(bold14);
            runProperties11.Append(runFonts18);
            runProperties11.Append(fontSize18);
            Text text11 = new Text();

            //TODO add in country
            text11.Text = customer.country;

            run11.Append(runProperties11);
            run11.Append(text11);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run11);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "003627FC", RsidParagraphProperties = "00E81AA7", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0" };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold1 = new Bold();
            FontSize fontSize19 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties8.Append(runFonts19);
            paragraphMarkRunProperties8.Append(bold1);
            paragraphMarkRunProperties8.Append(fontSize19);

            paragraphProperties8.Append(spacingBetweenLines8);
            paragraphProperties8.Append(justification1);
            paragraphProperties8.Append(paragraphMarkRunProperties8);

            paragraph8.Append(paragraphProperties8);

            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 = "3355" };

            tableGrid1.Append(gridColumn1);

            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "00E81AA7", RsidTableRowProperties = "002101B4" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            TableRowHeight tableRowHeight1 = new TableRowHeight() { Val = (UInt32Value)1036U };

            tableRowProperties1.Append(tableRowHeight1);

            TableCell tableCell1 = new TableCell();

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

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphMarkRevision = "002F2805", RsidParagraphAddition = "00E81AA7", RsidParagraphProperties = "00E81AA7", RsidRunAdditionDefault = "00E81AA7" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            Justification justification2 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold2 = new Bold();
            FontSize fontSize20 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties9.Append(runFonts20);
            paragraphMarkRunProperties9.Append(bold2);
            paragraphMarkRunProperties9.Append(fontSize20);

            paragraphProperties9.Append(justification2);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run12 = new Run() { RsidRunProperties = "002F2805" };

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold3 = new Bold();
            FontSize fontSize21 = new FontSize() { Val = bookshopLabelTitleSize };

            runProperties12.Append(runFonts21);
            runProperties12.Append(bold3);
            runProperties12.Append(fontSize21);
            Text text12 = new Text();
            text12.Text = "Hard To Find Books Internet NZ Ltd.";

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

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run12);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "00E27825", RsidParagraphAddition = "00E81AA7", RsidParagraphProperties = "00E81AA7", RsidRunAdditionDefault = "00E81AA7" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            Justification justification4 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize24 = new FontSize() { Val = "12" };

            paragraphMarkRunProperties11.Append(runFonts24);
            paragraphMarkRunProperties11.Append(fontSize24);

            paragraphProperties11.Append(justification4);
            paragraphProperties11.Append(paragraphMarkRunProperties11);

            Run run14 = new Run() { RsidRunProperties = "00E27825" };

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize25 = new FontSize() { Val = bookshopLabelSubTitleSize };

            runProperties14.Append(runFonts25);
            runProperties14.Append(fontSize25);
            Text text14 = new Text();
            text14.Text = "PO Box 5645 Moray Pl, Dunedin 9058, New Zealand";

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

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run14);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphMarkRevision = "00E27825", RsidParagraphAddition = "00E81AA7", RsidParagraphProperties = "00E81AA7", RsidRunAdditionDefault = "00E81AA7" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            Justification justification5 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize26 = new FontSize() { Val = "12" };

            paragraphMarkRunProperties12.Append(runFonts26);
            paragraphMarkRunProperties12.Append(fontSize26);

            paragraphProperties12.Append(justification5);
            paragraphProperties12.Append(paragraphMarkRunProperties12);

            Run run15 = new Run() { RsidRunProperties = "00E27825" };

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize27 = new FontSize() { Val = bookshopLabelSubTitleSize };

            runProperties15.Append(runFonts27);
            runProperties15.Append(fontSize27);
            Text text15 = new Text();
            text15.Text = "Phone: +64 3 4745983, Email: [email protected]";

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

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run15);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphMarkRevision = "00E27825", RsidParagraphAddition = "00E81AA7", RsidParagraphProperties = "00E81AA7", RsidRunAdditionDefault = "00E81AA7" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            Justification justification6 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize28 = new FontSize() { Val = "12" };

            paragraphMarkRunProperties13.Append(runFonts28);
            paragraphMarkRunProperties13.Append(fontSize28);

            paragraphProperties13.Append(justification6);
            paragraphProperties13.Append(paragraphMarkRunProperties13);

            Run run16 = new Run() { RsidRunProperties = "00E27825" };

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize29 = new FontSize() { Val = bookshopLabelSubTitleSize };

            runProperties16.Append(runFonts29);
            runProperties16.Append(fontSize29);
            Text text16 = new Text();
            text16.Text = "Website: www.hardtofind.co.nz";

            run16.Append(runProperties16);
            run16.Append(text16);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run16);

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

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            Justification justification7 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold6 = new Bold();
            FontSize fontSize30 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties14.Append(runFonts30);
            paragraphMarkRunProperties14.Append(bold6);
            paragraphMarkRunProperties14.Append(fontSize30);

            paragraphProperties14.Append(justification7);
            paragraphProperties14.Append(paragraphMarkRunProperties14);

            paragraph14.Append(paragraphProperties14);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph9);
            tableCell1.Append(paragraph11);
            tableCell1.Append(paragraph12);
            tableCell1.Append(paragraph13);
            tableCell1.Append(paragraph14);

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphMarkRevision = "003627FC", RsidParagraphAddition = "00E81AA7", RsidParagraphProperties = "003627FC", RsidRunAdditionDefault = "00E81AA7" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold7 = new Bold();
            FontSize fontSize31 = new FontSize() { Val = "26" };

            paragraphMarkRunProperties15.Append(runFonts31);
            paragraphMarkRunProperties15.Append(bold7);
            paragraphMarkRunProperties15.Append(fontSize31);

            paragraphProperties15.Append(spacingBetweenLines9);
            paragraphProperties15.Append(paragraphMarkRunProperties15);

            paragraph15.Append(paragraphProperties15);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "003627FC", RsidParagraphAddition = "003627FC", RsidRunAdditionDefault = "003627FC" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties16.Append(runFonts32);

            paragraphProperties16.Append(paragraphMarkRunProperties16);

            paragraph16.Append(paragraphProperties16);

            SectionProperties sectionProperties1 = new SectionProperties() { RsidRPr = "003627FC", RsidR = "003627FC" };
            PageSize pageSize1 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns() { Space = "708" };
            DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };

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

            body1.Append(paragraph1);
            if (customer.firstName != "" || customer.lastName != "")
                body1.Append(paragraph2);
            if(customer.institution != "")
                body1.Append(paragraphInstitute);
            if(customer.address1 != "")
                body1.Append(paragraph3);
            if(customer.address2 != "")
                body1.Append(paragraph4);
            if(customer.address3 != "")
                body1.Append(paragraph5);
            if(customer.postCode != "")
                body1.Append(paragraph6);
            if(customer.country != "")
                body1.Append(paragraph7);
            body1.Append(paragraph8);

            //Add gap between customer details and store details
            Paragraph blank = new Paragraph();
            Run lineBreak = new Run(new Break());
            blank.Append(lineBreak);
            body1.Append(blank);

            body1.Append(table1);
            body1.Append(paragraph15);
            body1.Append(paragraph16);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #10
0
        public void DoTable1(Table table1)
        {
            TableProperties tableProperties1 = new TableProperties();
            TableWidth      tableWidth1      = new TableWidth()
            {
                Width = "15120", Type = TableWidthUnitValues.Dxa
            };
            TableIndentation tableIndentation1 = new TableIndentation()
            {
                Width = -72, Type = TableWidthUnitValues.Dxa
            };
            TableLook tableLook1 = new TableLook()
            {
                Val = "01E0"
            };

            tableProperties1.Append(tableWidth1);
            tableProperties1.Append(tableIndentation1);
            tableProperties1.Append(tableLook1);

            TableGrid  tableGrid1  = new TableGrid();
            GridColumn gridColumn1 = new GridColumn()
            {
                Width = "1173"
            };
            GridColumn gridColumn2 = new GridColumn()
            {
                Width = "5103"
            };
            GridColumn gridColumn3 = new GridColumn()
            {
                Width = "283"
            };
            GridColumn gridColumn4 = new GridColumn()
            {
                Width = "3402"
            };
            GridColumn gridColumn5 = new GridColumn()
            {
                Width = "5159"
            };

            tableGrid1.Append(gridColumn1);
            tableGrid1.Append(gridColumn2);
            tableGrid1.Append(gridColumn3);
            tableGrid1.Append(gridColumn4);
            tableGrid1.Append(gridColumn5);

            TableRow tableRow1 = new TableRow()
            {
                RsidTableRowMarkRevision = "00ED7FB2", RsidTableRowAddition = "006B4849", RsidTableRowProperties = "00FA3A80"
            };

            TableCell tableCell1 = new TableCell();

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

            TableCellBorders tableCellBorders1 = new TableCellBorders();
            TopBorder        topBorder1        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder1 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder1 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder1 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };

            tableCellBorders1.Append(topBorder1);
            tableCellBorders1.Append(leftBorder1);
            tableCellBorders1.Append(bottomBorder1);
            tableCellBorders1.Append(rightBorder1);
            Shading shading1 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto"
            };
            TableCellVerticalAlignment tableCellVerticalAlignment1 = new TableCellVerticalAlignment()
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(tableCellBorders1);
            tableCellProperties1.Append(shading1);
            tableCellProperties1.Append(tableCellVerticalAlignment1);

            Paragraph paragraph2 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00ED7FB2", RsidParagraphAddition = "006B4849", RsidParagraphProperties = "006B4849", RsidRunAdditionDefault = "006B4849"
            };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts3 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            paragraphMarkRunProperties2.Append(runFonts3);

            paragraphProperties2.Append(paragraphMarkRunProperties2);

            Run run2 = new Run();

            RunProperties runProperties2 = new RunProperties();
            RunFonts      runFonts4      = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            runProperties2.Append(runFonts4);
            Text text2 = new Text();

            text2.Text = "Location";

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

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run2);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph2);

            TableCell tableCell2 = new TableCell();

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

            TableCellBorders tableCellBorders2 = new TableCellBorders();
            TopBorder        topBorder2        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder2 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder2 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder2 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };

            tableCellBorders2.Append(topBorder2);
            tableCellBorders2.Append(leftBorder2);
            tableCellBorders2.Append(bottomBorder2);
            tableCellBorders2.Append(rightBorder2);
            Shading shading2 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto"
            };
            TableCellVerticalAlignment tableCellVerticalAlignment2 = new TableCellVerticalAlignment()
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties2.Append(tableCellWidth2);
            tableCellProperties2.Append(tableCellBorders2);
            tableCellProperties2.Append(shading2);
            tableCellProperties2.Append(tableCellVerticalAlignment2);

            Paragraph paragraph3 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00ED7FB2", RsidParagraphAddition = "006B4849", RsidParagraphProperties = "00030688", RsidRunAdditionDefault = "00030688"
            };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            Justification       justification2       = new Justification()
            {
                Val = JustificationValues.Center
            };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts5 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            paragraphMarkRunProperties3.Append(runFonts5);

            paragraphProperties3.Append(justification2);
            paragraphProperties3.Append(paragraphMarkRunProperties3);
            ProofError proofError1 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run3 = new Run();

            RunProperties runProperties3 = new RunProperties();
            RunFonts      runFonts6      = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            runProperties3.Append(runFonts6);
            Text   text3    = new Text();
            string Location = labSheetA1Sheet.SubsectorName.Substring(labSheetA1Sheet.SubsectorName.IndexOf(" ") + 1);

            text3.Text = labSheetA1Sheet.SubsectorName.Substring(0, labSheetA1Sheet.SubsectorName.IndexOf(" ")) +
                         " (" + (Location.Length > 20 ? Location.Substring(0, 20).Replace("(", "").Replace(")", "") + " ...)" : Location.Replace("(", "").Replace(")", "") + ")");

            run3.Append(runProperties3);
            run3.Append(text3);
            ProofError proofError2 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(proofError1);
            paragraph3.Append(run3);
            paragraph3.Append(proofError2);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph3);

            TableCell tableCell3 = new TableCell();

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

            TableCellBorders tableCellBorders3 = new TableCellBorders();
            LeftBorder       leftBorder3       = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder3 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };

            tableCellBorders3.Append(leftBorder3);
            tableCellBorders3.Append(rightBorder3);
            Shading shading3 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto"
            };
            TableCellVerticalAlignment tableCellVerticalAlignment3 = new TableCellVerticalAlignment()
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties3.Append(tableCellWidth3);
            tableCellProperties3.Append(tableCellBorders3);
            tableCellProperties3.Append(shading3);
            tableCellProperties3.Append(tableCellVerticalAlignment3);

            Paragraph paragraph4 = new Paragraph()
            {
                RsidParagraphMarkRevision = "008162D3", RsidParagraphAddition = "006B4849", RsidParagraphProperties = "008162D3", RsidRunAdditionDefault = "006B4849"
            };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts7 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            FontSize fontSize1 = new FontSize()
            {
                Val = "20"
            };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript()
            {
                Val = "20"
            };

            paragraphMarkRunProperties4.Append(runFonts7);
            paragraphMarkRunProperties4.Append(fontSize1);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript1);

            paragraphProperties4.Append(paragraphMarkRunProperties4);

            paragraph4.Append(paragraphProperties4);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph4);

            TableCell tableCell4 = new TableCell();

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

            TableCellBorders tableCellBorders4 = new TableCellBorders();
            TopBorder        topBorder3        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder4 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder3 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder4 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };

            tableCellBorders4.Append(topBorder3);
            tableCellBorders4.Append(leftBorder4);
            tableCellBorders4.Append(bottomBorder3);
            tableCellBorders4.Append(rightBorder4);
            Shading shading4 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto"
            };
            TableCellVerticalAlignment tableCellVerticalAlignment4 = new TableCellVerticalAlignment()
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties4.Append(tableCellWidth4);
            tableCellProperties4.Append(tableCellBorders4);
            tableCellProperties4.Append(shading4);
            tableCellProperties4.Append(tableCellVerticalAlignment4);

            Paragraph paragraph5 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00ED7FB2", RsidParagraphAddition = "006B4849", RsidParagraphProperties = "008162D3", RsidRunAdditionDefault = "006B4849"
            };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            Justification       justification3       = new Justification()
            {
                Val = JustificationValues.Center
            };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts8 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            paragraphMarkRunProperties5.Append(runFonts8);

            paragraphProperties5.Append(justification3);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run4 = new Run()
            {
                RsidRunProperties = "006B4849"
            };

            RunProperties runProperties4 = new RunProperties();
            RunFonts      runFonts9      = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            Highlight highlight1 = new Highlight()
            {
                Val = HighlightColorValues.Yellow
            };

            runProperties4.Append(runFonts9);
            runProperties4.Append(highlight1);
            Text text4 = new Text();

            text4.Text = "Sampling / Processing Date:";

            run4.Append(runProperties4);
            run4.Append(text4);

            Run run5 = new Run()
            {
                RsidRunProperties = "00ED7FB2"
            };

            RunProperties runProperties5 = new RunProperties();
            RunFonts      runFonts10     = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            runProperties5.Append(runFonts10);
            Text text5 = new Text()
            {
                Space = SpaceProcessingModeValues.Preserve
            };

            text5.Text = "  ";

            run5.Append(runProperties5);
            run5.Append(text5);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run4);
            paragraph5.Append(run5);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph5);

            TableCell tableCell5 = new TableCell();

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

            TableCellBorders tableCellBorders5 = new TableCellBorders();
            TopBorder        topBorder4        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder5 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder4 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder5 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)12U, Space = (UInt32Value)0U
            };

            tableCellBorders5.Append(topBorder4);
            tableCellBorders5.Append(leftBorder5);
            tableCellBorders5.Append(bottomBorder4);
            tableCellBorders5.Append(rightBorder5);
            Shading shading5 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto"
            };
            TableCellVerticalAlignment tableCellVerticalAlignment5 = new TableCellVerticalAlignment()
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties5.Append(tableCellWidth5);
            tableCellProperties5.Append(tableCellBorders5);
            tableCellProperties5.Append(shading5);
            tableCellProperties5.Append(tableCellVerticalAlignment5);

            Paragraph paragraph6 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00ED7FB2", RsidParagraphAddition = "006B4849", RsidParagraphProperties = "00030688", RsidRunAdditionDefault = "00030688"
            };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            Justification       justification4       = new Justification()
            {
                Val = JustificationValues.Center
            };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts11 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            Color color1 = new Color()
            {
                Val = "EAEAEA"
            };

            paragraphMarkRunProperties6.Append(runFonts11);
            paragraphMarkRunProperties6.Append(color1);

            paragraphProperties6.Append(justification4);
            paragraphProperties6.Append(paragraphMarkRunProperties6);
            ProofError proofError3 = new ProofError()
            {
                Type = ProofingErrorValues.SpellStart
            };

            Run run6 = new Run();

            RunProperties runProperties6 = new RunProperties();
            RunFonts      runFonts12     = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };

            runProperties6.Append(runFonts12);
            Text     text6       = new Text();
            DateTime SampleDate  = new DateTime(int.Parse(labSheetA1Sheet.RunYear), int.Parse(labSheetA1Sheet.RunMonth), int.Parse(labSheetA1Sheet.RunDay));
            DateTime ProcessDate = (bool.Parse(labSheetA1Sheet.IncubationStartSameDay) == true ? SampleDate : SampleDate.AddDays(1));

            text6.Text = SampleDate.ToString("yyyy MMMM dd") + " / " + ProcessDate.ToString("yyyy MMMM dd");

            run6.Append(runProperties6);
            run6.Append(text6);
            ProofError proofError4 = new ProofError()
            {
                Type = ProofingErrorValues.SpellEnd
            };


            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(proofError3);
            paragraph6.Append(run6);
            paragraph6.Append(proofError4);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph6);

            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);
            tableRow1.Append(tableCell3);
            tableRow1.Append(tableCell4);
            tableRow1.Append(tableCell5);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);

            Paragraph paragraph7 = new Paragraph()
            {
                RsidParagraphMarkRevision = "00D10A17", RsidParagraphAddition = "00004340", RsidRunAdditionDefault = "00004340"
            };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts15 = new RunFonts()
            {
                Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial"
            };
            FontSize fontSize2 = new FontSize()
            {
                Val = "8"
            };

            paragraphMarkRunProperties7.Append(runFonts15);
            paragraphMarkRunProperties7.Append(fontSize2);

            paragraphProperties7.Append(paragraphMarkRunProperties7);

            paragraph7.Append(paragraphProperties7);
        }
コード例 #11
0
ファイル: Generateinvoice.cs プロジェクト: vijaypaliwal/locum
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document();
            document1.AddNamespaceDeclaration("ve", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");

            Body body1 = new Body();

            Table table1 = new Table();

            TableProperties tableProperties1 = new TableProperties();
            TableStyle tableStyle1 = new TableStyle() { Val = "TableGrid" };
            TableWidth tableWidth1 = new TableWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };
            TableLook tableLook1 = new TableLook() { Val = "04A0" };

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

            TableGrid tableGrid1 = new TableGrid();
            GridColumn gridColumn1 = new GridColumn() { Width = "9700" };

            tableGrid1.Append(gridColumn1);

            TableRow tableRow1 = new TableRow() { RsidTableRowAddition = "003F5FAE", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties1 = new TableRowProperties();
            TableRowHeight tableRowHeight1 = new TableRowHeight() { Val = (UInt32Value)629U };

            tableRowProperties1.Append(tableRowHeight1);

            TableCell tableCell1 = new TableCell();

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

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "003F5FAE", RsidParagraphAddition = "003F5FAE", RsidParagraphProperties = "003F5FAE", RsidRunAdditionDefault = "003F5FAE" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Heading2" };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            paragraphProperties1.Append(paragraphStyleId1);
            paragraphProperties1.Append(justification1);

            Run run1 = new Run() { RsidRunProperties = "003F5FAE" };
            Text text1 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text1.Text = "LOCUM ";

            run1.Append(text1);

            Run run2 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties1 = new RunProperties();
            Color color1 = new Color() { Val = "1F497D", ThemeColor = ThemeColorValues.Text2 };

            runProperties1.Append(color1);
            Text text2 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text2.Text = "Assistance ";

            run2.Append(runProperties1);
            run2.Append(text2);

            Run run3 = new Run();

            RunProperties runProperties2 = new RunProperties();
            Color color2 = new Color() { Val = "1F497D", ThemeColor = ThemeColorValues.Text2 };

            runProperties2.Append(color2);
            Text text3 = new Text();
            text3.Text = "–";

            run3.Append(runProperties2);
            run3.Append(text3);

            Run run4 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties3 = new RunProperties();
            Color color3 = new Color() { Val = "1F497D", ThemeColor = ThemeColorValues.Text2 };

            runProperties3.Append(color3);
            Text text4 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text4.Text = " ";

            run4.Append(runProperties3);
            run4.Append(text4);

            Run run5 = new Run();

            RunProperties runProperties4 = new RunProperties();
            Color color4 = new Color() { Val = "1F497D", ThemeColor = ThemeColorValues.Text2 };

            runProperties4.Append(color4);
            Text text5 = new Text();
            text5.Text = "Invoice";

            run5.Append(runProperties4);
            run5.Append(text5);

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

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph1);

            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);

            TableRow tableRow2 = new TableRow() { RsidTableRowAddition = "003F5FAE", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties2 = new TableRowProperties();
            TableRowHeight tableRowHeight2 = new TableRowHeight() { Val = (UInt32Value)5167U };

            tableRowProperties2.Append(tableRowHeight2);

            TableCell tableCell2 = new TableCell();

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

            tableCellProperties2.Append(tableCellWidth2);

            Table table2 = new Table();

            TableProperties tableProperties2 = new TableProperties();
            TableStyle tableStyle2 = new TableStyle() { Val = "LightShading-Accent1" };
            TableWidth tableWidth2 = new TableWidth() { Width = "9483", Type = TableWidthUnitValues.Dxa };
            TableIndentation tableIndentation1 = new TableIndentation() { Width = 1, Type = TableWidthUnitValues.Dxa };
            TableLook tableLook2 = new TableLook() { Val = "04A0" };

            tableProperties2.Append(tableStyle2);
            tableProperties2.Append(tableWidth2);
            tableProperties2.Append(tableIndentation1);
            tableProperties2.Append(tableLook2);

            TableGrid tableGrid2 = new TableGrid();
            GridColumn gridColumn2 = new GridColumn() { Width = "4741" };
            GridColumn gridColumn3 = new GridColumn() { Width = "4742" };

            tableGrid2.Append(gridColumn2);
            tableGrid2.Append(gridColumn3);

            TableRow tableRow3 = new TableRow() { RsidTableRowAddition = "003F5FAE", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties3 = new TableRowProperties();
            ConditionalFormatStyle conditionalFormatStyle1 = new ConditionalFormatStyle() { Val = "100000000000" };
            TableRowHeight tableRowHeight3 = new TableRowHeight() { Val = (UInt32Value)284U };

            tableRowProperties3.Append(conditionalFormatStyle1);
            tableRowProperties3.Append(tableRowHeight3);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            ConditionalFormatStyle conditionalFormatStyle2 = new ConditionalFormatStyle() { Val = "001000000000" };
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "4741", Type = TableWidthUnitValues.Dxa };

            tableCellProperties3.Append(conditionalFormatStyle2);
            tableCellProperties3.Append(tableCellWidth3);

            Paragraph paragraph2 = new Paragraph() { RsidParagraphAddition = "003F5FAE", RsidParagraphProperties = "003F5FAE", RsidRunAdditionDefault = "003F5FAE" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold1 = new Bold() { Val = false };
            Color color5 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize1 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(bold1);
            paragraphMarkRunProperties1.Append(color5);
            paragraphMarkRunProperties1.Append(fontSize1);
            paragraphMarkRunProperties1.Append(fontSizeComplexScript1);

            paragraphProperties2.Append(paragraphMarkRunProperties1);

            Run run6 = new Run();

            RunProperties runProperties5 = new RunProperties();
            Bold bold2 = new Bold() { Val = false };
            Color color6 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties5.Append(bold2);
            runProperties5.Append(color6);
            Text text6 = new Text();
            text6.Text = "TO";

            run6.Append(runProperties5);
            run6.Append(text6);

            Run run7 = new Run();

            RunProperties runProperties6 = new RunProperties();
            Bold bold3 = new Bold() { Val = false };
            Color color7 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties6.Append(bold3);
            runProperties6.Append(color7);
            Break break1 = new Break();

            run7.Append(runProperties6);
            run7.Append(break1);

            Run run8 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold4 = new Bold() { Val = false };
            Color color8 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties7.Append(runFonts2);
            runProperties7.Append(bold4);
            runProperties7.Append(color8);
            Text text7 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text7.Text = pdetail.Name;

            run8.Append(runProperties7);
            run8.Append(text7);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run9 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold5 = new Bold() { Val = false };
            Color color9 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties8.Append(runFonts3);
            runProperties8.Append(bold5);
            runProperties8.Append(color9);
            Text text8 = new Text();
            text8.Text = "";

            run9.Append(runProperties8);
            run9.Append(text8);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run10 = new Run();

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold6 = new Bold() { Val = false };
            Color color10 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties9.Append(runFonts4);
            runProperties9.Append(bold6);
            runProperties9.Append(color10);
            Break break2 = new Break();

            run10.Append(runProperties9);
            run10.Append(break2);

            Run run11 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color11 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize2 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript() { Val = "18" };

            runProperties10.Append(runFonts5);
            runProperties10.Append(color11);
            runProperties10.Append(fontSize2);
            runProperties10.Append(fontSizeComplexScript2);
            Text text9 = new Text();
            text9.Text = "Website";

            run11.Append(runProperties10);
            run11.Append(text9);

            Run run12 = new Run();

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold7 = new Bold() { Val = false };
            Color color12 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize3 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript() { Val = "18" };

            runProperties11.Append(runFonts6);
            runProperties11.Append(bold7);
            runProperties11.Append(color12);
            runProperties11.Append(fontSize3);
            runProperties11.Append(fontSizeComplexScript3);
            Text text10 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text10.Text = " : ";

            run12.Append(runProperties11);
            run12.Append(text10);

            Hyperlink hyperlink1 = new Hyperlink() { History = true, Id = "rId4" };

            Run run13 = new Run() { RsidRunProperties = "00366D29" };

            RunProperties runProperties12 = new RunProperties();
            RunStyle runStyle1 = new RunStyle() { Val = "Hyperlink" };
            RunFonts runFonts7 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            FontSize fontSize4 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript() { Val = "18" };

            runProperties12.Append(runStyle1);
            runProperties12.Append(runFonts7);
            runProperties12.Append(fontSize4);
            runProperties12.Append(fontSizeComplexScript4);
            Text text11 = new Text();
            text11.Text = pdetail.cWebsite;

            run13.Append(runProperties12);
            run13.Append(text11);

            hyperlink1.Append(run13);

            Run run14 = new Run();

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold8 = new Bold() { Val = false };
            Color color13 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize5 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript5 = new FontSizeComplexScript() { Val = "18" };

            runProperties13.Append(runFonts8);
            runProperties13.Append(bold8);
            runProperties13.Append(color13);
            runProperties13.Append(fontSize5);
            runProperties13.Append(fontSizeComplexScript5);
            Break break3 = new Break();

            run14.Append(runProperties13);
            run14.Append(break3);

            Run run15 = new Run();

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color14 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize6 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript6 = new FontSizeComplexScript() { Val = "18" };

            runProperties14.Append(runFonts9);
            runProperties14.Append(color14);
            runProperties14.Append(fontSize6);
            runProperties14.Append(fontSizeComplexScript6);
            Text text12 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text12.Text = "City        ";

            run15.Append(runProperties14);
            run15.Append(text12);

            Run run16 = new Run();

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold9 = new Bold() { Val = false };
            Color color15 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize7 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript7 = new FontSizeComplexScript() { Val = "18" };

            runProperties15.Append(runFonts10);
            runProperties15.Append(bold9);
            runProperties15.Append(color15);
            runProperties15.Append(fontSize7);
            runProperties15.Append(fontSizeComplexScript7);
            Text text13 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text13.Text = " : " + pdetail.city;

            run16.Append(runProperties15);
            run16.Append(text13);

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run6);
            paragraph2.Append(run7);
            paragraph2.Append(run8);
            paragraph2.Append(proofError1);
            paragraph2.Append(run9);
            paragraph2.Append(proofError2);
            paragraph2.Append(run10);
            paragraph2.Append(run11);
            paragraph2.Append(run12);
            paragraph2.Append(hyperlink1);
            paragraph2.Append(run14);
            paragraph2.Append(run15);
            paragraph2.Append(run16);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold10 = new Bold() { Val = false };
            Color color16 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize8 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript8 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties2.Append(runFonts11);
            paragraphMarkRunProperties2.Append(bold10);
            paragraphMarkRunProperties2.Append(color16);
            paragraphMarkRunProperties2.Append(fontSize8);
            paragraphMarkRunProperties2.Append(fontSizeComplexScript8);

            paragraphProperties3.Append(paragraphMarkRunProperties2);

            Run run17 = new Run();

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color17 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize9 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript9 = new FontSizeComplexScript() { Val = "18" };

            runProperties16.Append(runFonts12);
            runProperties16.Append(color17);
            runProperties16.Append(fontSize9);
            runProperties16.Append(fontSizeComplexScript9);
            Text text14 = new Text();
            text14.Text = "Street";

            run17.Append(runProperties16);
            run17.Append(text14);

            Run run18 = new Run() { RsidRunAddition = "003F5FAE" };

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color18 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize10 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript10 = new FontSizeComplexScript() { Val = "18" };

            runProperties17.Append(runFonts13);
            runProperties17.Append(color18);
            runProperties17.Append(fontSize10);
            runProperties17.Append(fontSizeComplexScript10);
            Text text15 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text15.Text = "    ";

            run18.Append(runProperties17);
            run18.Append(text15);

            Run run19 = new Run() { RsidRunAddition = "003F5FAE" };

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold11 = new Bold() { Val = false };
            Color color19 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize11 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript11 = new FontSizeComplexScript() { Val = "18" };

            runProperties18.Append(runFonts14);
            runProperties18.Append(bold11);
            runProperties18.Append(color19);
            runProperties18.Append(fontSize11);
            runProperties18.Append(fontSizeComplexScript11);
            Text text16 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text16.Text = " : " + pdetail.streetAdd;

            run19.Append(runProperties18);
            run19.Append(text16);

            Run run20 = new Run();

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold12 = new Bold() { Val = false };
            Color color20 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize12 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript12 = new FontSizeComplexScript() { Val = "18" };

            runProperties19.Append(runFonts15);
            runProperties19.Append(bold12);
            runProperties19.Append(color20);
            runProperties19.Append(fontSize12);
            runProperties19.Append(fontSizeComplexScript12);
            Text text17 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text17.Text = "";

            run20.Append(runProperties19);
            run20.Append(text17);

            Run run21 = new Run();

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold13 = new Bold() { Val = false };
            Color color21 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize13 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript13 = new FontSizeComplexScript() { Val = "18" };

            runProperties20.Append(runFonts16);
            runProperties20.Append(bold13);
            runProperties20.Append(color21);
            runProperties20.Append(fontSize13);
            runProperties20.Append(fontSizeComplexScript13);
            Break break4 = new Break();

            run21.Append(runProperties20);
            run21.Append(break4);

            Run run22 = new Run();

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color22 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize14 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript14 = new FontSizeComplexScript() { Val = "18" };

            runProperties21.Append(runFonts17);
            runProperties21.Append(color22);
            runProperties21.Append(fontSize14);
            runProperties21.Append(fontSizeComplexScript14);
            Text text18 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text18.Text = "Phone    ";

            run22.Append(runProperties21);
            run22.Append(text18);

            Run run23 = new Run();

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold14 = new Bold() { Val = false };
            Color color23 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize15 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript15 = new FontSizeComplexScript() { Val = "18" };

            runProperties22.Append(runFonts18);
            runProperties22.Append(bold14);
            runProperties22.Append(color23);
            runProperties22.Append(fontSize15);
            runProperties22.Append(fontSizeComplexScript15);
            Text text19 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text19.Text = "";

            run23.Append(runProperties22);
            run23.Append(text19);

            Run run24 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold15 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript1 = new BoldComplexScript() { Val = false };
            Color color24 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize16 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript16 = new FontSizeComplexScript() { Val = "18" };

            runProperties23.Append(runFonts19);
            runProperties23.Append(bold15);
            runProperties23.Append(boldComplexScript1);
            runProperties23.Append(color24);
            runProperties23.Append(fontSize16);
            runProperties23.Append(fontSizeComplexScript16);
            Text text20 = new Text();
            text20.Text = ":";

            run24.Append(runProperties23);
            run24.Append(text20);

            Run run25 = new Run();

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold16 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript2 = new BoldComplexScript() { Val = false };
            Color color25 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize17 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript17 = new FontSizeComplexScript() { Val = "18" };

            runProperties24.Append(runFonts20);
            runProperties24.Append(bold16);
            runProperties24.Append(boldComplexScript2);
            runProperties24.Append(color25);
            runProperties24.Append(fontSize17);
            runProperties24.Append(fontSizeComplexScript17);
            Text text21 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text21.Text = " ";

            run25.Append(runProperties24);
            run25.Append(text21);

            Run run26 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold17 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript3 = new BoldComplexScript() { Val = false };
            Color color26 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize18 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript18 = new FontSizeComplexScript() { Val = "18" };

            runProperties25.Append(runFonts21);
            runProperties25.Append(bold17);
            runProperties25.Append(boldComplexScript3);
            runProperties25.Append(color26);
            runProperties25.Append(fontSize18);
            runProperties25.Append(fontSizeComplexScript18);
            Text text22 = new Text();
            text22.Text = pdetail.Pphone;

            run26.Append(runProperties25);
            run26.Append(text22);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run17);
            paragraph3.Append(run18);
            paragraph3.Append(run19);
            paragraph3.Append(run20);
            paragraph3.Append(run21);
            paragraph3.Append(run22);
            paragraph3.Append(run23);
            paragraph3.Append(run24);
            paragraph3.Append(run25);
            paragraph3.Append(run26);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "003F5FAE", RsidParagraphAddition = "003F5FAE", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            Bold bold18 = new Bold() { Val = false };
            Color color27 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            paragraphMarkRunProperties3.Append(bold18);
            paragraphMarkRunProperties3.Append(color27);

            paragraphProperties4.Append(paragraphMarkRunProperties3);

            Run run27 = new Run();

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color28 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize19 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript19 = new FontSizeComplexScript() { Val = "18" };

            runProperties26.Append(runFonts22);
            runProperties26.Append(color28);
            runProperties26.Append(fontSize19);
            runProperties26.Append(fontSizeComplexScript19);
            Text text23 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text23.Text = "Email     ";

            run27.Append(runProperties26);
            run27.Append(text23);

            Run run28 = new Run();

            RunProperties runProperties27 = new RunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold19 = new Bold() { Val = false };
            Color color29 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize20 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript20 = new FontSizeComplexScript() { Val = "18" };

            runProperties27.Append(runFonts23);
            runProperties27.Append(bold19);
            runProperties27.Append(color29);
            runProperties27.Append(fontSize20);
            runProperties27.Append(fontSizeComplexScript20);
            Text text24 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text24.Text = " ";

            run28.Append(runProperties27);
            run28.Append(text24);

            Run run29 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties28 = new RunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold20 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript4 = new BoldComplexScript() { Val = false };
            Color color30 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize21 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript21 = new FontSizeComplexScript() { Val = "18" };

            runProperties28.Append(runFonts24);
            runProperties28.Append(bold20);
            runProperties28.Append(boldComplexScript4);
            runProperties28.Append(color30);
            runProperties28.Append(fontSize21);
            runProperties28.Append(fontSizeComplexScript21);
            Text text25 = new Text();
            text25.Text = ":";

            run29.Append(runProperties28);
            run29.Append(text25);

            Run run30 = new Run();

            RunProperties runProperties29 = new RunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold21 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript5 = new BoldComplexScript() { Val = false };
            Color color31 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize22 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript22 = new FontSizeComplexScript() { Val = "18" };

            runProperties29.Append(runFonts25);
            runProperties29.Append(bold21);
            runProperties29.Append(boldComplexScript5);
            runProperties29.Append(color31);
            runProperties29.Append(fontSize22);
            runProperties29.Append(fontSizeComplexScript22);
            Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text26.Text = " ";

            run30.Append(runProperties29);
            run30.Append(text26);

            Hyperlink hyperlink2 = new Hyperlink() { History = true, Id = "rId5" };

            Run run31 = new Run() { RsidRunProperties = "00366D29" };

            RunProperties runProperties30 = new RunProperties();
            RunStyle runStyle2 = new RunStyle() { Val = "Hyperlink" };
            RunFonts runFonts26 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            FontSize fontSize23 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript23 = new FontSizeComplexScript() { Val = "18" };

            runProperties30.Append(runStyle2);
            runProperties30.Append(runFonts26);
            runProperties30.Append(fontSize23);
            runProperties30.Append(fontSizeComplexScript23);
            Text text27 = new Text();
            text27.Text = pdetail.cEmail;

            run31.Append(runProperties30);
            run31.Append(text27);

            hyperlink2.Append(run31);

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(run27);
            paragraph4.Append(run28);
            paragraph4.Append(run29);
            paragraph4.Append(run30);
            paragraph4.Append(hyperlink2);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph2);
            tableCell3.Append(paragraph3);
            tableCell3.Append(paragraph4);

            TableCell tableCell4 = new TableCell();

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

            tableCellProperties4.Append(tableCellWidth4);

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

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle3 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold22 = new Bold() { Val = false };
            Color color32 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize24 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript24 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties4.Append(runFonts27);
            paragraphMarkRunProperties4.Append(bold22);
            paragraphMarkRunProperties4.Append(color32);
            paragraphMarkRunProperties4.Append(fontSize24);
            paragraphMarkRunProperties4.Append(fontSizeComplexScript24);

            paragraphProperties5.Append(conditionalFormatStyle3);
            paragraphProperties5.Append(paragraphMarkRunProperties4);

            Run run32 = new Run();

            RunProperties runProperties31 = new RunProperties();
            Bold bold23 = new Bold() { Val = false };
            Color color33 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties31.Append(bold23);
            runProperties31.Append(color33);
            Text text28 = new Text();
            text28.Text = "From";

            run32.Append(runProperties31);
            run32.Append(text28);

            Run run33 = new Run();

            RunProperties runProperties32 = new RunProperties();
            Bold bold24 = new Bold() { Val = false };
            Color color34 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties32.Append(bold24);
            runProperties32.Append(color34);
            Break break5 = new Break();

            run33.Append(runProperties32);
            run33.Append(break5);

            Run run34 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties33 = new RunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold25 = new Bold() { Val = false };
            Color color35 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties33.Append(runFonts28);
            runProperties33.Append(bold25);
            runProperties33.Append(color35);
            Text text29 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text29.Text = "Dr. ";

            run34.Append(runProperties33);
            run34.Append(text29);

            Run run35 = new Run();

            RunProperties runProperties34 = new RunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold26 = new Bold() { Val = false };
            Color color36 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties34.Append(runFonts29);
            runProperties34.Append(bold26);
            runProperties34.Append(color36);
            Text text30 = new Text();
            text30.Text = persondetail.FirstName;

            run35.Append(runProperties34);
            run35.Append(text30);

            Run run36 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties35 = new RunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold27 = new Bold() { Val = false };
            Color color37 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties35.Append(runFonts30);
            runProperties35.Append(bold27);
            runProperties35.Append(color37);
            Text text31 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text31.Text = " ";

            run36.Append(runProperties35);
            run36.Append(text31);
            ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run37 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties36 = new RunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold28 = new Bold() { Val = false };
            Color color38 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties36.Append(runFonts31);
            runProperties36.Append(bold28);
            runProperties36.Append(color38);
            Text text32 = new Text();
            text32.Text = persondetail.LastName;

            run37.Append(runProperties36);
            run37.Append(text32);
            ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            Run run38 = new Run();

            RunProperties runProperties37 = new RunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold29 = new Bold() { Val = false };
            Color color39 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties37.Append(runFonts32);
            runProperties37.Append(bold29);
            runProperties37.Append(color39);
            Break break6 = new Break();

            run38.Append(runProperties37);
            run38.Append(break6);

            Run run39 = new Run() { RsidRunProperties = "003F5FAE" };

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color40 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize25 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript25 = new FontSizeComplexScript() { Val = "18" };

            runProperties38.Append(runFonts33);
            runProperties38.Append(color40);
            runProperties38.Append(fontSize25);
            runProperties38.Append(fontSizeComplexScript25);
            Text text33 = new Text();
            text33.Text = "Website";

            run39.Append(runProperties38);
            run39.Append(text33);

            Run run40 = new Run();

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold30 = new Bold() { Val = false };
            Color color41 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize26 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript26 = new FontSizeComplexScript() { Val = "18" };

            runProperties39.Append(runFonts34);
            runProperties39.Append(bold30);
            runProperties39.Append(color41);
            runProperties39.Append(fontSize26);
            runProperties39.Append(fontSizeComplexScript26);
            Text text34 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text34.Text = " : ";

            run40.Append(runProperties39);
            run40.Append(text34);

            Hyperlink hyperlink3 = new Hyperlink() { History = true, Id = "rId6" };

            Run run41 = new Run() { RsidRunProperties = "00366D29" };

            RunProperties runProperties40 = new RunProperties();
            RunStyle runStyle3 = new RunStyle() { Val = "Hyperlink" };
            RunFonts runFonts35 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            FontSize fontSize27 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript() { Val = "18" };

            runProperties40.Append(runStyle3);
            runProperties40.Append(runFonts35);
            runProperties40.Append(fontSize27);
            runProperties40.Append(fontSizeComplexScript27);
            Text text35 = new Text();
            text35.Text = "www.shivam.com";

            run41.Append(runProperties40);
            run41.Append(text35);

            hyperlink3.Append(run41);

            Run run42 = new Run();

            RunProperties runProperties41 = new RunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold31 = new Bold() { Val = false };
            Color color42 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize28 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript() { Val = "18" };

            runProperties41.Append(runFonts36);
            runProperties41.Append(bold31);
            runProperties41.Append(color42);
            runProperties41.Append(fontSize28);
            runProperties41.Append(fontSizeComplexScript28);
            Break break7 = new Break();

            run42.Append(runProperties41);
            run42.Append(break7);

            Run run43 = new Run();

            RunProperties runProperties42 = new RunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color43 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize29 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript29 = new FontSizeComplexScript() { Val = "18" };

            runProperties42.Append(runFonts37);
            runProperties42.Append(color43);
            runProperties42.Append(fontSize29);
            runProperties42.Append(fontSizeComplexScript29);
            Text text36 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text36.Text = "City        ";

            run43.Append(runProperties42);
            run43.Append(text36);

            Run run44 = new Run();

            RunProperties runProperties43 = new RunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold32 = new Bold() { Val = false };
            Color color44 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize30 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript30 = new FontSizeComplexScript() { Val = "18" };

            runProperties43.Append(runFonts38);
            runProperties43.Append(bold32);
            runProperties43.Append(color44);
            runProperties43.Append(fontSize30);
            runProperties43.Append(fontSizeComplexScript30);
            Text text37 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text37.Text = persondetail.city;

            run44.Append(runProperties43);
            run44.Append(text37);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run32);
            paragraph5.Append(run33);
            paragraph5.Append(run34);
            paragraph5.Append(run35);
            paragraph5.Append(run36);
            paragraph5.Append(proofError3);
            paragraph5.Append(run37);
            paragraph5.Append(proofError4);
            paragraph5.Append(run38);
            paragraph5.Append(run39);
            paragraph5.Append(run40);
            paragraph5.Append(hyperlink3);
            paragraph5.Append(run42);
            paragraph5.Append(run43);
            paragraph5.Append(run44);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle4 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold33 = new Bold() { Val = false };
            Color color45 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize31 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript31 = new FontSizeComplexScript() { Val = "18" };

            paragraphMarkRunProperties5.Append(runFonts39);
            paragraphMarkRunProperties5.Append(bold33);
            paragraphMarkRunProperties5.Append(color45);
            paragraphMarkRunProperties5.Append(fontSize31);
            paragraphMarkRunProperties5.Append(fontSizeComplexScript31);

            paragraphProperties6.Append(conditionalFormatStyle4);
            paragraphProperties6.Append(paragraphMarkRunProperties5);

            Run run45 = new Run();

            RunProperties runProperties44 = new RunProperties();
            RunFonts runFonts40 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color46 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize32 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript32 = new FontSizeComplexScript() { Val = "18" };

            runProperties44.Append(runFonts40);
            runProperties44.Append(color46);
            runProperties44.Append(fontSize32);
            runProperties44.Append(fontSizeComplexScript32);
            Text text38 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text38.Text = "Street :    ";

            run45.Append(runProperties44);
            run45.Append(text38);

            Run run46 = new Run();

            RunProperties runProperties45 = new RunProperties();
            RunFonts runFonts41 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold34 = new Bold() { Val = false };
            Color color47 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize33 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript33 = new FontSizeComplexScript() { Val = "18" };

            runProperties45.Append(runFonts41);
            runProperties45.Append(bold34);
            runProperties45.Append(color47);
            runProperties45.Append(fontSize33);
            runProperties45.Append(fontSizeComplexScript33);
            Text text39 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text39.Text = persondetail.streetAdd;

            run46.Append(runProperties45);
            run46.Append(text39);

            Run run47 = new Run();

            RunProperties runProperties46 = new RunProperties();
            RunFonts runFonts42 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold35 = new Bold() { Val = false };
            Color color48 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize34 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript34 = new FontSizeComplexScript() { Val = "18" };

            runProperties46.Append(runFonts42);
            runProperties46.Append(bold35);
            runProperties46.Append(color48);
            runProperties46.Append(fontSize34);
            runProperties46.Append(fontSizeComplexScript34);
            Break break8 = new Break();

            run47.Append(runProperties46);
            run47.Append(break8);

            Run run48 = new Run();

            RunProperties runProperties47 = new RunProperties();
            RunFonts runFonts43 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color49 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize35 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript35 = new FontSizeComplexScript() { Val = "18" };

            runProperties47.Append(runFonts43);
            runProperties47.Append(color49);
            runProperties47.Append(fontSize35);
            runProperties47.Append(fontSizeComplexScript35);
            Text text40 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text40.Text = "Phone :    ";

            run48.Append(runProperties47);
            run48.Append(text40);

            Run run49 = new Run();

            RunProperties runProperties48 = new RunProperties();
            RunFonts runFonts44 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold36 = new Bold() { Val = false };
            Color color50 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize36 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript36 = new FontSizeComplexScript() { Val = "18" };

            runProperties48.Append(runFonts44);
            runProperties48.Append(bold36);
            runProperties48.Append(color50);
            runProperties48.Append(fontSize36);
            runProperties48.Append(fontSizeComplexScript36);
            Text text41 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text41.Text = " ";

            run49.Append(runProperties48);
            run49.Append(text41);

            Run run50 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties49 = new RunProperties();
            RunFonts runFonts45 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold37 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript6 = new BoldComplexScript() { Val = false };
            Color color51 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize37 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript37 = new FontSizeComplexScript() { Val = "18" };

            runProperties49.Append(runFonts45);
            runProperties49.Append(bold37);
            runProperties49.Append(boldComplexScript6);
            runProperties49.Append(color51);
            runProperties49.Append(fontSize37);
            runProperties49.Append(fontSizeComplexScript37);
            Text text42 = new Text();
            text42.Text = ":";

            run50.Append(runProperties49);
            run50.Append(text42);

            Run run51 = new Run();

            RunProperties runProperties50 = new RunProperties();
            RunFonts runFonts46 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold38 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript7 = new BoldComplexScript() { Val = false };
            Color color52 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize38 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript38 = new FontSizeComplexScript() { Val = "18" };

            runProperties50.Append(runFonts46);
            runProperties50.Append(bold38);
            runProperties50.Append(boldComplexScript7);
            runProperties50.Append(color52);
            runProperties50.Append(fontSize38);
            runProperties50.Append(fontSizeComplexScript38);
            Text text43 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text43.Text = " ";

            run51.Append(runProperties50);
            run51.Append(text43);

            Run run52 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties51 = new RunProperties();
            RunFonts runFonts47 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold39 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript8 = new BoldComplexScript() { Val = false };
            Color color53 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize39 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript39 = new FontSizeComplexScript() { Val = "18" };

            runProperties51.Append(runFonts47);
            runProperties51.Append(bold39);
            runProperties51.Append(boldComplexScript8);
            runProperties51.Append(color53);
            runProperties51.Append(fontSize39);
            runProperties51.Append(fontSizeComplexScript39);
            Text text44 = new Text();
            text44.Text = persondetail.phone;

            run52.Append(runProperties51);
            run52.Append(text44);

            paragraph6.Append(paragraphProperties6);
            paragraph6.Append(run45);
            paragraph6.Append(run46);
            paragraph6.Append(run47);
            paragraph6.Append(run48);
            paragraph6.Append(run49);
            paragraph6.Append(run50);
            paragraph6.Append(run51);
            paragraph6.Append(run52);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "003F5FAE", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle5 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            Bold bold40 = new Bold() { Val = false };
            Color color54 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties6.Append(bold40);
            paragraphMarkRunProperties6.Append(color54);

            paragraphProperties7.Append(conditionalFormatStyle5);
            paragraphProperties7.Append(paragraphMarkRunProperties6);

            Run run53 = new Run();

            RunProperties runProperties52 = new RunProperties();
            RunFonts runFonts48 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Color color55 = new Color() { Val = "17365D", ThemeColor = ThemeColorValues.Text2, ThemeShade = "BF" };
            FontSize fontSize40 = new FontSize() { Val = "12" };
            FontSizeComplexScript fontSizeComplexScript40 = new FontSizeComplexScript() { Val = "18" };

            runProperties52.Append(runFonts48);
            runProperties52.Append(color55);
            runProperties52.Append(fontSize40);
            runProperties52.Append(fontSizeComplexScript40);
            Text text45 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text45.Text = "Email     ";

            run53.Append(runProperties52);
            run53.Append(text45);

            Run run54 = new Run();

            RunProperties runProperties53 = new RunProperties();
            RunFonts runFonts49 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold41 = new Bold() { Val = false };
            Color color56 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize41 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript41 = new FontSizeComplexScript() { Val = "18" };

            runProperties53.Append(runFonts49);
            runProperties53.Append(bold41);
            runProperties53.Append(color56);
            runProperties53.Append(fontSize41);
            runProperties53.Append(fontSizeComplexScript41);
            Text text46 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text46.Text = " ";

            run54.Append(runProperties53);
            run54.Append(text46);

            Run run55 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties54 = new RunProperties();
            RunFonts runFonts50 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold42 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript9 = new BoldComplexScript() { Val = false };
            Color color57 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize42 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript42 = new FontSizeComplexScript() { Val = "18" };

            runProperties54.Append(runFonts50);
            runProperties54.Append(bold42);
            runProperties54.Append(boldComplexScript9);
            runProperties54.Append(color57);
            runProperties54.Append(fontSize42);
            runProperties54.Append(fontSizeComplexScript42);
            Text text47 = new Text();
            text47.Text = ":";

            run55.Append(runProperties54);
            run55.Append(text47);

            Run run56 = new Run();

            RunProperties runProperties55 = new RunProperties();
            RunFonts runFonts51 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            Bold bold43 = new Bold() { Val = false };
            BoldComplexScript boldComplexScript10 = new BoldComplexScript() { Val = false };
            Color color58 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };
            FontSize fontSize43 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript43 = new FontSizeComplexScript() { Val = "18" };

            runProperties55.Append(runFonts51);
            runProperties55.Append(bold43);
            runProperties55.Append(boldComplexScript10);
            runProperties55.Append(color58);
            runProperties55.Append(fontSize43);
            runProperties55.Append(fontSizeComplexScript43);
            Text text48 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text48.Text = " ";

            run56.Append(runProperties55);
            run56.Append(text48);

            Hyperlink hyperlink4 = new Hyperlink() { History = true, Id = "rId7" };

            Run run57 = new Run() { RsidRunProperties = "00366D29" };

            RunProperties runProperties56 = new RunProperties();
            RunStyle runStyle4 = new RunStyle() { Val = "Hyperlink" };
            RunFonts runFonts52 = new RunFonts() { Ascii = "Segoe UI", HighAnsi = "Segoe UI", ComplexScript = "Segoe UI" };
            FontSize fontSize44 = new FontSize() { Val = "18" };
            FontSizeComplexScript fontSizeComplexScript44 = new FontSizeComplexScript() { Val = "18" };

            runProperties56.Append(runStyle4);
            runProperties56.Append(runFonts52);
            runProperties56.Append(fontSize44);
            runProperties56.Append(fontSizeComplexScript44);
            Text text49 = new Text();
            text49.Text = persondetail.Email;

            run57.Append(runProperties56);
            run57.Append(text49);

            hyperlink4.Append(run57);

            paragraph7.Append(paragraphProperties7);
            paragraph7.Append(run53);
            paragraph7.Append(run54);
            paragraph7.Append(run55);
            paragraph7.Append(run56);
            paragraph7.Append(hyperlink4);

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

            tableRow3.Append(tableRowProperties3);
            tableRow3.Append(tableCell3);
            tableRow3.Append(tableCell4);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties4 = new TableRowProperties();
            ConditionalFormatStyle conditionalFormatStyle6 = new ConditionalFormatStyle() { Val = "000000100000" };
            TableRowHeight tableRowHeight4 = new TableRowHeight() { Val = (UInt32Value)284U };

            tableRowProperties4.Append(conditionalFormatStyle6);
            tableRowProperties4.Append(tableRowHeight4);

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            ConditionalFormatStyle conditionalFormatStyle7 = new ConditionalFormatStyle() { Val = "001000000000" };
            TableCellWidth tableCellWidth5 = new TableCellWidth() { Width = "4741", Type = TableWidthUnitValues.Dxa };

            tableCellProperties5.Append(conditionalFormatStyle7);
            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "003F5FAE", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            Bold bold44 = new Bold() { Val = false };
            Color color59 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties7.Append(bold44);
            paragraphMarkRunProperties7.Append(color59);

            paragraphProperties8.Append(paragraphMarkRunProperties7);

            paragraph8.Append(paragraphProperties8);

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

            TableCell tableCell6 = new TableCell();

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

            tableCellProperties6.Append(tableCellWidth6);

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

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle8 = new ConditionalFormatStyle() { Val = "000000100000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            Bold bold45 = new Bold();
            Color color60 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties8.Append(bold45);
            paragraphMarkRunProperties8.Append(color60);

            paragraphProperties9.Append(conditionalFormatStyle8);
            paragraphProperties9.Append(paragraphMarkRunProperties8);

            paragraph9.Append(paragraphProperties9);

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

            tableRow4.Append(tableRowProperties4);
            tableRow4.Append(tableCell5);
            tableRow4.Append(tableCell6);

            table2.Append(tableProperties2);
            table2.Append(tableGrid2);
            table2.Append(tableRow3);
            table2.Append(tableRow4);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "003F5FAE", RsidRunAdditionDefault = "003F5FAE" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            Bold bold46 = new Bold();
            Color color61 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties9.Append(bold46);
            paragraphMarkRunProperties9.Append(color61);

            paragraphProperties10.Append(paragraphMarkRunProperties9);

            paragraph10.Append(paragraphProperties10);

            Table table3 = new Table();

            TableProperties tableProperties3 = new TableProperties();
            TableStyle tableStyle3 = new TableStyle() { Val = "LightShading-Accent1" };
            TableWidth tableWidth3 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation2 = new TableIndentation() { Width = 1, Type = TableWidthUnitValues.Dxa };
            TableLook tableLook3 = new TableLook() { Val = "04A0" };

            tableProperties3.Append(tableStyle3);
            tableProperties3.Append(tableWidth3);
            tableProperties3.Append(tableIndentation2);
            tableProperties3.Append(tableLook3);

            TableGrid tableGrid3 = new TableGrid();
            GridColumn gridColumn4 = new GridColumn() { Width = "3132" };
            GridColumn gridColumn5 = new GridColumn() { Width = "3132" };
            GridColumn gridColumn6 = new GridColumn() { Width = "3132" };

            tableGrid3.Append(gridColumn4);
            tableGrid3.Append(gridColumn5);
            tableGrid3.Append(gridColumn6);

            TableRow tableRow5 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties5 = new TableRowProperties();
            ConditionalFormatStyle conditionalFormatStyle9 = new ConditionalFormatStyle() { Val = "100000000000" };
            TableRowHeight tableRowHeight5 = new TableRowHeight() { Val = (UInt32Value)330U };

            tableRowProperties5.Append(conditionalFormatStyle9);
            tableRowProperties5.Append(tableRowHeight5);

            TableCell tableCell7 = new TableCell();

            TableCellProperties tableCellProperties7 = new TableCellProperties();
            ConditionalFormatStyle conditionalFormatStyle10 = new ConditionalFormatStyle() { Val = "001000000000" };
            TableCellWidth tableCellWidth7 = new TableCellWidth() { Width = "3132", Type = TableWidthUnitValues.Dxa };

            tableCellProperties7.Append(conditionalFormatStyle10);
            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            Color color62 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties10.Append(color62);

            paragraphProperties11.Append(paragraphMarkRunProperties10);

            Run run58 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties57 = new RunProperties();
            Color color63 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties57.Append(color63);
            Text text50 = new Text();
            text50.Text = "Invoiced Date";

            run58.Append(runProperties57);
            run58.Append(text50);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run58);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph11);

            TableCell tableCell8 = new TableCell();

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

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle11 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            Color color64 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties11.Append(color64);

            paragraphProperties12.Append(conditionalFormatStyle11);
            paragraphProperties12.Append(paragraphMarkRunProperties11);

            Run run59 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties58 = new RunProperties();
            Color color65 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties58.Append(color65);
            Text text51 = new Text();
            text51.Text = "Session";

            run59.Append(runProperties58);
            run59.Append(text51);

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run59);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph12);

            TableCell tableCell9 = new TableCell();

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

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle12 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            Color color66 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties12.Append(color66);

            paragraphProperties13.Append(conditionalFormatStyle12);
            paragraphProperties13.Append(paragraphMarkRunProperties12);

            Run run60 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties59 = new RunProperties();
            Color color67 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties59.Append(color67);
            Text text52 = new Text();
            text52.Text = "Fees";

            run60.Append(runProperties59);
            run60.Append(text52);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run60);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph13);

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

            table3.Append(tableProperties3);
            table3.Append(tableGrid3);
            table3.Append(tableRow5);

            foreach (var item in InvoiceD)
            {
                startDate = item.Appointment.startDate.ToString();
                endDate = item.Appointment.endDate.ToString();
                TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

                TableRowProperties tableRowProperties6 = new TableRowProperties();
                ConditionalFormatStyle conditionalFormatStyle13 = new ConditionalFormatStyle() { Val = "000000100000" };
                TableRowHeight tableRowHeight6 = new TableRowHeight() { Val = (UInt32Value)330U };

                tableRowProperties6.Append(conditionalFormatStyle13);
                tableRowProperties6.Append(tableRowHeight6);

                TableCell tableCell10 = new TableCell();

                TableCellProperties tableCellProperties10 = new TableCellProperties();
                ConditionalFormatStyle conditionalFormatStyle14 = new ConditionalFormatStyle() { Val = "001000000000" };
                TableCellWidth tableCellWidth10 = new TableCellWidth() { Width = "3132", Type = TableWidthUnitValues.Dxa };

                tableCellProperties10.Append(conditionalFormatStyle14);
                tableCellProperties10.Append(tableCellWidth10);

                Paragraph paragraph14 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

                ParagraphProperties paragraphProperties14 = new ParagraphProperties();

                ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
                Color color68 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

                paragraphMarkRunProperties13.Append(color68);

                paragraphProperties14.Append(paragraphMarkRunProperties13);

                Run run61 = new Run();

                RunProperties runProperties60 = new RunProperties();
                RunFonts runFonts53 = new RunFonts() { Ascii = "Verdana", HighAnsi = "Verdana" };
                Color color69 = new Color() { Val = "000000" };
                FontSize fontSize45 = new FontSize() { Val = "15" };
                FontSizeComplexScript fontSizeComplexScript45 = new FontSizeComplexScript() { Val = "15" };

                runProperties60.Append(runFonts53);
                runProperties60.Append(color69);
                runProperties60.Append(fontSize45);
                runProperties60.Append(fontSizeComplexScript45);
                Text text53 = new Text();
                text53.Text = item.InvoicedDate.ToString();

                run61.Append(runProperties60);
                run61.Append(text53);

                paragraph14.Append(paragraphProperties14);
                paragraph14.Append(run61);

                tableCell10.Append(tableCellProperties10);
                tableCell10.Append(paragraph14);

                TableCell tableCell11 = new TableCell();

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

                tableCellProperties11.Append(tableCellWidth11);

                Paragraph paragraph15 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

                ParagraphProperties paragraphProperties15 = new ParagraphProperties();
                ConditionalFormatStyle conditionalFormatStyle15 = new ConditionalFormatStyle() { Val = "000000100000" };

                ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
                Color color70 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

                paragraphMarkRunProperties14.Append(color70);

                paragraphProperties15.Append(conditionalFormatStyle15);
                paragraphProperties15.Append(paragraphMarkRunProperties14);

                Run run62 = new Run() { RsidRunProperties = "00E67B26" };

                RunProperties runProperties61 = new RunProperties();
                Color color71 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

                runProperties61.Append(color71);
                Text text54 = new Text();
                text54.Text = item.SessionName;

                run62.Append(runProperties61);
                run62.Append(text54);

                paragraph15.Append(paragraphProperties15);
                paragraph15.Append(run62);

                tableCell11.Append(tableCellProperties11);
                tableCell11.Append(paragraph15);

                TableCell tableCell12 = new TableCell();

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

                tableCellProperties12.Append(tableCellWidth12);

                Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

                ParagraphProperties paragraphProperties16 = new ParagraphProperties();
                ConditionalFormatStyle conditionalFormatStyle16 = new ConditionalFormatStyle() { Val = "000000100000" };

                ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
                Color color72 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

                paragraphMarkRunProperties15.Append(color72);

                paragraphProperties16.Append(conditionalFormatStyle16);
                paragraphProperties16.Append(paragraphMarkRunProperties15);

                Run run63 = new Run() { RsidRunProperties = "00E67B26" };

                RunProperties runProperties62 = new RunProperties();
                Color color73 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

                runProperties62.Append(color73);
                Text text55 = new Text();
                text55.Text = item.Appointment.Total.ToString();

                run63.Append(runProperties62);
                run63.Append(text55);

                paragraph16.Append(paragraphProperties16);
                paragraph16.Append(run63);

                tableCell12.Append(tableCellProperties12);
                tableCell12.Append(paragraph16);

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

                table3.Append(tableRow6);
            }
            //End loop
            Paragraph paragraph23 = new Paragraph() { RsidParagraphMarkRevision = "003F5FAE", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties();
            Bold bold47 = new Bold();
            Color color83 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties22.Append(bold47);
            paragraphMarkRunProperties22.Append(color83);

            paragraphProperties23.Append(paragraphMarkRunProperties22);

            paragraph23.Append(paragraphProperties23);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(table2);
            tableCell2.Append(paragraph10);
            tableCell2.Append(table3);
            tableCell2.Append(paragraph23);

            tableRow2.Append(tableRowProperties2);
            tableRow2.Append(tableCell2);

            TableRow tableRow9 = new TableRow() { RsidTableRowAddition = "003F5FAE", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties9 = new TableRowProperties();
            TableRowHeight tableRowHeight9 = new TableRowHeight() { Val = (UInt32Value)394U };

            tableRowProperties9.Append(tableRowHeight9);

            TableCell tableCell19 = new TableCell();

            TableCellProperties tableCellProperties19 = new TableCellProperties();
            TableCellWidth tableCellWidth19 = new TableCellWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };

            tableCellProperties19.Append(tableCellWidth19);

            Table table4 = new Table();

            TableProperties tableProperties4 = new TableProperties();
            TableStyle tableStyle4 = new TableStyle() { Val = "LightShading-Accent1" };
            TableWidth tableWidth4 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation3 = new TableIndentation() { Width = 1, Type = TableWidthUnitValues.Dxa };
            TableLook tableLook4 = new TableLook() { Val = "04A0" };

            tableProperties4.Append(tableStyle4);
            tableProperties4.Append(tableWidth4);
            tableProperties4.Append(tableIndentation3);
            tableProperties4.Append(tableLook4);

            TableGrid tableGrid4 = new TableGrid();
            GridColumn gridColumn7 = new GridColumn() { Width = "3197" };
            GridColumn gridColumn8 = new GridColumn() { Width = "3107" };
            GridColumn gridColumn9 = new GridColumn() { Width = "3105" };

            tableGrid4.Append(gridColumn7);
            tableGrid4.Append(gridColumn8);
            tableGrid4.Append(gridColumn9);

            TableRow tableRow10 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00905126" };

            TableRowProperties tableRowProperties10 = new TableRowProperties();
            ConditionalFormatStyle conditionalFormatStyle24 = new ConditionalFormatStyle() { Val = "100000000000" };
            TableRowHeight tableRowHeight10 = new TableRowHeight() { Val = (UInt32Value)51U };

            tableRowProperties10.Append(conditionalFormatStyle24);
            tableRowProperties10.Append(tableRowHeight10);

            TableCell tableCell20 = new TableCell();

            TableCellProperties tableCellProperties20 = new TableCellProperties();
            ConditionalFormatStyle conditionalFormatStyle25 = new ConditionalFormatStyle() { Val = "001000000000" };
            TableCellWidth tableCellWidth20 = new TableCellWidth() { Width = "3197", Type = TableWidthUnitValues.Dxa };

            tableCellProperties20.Append(conditionalFormatStyle25);
            tableCellProperties20.Append(tableCellWidth20);

            Paragraph paragraph24 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties();
            Bold bold48 = new Bold() { Val = false };
            Color color84 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties23.Append(bold48);
            paragraphMarkRunProperties23.Append(color84);

            paragraphProperties24.Append(paragraphMarkRunProperties23);

            Run run67 = new Run();

            RunProperties runProperties66 = new RunProperties();
            Bold bold49 = new Bold() { Val = false };
            Color color85 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties66.Append(bold49);
            runProperties66.Append(color85);
            Text text59 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text59.Text = "  ";

            run67.Append(runProperties66);
            run67.Append(text59);

            paragraph24.Append(paragraphProperties24);
            paragraph24.Append(run67);

            tableCell20.Append(tableCellProperties20);
            tableCell20.Append(paragraph24);

            TableCell tableCell21 = new TableCell();

            TableCellProperties tableCellProperties21 = new TableCellProperties();
            TableCellWidth tableCellWidth21 = new TableCellWidth() { Width = "3107", Type = TableWidthUnitValues.Dxa };

            tableCellProperties21.Append(tableCellWidth21);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle26 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties();
            Bold bold50 = new Bold() { Val = false };
            Color color86 = new Color() { Val = "FF0000" };

            paragraphMarkRunProperties24.Append(bold50);
            paragraphMarkRunProperties24.Append(color86);

            paragraphProperties25.Append(conditionalFormatStyle26);
            paragraphProperties25.Append(paragraphMarkRunProperties24);

            Run run68 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties67 = new RunProperties();
            Bold bold51 = new Bold() { Val = false };
            Color color87 = new Color() { Val = "FF0000" };

            runProperties67.Append(bold51);
            runProperties67.Append(color87);
            Text text60 = new Text();
            text60.Text = "Total";

            run68.Append(runProperties67);
            run68.Append(text60);

            paragraph25.Append(paragraphProperties25);
            paragraph25.Append(run68);

            tableCell21.Append(tableCellProperties21);
            tableCell21.Append(paragraph25);

            TableCell tableCell22 = new TableCell();

            TableCellProperties tableCellProperties22 = new TableCellProperties();
            TableCellWidth tableCellWidth22 = new TableCellWidth() { Width = "3105", Type = TableWidthUnitValues.Dxa };

            tableCellProperties22.Append(tableCellWidth22);

            Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "00E67B26", RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties26 = new ParagraphProperties();
            ConditionalFormatStyle conditionalFormatStyle27 = new ConditionalFormatStyle() { Val = "100000000000" };

            ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties();
            Color color88 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            paragraphMarkRunProperties25.Append(color88);

            paragraphProperties26.Append(conditionalFormatStyle27);
            paragraphProperties26.Append(paragraphMarkRunProperties25);

            Run run69 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties68 = new RunProperties();
            Color color89 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties68.Append(color89);
            Text text61 = new Text();
            text61.Text = total.ToString();

            run69.Append(runProperties68);
            run69.Append(text61);

            paragraph26.Append(paragraphProperties26);
            paragraph26.Append(run69);

            tableCell22.Append(tableCellProperties22);
            tableCell22.Append(paragraph26);

            tableRow10.Append(tableRowProperties10);
            tableRow10.Append(tableCell20);
            tableRow10.Append(tableCell21);
            tableRow10.Append(tableCell22);

            table4.Append(tableProperties4);
            table4.Append(tableGrid4);
            table4.Append(tableRow10);

            Paragraph paragraph27 = new Paragraph() { RsidParagraphAddition = "003F5FAE", RsidRunAdditionDefault = "003F5FAE" };

            ParagraphProperties paragraphProperties27 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties();
            Bold bold52 = new Bold();
            Color color90 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties26.Append(bold52);
            paragraphMarkRunProperties26.Append(color90);

            paragraphProperties27.Append(paragraphMarkRunProperties26);

            paragraph27.Append(paragraphProperties27);

            tableCell19.Append(tableCellProperties19);
            tableCell19.Append(table4);
            tableCell19.Append(paragraph27);

            tableRow9.Append(tableRowProperties9);
            tableRow9.Append(tableCell19);

            TableRow tableRow11 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties11 = new TableRowProperties();
            TableRowHeight tableRowHeight11 = new TableRowHeight() { Val = (UInt32Value)330U };

            tableRowProperties11.Append(tableRowHeight11);

            TableCell tableCell23 = new TableCell();

            TableCellProperties tableCellProperties23 = new TableCellProperties();
            TableCellWidth tableCellWidth23 = new TableCellWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };

            tableCellProperties23.Append(tableCellWidth23);

            Paragraph paragraph28 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties28 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties();
            Bold bold53 = new Bold();
            Color color91 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties27.Append(bold53);
            paragraphMarkRunProperties27.Append(color91);

            paragraphProperties28.Append(paragraphMarkRunProperties27);

            paragraph28.Append(paragraphProperties28);

            tableCell23.Append(tableCellProperties23);
            tableCell23.Append(paragraph28);

            tableRow11.Append(tableRowProperties11);
            tableRow11.Append(tableCell23);

            TableRow tableRow12 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties12 = new TableRowProperties();
            TableRowHeight tableRowHeight12 = new TableRowHeight() { Val = (UInt32Value)708U };

            tableRowProperties12.Append(tableRowHeight12);

            TableCell tableCell24 = new TableCell();

            TableCellProperties tableCellProperties24 = new TableCellProperties();
            TableCellWidth tableCellWidth24 = new TableCellWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };

            tableCellProperties24.Append(tableCellWidth24);

            Paragraph paragraph29 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties29 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId2 = new ParagraphStyleId() { Val = "Heading5" };
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { Before = "13", After = "38" };

            ParagraphMarkRunProperties paragraphMarkRunProperties28 = new ParagraphMarkRunProperties();
            Bold bold54 = new Bold();
            Color color92 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties28.Append(bold54);
            paragraphMarkRunProperties28.Append(color92);

            paragraphProperties29.Append(paragraphStyleId2);
            paragraphProperties29.Append(spacingBetweenLines1);
            paragraphProperties29.Append(paragraphMarkRunProperties28);

            Run run70 = new Run();

            RunProperties runProperties69 = new RunProperties();
            Bold bold55 = new Bold();
            Color color93 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties69.Append(bold55);
            runProperties69.Append(color93);
            Text text62 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text62.Text = "Invoice Generated ";

            run70.Append(runProperties69);
            run70.Append(text62);

            Run run71 = new Run();

            RunProperties runProperties70 = new RunProperties();
            Bold bold56 = new Bold();
            Color color94 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties70.Append(bold56);
            runProperties70.Append(color94);
            Text text63 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text63.Text = "For ";

            run71.Append(runProperties70);
            run71.Append(text63);

            Run run72 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties71 = new RunProperties();
            Bold bold57 = new Bold();
            Color color95 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties71.Append(bold57);
            runProperties71.Append(color95);
            Text text64 = new Text();
            text64.Text = "-";

            run72.Append(runProperties71);
            run72.Append(text64);

            Run run73 = new Run();

            RunProperties runProperties72 = new RunProperties();
            Bold bold58 = new Bold();
            Color color96 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties72.Append(bold58);
            runProperties72.Append(color96);
            Text text65 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text65.Text = " ";

            run73.Append(runProperties72);
            run73.Append(text65);

            Run run74 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties73 = new RunProperties();
            Bold bold59 = new Bold();
            Color color97 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties73.Append(bold59);
            runProperties73.Append(color97);
            Text text66 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text66.Text = startDate;

            run74.Append(runProperties73);
            run74.Append(text66);

            Run run75 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties74 = new RunProperties();
            Bold bold60 = new Bold();
            Color color98 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties74.Append(bold60);
            runProperties74.Append(color98);
            Text text67 = new Text();
            text67.Text = " to ";

            run75.Append(runProperties74);
            run75.Append(text67);

            Run run76 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties75 = new RunProperties();
            Bold bold61 = new Bold();
            Color color99 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties75.Append(bold61);
            runProperties75.Append(color99);
            Text text68 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text68.Text = endDate;

            run76.Append(runProperties75);
            run76.Append(text68);

            Run run77 = new Run();

            RunProperties runProperties76 = new RunProperties();
            Bold bold62 = new Bold();
            Color color100 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties76.Append(bold62);
            runProperties76.Append(color100);
            Text text69 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text69.Text = " ";

            run77.Append(runProperties76);
            run77.Append(text69);

            Run run78 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties77 = new RunProperties();
            Color color101 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties77.Append(color101);
            Text text70 = new Text();
            text70.Text = "period";

            run78.Append(runProperties77);
            run78.Append(text70);

            Run run79 = new Run();

            RunProperties runProperties78 = new RunProperties();
            Color color102 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties78.Append(color102);
            Text text71 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text71.Text = " ";

            run79.Append(runProperties78);
            run79.Append(text71);

            Run run80 = new Run();

            RunProperties runProperties79 = new RunProperties();
            Color color103 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties79.Append(color103);
            Break break9 = new Break();

            run80.Append(runProperties79);
            run80.Append(break9);
            ProofError proofError5 = new ProofError() { Type = ProofingErrorValues.GrammarStart };

            Run run81 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties80 = new RunProperties();
            Bold bold63 = new Bold();
            Color color104 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties80.Append(bold63);
            runProperties80.Append(color104);
            Text text72 = new Text();
            text72.Text = "For";

            run81.Append(runProperties80);
            run81.Append(text72);
            ProofError proofError6 = new ProofError() { Type = ProofingErrorValues.GrammarEnd };

            Run run82 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties81 = new RunProperties();
            Bold bold64 = new Bold();
            Color color105 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties81.Append(bold64);
            runProperties81.Append(color105);
            Text text73 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text73.Text = " practice";

            run82.Append(runProperties81);
            run82.Append(text73);

            Run run83 = new Run();

            RunProperties runProperties82 = new RunProperties();
            Bold bold65 = new Bold();
            Color color106 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties82.Append(bold65);
            runProperties82.Append(color106);
            Text text74 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text74.Text = " ";

            run83.Append(runProperties82);
            run83.Append(text74);

            Run run84 = new Run();

            RunProperties runProperties83 = new RunProperties();
            Color color107 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties83.Append(color107);
            Text text75 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text75.Text = "- ";

            run84.Append(runProperties83);
            run84.Append(text75);

            Run run85 = new Run() { RsidRunProperties = "00E67B26" };

            RunProperties runProperties84 = new RunProperties();
            Bold bold66 = new Bold();
            Color color108 = new Color() { Val = "000000", ThemeColor = ThemeColorValues.Text1 };

            runProperties84.Append(bold66);
            runProperties84.Append(color108);
            Text text76 = new Text();
            text76.Text = pdetail.Name;

            run85.Append(runProperties84);
            run85.Append(text76);

            paragraph29.Append(paragraphProperties29);
            paragraph29.Append(run70);
            paragraph29.Append(run71);
            paragraph29.Append(run72);
            paragraph29.Append(run73);
            paragraph29.Append(run74);
            paragraph29.Append(run75);
            paragraph29.Append(run76);
            paragraph29.Append(run77);
            paragraph29.Append(run78);
            paragraph29.Append(run79);
            paragraph29.Append(run80);
            paragraph29.Append(proofError5);
            paragraph29.Append(run81);
            paragraph29.Append(proofError6);
            paragraph29.Append(run82);
            paragraph29.Append(run83);
            paragraph29.Append(run84);
            paragraph29.Append(run85);

            tableCell24.Append(tableCellProperties24);
            tableCell24.Append(paragraph29);

            tableRow12.Append(tableRowProperties12);
            tableRow12.Append(tableCell24);

            TableRow tableRow13 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties13 = new TableRowProperties();
            TableRowHeight tableRowHeight13 = new TableRowHeight() { Val = (UInt32Value)377U };

            tableRowProperties13.Append(tableRowHeight13);

            TableCell tableCell25 = new TableCell();

            TableCellProperties tableCellProperties25 = new TableCellProperties();
            TableCellWidth tableCellWidth25 = new TableCellWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };

            tableCellProperties25.Append(tableCellWidth25);

            Paragraph paragraph30 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties30 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId3 = new ParagraphStyleId() { Val = "Heading5" };
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { Before = "13", After = "38" };
            OutlineLevel outlineLevel1 = new OutlineLevel() { Val = 4 };

            ParagraphMarkRunProperties paragraphMarkRunProperties29 = new ParagraphMarkRunProperties();
            Bold bold67 = new Bold();
            Color color109 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties29.Append(bold67);
            paragraphMarkRunProperties29.Append(color109);

            paragraphProperties30.Append(paragraphStyleId3);
            paragraphProperties30.Append(spacingBetweenLines2);
            paragraphProperties30.Append(outlineLevel1);
            paragraphProperties30.Append(paragraphMarkRunProperties29);

            Run run86 = new Run();

            RunProperties runProperties85 = new RunProperties();
            Bold bold68 = new Bold();
            Color color110 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            runProperties85.Append(bold68);
            runProperties85.Append(color110);
            Text text77 = new Text() { Space = SpaceProcessingModeValues.Preserve };
            text77.Text = "                                                                                                                                                               Thanks";

            run86.Append(runProperties85);
            run86.Append(text77);

            paragraph30.Append(paragraphProperties30);
            paragraph30.Append(run86);

            tableCell25.Append(tableCellProperties25);
            tableCell25.Append(paragraph30);

            tableRow13.Append(tableRowProperties13);
            tableRow13.Append(tableCell25);

            TableRow tableRow14 = new TableRow() { RsidTableRowAddition = "00E67B26", RsidTableRowProperties = "00E67B26" };

            TableRowProperties tableRowProperties14 = new TableRowProperties();
            TableRowHeight tableRowHeight14 = new TableRowHeight() { Val = (UInt32Value)394U };

            tableRowProperties14.Append(tableRowHeight14);

            TableCell tableCell26 = new TableCell();

            TableCellProperties tableCellProperties26 = new TableCellProperties();
            TableCellWidth tableCellWidth26 = new TableCellWidth() { Width = "9627", Type = TableWidthUnitValues.Dxa };

            tableCellProperties26.Append(tableCellWidth26);

            Paragraph paragraph31 = new Paragraph() { RsidParagraphAddition = "00E67B26", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00E67B26" };

            ParagraphProperties paragraphProperties31 = new ParagraphProperties();
            ParagraphStyleId paragraphStyleId4 = new ParagraphStyleId() { Val = "Heading5" };
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { Before = "13", After = "38" };
            OutlineLevel outlineLevel2 = new OutlineLevel() { Val = 4 };

            ParagraphMarkRunProperties paragraphMarkRunProperties30 = new ParagraphMarkRunProperties();
            Bold bold69 = new Bold();
            Color color111 = new Color() { Val = "548DD4", ThemeColor = ThemeColorValues.Text2, ThemeTint = "99" };

            paragraphMarkRunProperties30.Append(bold69);
            paragraphMarkRunProperties30.Append(color111);

            paragraphProperties31.Append(paragraphStyleId4);
            paragraphProperties31.Append(spacingBetweenLines3);
            paragraphProperties31.Append(outlineLevel2);
            paragraphProperties31.Append(paragraphMarkRunProperties30);

            paragraph31.Append(paragraphProperties31);

            tableCell26.Append(tableCellProperties26);
            tableCell26.Append(paragraph31);

            tableRow14.Append(tableRowProperties14);
            tableRow14.Append(tableCell26);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            table1.Append(tableRow2);
            table1.Append(tableRow9);
            table1.Append(tableRow11);
            table1.Append(tableRow12);
            table1.Append(tableRow13);
            table1.Append(tableRow14);
            Paragraph paragraph32 = new Paragraph() { RsidParagraphAddition = "00931F72", RsidParagraphProperties = "00E67B26", RsidRunAdditionDefault = "00931F72" };

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

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

            body1.Append(table1);
            body1.Append(paragraph32);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #12
0
        //.....................................................................
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        private TableCell MakeElem5( )
        {
            //---------------------------------------------
            TableCell tableCell5 = new TableCell( );

            //---------------------------------------------
            TableCellProperties tableCellProperties5 = new TableCellProperties( );

            TableCellWidth tableCellWidth5 = new TableCellWidth( )
            {
                Width = "2841", Type = TableWidthUnitValues.Dxa
            };
            TableCellVerticalAlignment tableCellVerticalAlignment5 = new TableCellVerticalAlignment( )
            {
                Val = TableVerticalAlignmentValues.Center
            };

            tableCellProperties5.Append(tableCellWidth5);
            tableCellProperties5.Append(tableCellVerticalAlignment5);

            //---------------------------------------------
            Paragraph paragraph5 = new Paragraph( )
            {
                RsidParagraphMarkRevision = "00422B84", RsidParagraphAddition = "00B721D5", RsidRunAdditionDefault = "00B721D5"
            };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties( );

            //---------------------------------------------
            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties( );
            Bold   bold7   = new Bold( );
            Strike strike1 = new Strike( );

            paragraphMarkRunProperties4.Append(bold7);
            paragraphMarkRunProperties4.Append(strike1);

            paragraphProperties5.Append(paragraphMarkRunProperties4);

            //---------------------------------------------
            ProofError proofError1 = new ProofError( )
            {
                Type = ProofingErrorValues.SpellStart
            };

            //---------------------------------------------
            Run run5 = new Run( )
            {
                RsidRunProperties = "00422B84"
            };

            RunProperties runProperties5 = new RunProperties( );
            Bold          bold8          = new Bold( );
            Strike        strike2        = new Strike( );

            runProperties5.Append(bold8);
            runProperties5.Append(strike2);

            Text text5 = new Text( );

            text5.Text = "Wu";

            run5.Append(runProperties5);
            run5.Append(text5);

            //---------------------------------------------
            Run run6 = new Run( )
            {
                RsidRunProperties = "00422B84"
            };

            RunProperties runProperties6 = new RunProperties( );
            RunFonts      runFonts3      = new RunFonts( )
            {
                Hint = FontTypeHintValues.EastAsia
            };
            Bold   bold9   = new Bold( );
            Strike strike3 = new Strike( );

            runProperties6.Append(runFonts3);
            runProperties6.Append(bold9);
            runProperties6.Append(strike3);
            Text text6 = new Text( );

            text6.Text = "jianhua";

            run6.Append(runProperties6);
            run6.Append(text6);

            //---------------------------------------------
            ProofError proofError2 = new ProofError( )
            {
                Type = ProofingErrorValues.SpellEnd
            };

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(proofError1);
            paragraph5.Append(run5);
            paragraph5.Append(run6);
            paragraph5.Append(proofError2);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph5);

            return(tableCell5);
        }
コード例 #13
0
        public IActionResult CreateComplexDocument()
        {
            using (var stream = new MemoryStream())
            {
                using (var wordDocument = WordprocessingDocument.Create(stream,
                                                                        WordprocessingDocumentType.Document, true))
                {
                    wordDocument.AddMainDocumentPart();

                    var document = new Document();
                    var body     = new Body();

                    var paragraph1           = new Paragraph();
                    var paragraphProperties1 = new ParagraphProperties();
                    var paragraphStyleId1    = new ParagraphStyleId()
                    {
                        Val = "Normal"
                    };
                    var justifyJustification1 = new Justification()
                    {
                        Val = JustificationValues.Both
                    };

                    paragraphProperties1.Append(paragraphStyleId1);
                    paragraphProperties1.Append(justifyJustification1);

                    var run1  = new Run();
                    var text1 = new Text("A normal text, ")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    run1.Append(text1);

                    ///////////////////////////

                    var run2           = new Run();
                    var runProperties2 = new RunProperties();
                    runProperties2.Bold = new Bold();

                    var text2 = new Text("now a bold text, ")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    run2.Append(runProperties2); // Properties must go first... always!
                    run2.Append(text2);

                    ///////////////////////////

                    var run3           = new Run();
                    var runProperties3 = new RunProperties();
                    runProperties3.Italic = new Italic();

                    var text3 = new Text("now an italic text. ")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    run3.Append(runProperties3);
                    run3.Append(text3);

                    ///////////////////////////

                    var run4           = new Run();
                    var runProperties4 = new RunProperties();
                    runProperties4.Italic    = new Italic();
                    runProperties4.Underline = new Underline();
                    runProperties4.Bold      = new Bold();

                    var text4 = new Text("Yes, you can combine styles, ")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    run4.Append(runProperties4);
                    run4.Append(text4);

                    ///////////////////////////

                    var run5           = new Run();
                    var runProperties5 = new RunProperties();
                    runProperties5.Color = new Color()
                    {
                        Val = "FFFF00"
                    };

                    var text5 = new Text("and add some color for your text.")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    run5.Append(runProperties5);
                    run5.Append(text5);

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

                    ///////////////////////////
                    ///////////////////////////

                    var runProperties6 = new RunProperties();
                    runProperties6.RunStyle = new RunStyle()
                    {
                        Val = "Hyperlink"
                    };
                    runProperties6.Color = new Color()
                    {
                        ThemeColor = ThemeColorValues.Hyperlink
                    };

                    var text6 = new Text("Visit my website!")
                    {
                        Space = SpaceProcessingModeValues.Preserve
                    };
                    var run6 = new Run(runProperties6, text6);

                    var url = "https://luisbeltran.mx";
                    var uri = new Uri(url);

                    var hyperlinkRelationship = wordDocument.MainDocumentPart.AddHyperlinkRelationship(uri, true);
                    var id = hyperlinkRelationship.Id;

                    var proofError = new ProofError()
                    {
                        Type = ProofingErrorValues.GrammarStart
                    };

                    var hyperLink = new Hyperlink(proofError, run6)
                    {
                        History = OnOffValue.FromBoolean(true),
                        Id      = id
                    };

                    var paragraph2 = new Paragraph();
                    paragraph2.Append(hyperLink);

                    ///////////////////////////

                    body.Append(paragraph1);
                    body.Append(paragraph2);

                    document.Append(body);
                    wordDocument.MainDocumentPart.Document = document;
                    wordDocument.Close();
                }

                return(File(stream.ToArray(), docxMIMEType,
                            "Word Document Complex Example.docx"));
            }
        }
コード例 #14
0
ファイル: InvoiceCreator.cs プロジェクト: CGHill/Hard-To-Find
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document() { MCAttributes = new MarkupCompatibilityAttributes() { Ignorable = "w14 w15 wp14" } };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2012/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            Paragraph paragraph1 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "002C2DE6", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties1 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines1 = new SpacingBetweenLines() { After = "0" };
            Justification justification1 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunFonts runFonts1 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold1 = new Bold();
            FontSize fontSize1 = new FontSize() { Val = "30" };

            paragraphMarkRunProperties1.Append(runFonts1);
            paragraphMarkRunProperties1.Append(bold1);
            paragraphMarkRunProperties1.Append(fontSize1);

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

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

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts2 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold2 = new Bold();
            FontSize fontSize2 = new FontSize() { Val = "30" };

            runProperties1.Append(runFonts2);
            runProperties1.Append(bold2);
            runProperties1.Append(fontSize2);
            Text text1 = new Text();
            text1.Text = "Hard To Find Books";

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

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

            Paragraph paragraph2 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines2 = new SpacingBetweenLines() { After = "0" };
            Justification justification2 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunFonts runFonts3 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold3 = new Bold();
            FontSize fontSize3 = new FontSize() { Val = "30" };

            paragraphMarkRunProperties2.Append(runFonts3);
            paragraphMarkRunProperties2.Append(bold3);
            paragraphMarkRunProperties2.Append(fontSize3);

            paragraphProperties2.Append(spacingBetweenLines2);
            paragraphProperties2.Append(justification2);
            paragraphProperties2.Append(paragraphMarkRunProperties2);

            Run run2 = new Run() { RsidRunProperties = "00417926" };

            RunProperties runProperties2 = new RunProperties();
            RunFonts runFonts4 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold4 = new Bold();
            FontSize fontSize4 = new FontSize() { Val = "30" };

            runProperties2.Append(runFonts4);
            runProperties2.Append(bold4);
            runProperties2.Append(fontSize4);
            Text text2 = new Text();
            text2.Text = "Internet NZ Ltd.";

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

            paragraph2.Append(paragraphProperties2);
            paragraph2.Append(run2);

            Paragraph paragraph3 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines() { After = "0" };
            Justification justification3 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
            RunFonts runFonts5 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize5 = new FontSize() { Val = "16" };

            paragraphMarkRunProperties3.Append(runFonts5);
            paragraphMarkRunProperties3.Append(fontSize5);

            paragraphProperties3.Append(spacingBetweenLines3);
            paragraphProperties3.Append(justification3);
            paragraphProperties3.Append(paragraphMarkRunProperties3);

            Run run3 = new Run() { RsidRunProperties = "00417926" };

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts6 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize6 = new FontSize() { Val = "16" };

            runProperties3.Append(runFonts6);
            runProperties3.Append(fontSize6);
            Text text3 = new Text();
            text3.Text = "PO Box 5645 Moray Pl, Dunedin 9058, New Zealand";

            run3.Append(runProperties3);
            run3.Append(text3);

            paragraph3.Append(paragraphProperties3);
            paragraph3.Append(run3);

            Paragraph paragraph4 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties4 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines() { After = "0" };
            Justification justification4 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
            RunFonts runFonts7 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize7 = new FontSize() { Val = "16" };

            paragraphMarkRunProperties4.Append(runFonts7);
            paragraphMarkRunProperties4.Append(fontSize7);

            paragraphProperties4.Append(spacingBetweenLines4);
            paragraphProperties4.Append(justification4);
            paragraphProperties4.Append(paragraphMarkRunProperties4);

            Run run4 = new Run() { RsidRunProperties = "00417926" };

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts8 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize8 = new FontSize() { Val = "16" };

            runProperties4.Append(runFonts8);
            runProperties4.Append(fontSize8);
            Text text4 = new Text();
            text4.Text = "Phone: +64 3 4745983, Email: [email protected]";

            run4.Append(runProperties4);
            run4.Append(text4);
            BookmarkStart bookmarkStart1 = new BookmarkStart() { Name = "_GoBack", Id = "0" };
            BookmarkEnd bookmarkEnd1 = new BookmarkEnd() { Id = "0" };

            paragraph4.Append(paragraphProperties4);
            paragraph4.Append(run4);
            paragraph4.Append(bookmarkStart1);
            paragraph4.Append(bookmarkEnd1);

            Paragraph paragraph5 = new Paragraph() { RsidParagraphMarkRevision = "00417926", RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties5 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines5 = new SpacingBetweenLines() { After = "0" };
            Justification justification5 = new Justification() { Val = JustificationValues.Center };

            ParagraphMarkRunProperties paragraphMarkRunProperties5 = new ParagraphMarkRunProperties();
            RunFonts runFonts9 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize9 = new FontSize() { Val = "16" };

            paragraphMarkRunProperties5.Append(runFonts9);
            paragraphMarkRunProperties5.Append(fontSize9);

            paragraphProperties5.Append(spacingBetweenLines5);
            paragraphProperties5.Append(justification5);
            paragraphProperties5.Append(paragraphMarkRunProperties5);

            Run run5 = new Run() { RsidRunProperties = "00417926" };

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts10 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize10 = new FontSize() { Val = "16" };

            runProperties5.Append(runFonts10);
            runProperties5.Append(fontSize10);
            Text text5 = new Text();
            text5.Text = "GST: 70-526-627 Website: www.hardtofind.co.nz";

            run5.Append(runProperties5);
            run5.Append(text5);

            paragraph5.Append(paragraphProperties5);
            paragraph5.Append(run5);

            Paragraph paragraph6 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties6 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines6 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties6 = new ParagraphMarkRunProperties();
            RunFonts runFonts11 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties6.Append(runFonts11);

            paragraphProperties6.Append(spacingBetweenLines6);
            paragraphProperties6.Append(paragraphMarkRunProperties6);

            paragraph6.Append(paragraphProperties6);

            Paragraph paragraph7 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties7 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines7 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties7 = new ParagraphMarkRunProperties();
            RunFonts runFonts12 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties7.Append(runFonts12);

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

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

            paragraphProperties7.Append(spacingBetweenLines7);
            paragraphProperties7.Append(paragraphMarkRunProperties7);
            paragraphProperties7.Append(sectionProperties1);

            paragraph7.Append(paragraphProperties7);

            Paragraph paragraph8 = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00417926" };

            ParagraphProperties paragraphProperties8 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines8 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties8 = new ParagraphMarkRunProperties();
            RunFonts runFonts13 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize11 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties8.Append(runFonts13);
            paragraphMarkRunProperties8.Append(fontSize11);

            paragraphProperties8.Append(spacingBetweenLines8);
            paragraphProperties8.Append(paragraphMarkRunProperties8);

            Run run6 = new Run() { RsidRunProperties = "00417926" };

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts14 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize12 = new FontSize() { Val = "24" };

            runProperties6.Append(runFonts14);
            runProperties6.Append(fontSize12);
            LastRenderedPageBreak lastRenderedPageBreak1 = new LastRenderedPageBreak();
            Text text6 = new Text();
            text6.Text = "Invoice:";

            run6.Append(runProperties6);
            run6.Append(lastRenderedPageBreak1);
            run6.Append(text6);

            paragraph8.Append(paragraphProperties8);
            paragraph8.Append(run6);

            Paragraph paragraph9 = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties9 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines9 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties9 = new ParagraphMarkRunProperties();
            RunFonts runFonts15 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize13 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties9.Append(runFonts15);
            paragraphMarkRunProperties9.Append(fontSize13);

            paragraphProperties9.Append(spacingBetweenLines9);
            paragraphProperties9.Append(paragraphMarkRunProperties9);

            Run run7 = new Run();

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts16 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize14 = new FontSize() { Val = "24" };

            runProperties7.Append(runFonts16);
            runProperties7.Append(fontSize14);
            TabChar tabChar1 = new TabChar();
            Text text7 = new Text();

            //TODO add in customer name
            if(customer != null)
                text7.Text = customer.firstName + " " + customer.lastName;
            else
                text7.Text = order.firstName + " " + order.lastName;

            run7.Append(runProperties7);
            run7.Append(tabChar1);
            run7.Append(text7);

            paragraph9.Append(paragraphProperties9);
            paragraph9.Append(run7);

            Paragraph paragraphInstitute = new Paragraph() { RsidParagraphAddition = "00417926", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphInstituteProperties = new ParagraphProperties();
            SpacingBetweenLines institudeSpacingBetweenLines = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphInstituteMarkRunProperties = new ParagraphMarkRunProperties();
            RunFonts paragraphRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize paragraphFontSize = new FontSize() { Val = "24" };

            paragraphInstituteMarkRunProperties.Append(paragraphRunFonts);
            paragraphInstituteMarkRunProperties.Append(paragraphFontSize);

            paragraphInstituteProperties.Append(institudeSpacingBetweenLines);
            paragraphInstituteProperties.Append(paragraphInstituteMarkRunProperties);

            Run instituteRun = new Run();

            RunProperties instituteRunProperties = new RunProperties();
            RunFonts instituteRunFonts = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize instituteFontSize = new FontSize() { Val = "24" };

            instituteRunProperties.Append(instituteRunFonts);
            instituteRunProperties.Append(instituteFontSize);
            TabChar instituteTabChar = new TabChar();
            Text instituteText = new Text();

            //TODO add in institute
            instituteText.Text = customer.institution;

            instituteRun.Append(instituteRunProperties);
            instituteRun.Append(instituteTabChar);
            instituteRun.Append(instituteText);

            paragraphInstitute.Append(paragraphInstituteProperties);
            paragraphInstitute.Append(instituteRun);

            Paragraph paragraph10 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties10 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines10 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties10 = new ParagraphMarkRunProperties();
            RunFonts runFonts17 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize15 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties10.Append(runFonts17);
            paragraphMarkRunProperties10.Append(fontSize15);

            paragraphProperties10.Append(spacingBetweenLines10);
            paragraphProperties10.Append(paragraphMarkRunProperties10);

            Run run8 = new Run();

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts18 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize16 = new FontSize() { Val = "24" };

            runProperties8.Append(runFonts18);
            runProperties8.Append(fontSize16);
            TabChar tabChar2 = new TabChar();
            Text text8 = new Text();

            //TODO add in address1
            //text8.Text = "62 Seaview Avenue";
            if(customer != null)
                text8.Text = customer.address1;
            else
                text8.Text = "";

            run8.Append(runProperties8);
            run8.Append(tabChar2);
            run8.Append(text8);

            paragraph10.Append(paragraphProperties10);
            paragraph10.Append(run8);

            Paragraph paragraph11 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties11 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines11 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties11 = new ParagraphMarkRunProperties();
            RunFonts runFonts19 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize17 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties11.Append(runFonts19);
            paragraphMarkRunProperties11.Append(fontSize17);

            paragraphProperties11.Append(spacingBetweenLines11);
            paragraphProperties11.Append(paragraphMarkRunProperties11);

            Run run9 = new Run();

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts20 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize18 = new FontSize() { Val = "24" };

            runProperties9.Append(runFonts20);
            runProperties9.Append(fontSize18);
            TabChar tabChar3 = new TabChar();
            Text text9 = new Text();

            //TODO add in address2
            //text9.Text = "Northcote";
            if(customer != null)
                text9.Text = customer.address2;
            else
                text9.Text = "";

            run9.Append(runProperties9);
            run9.Append(tabChar3);
            run9.Append(text9);

            paragraph11.Append(paragraphProperties11);
            paragraph11.Append(run9);

            Paragraph paragraph12 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties12 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines12 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties12 = new ParagraphMarkRunProperties();
            RunFonts runFonts21 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize19 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties12.Append(runFonts21);
            paragraphMarkRunProperties12.Append(fontSize19);

            paragraphProperties12.Append(spacingBetweenLines12);
            paragraphProperties12.Append(paragraphMarkRunProperties12);

            Run run10 = new Run();

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts22 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize20 = new FontSize() { Val = "24" };

            runProperties10.Append(runFonts22);
            runProperties10.Append(fontSize20);
            TabChar tabChar4 = new TabChar();
            Text text10 = new Text();

            //TODO add in address3
            //text10.Text = "Auckland";
            if(customer != null)
                text10.Text = customer.address3;
            else
                text10.Text = "";

            run10.Append(runProperties10);
            run10.Append(tabChar4);
            run10.Append(text10);

            paragraph12.Append(paragraphProperties12);
            paragraph12.Append(run10);

            Paragraph paragraph13 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties13 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines13 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties13 = new ParagraphMarkRunProperties();
            RunFonts runFonts23 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize21 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties13.Append(runFonts23);
            paragraphMarkRunProperties13.Append(fontSize21);

            paragraphProperties13.Append(spacingBetweenLines13);
            paragraphProperties13.Append(paragraphMarkRunProperties13);

            Run run11 = new Run();

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts24 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize22 = new FontSize() { Val = "24" };

            runProperties11.Append(runFonts24);
            runProperties11.Append(fontSize22);
            TabChar tabChar5 = new TabChar();
            Text text11 = new Text();

            //TODO add in postcode
            //text11.Text = "0627";
            if(customer != null)
                text11.Text = customer.postCode;
            else
                text11.Text = "";

            run11.Append(runProperties11);
            run11.Append(tabChar5);
            run11.Append(text11);

            paragraph13.Append(paragraphProperties13);
            paragraph13.Append(run11);

            Paragraph paragraph14 = new Paragraph() { RsidParagraphAddition = "00910498", RsidParagraphProperties = "00417926", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties14 = new ParagraphProperties();
            SpacingBetweenLines spacingBetweenLines14 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties14 = new ParagraphMarkRunProperties();
            RunFonts runFonts25 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize23 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties14.Append(runFonts25);
            paragraphMarkRunProperties14.Append(fontSize23);

            paragraphProperties14.Append(spacingBetweenLines14);
            paragraphProperties14.Append(paragraphMarkRunProperties14);

            Run run12 = new Run();

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts26 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize24 = new FontSize() { Val = "24" };

            runProperties12.Append(runFonts26);
            runProperties12.Append(fontSize24);
            TabChar tabChar6 = new TabChar();
            Text text12 = new Text();

            //TODO add in country
            if(customer != null)
                text12.Text = customer.country;
            else
                text12.Text = "";

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

            paragraph14.Append(paragraphProperties14);
            paragraph14.Append(run12);

            Paragraph paragraph15 = new Paragraph() { RsidParagraphAddition = "003F6835", RsidParagraphProperties = "003F6835", RsidRunAdditionDefault = "00910498" };

            ParagraphProperties paragraphProperties15 = new ParagraphProperties();

            Tabs tabs1 = new Tabs();
            TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 2835 };

            tabs1.Append(tabStop1);
            SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
            RunFonts runFonts27 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize25 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties15.Append(runFonts27);
            paragraphMarkRunProperties15.Append(fontSize25);

            paragraphProperties15.Append(tabs1);
            paragraphProperties15.Append(spacingBetweenLines15);
            paragraphProperties15.Append(paragraphMarkRunProperties15);

            Run run13 = new Run();

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts28 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize26 = new FontSize() { Val = "24" };

            runProperties13.Append(runFonts28);
            runProperties13.Append(fontSize26);
            Break break1 = new Break() { Type = BreakValues.Column };

            run13.Append(runProperties13);
            run13.Append(break1);

            paragraph15.Append(paragraphProperties15);
            paragraph15.Append(run13);

            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 = "3006" };
            GridColumn gridColumn2 = new GridColumn() { Width = "255" };
            GridColumn gridColumn3 = new GridColumn() { Width = "1099" };

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

            TableRow tableRow1 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "00613B48" };

            TableCell tableCell1 = new TableCell();

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

            tableCellProperties1.Append(tableCellWidth1);

            Paragraph paragraph16 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties16 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties16 = new ParagraphMarkRunProperties();
            RunFonts runFonts29 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize27 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties16.Append(runFonts29);
            paragraphMarkRunProperties16.Append(fontSize27);

            paragraphProperties16.Append(paragraphMarkRunProperties16);

            Run run14 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts30 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize28 = new FontSize() { Val = "24" };

            runProperties14.Append(runFonts30);
            runProperties14.Append(fontSize28);
            Text text13 = new Text();
            text13.Text = "Date:";

            run14.Append(runProperties14);
            run14.Append(text13);

            paragraph16.Append(paragraphProperties16);
            paragraph16.Append(run14);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph16);

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth() { Width = "1354", Type = TableWidthUnitValues.Dxa };
            GridSpan gridSpan1 = new GridSpan() { Val = 2 };

            tableCellProperties2.Append(tableCellWidth2);
            tableCellProperties2.Append(gridSpan1);

            Paragraph paragraph17 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties17 = new ParagraphProperties();
            Justification justification6 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties17 = new ParagraphMarkRunProperties();
            RunFonts runFonts31 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize29 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties17.Append(runFonts31);
            paragraphMarkRunProperties17.Append(fontSize29);

            paragraphProperties17.Append(justification6);
            paragraphProperties17.Append(paragraphMarkRunProperties17);

            Run run15 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts32 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize30 = new FontSize() { Val = "24" };

            runProperties15.Append(runFonts32);
            runProperties15.Append(fontSize30);
            Text text14 = new Text();

            //TODO add invoice date
            //text14.Text = "2/02/2016";
            text14.Text = order.invoiceDate.ToString("d/MM/yyyy"); ;

            run15.Append(runProperties15);
            run15.Append(text14);

            paragraph17.Append(paragraphProperties17);
            paragraph17.Append(run15);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph17);

            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);

            TableRow tableRow2 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "009B6C59" };

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth() { Width = "3261", Type = TableWidthUnitValues.Dxa };
            GridSpan gridSpan2 = new GridSpan() { Val = 2 };

            tableCellProperties3.Append(tableCellWidth3);
            tableCellProperties3.Append(gridSpan2);

            Paragraph paragraph18 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties18 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties18 = new ParagraphMarkRunProperties();
            RunFonts runFonts33 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize31 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties18.Append(runFonts33);
            paragraphMarkRunProperties18.Append(fontSize31);

            paragraphProperties18.Append(paragraphMarkRunProperties18);

            Run run16 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts34 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize32 = new FontSize() { Val = "24" };

            runProperties16.Append(runFonts34);
            runProperties16.Append(fontSize32);
            Text text15 = new Text();
            text15.Text = "GST Tax Invoice Number:";

            run16.Append(runProperties16);
            run16.Append(text15);

            paragraph18.Append(paragraphProperties18);
            paragraph18.Append(run16);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph18);

            TableCell tableCell4 = new TableCell();

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

            tableCellProperties4.Append(tableCellWidth4);

            Paragraph paragraph19 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties19 = new ParagraphProperties();
            Justification justification7 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties19 = new ParagraphMarkRunProperties();
            RunFonts runFonts35 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize33 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties19.Append(runFonts35);
            paragraphMarkRunProperties19.Append(fontSize33);

            paragraphProperties19.Append(justification7);
            paragraphProperties19.Append(paragraphMarkRunProperties19);

            Run run17 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties17 = new RunProperties();
            RunFonts runFonts36 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize34 = new FontSize() { Val = "24" };

            runProperties17.Append(runFonts36);
            runProperties17.Append(fontSize34);
            Text text16 = new Text();

            //TODO add invoice number/orderID
            //text16.Text = "39248";
            text16.Text = order.orderID.ToString();

            run17.Append(runProperties17);
            run17.Append(text16);

            paragraph19.Append(paragraphProperties19);
            paragraph19.Append(run17);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph19);

            tableRow2.Append(tableCell3);
            tableRow2.Append(tableCell4);

            TableRow tableRow3 = new TableRow() { RsidTableRowMarkRevision = "00613B48", RsidTableRowAddition = "00613B48", RsidTableRowProperties = "00613B48" };

            TableCell tableCell5 = new TableCell();

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

            tableCellProperties5.Append(tableCellWidth5);

            Paragraph paragraph20 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00AB530E", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties20 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties20 = new ParagraphMarkRunProperties();
            RunFonts runFonts37 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize35 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties20.Append(runFonts37);
            paragraphMarkRunProperties20.Append(fontSize35);

            paragraphProperties20.Append(paragraphMarkRunProperties20);

            Run run18 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts38 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize36 = new FontSize() { Val = "24" };

            runProperties18.Append(runFonts38);
            runProperties18.Append(fontSize36);
            Text text17 = new Text();
            text17.Text = "Your Reference:";

            run18.Append(runProperties18);
            run18.Append(text17);

            paragraph20.Append(paragraphProperties20);
            paragraph20.Append(run18);

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph20);

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth() { Width = "1354", Type = TableWidthUnitValues.Dxa };
            GridSpan gridSpan3 = new GridSpan() { Val = 2 };

            tableCellProperties6.Append(tableCellWidth6);
            tableCellProperties6.Append(gridSpan3);

            Paragraph paragraph21 = new Paragraph() { RsidParagraphMarkRevision = "00613B48", RsidParagraphAddition = "00613B48", RsidParagraphProperties = "00613B48", RsidRunAdditionDefault = "00613B48" };

            ParagraphProperties paragraphProperties21 = new ParagraphProperties();
            Justification justification8 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties21 = new ParagraphMarkRunProperties();
            RunFonts runFonts39 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize37 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties21.Append(runFonts39);
            paragraphMarkRunProperties21.Append(fontSize37);

            paragraphProperties21.Append(justification8);
            paragraphProperties21.Append(paragraphMarkRunProperties21);

            Run run19 = new Run() { RsidRunProperties = "00613B48" };

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts40 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize38 = new FontSize() { Val = "24" };

            runProperties19.Append(runFonts40);
            runProperties19.Append(fontSize38);
            Text text18 = new Text();

            //TODO add order reference
            //text18.Text = "Visa";
            text18.Text = order.orderReference;

            run19.Append(runProperties19);
            run19.Append(text18);

            paragraph21.Append(paragraphProperties21);
            paragraph21.Append(run19);

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph21);

            tableRow3.Append(tableCell5);
            tableRow3.Append(tableCell6);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(tableRow1);
            table1.Append(tableRow2);
            table1.Append(tableRow3);

            Paragraph paragraph22 = new Paragraph() { RsidParagraphAddition = "00EA7D1E", RsidParagraphProperties = "007F61F5", RsidRunAdditionDefault = "00EA7D1E" };

            ParagraphProperties paragraphProperties22 = new ParagraphProperties();

            Tabs tabs2 = new Tabs();
            TabStop tabStop2 = new TabStop() { Val = TabStopValues.Left, Position = 3119 };

            tabs2.Append(tabStop2);
            SpacingBetweenLines spacingBetweenLines16 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties22 = new ParagraphMarkRunProperties();
            RunFonts runFonts41 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize39 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties22.Append(runFonts41);
            paragraphMarkRunProperties22.Append(fontSize39);

            paragraphProperties22.Append(tabs2);
            paragraphProperties22.Append(spacingBetweenLines16);
            paragraphProperties22.Append(paragraphMarkRunProperties22);

            paragraph22.Append(paragraphProperties22);

            Paragraph paragraph23 = new Paragraph() { RsidParagraphAddition = "00EA7D1E", RsidParagraphProperties = "007F61F5", RsidRunAdditionDefault = "00EA7D1E" };

            ParagraphProperties paragraphProperties23 = new ParagraphProperties();

            Tabs tabs3 = new Tabs();
            TabStop tabStop3 = new TabStop() { Val = TabStopValues.Left, Position = 3119 };

            tabs3.Append(tabStop3);
            SpacingBetweenLines spacingBetweenLines17 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties23 = new ParagraphMarkRunProperties();
            RunFonts runFonts42 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize40 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties23.Append(runFonts42);
            paragraphMarkRunProperties23.Append(fontSize40);

            SectionProperties sectionProperties2 = new SectionProperties() { RsidR = "00EA7D1E", RsidSect = "00015C18" };
            SectionType sectionType1 = new SectionType() { Val = SectionMarkValues.Continuous };
            PageSize pageSize2 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin2 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns2 = new Columns() { Space = "286", ColumnCount = 2 };
            DocGrid docGrid2 = new DocGrid() { LinePitch = 360 };

            sectionProperties2.Append(sectionType1);
            sectionProperties2.Append(pageSize2);
            sectionProperties2.Append(pageMargin2);
            sectionProperties2.Append(columns2);
            sectionProperties2.Append(docGrid2);

            paragraphProperties23.Append(tabs3);
            paragraphProperties23.Append(spacingBetweenLines17);
            paragraphProperties23.Append(paragraphMarkRunProperties23);
            paragraphProperties23.Append(sectionProperties2);

            paragraph23.Append(paragraphProperties23);

            Paragraph paragraph24 = new Paragraph() { RsidParagraphMarkRevision = "00646179", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00646179", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties24 = new ParagraphProperties();

            Tabs tabs4 = new Tabs();
            TabStop tabStop4 = new TabStop() { Val = TabStopValues.Left, Position = 3119 };

            tabs4.Append(tabStop4);
            SpacingBetweenLines spacingBetweenLines18 = new SpacingBetweenLines() { After = "0" };

            ParagraphMarkRunProperties paragraphMarkRunProperties24 = new ParagraphMarkRunProperties();
            RunFonts runFonts43 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize41 = new FontSize() { Val = "24" };

            paragraphMarkRunProperties24.Append(runFonts43);
            paragraphMarkRunProperties24.Append(fontSize41);

            paragraphProperties24.Append(tabs4);
            paragraphProperties24.Append(spacingBetweenLines18);
            paragraphProperties24.Append(paragraphMarkRunProperties24);

            paragraph24.Append(paragraphProperties24);

            Table table2 = new Table();

            TableProperties tableProperties2 = new TableProperties();
            TableStyle tableStyle2 = new TableStyle() { Val = "TableGrid" };
            TableWidth tableWidth2 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };

            TableBorders tableBorders2 = new TableBorders();
            LeftBorder leftBorder2 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder2 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder2 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders2.Append(leftBorder2);
            tableBorders2.Append(rightBorder2);
            tableBorders2.Append(insideVerticalBorder2);
            TableLook tableLook2 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true };

            tableProperties2.Append(tableStyle2);
            tableProperties2.Append(tableWidth2);
            tableProperties2.Append(tableBorders2);
            tableProperties2.Append(tableLook2);

            TableGrid tableGrid2 = new TableGrid();
            GridColumn gridColumn4 = new GridColumn() { Width = "1418" };
            GridColumn gridColumn5 = new GridColumn() { Width = "2719" };
            GridColumn gridColumn6 = new GridColumn() { Width = "1036" };
            GridColumn gridColumn7 = new GridColumn() { Width = "1364" };
            GridColumn gridColumn8 = new GridColumn() { Width = "1411" };
            GridColumn gridColumn9 = new GridColumn() { Width = "1078" };

            tableGrid2.Append(gridColumn4);
            tableGrid2.Append(gridColumn5);
            tableGrid2.Append(gridColumn6);
            tableGrid2.Append(gridColumn7);
            tableGrid2.Append(gridColumn8);
            tableGrid2.Append(gridColumn9);

            TableRow tableRow4 = new TableRow() { RsidTableRowAddition = "00443ACA", RsidTableRowProperties = "00506382" };

            TableCell tableCell7 = new TableCell();

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

            tableCellProperties7.Append(tableCellWidth7);

            Paragraph paragraph25 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties25 = new ParagraphProperties();

            Tabs tabs5 = new Tabs();
            TabStop tabStop5 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop6 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop7 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop8 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop9 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs5.Append(tabStop5);
            tabs5.Append(tabStop6);
            tabs5.Append(tabStop7);
            tabs5.Append(tabStop8);
            tabs5.Append(tabStop9);
            SpacingBetweenLines spacingBetweenLines19 = new SpacingBetweenLines() { Before = "60", After = "60" };

            ParagraphMarkRunProperties paragraphMarkRunProperties25 = new ParagraphMarkRunProperties();
            RunFonts runFonts44 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties25.Append(runFonts44);

            paragraphProperties25.Append(tabs5);
            paragraphProperties25.Append(spacingBetweenLines19);
            paragraphProperties25.Append(paragraphMarkRunProperties25);
            ProofError proofError1 = new ProofError() { Type = ProofingErrorValues.SpellStart };

            Run run20 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts45 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties20.Append(runFonts45);
            Text text19 = new Text();
            text19.Text = "BookID";

            run20.Append(runProperties20);
            run20.Append(text19);
            ProofError proofError2 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

            paragraph25.Append(paragraphProperties25);
            paragraph25.Append(proofError1);
            paragraph25.Append(run20);
            paragraph25.Append(proofError2);

            tableCell7.Append(tableCellProperties7);
            tableCell7.Append(paragraph25);

            TableCell tableCell8 = new TableCell();

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

            tableCellProperties8.Append(tableCellWidth8);

            Paragraph paragraph26 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties26 = new ParagraphProperties();

            Tabs tabs6 = new Tabs();
            TabStop tabStop10 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop11 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop12 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop13 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop14 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs6.Append(tabStop10);
            tabs6.Append(tabStop11);
            tabs6.Append(tabStop12);
            tabs6.Append(tabStop13);
            tabs6.Append(tabStop14);
            SpacingBetweenLines spacingBetweenLines20 = new SpacingBetweenLines() { Before = "60", After = "60" };

            ParagraphMarkRunProperties paragraphMarkRunProperties26 = new ParagraphMarkRunProperties();
            RunFonts runFonts46 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties26.Append(runFonts46);

            paragraphProperties26.Append(tabs6);
            paragraphProperties26.Append(spacingBetweenLines20);
            paragraphProperties26.Append(paragraphMarkRunProperties26);

            Run run21 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts47 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties21.Append(runFonts47);
            Text text20 = new Text();
            text20.Text = "Description";

            run21.Append(runProperties21);
            run21.Append(text20);

            paragraph26.Append(paragraphProperties26);
            paragraph26.Append(run21);

            tableCell8.Append(tableCellProperties8);
            tableCell8.Append(paragraph26);

            TableCell tableCell9 = new TableCell();

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

            tableCellProperties9.Append(tableCellWidth9);

            Paragraph paragraph27 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties27 = new ParagraphProperties();

            Tabs tabs7 = new Tabs();
            TabStop tabStop15 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop16 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop17 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop18 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop19 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs7.Append(tabStop15);
            tabs7.Append(tabStop16);
            tabs7.Append(tabStop17);
            tabs7.Append(tabStop18);
            tabs7.Append(tabStop19);
            SpacingBetweenLines spacingBetweenLines21 = new SpacingBetweenLines() { Before = "60", After = "60" };
            Justification justification9 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties27 = new ParagraphMarkRunProperties();
            RunFonts runFonts48 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties27.Append(runFonts48);

            paragraphProperties27.Append(tabs7);
            paragraphProperties27.Append(spacingBetweenLines21);
            paragraphProperties27.Append(justification9);
            paragraphProperties27.Append(paragraphMarkRunProperties27);

            Run run22 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts49 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties22.Append(runFonts49);
            Text text21 = new Text();
            text21.Text = "Quantity";

            run22.Append(runProperties22);
            run22.Append(text21);

            paragraph27.Append(paragraphProperties27);
            paragraph27.Append(run22);

            tableCell9.Append(tableCellProperties9);
            tableCell9.Append(paragraph27);

            TableCell tableCell10 = new TableCell();

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

            tableCellProperties10.Append(tableCellWidth10);

            Paragraph paragraph28 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties28 = new ParagraphProperties();

            Tabs tabs8 = new Tabs();
            TabStop tabStop20 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop21 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop22 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop23 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop24 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs8.Append(tabStop20);
            tabs8.Append(tabStop21);
            tabs8.Append(tabStop22);
            tabs8.Append(tabStop23);
            tabs8.Append(tabStop24);
            SpacingBetweenLines spacingBetweenLines22 = new SpacingBetweenLines() { Before = "60", After = "60" };
            Justification justification10 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties28 = new ParagraphMarkRunProperties();
            RunFonts runFonts50 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties28.Append(runFonts50);

            paragraphProperties28.Append(tabs8);
            paragraphProperties28.Append(spacingBetweenLines22);
            paragraphProperties28.Append(justification10);
            paragraphProperties28.Append(paragraphMarkRunProperties28);

            Run run23 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts51 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties23.Append(runFonts51);
            Text text22 = new Text();
            text22.Text = "Price";

            run23.Append(runProperties23);
            run23.Append(text22);

            paragraph28.Append(paragraphProperties28);
            paragraph28.Append(run23);

            tableCell10.Append(tableCellProperties10);
            tableCell10.Append(paragraph28);

            TableCell tableCell11 = new TableCell();

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

            tableCellProperties11.Append(tableCellWidth11);

            Paragraph paragraph29 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties29 = new ParagraphProperties();

            Tabs tabs9 = new Tabs();
            TabStop tabStop25 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop26 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop27 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop28 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop29 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs9.Append(tabStop25);
            tabs9.Append(tabStop26);
            tabs9.Append(tabStop27);
            tabs9.Append(tabStop28);
            tabs9.Append(tabStop29);
            SpacingBetweenLines spacingBetweenLines23 = new SpacingBetweenLines() { Before = "60", After = "60" };
            Justification justification11 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties29 = new ParagraphMarkRunProperties();
            RunFonts runFonts52 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties29.Append(runFonts52);

            paragraphProperties29.Append(tabs9);
            paragraphProperties29.Append(spacingBetweenLines23);
            paragraphProperties29.Append(justification11);
            paragraphProperties29.Append(paragraphMarkRunProperties29);

            Run run24 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts53 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties24.Append(runFonts53);
            Text text23 = new Text();
            text23.Text = "Discount";

            run24.Append(runProperties24);
            run24.Append(text23);

            paragraph29.Append(paragraphProperties29);
            paragraph29.Append(run24);

            tableCell11.Append(tableCellProperties11);
            tableCell11.Append(paragraph29);

            TableCell tableCell12 = new TableCell();

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

            tableCellProperties12.Append(tableCellWidth12);

            Paragraph paragraph30 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

            ParagraphProperties paragraphProperties30 = new ParagraphProperties();

            Tabs tabs10 = new Tabs();
            TabStop tabStop30 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
            TabStop tabStop31 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
            TabStop tabStop32 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
            TabStop tabStop33 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
            TabStop tabStop34 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs10.Append(tabStop30);
            tabs10.Append(tabStop31);
            tabs10.Append(tabStop32);
            tabs10.Append(tabStop33);
            tabs10.Append(tabStop34);
            SpacingBetweenLines spacingBetweenLines24 = new SpacingBetweenLines() { Before = "60", After = "60" };
            Justification justification12 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties30 = new ParagraphMarkRunProperties();
            RunFonts runFonts54 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            paragraphMarkRunProperties30.Append(runFonts54);

            paragraphProperties30.Append(tabs10);
            paragraphProperties30.Append(spacingBetweenLines24);
            paragraphProperties30.Append(justification12);
            paragraphProperties30.Append(paragraphMarkRunProperties30);

            Run run25 = new Run() { RsidRunProperties = "00443ACA" };

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts55 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };

            runProperties25.Append(runFonts55);
            Text text24 = new Text();
            text24.Text = "Total";

            run25.Append(runProperties25);
            run25.Append(text24);

            paragraph30.Append(paragraphProperties30);
            paragraph30.Append(run25);

            tableCell12.Append(tableCellProperties12);
            tableCell12.Append(paragraph30);

            tableRow4.Append(tableCell7);
            tableRow4.Append(tableCell8);
            tableRow4.Append(tableCell9);
            tableRow4.Append(tableCell10);
            tableRow4.Append(tableCell11);
            tableRow4.Append(tableCell12);

            table2.Append(tableProperties2);
            table2.Append(tableGrid2);
            table2.Append(tableRow4);

            /****** Loop from here? **********/
            foreach (OrderedStock o in orderedStock)
            {
                //Create a table row
                TableRow orderedStockRow = new TableRow() { RsidTableRowAddition = "00443ACA", RsidTableRowProperties = "00506382" };

                //Create cell to hold bookID
                TableCell cellBookID = new TableCell();

                TableCellProperties cellBookIDProperties = new TableCellProperties();
                TableCellWidth cellBookIDWidth = new TableCellWidth() { Width = "1418", Type = TableWidthUnitValues.Dxa };

                cellBookIDProperties.Append(cellBookIDWidth);

                Paragraph paragraph31 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties31 = new ParagraphProperties();

                Tabs tabs11 = new Tabs();
                TabStop tabStop35 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop36 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop37 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop38 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop39 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs11.Append(tabStop35);
                tabs11.Append(tabStop36);
                tabs11.Append(tabStop37);
                tabs11.Append(tabStop38);
                tabs11.Append(tabStop39);
                SpacingBetweenLines spacingBetweenLines25 = new SpacingBetweenLines() { Before = "60", After = "60" };

                ParagraphMarkRunProperties paragraphMarkRunProperties31 = new ParagraphMarkRunProperties();
                RunFonts runFonts56 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize42 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties31.Append(runFonts56);
                paragraphMarkRunProperties31.Append(fontSize42);

                paragraphProperties31.Append(tabs11);
                paragraphProperties31.Append(spacingBetweenLines25);
                paragraphProperties31.Append(paragraphMarkRunProperties31);

                Run run26 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties26 = new RunProperties();
                RunFonts runFonts57 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize43 = new FontSize() { Val = "18" };

                runProperties26.Append(runFonts57);
                runProperties26.Append(fontSize43);
                Text text25 = new Text();

                //TODO Book ID
                text25.Text = o.bookID;

                run26.Append(runProperties26);
                run26.Append(text25);

                paragraph31.Append(paragraphProperties31);
                paragraph31.Append(run26);

                cellBookID.Append(cellBookIDProperties);
                cellBookID.Append(paragraph31);

                //Cell for description
                TableCell tableCell14 = new TableCell();

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

                tableCellProperties14.Append(tableCellWidth14);

                Paragraph paragraph32 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties32 = new ParagraphProperties();

                Tabs tabs12 = new Tabs();
                TabStop tabStop40 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop41 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop42 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop43 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop44 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs12.Append(tabStop40);
                tabs12.Append(tabStop41);
                tabs12.Append(tabStop42);
                tabs12.Append(tabStop43);
                tabs12.Append(tabStop44);
                SpacingBetweenLines spacingBetweenLines26 = new SpacingBetweenLines() { Before = "60", After = "60" };

                ParagraphMarkRunProperties paragraphMarkRunProperties32 = new ParagraphMarkRunProperties();
                RunFonts runFonts58 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize44 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties32.Append(runFonts58);
                paragraphMarkRunProperties32.Append(fontSize44);

                paragraphProperties32.Append(tabs12);
                paragraphProperties32.Append(spacingBetweenLines26);
                paragraphProperties32.Append(paragraphMarkRunProperties32);

                Run run27 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties27 = new RunProperties();
                RunFonts runFonts59 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize45 = new FontSize() { Val = "18" };

                runProperties27.Append(runFonts59);
                runProperties27.Append(fontSize45);
                Text text26 = new Text() { Space = SpaceProcessingModeValues.Preserve };

                //TODO Author name
                string author = o.author;
                text26.Text = author;

                run27.Append(runProperties27);
                run27.Append(text26);
                ProofError proofError3 = new ProofError() { Type = ProofingErrorValues.SpellStart };

                RunProperties runProperties28 = new RunProperties();
                RunFonts runFonts60 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize46 = new FontSize() { Val = "18" };

                runProperties28.Append(runFonts60);
                runProperties28.Append(fontSize46);

                ProofError proofError4 = new ProofError() { Type = ProofingErrorValues.SpellEnd };

                paragraph32.Append(paragraphProperties32);
                paragraph32.Append(run27);
                paragraph32.Append(proofError3);

                Paragraph paragraph33 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties33 = new ParagraphProperties();

                Tabs tabs13 = new Tabs();
                TabStop tabStop45 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop46 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop47 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop48 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop49 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs13.Append(tabStop45);
                tabs13.Append(tabStop46);
                tabs13.Append(tabStop47);
                tabs13.Append(tabStop48);
                tabs13.Append(tabStop49);
                SpacingBetweenLines spacingBetweenLines27 = new SpacingBetweenLines() { Before = "60", After = "60" };

                ParagraphMarkRunProperties paragraphMarkRunProperties33 = new ParagraphMarkRunProperties();
                RunFonts runFonts61 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize47 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties33.Append(runFonts61);
                paragraphMarkRunProperties33.Append(fontSize47);

                paragraphProperties33.Append(tabs13);
                paragraphProperties33.Append(spacingBetweenLines27);
                paragraphProperties33.Append(paragraphMarkRunProperties33);

                Run run29 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties29 = new RunProperties();
                RunFonts runFonts62 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize48 = new FontSize() { Val = "18" };

                runProperties29.Append(runFonts62);
                runProperties29.Append(fontSize48);
                Text text28 = new Text();

                //TODO Book title
                text28.Text = o.title;

                run29.Append(runProperties29);
                run29.Append(text28);

                paragraph33.Append(paragraphProperties33);
                paragraph33.Append(run29);

                tableCell14.Append(tableCellProperties14);
                tableCell14.Append(paragraph32);
                tableCell14.Append(paragraph33);

                //Cell for quantity
                TableCell tableCell15 = new TableCell();

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

                tableCellProperties15.Append(tableCellWidth15);

                Paragraph paragraph34 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties34 = new ParagraphProperties();

                Tabs tabs14 = new Tabs();
                TabStop tabStop50 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop51 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop52 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop53 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop54 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs14.Append(tabStop50);
                tabs14.Append(tabStop51);
                tabs14.Append(tabStop52);
                tabs14.Append(tabStop53);
                tabs14.Append(tabStop54);
                SpacingBetweenLines spacingBetweenLines28 = new SpacingBetweenLines() { Before = "60", After = "60" };
                Justification justification13 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties34 = new ParagraphMarkRunProperties();
                RunFonts runFonts63 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize49 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties34.Append(runFonts63);
                paragraphMarkRunProperties34.Append(fontSize49);

                paragraphProperties34.Append(tabs14);
                paragraphProperties34.Append(spacingBetweenLines28);
                paragraphProperties34.Append(justification13);
                paragraphProperties34.Append(paragraphMarkRunProperties34);

                Run run30 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties30 = new RunProperties();
                RunFonts runFonts64 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize50 = new FontSize() { Val = "18" };

                runProperties30.Append(runFonts64);
                runProperties30.Append(fontSize50);
                Text text29 = new Text();

                //TODO Quantity
                text29.Text = o.quantity.ToString();

                run30.Append(runProperties30);
                run30.Append(text29);

                paragraph34.Append(paragraphProperties34);
                paragraph34.Append(run30);

                tableCell15.Append(tableCellProperties15);
                tableCell15.Append(paragraph34);

                //Cell for price
                TableCell tableCell16 = new TableCell();

                TableCellProperties tableCellProperties16 = new TableCellProperties();
                TableCellWidth tableCellWidth16 = new TableCellWidth() { Width = "1364", Type = TableWidthUnitValues.Dxa };

                tableCellProperties16.Append(tableCellWidth16);

                Paragraph paragraph35 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties35 = new ParagraphProperties();

                Tabs tabs15 = new Tabs();
                TabStop tabStop55 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop56 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop57 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop58 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop59 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs15.Append(tabStop55);
                tabs15.Append(tabStop56);
                tabs15.Append(tabStop57);
                tabs15.Append(tabStop58);
                tabs15.Append(tabStop59);
                SpacingBetweenLines spacingBetweenLines29 = new SpacingBetweenLines() { Before = "60", After = "60" };
                Justification justification14 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties35 = new ParagraphMarkRunProperties();
                RunFonts runFonts65 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize51 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties35.Append(runFonts65);
                paragraphMarkRunProperties35.Append(fontSize51);

                paragraphProperties35.Append(tabs15);
                paragraphProperties35.Append(spacingBetweenLines29);
                paragraphProperties35.Append(justification14);
                paragraphProperties35.Append(paragraphMarkRunProperties35);

                Run run31 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties31 = new RunProperties();
                RunFonts runFonts66 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize52 = new FontSize() { Val = "18" };

                runProperties31.Append(runFonts66);
                runProperties31.Append(fontSize52);
                Text text30 = new Text();

                //TODO Price
                text30.Text = "$" + String.Format("{0:0.00}", o.price);

                run31.Append(runProperties31);
                run31.Append(text30);

                paragraph35.Append(paragraphProperties35);
                paragraph35.Append(run31);

                tableCell16.Append(tableCellProperties16);
                tableCell16.Append(paragraph35);

                //Cell for discount
                TableCell tableCell17 = new TableCell();

                TableCellProperties tableCellProperties17 = new TableCellProperties();
                TableCellWidth tableCellWidth17 = new TableCellWidth() { Width = "1411", Type = TableWidthUnitValues.Dxa };

                tableCellProperties17.Append(tableCellWidth17);

                Paragraph paragraph36 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties36 = new ParagraphProperties();

                Tabs tabs16 = new Tabs();
                TabStop tabStop60 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop61 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop62 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop63 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop64 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs16.Append(tabStop60);
                tabs16.Append(tabStop61);
                tabs16.Append(tabStop62);
                tabs16.Append(tabStop63);
                tabs16.Append(tabStop64);
                SpacingBetweenLines spacingBetweenLines30 = new SpacingBetweenLines() { Before = "60", After = "60" };
                Justification justification15 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties36 = new ParagraphMarkRunProperties();
                RunFonts runFonts67 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize53 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties36.Append(runFonts67);
                paragraphMarkRunProperties36.Append(fontSize53);

                paragraphProperties36.Append(tabs16);
                paragraphProperties36.Append(spacingBetweenLines30);
                paragraphProperties36.Append(justification15);
                paragraphProperties36.Append(paragraphMarkRunProperties36);

                Run run32 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties32 = new RunProperties();
                RunFonts runFonts68 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize54 = new FontSize() { Val = "18" };

                runProperties32.Append(runFonts68);
                runProperties32.Append(fontSize54);
                Text text31 = new Text();

                //TODO Discount
                text31.Text = "$" + String.Format("{0:0.00}", o.discount);

                run32.Append(runProperties32);
                run32.Append(text31);

                paragraph36.Append(paragraphProperties36);
                paragraph36.Append(run32);

                tableCell17.Append(tableCellProperties17);
                tableCell17.Append(paragraph36);

                //Cell for total
                TableCell tableCell18 = new TableCell();

                TableCellProperties tableCellProperties18 = new TableCellProperties();
                TableCellWidth tableCellWidth18 = new TableCellWidth() { Width = "1078", Type = TableWidthUnitValues.Dxa };

                tableCellProperties18.Append(tableCellWidth18);

                Paragraph paragraph37 = new Paragraph() { RsidParagraphMarkRevision = "00443ACA", RsidParagraphAddition = "00443ACA", RsidParagraphProperties = "00443ACA", RsidRunAdditionDefault = "00443ACA" };

                ParagraphProperties paragraphProperties37 = new ParagraphProperties();

                Tabs tabs17 = new Tabs();
                TabStop tabStop65 = new TabStop() { Val = TabStopValues.Left, Position = 1560 };
                TabStop tabStop66 = new TabStop() { Val = TabStopValues.Left, Position = 3969 };
                TabStop tabStop67 = new TabStop() { Val = TabStopValues.Left, Position = 5387 };
                TabStop tabStop68 = new TabStop() { Val = TabStopValues.Left, Position = 6379 };
                TabStop tabStop69 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

                tabs17.Append(tabStop65);
                tabs17.Append(tabStop66);
                tabs17.Append(tabStop67);
                tabs17.Append(tabStop68);
                tabs17.Append(tabStop69);
                SpacingBetweenLines spacingBetweenLines31 = new SpacingBetweenLines() { Before = "60", After = "60" };
                Justification justification16 = new Justification() { Val = JustificationValues.Right };

                ParagraphMarkRunProperties paragraphMarkRunProperties37 = new ParagraphMarkRunProperties();
                RunFonts runFonts69 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize55 = new FontSize() { Val = "18" };

                paragraphMarkRunProperties37.Append(runFonts69);
                paragraphMarkRunProperties37.Append(fontSize55);

                paragraphProperties37.Append(tabs17);
                paragraphProperties37.Append(spacingBetweenLines31);
                paragraphProperties37.Append(justification16);
                paragraphProperties37.Append(paragraphMarkRunProperties37);

                Run run33 = new Run() { RsidRunProperties = "00443ACA" };

                RunProperties runProperties33 = new RunProperties();
                RunFonts runFonts70 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
                FontSize fontSize56 = new FontSize() { Val = "18" };

                runProperties33.Append(runFonts70);
                runProperties33.Append(fontSize56);
                Text text32 = new Text();

                //Total
                double total = o.price - o.discount;

                grandTotal += total;

                //TODO have price display as decimal
                text32.Text = "$" + String.Format("{0:0.00}", total);

                run33.Append(runProperties33);
                run33.Append(text32);

                paragraph37.Append(paragraphProperties37);
                paragraph37.Append(run33);

                tableCell18.Append(tableCellProperties18);
                tableCell18.Append(paragraph37);

                //Add cells into the row
                orderedStockRow.Append(cellBookID);
                orderedStockRow.Append(tableCell14);
                orderedStockRow.Append(tableCell15);
                orderedStockRow.Append(tableCell16);
                orderedStockRow.Append(tableCell17);
                orderedStockRow.Append(tableCell18);

                //Add row for book into the table
                table2.Append(orderedStockRow);
            }
            /***************** End loop *******************/

            Paragraph paragraph38 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties38 = new ParagraphProperties();

            Tabs tabs18 = new Tabs();
            TabStop tabStop70 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs18.Append(tabStop70);
            SpacingBetweenLines spacingBetweenLines32 = new SpacingBetweenLines() { Before = "40", After = "40" };

            ParagraphMarkRunProperties paragraphMarkRunProperties38 = new ParagraphMarkRunProperties();
            RunFonts runFonts71 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold5 = new Bold();
            FontSize fontSize57 = new FontSize() { Val = "18" };

            paragraphMarkRunProperties38.Append(runFonts71);
            paragraphMarkRunProperties38.Append(bold5);
            paragraphMarkRunProperties38.Append(fontSize57);

            paragraphProperties38.Append(tabs18);
            paragraphProperties38.Append(spacingBetweenLines32);
            paragraphProperties38.Append(paragraphMarkRunProperties38);

            paragraph38.Append(paragraphProperties38);

            Table table3 = new Table();

            TableProperties tableProperties3 = new TableProperties();
            TableStyle tableStyle3 = new TableStyle() { Val = "TableGrid" };
            TableWidth tableWidth3 = new TableWidth() { Width = "0", Type = TableWidthUnitValues.Auto };
            TableIndentation tableIndentation1 = new TableIndentation() { Width = 6516, Type = TableWidthUnitValues.Dxa };

            TableBorders tableBorders3 = new TableBorders();
            TopBorder topBorder2 = new TopBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            LeftBorder leftBorder3 = new LeftBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            BottomBorder bottomBorder2 = new BottomBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            RightBorder rightBorder3 = new RightBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideHorizontalBorder insideHorizontalBorder2 = new InsideHorizontalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };
            InsideVerticalBorder insideVerticalBorder3 = new InsideVerticalBorder() { Val = BorderValues.None, Color = "auto", Size = (UInt32Value)0U, Space = (UInt32Value)0U };

            tableBorders3.Append(topBorder2);
            tableBorders3.Append(leftBorder3);
            tableBorders3.Append(bottomBorder2);
            tableBorders3.Append(rightBorder3);
            tableBorders3.Append(insideHorizontalBorder2);
            tableBorders3.Append(insideVerticalBorder3);
            TableLook tableLook3 = new TableLook() { Val = "04A0", FirstRow = true, LastRow = false, FirstColumn = true, LastColumn = false, NoHorizontalBand = false, NoVerticalBand = true };

            tableProperties3.Append(tableStyle3);
            tableProperties3.Append(tableWidth3);
            tableProperties3.Append(tableIndentation1);
            tableProperties3.Append(tableBorders3);
            tableProperties3.Append(tableLook3);

            TableGrid tableGrid3 = new TableGrid();
            GridColumn gridColumn10 = new GridColumn() { Width = "1559" };
            GridColumn gridColumn11 = new GridColumn() { Width = "941" };

            tableGrid3.Append(gridColumn10);
            tableGrid3.Append(gridColumn11);

            TableRow tableRow6 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" };

            TableCell tableCell19 = new TableCell();

            TableCellProperties tableCellProperties19 = new TableCellProperties();
            TableCellWidth tableCellWidth19 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa };

            tableCellProperties19.Append(tableCellWidth19);

            Paragraph paragraph39 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties39 = new ParagraphProperties();

            Tabs tabs19 = new Tabs();
            TabStop tabStop71 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs19.Append(tabStop71);
            SpacingBetweenLines spacingBetweenLines33 = new SpacingBetweenLines() { Before = "40", After = "40" };

            ParagraphMarkRunProperties paragraphMarkRunProperties39 = new ParagraphMarkRunProperties();
            RunFonts runFonts72 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold6 = new Bold();
            FontSize fontSize58 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties39.Append(runFonts72);
            paragraphMarkRunProperties39.Append(bold6);
            paragraphMarkRunProperties39.Append(fontSize58);

            paragraphProperties39.Append(tabs19);
            paragraphProperties39.Append(spacingBetweenLines33);
            paragraphProperties39.Append(paragraphMarkRunProperties39);

            Run run34 = new Run();

            RunProperties runProperties34 = new RunProperties();
            RunFonts runFonts73 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize59 = new FontSize() { Val = "20" };

            runProperties34.Append(runFonts73);
            runProperties34.Append(fontSize59);
            Text text33 = new Text();
            text33.Text = "Total:";

            run34.Append(runProperties34);
            run34.Append(text33);

            paragraph39.Append(paragraphProperties39);
            paragraph39.Append(run34);

            tableCell19.Append(tableCellProperties19);
            tableCell19.Append(paragraph39);

            TableCell tableCell20 = new TableCell();

            TableCellProperties tableCellProperties20 = new TableCellProperties();
            TableCellWidth tableCellWidth20 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa };

            tableCellProperties20.Append(tableCellWidth20);

            Paragraph paragraph40 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties40 = new ParagraphProperties();

            Tabs tabs20 = new Tabs();
            TabStop tabStop72 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs20.Append(tabStop72);
            SpacingBetweenLines spacingBetweenLines34 = new SpacingBetweenLines() { Before = "40", After = "40" };
            Justification justification17 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties40 = new ParagraphMarkRunProperties();
            RunFonts runFonts74 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold7 = new Bold();
            FontSize fontSize60 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties40.Append(runFonts74);
            paragraphMarkRunProperties40.Append(bold7);
            paragraphMarkRunProperties40.Append(fontSize60);

            paragraphProperties40.Append(tabs20);
            paragraphProperties40.Append(spacingBetweenLines34);
            paragraphProperties40.Append(justification17);
            paragraphProperties40.Append(paragraphMarkRunProperties40);

            Run run35 = new Run();

            RunProperties runProperties35 = new RunProperties();
            RunFonts runFonts75 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize61 = new FontSize() { Val = "20" };

            runProperties35.Append(runFonts75);
            runProperties35.Append(fontSize61);
            Text text34 = new Text();

            //TODO total after the table
            text34.Text = "$" + String.Format("{0:0.00}", grandTotal);

            run35.Append(runProperties35);
            run35.Append(text34);

            paragraph40.Append(paragraphProperties40);
            paragraph40.Append(run35);

            tableCell20.Append(tableCellProperties20);
            tableCell20.Append(paragraph40);

            tableRow6.Append(tableCell19);
            tableRow6.Append(tableCell20);

            TableRow tableRow7 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" };

            TableCell tableCell21 = new TableCell();

            TableCellProperties tableCellProperties21 = new TableCellProperties();
            TableCellWidth tableCellWidth21 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa };

            tableCellProperties21.Append(tableCellWidth21);

            Paragraph paragraph41 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties41 = new ParagraphProperties();

            Tabs tabs21 = new Tabs();
            TabStop tabStop73 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs21.Append(tabStop73);
            SpacingBetweenLines spacingBetweenLines35 = new SpacingBetweenLines() { Before = "40", After = "40" };

            ParagraphMarkRunProperties paragraphMarkRunProperties41 = new ParagraphMarkRunProperties();
            RunFonts runFonts76 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize62 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties41.Append(runFonts76);
            paragraphMarkRunProperties41.Append(fontSize62);

            paragraphProperties41.Append(tabs21);
            paragraphProperties41.Append(spacingBetweenLines35);
            paragraphProperties41.Append(paragraphMarkRunProperties41);

            Run run36 = new Run();

            RunProperties runProperties36 = new RunProperties();
            RunFonts runFonts77 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize63 = new FontSize() { Val = "20" };

            runProperties36.Append(runFonts77);
            runProperties36.Append(fontSize63);
            Text text35 = new Text();
            text35.Text = "Freight:";

            run36.Append(runProperties36);
            run36.Append(text35);

            paragraph41.Append(paragraphProperties41);
            paragraph41.Append(run36);

            tableCell21.Append(tableCellProperties21);
            tableCell21.Append(paragraph41);

            TableCell tableCell22 = new TableCell();

            TableCellProperties tableCellProperties22 = new TableCellProperties();
            TableCellWidth tableCellWidth22 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa };

            tableCellProperties22.Append(tableCellWidth22);

            Paragraph paragraph42 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties42 = new ParagraphProperties();

            Tabs tabs22 = new Tabs();
            TabStop tabStop74 = new TabStop() { Val = TabStopValues.Left, Position = 6663 };
            TabStop tabStop75 = new TabStop() { Val = TabStopValues.Left, Position = 8364 };

            tabs22.Append(tabStop74);
            tabs22.Append(tabStop75);
            SpacingBetweenLines spacingBetweenLines36 = new SpacingBetweenLines() { Before = "40", After = "40" };
            Justification justification18 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties42 = new ParagraphMarkRunProperties();
            RunFonts runFonts78 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize64 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties42.Append(runFonts78);
            paragraphMarkRunProperties42.Append(fontSize64);

            paragraphProperties42.Append(tabs22);
            paragraphProperties42.Append(spacingBetweenLines36);
            paragraphProperties42.Append(justification18);
            paragraphProperties42.Append(paragraphMarkRunProperties42);

            Run run37 = new Run();

            RunProperties runProperties37 = new RunProperties();
            RunFonts runFonts79 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize65 = new FontSize() { Val = "20" };

            runProperties37.Append(runFonts79);
            runProperties37.Append(fontSize65);
            Text text36 = new Text();

            //TODO freight price
            text36.Text = "$" + String.Format("{0:0.00}", order.freightCost);

            run37.Append(runProperties37);
            run37.Append(text36);

            paragraph42.Append(paragraphProperties42);
            paragraph42.Append(run37);

            tableCell22.Append(tableCellProperties22);
            tableCell22.Append(paragraph42);

            tableRow7.Append(tableCell21);
            tableRow7.Append(tableCell22);

            TableRow tableRow8 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" };

            TableCell tableCell23 = new TableCell();

            TableCellProperties tableCellProperties23 = new TableCellProperties();
            TableCellWidth tableCellWidth23 = new TableCellWidth() { Width = "1559", Type = TableWidthUnitValues.Dxa };

            tableCellProperties23.Append(tableCellWidth23);

            Paragraph paragraph43 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties43 = new ParagraphProperties();

            Tabs tabs23 = new Tabs();
            TabStop tabStop76 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs23.Append(tabStop76);
            SpacingBetweenLines spacingBetweenLines37 = new SpacingBetweenLines() { Before = "40", After = "40" };

            ParagraphMarkRunProperties paragraphMarkRunProperties43 = new ParagraphMarkRunProperties();
            RunFonts runFonts80 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize66 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties43.Append(runFonts80);
            paragraphMarkRunProperties43.Append(fontSize66);

            paragraphProperties43.Append(tabs23);
            paragraphProperties43.Append(spacingBetweenLines37);
            paragraphProperties43.Append(paragraphMarkRunProperties43);

            Run run38 = new Run() { RsidRunProperties = "00690638" };

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts81 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold8 = new Bold();
            FontSize fontSize67 = new FontSize() { Val = "20" };

            runProperties38.Append(runFonts81);
            runProperties38.Append(bold8);
            runProperties38.Append(fontSize67);
            Text text37 = new Text();
            text37.Text = "Final Total";

            run38.Append(runProperties38);
            run38.Append(text37);

            Run run39 = new Run();

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts82 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold9 = new Bold();
            FontSize fontSize68 = new FontSize() { Val = "20" };

            runProperties39.Append(runFonts82);
            runProperties39.Append(bold9);
            runProperties39.Append(fontSize68);
            Text text38 = new Text();
            text38.Text = ":";

            run39.Append(runProperties39);
            run39.Append(text38);

            paragraph43.Append(paragraphProperties43);
            paragraph43.Append(run38);
            paragraph43.Append(run39);

            tableCell23.Append(tableCellProperties23);
            tableCell23.Append(paragraph43);

            TableCell tableCell24 = new TableCell();

            TableCellProperties tableCellProperties24 = new TableCellProperties();
            TableCellWidth tableCellWidth24 = new TableCellWidth() { Width = "941", Type = TableWidthUnitValues.Dxa };

            tableCellProperties24.Append(tableCellWidth24);

            Paragraph paragraph44 = new Paragraph() { RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties44 = new ParagraphProperties();

            Tabs tabs24 = new Tabs();
            TabStop tabStop77 = new TabStop() { Val = TabStopValues.Left, Position = 6663 };
            TabStop tabStop78 = new TabStop() { Val = TabStopValues.Left, Position = 8364 };

            tabs24.Append(tabStop77);
            tabs24.Append(tabStop78);
            SpacingBetweenLines spacingBetweenLines38 = new SpacingBetweenLines() { Before = "40", After = "40" };
            Justification justification19 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties44 = new ParagraphMarkRunProperties();
            RunFonts runFonts83 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            FontSize fontSize69 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties44.Append(runFonts83);
            paragraphMarkRunProperties44.Append(fontSize69);

            paragraphProperties44.Append(tabs24);
            paragraphProperties44.Append(spacingBetweenLines38);
            paragraphProperties44.Append(justification19);
            paragraphProperties44.Append(paragraphMarkRunProperties44);

            Run run40 = new Run() { RsidRunProperties = "00690638" };

            RunProperties runProperties40 = new RunProperties();
            RunFonts runFonts84 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold10 = new Bold();
            FontSize fontSize70 = new FontSize() { Val = "20" };

            runProperties40.Append(runFonts84);
            runProperties40.Append(bold10);
            runProperties40.Append(fontSize70);
            Text text39 = new Text();

            //TODO add in total + freightCost
            double finalTotal = grandTotal + order.freightCost;

            text39.Text = "$" + String.Format("{0:0.00}", finalTotal);

            run40.Append(runProperties40);
            run40.Append(text39);

            paragraph44.Append(paragraphProperties44);
            paragraph44.Append(run40);

            tableCell24.Append(tableCellProperties24);
            tableCell24.Append(paragraph44);

            tableRow8.Append(tableCell23);
            tableRow8.Append(tableCell24);

            TableRow tableRow9 = new TableRow() { RsidTableRowAddition = "00B5104A", RsidTableRowProperties = "00BD60A1" };

            TableCell tableCell25 = new TableCell();

            TableCellProperties tableCellProperties25 = new TableCellProperties();
            TableCellWidth tableCellWidth25 = new TableCellWidth() { Width = "2500", Type = TableWidthUnitValues.Dxa };
            GridSpan gridSpan4 = new GridSpan() { Val = 2 };

            tableCellProperties25.Append(tableCellWidth25);
            tableCellProperties25.Append(gridSpan4);

            Paragraph paragraph45 = new Paragraph() { RsidParagraphMarkRevision = "00690638", RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00B5104A", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties45 = new ParagraphProperties();

            Tabs tabs25 = new Tabs();
            TabStop tabStop79 = new TabStop() { Val = TabStopValues.Left, Position = 6663 };
            TabStop tabStop80 = new TabStop() { Val = TabStopValues.Left, Position = 8364 };

            tabs25.Append(tabStop79);
            tabs25.Append(tabStop80);
            SpacingBetweenLines spacingBetweenLines39 = new SpacingBetweenLines() { Before = "40", After = "40" };
            Justification justification20 = new Justification() { Val = JustificationValues.Right };

            ParagraphMarkRunProperties paragraphMarkRunProperties45 = new ParagraphMarkRunProperties();
            RunFonts runFonts85 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold11 = new Bold();
            FontSize fontSize71 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties45.Append(runFonts85);
            paragraphMarkRunProperties45.Append(bold11);
            paragraphMarkRunProperties45.Append(fontSize71);

            paragraphProperties45.Append(tabs25);
            paragraphProperties45.Append(spacingBetweenLines39);
            paragraphProperties45.Append(justification20);
            paragraphProperties45.Append(paragraphMarkRunProperties45);

            Run run41 = new Run() { RsidRunProperties = "00882792" };

            RunProperties runProperties41 = new RunProperties();
            RunFonts runFonts86 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold12 = new Bold();
            FontSize fontSize72 = new FontSize() { Val = "18" };

            runProperties41.Append(runFonts86);
            runProperties41.Append(bold12);
            runProperties41.Append(fontSize72);
            Text text40 = new Text();
            text40.Text = "Paid in Full";

            run41.Append(runProperties41);
            run41.Append(text40);

            paragraph45.Append(paragraphProperties45);
            paragraph45.Append(run41);

            tableCell25.Append(tableCellProperties25);
            tableCell25.Append(paragraph45);

            tableRow9.Append(tableCell25);

            table3.Append(tableProperties3);
            table3.Append(tableGrid3);
            table3.Append(tableRow6);
            table3.Append(tableRow7);
            table3.Append(tableRow8);
            table3.Append(tableRow9);

            Paragraph paragraph46 = new Paragraph() { RsidParagraphMarkRevision = "00690638", RsidParagraphAddition = "00B5104A", RsidParagraphProperties = "00116604", RsidRunAdditionDefault = "00B5104A" };

            ParagraphProperties paragraphProperties46 = new ParagraphProperties();

            Tabs tabs26 = new Tabs();
            TabStop tabStop81 = new TabStop() { Val = TabStopValues.Left, Position = 7938 };

            tabs26.Append(tabStop81);
            SpacingBetweenLines spacingBetweenLines40 = new SpacingBetweenLines() { Before = "40", After = "40" };

            ParagraphMarkRunProperties paragraphMarkRunProperties46 = new ParagraphMarkRunProperties();
            RunFonts runFonts87 = new RunFonts() { Ascii = "Arial", HighAnsi = "Arial", ComplexScript = "Arial" };
            Bold bold13 = new Bold();
            FontSize fontSize73 = new FontSize() { Val = "20" };

            paragraphMarkRunProperties46.Append(runFonts87);
            paragraphMarkRunProperties46.Append(bold13);
            paragraphMarkRunProperties46.Append(fontSize73);

            paragraphProperties46.Append(tabs26);
            paragraphProperties46.Append(spacingBetweenLines40);
            paragraphProperties46.Append(paragraphMarkRunProperties46);

            paragraph46.Append(paragraphProperties46);

            SectionProperties sectionProperties3 = new SectionProperties() { RsidRPr = "00690638", RsidR = "00B5104A", RsidSect = "00EA7D1E" };
            SectionType sectionType2 = new SectionType() { Val = SectionMarkValues.Continuous };
            PageSize pageSize3 = new PageSize() { Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin3 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)708U, Footer = (UInt32Value)708U, Gutter = (UInt32Value)0U };
            Columns columns3 = new Columns() { Space = "286" };
            DocGrid docGrid3 = new DocGrid() { LinePitch = 360 };

            sectionProperties3.Append(sectionType2);
            sectionProperties3.Append(pageSize3);
            sectionProperties3.Append(pageMargin3);
            sectionProperties3.Append(columns3);
            sectionProperties3.Append(docGrid3);

            body1.Append(paragraph1);
            body1.Append(paragraph2);
            body1.Append(paragraph3);
            body1.Append(paragraph4);
            body1.Append(paragraph5);
            body1.Append(paragraph6);
            body1.Append(paragraph7);
            body1.Append(paragraph8);

            if (customer != null)
            {
                if (customer.firstName != "" || customer.lastName != "")
                    body1.Append(paragraph9);
            }
            else
            {
                if(order.firstName != "" || order.lastName != "")
                    body1.Append(paragraph9);
            }

            if (customer.institution != "")
                body1.Append(paragraphInstitute);
            if(customer.address1 != "")
                body1.Append(paragraph10);
            if(customer.address2 != "")
                body1.Append(paragraph11);
            if(customer.address3 != "")
                body1.Append(paragraph12);
            if(customer.postCode != "")
                body1.Append(paragraph13);
            if(customer.country != "")
                body1.Append(paragraph14);
            body1.Append(paragraph15);
            body1.Append(table1);
            body1.Append(paragraph22);
            body1.Append(paragraph23);
            body1.Append(paragraph24);
            body1.Append(table2);
            body1.Append(paragraph38);
            body1.Append(table3);
            body1.Append(paragraph46);
            body1.Append(sectionProperties3);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #15
0
        /// <summary>
        /// Gets a category header row.
        /// </summary>
        /// <remarks>
        /// This method is used in Document assembly to create the details row for a category on the job description page
        /// </remarks>
        /// <returns>An assembled <see cref="T:DocumentFormat.OpenXml.Wordprocessing.TableRow"/></returns>
        public TableRow GenerateDetailsRow()
        {
            TableRow           tableRow1           = new TableRow();
            TableRowProperties tableRowProperties1 = new TableRowProperties();
            CantSplit          cantSplit1          = new CantSplit();
            TableRowHeight     tableRowHeight1     = new TableRowHeight()
            {
                Val = (UInt32Value)1063U
            };
            TableJustification tableJustification1 = new TableJustification()
            {
                Val = TableRowAlignmentValues.Center
            };

            tableRowProperties1.Append(cantSplit1);
            tableRowProperties1.Append(tableRowHeight1);
            tableRowProperties1.Append(tableJustification1);

            TableCell tableCell1 = new TableCell();

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

            TableCellBorders tableCellBorders1 = new TableCellBorders();
            TopBorder        topBorder1        = new TopBorder()
            {
                Val = BorderValues.Nil
            };

            tableCellBorders1.Append(topBorder1);
            Shading shading1 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "D9D9D9"
            };

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(tableCellBorders1);
            tableCellProperties1.Append(shading1);

            Paragraph paragraph1 = new Paragraph();

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

            ParagraphMarkRunProperties paragraphMarkRunProperties1 = new ParagraphMarkRunProperties();
            RunStyle runStyle1 = new RunStyle()
            {
                Val = "TimesLarge"
            };

            paragraphMarkRunProperties1.Append(runStyle1);

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

            paragraph1.Append(paragraphProperties1);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph1);

            TableCell tableCell2 = new TableCell();

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

            TableCellBorders tableCellBorders2 = new TableCellBorders();
            TopBorder        topBorder2        = new TopBorder()
            {
                Val = BorderValues.Nil
            };

            tableCellBorders2.Append(topBorder2);
            Shading shading2 = new Shading()
            {
                Val = ShadingPatternValues.Clear, Color = "auto", Fill = "D9D9D9"
            };

            tableCellProperties2.Append(tableCellWidth2);
            tableCellProperties2.Append(tableCellBorders2);
            tableCellProperties2.Append(shading2);

            Paragraph paragraph2 = new Paragraph();

            ParagraphProperties paragraphProperties2 = new ParagraphProperties();

            ParagraphMarkRunProperties paragraphMarkRunProperties2 = new ParagraphMarkRunProperties();
            RunStyle runStyle2 = new RunStyle()
            {
                Val = "TimesLarge"
            };

            paragraphMarkRunProperties2.Append(runStyle2);

            paragraphProperties2.Append(paragraphMarkRunProperties2);

            paragraph2.Append(paragraphProperties2);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph2);

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth      tableCellWidth3      = new TableCellWidth()
            {
                Width = "4902", Type = TableWidthUnitValues.Dxa
            };
            TableCellBorders tableCellBorders3 = new TableCellBorders();
            TopBorder        topBorder3        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder3 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder3 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder3 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };

            tableCellBorders3.Append(topBorder3);
            tableCellBorders3.Append(leftBorder3);
            tableCellBorders3.Append(bottomBorder3);
            tableCellBorders3.Append(rightBorder3);

            tableCellProperties3.Append(tableCellWidth3);
            tableCellProperties3.Append(tableCellBorders3);
            foreach (PositionDescriptionItem p in PositionDescriptionItems)
            {
                Paragraph paragraph3 = new Paragraph();

                ParagraphProperties paragraphProperties3 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines3 = new SpacingBetweenLines()
                {
                    After = "100"
                };
                Indentation indentation1 = new Indentation()
                {
                    Left = "0", Hanging = "0"
                };

                ParagraphMarkRunProperties paragraphMarkRunProperties3 = new ParagraphMarkRunProperties();
                RunStyle runStyle3 = new RunStyle()
                {
                    Val = "TimesLarge"
                };
                Bold bold1 = new Bold()
                {
                    Val = false
                };
                Caps caps1 = new Caps()
                {
                    Val = false
                };
                FontSize fontSize1 = new FontSize()
                {
                    Val = "16"
                };
                FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript()
                {
                    Val = "16"
                };

                paragraphMarkRunProperties3.Append(runStyle3);
                paragraphMarkRunProperties3.Append(bold1);
                paragraphMarkRunProperties3.Append(caps1);
                paragraphMarkRunProperties3.Append(fontSize1);
                paragraphMarkRunProperties3.Append(fontSizeComplexScript1);
                paragraphProperties3.Append(spacingBetweenLines3);
                paragraphProperties3.Append(paragraphMarkRunProperties3);
                paragraphProperties3.Append(indentation1);
                ProofError proofError1 = new ProofError()
                {
                    Type = ProofingErrorValues.SpellStart
                };

                Run run1 = new Run();

                RunProperties runProperties1 = new RunProperties();
                RunStyle      runStyle4      = new RunStyle()
                {
                    Val = "TimesLarge"
                };
                Bold bold2 = new Bold()
                {
                    Val = false
                };
                Caps caps2 = new Caps()
                {
                    Val = false
                };
                FontSize fontSize2 = new FontSize()
                {
                    Val = "16"
                };
                FontSizeComplexScript fontSizeComplexScript2 = new FontSizeComplexScript()
                {
                    Val = "16"
                };

                runProperties1.Append(runStyle4);
                runProperties1.Append(bold2);
                runProperties1.Append(caps2);
                runProperties1.Append(fontSize2);
                runProperties1.Append(fontSizeComplexScript2);
                Text text1 = new Text();
                text1.Text = p.Detail;

                run1.Append(runProperties1);
                run1.Append(text1);
                ProofError proofError2 = new ProofError()
                {
                    Type = ProofingErrorValues.SpellEnd
                };

                paragraph3.Append(paragraphProperties3);
                //paragraph3.Append(proofError1);
                paragraph3.Append(run1);
                //paragraph3.Append(proofError2);


                tableCell3.Append(paragraph3);
            } // To Here?
            tableCell3.Append(tableCellProperties3);
            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth      tableCellWidth4      = new TableCellWidth()
            {
                Width = "5538", Type = TableWidthUnitValues.Dxa
            };
            TableCellBorders tableCellBorders4 = new TableCellBorders();
            TopBorder        topBorder4        = new TopBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            LeftBorder leftBorder4 = new LeftBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            BottomBorder bottomBorder4 = new BottomBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };
            RightBorder rightBorder4 = new RightBorder()
            {
                Val = BorderValues.Single, Color = "auto", Size = (UInt32Value)4U, Space = (UInt32Value)0U
            };

            tableCellBorders4.Append(topBorder4);
            tableCellBorders4.Append(leftBorder4);
            tableCellBorders4.Append(bottomBorder4);
            tableCellBorders4.Append(rightBorder4);
            GridSpan gridSpan1 = new GridSpan()
            {
                Val = 2
            };

            tableCellProperties4.Append(tableCellWidth4);
            tableCellProperties4.Append(gridSpan1);
            tableCellProperties4.Append(tableCellBorders4);
            int bulletListCount = 1;

            foreach (PerformanceStandardItem p in PerformanceStandardItems)
            {
                Paragraph           paragraph4           = new Paragraph();
                ParagraphProperties paragraphProperties4 = new ParagraphProperties();
                SpacingBetweenLines spacingBetweenLines4 = new SpacingBetweenLines()
                {
                    After = "100"
                };

                ParagraphMarkRunProperties paragraphMarkRunProperties4 = new ParagraphMarkRunProperties();
                FontSize fontSize3 = new FontSize()
                {
                    Val = "16"
                };
                FontSizeComplexScript fontSizeComplexScript3 = new FontSizeComplexScript()
                {
                    Val = "16"
                };
                Indentation indentation4 = new Indentation()
                {
                    Left = "270", Hanging = "270"
                };

                paragraphMarkRunProperties4.Append(fontSize3);
                paragraphMarkRunProperties4.Append(fontSizeComplexScript3);
                paragraphProperties4.Append(indentation4);
                paragraphProperties4.Append(spacingBetweenLines4);
                paragraphProperties4.Append(paragraphMarkRunProperties4);
                ProofError proofError3 = new ProofError()
                {
                    Type = ProofingErrorValues.SpellStart
                };

                Run run2 = new Run();

                RunProperties runProperties2 = new RunProperties();
                FontSize      fontSize4      = new FontSize()
                {
                    Val = "16"
                };
                FontSizeComplexScript fontSizeComplexScript4 = new FontSizeComplexScript()
                {
                    Val = "16"
                };

                runProperties2.Append(fontSize4);
                runProperties2.Append(fontSizeComplexScript4);
                Text text2 = new Text();
                text2.Text = $"{Letter}{bulletListCount}: {p.Detail}";
                bulletListCount++;
                run2.Append(runProperties2);
                run2.Append(text2);
                ProofError proofError4 = new ProofError()
                {
                    Type = ProofingErrorValues.SpellEnd
                };

                paragraph4.Append(paragraphProperties4);
                paragraph4.Append(proofError3);
                paragraph4.Append(run2);
                paragraph4.Append(proofError4);


                tableCell4.Append(paragraph4);
            }
            tableCell4.Append(tableCellProperties4);
            tableRow1.Append(tableRowProperties1);
            tableRow1.Append(tableCell1);
            tableRow1.Append(tableCell2);
            tableRow1.Append(tableCell3);
            tableRow1.Append(tableCell4);
            return(tableRow1);
        }
コード例 #16
0
        // Generates content of mainDocumentPart1.
        private void GenerateMainDocumentPart1Content(MainDocumentPart mainDocumentPart1)
        {
            Document document1 = new Document(){ MCAttributes = new MarkupCompatibilityAttributes(){ Ignorable = "w14 w15 wp14" }  };
            document1.AddNamespaceDeclaration("wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas");
            document1.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");
            document1.AddNamespaceDeclaration("o", "urn:schemas-microsoft-com:office:office");
            document1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            document1.AddNamespaceDeclaration("m", "http://schemas.openxmlformats.org/officeDocument/2006/math");
            document1.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            document1.AddNamespaceDeclaration("wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing");
            document1.AddNamespaceDeclaration("w10", "urn:schemas-microsoft-com:office:word");
            document1.AddNamespaceDeclaration("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
            document1.AddNamespaceDeclaration("w14", "http://schemas.microsoft.com/office/word/2010/wordml");
            document1.AddNamespaceDeclaration("w15", "http://schemas.microsoft.com/office/word/2010/11/wordml");
            document1.AddNamespaceDeclaration("wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup");
            document1.AddNamespaceDeclaration("wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk");
            document1.AddNamespaceDeclaration("wne", "http://schemas.microsoft.com/office/word/2006/wordml");
            document1.AddNamespaceDeclaration("wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape");

            Body body1 = new Body();

            SdtBlock sdtBlock1 = new SdtBlock();

            SdtProperties sdtProperties1 = new SdtProperties();

            RunProperties runProperties1 = new RunProperties();
            RunFonts runFonts1 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties1.Append(runFonts1);
            SdtAlias sdtAlias1 = new SdtAlias(){ Val = "Test1.1.1" };
            Tag tag1 = new Tag(){ Val = "Test1.1.1" };
            SdtId sdtId1 = new SdtId(){ Val = -1832063964 };

            SdtPlaceholder sdtPlaceholder1 = new SdtPlaceholder();
            DocPartReference docPartReference1 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder1.Append(docPartReference1);
            ShowingPlaceholder showingPlaceholder1 = new ShowingPlaceholder();
            SdtContentText sdtContentText1 = new SdtContentText();

            sdtProperties1.Append(runProperties1);
            sdtProperties1.Append(sdtAlias1);
            sdtProperties1.Append(tag1);
            sdtProperties1.Append(sdtId1);
            sdtProperties1.Append(sdtPlaceholder1);
            sdtProperties1.Append(showingPlaceholder1);
            sdtProperties1.Append(sdtContentText1);
            SdtEndCharProperties sdtEndCharProperties1 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock1 = new SdtContentBlock();

            Paragraph paragraph1 = new Paragraph(){ RsidParagraphAddition = "00535C5E", RsidRunAdditionDefault = "000010BA" };

            Run run1 = new Run(){ RsidRunProperties = "003E0DED" };

            RunProperties runProperties2 = new RunProperties();
            RunStyle runStyle1 = new RunStyle(){ Val = "PlaceholderText" };

            runProperties2.Append(runStyle1);
            Text text1 = new Text();
            text1.Text = "Click here to enter text.";

            run1.Append(runProperties2);
            run1.Append(text1);

            paragraph1.Append(run1);

            sdtContentBlock1.Append(paragraph1);

            sdtBlock1.Append(sdtProperties1);
            sdtBlock1.Append(sdtEndCharProperties1);
            sdtBlock1.Append(sdtContentBlock1);

            SdtBlock sdtBlock2 = new SdtBlock();

            SdtProperties sdtProperties2 = new SdtProperties();

            RunProperties runProperties3 = new RunProperties();
            RunFonts runFonts2 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties3.Append(runFonts2);
            SdtAlias sdtAlias2 = new SdtAlias(){ Val = "Test1.1.2" };
            Tag tag2 = new Tag(){ Val = "Test1.1.2" };
            SdtId sdtId2 = new SdtId(){ Val = -2043657734 };

            SdtPlaceholder sdtPlaceholder2 = new SdtPlaceholder();
            DocPartReference docPartReference2 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder2.Append(docPartReference2);
            SdtContentText sdtContentText2 = new SdtContentText();

            sdtProperties2.Append(runProperties3);
            sdtProperties2.Append(sdtAlias2);
            sdtProperties2.Append(tag2);
            sdtProperties2.Append(sdtId2);
            sdtProperties2.Append(sdtPlaceholder2);
            sdtProperties2.Append(sdtContentText2);
            SdtEndCharProperties sdtEndCharProperties2 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock2 = new SdtContentBlock();

            Paragraph paragraph2 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run2 = new Run();

            RunProperties runProperties4 = new RunProperties();
            RunFonts runFonts3 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties4.Append(runFonts3);
            Text text2 = new Text();
            text2.Text = "Test string";

            run2.Append(runProperties4);
            run2.Append(text2);

            paragraph2.Append(run2);

            sdtContentBlock2.Append(paragraph2);

            sdtBlock2.Append(sdtProperties2);
            sdtBlock2.Append(sdtEndCharProperties2);
            sdtBlock2.Append(sdtContentBlock2);

            SdtBlock sdtBlock3 = new SdtBlock();

            SdtProperties sdtProperties3 = new SdtProperties();

            RunProperties runProperties5 = new RunProperties();
            RunFonts runFonts4 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties5.Append(runFonts4);
            SdtAlias sdtAlias3 = new SdtAlias(){ Val = "Test1.2.1" };
            Tag tag3 = new Tag(){ Val = "Test1.2.1" };
            SdtId sdtId3 = new SdtId(){ Val = 401180698 };

            SdtPlaceholder sdtPlaceholder3 = new SdtPlaceholder();
            DocPartReference docPartReference3 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder3.Append(docPartReference3);
            SdtContentText sdtContentText3 = new SdtContentText();

            sdtProperties3.Append(runProperties5);
            sdtProperties3.Append(sdtAlias3);
            sdtProperties3.Append(tag3);
            sdtProperties3.Append(sdtId3);
            sdtProperties3.Append(sdtPlaceholder3);
            sdtProperties3.Append(sdtContentText3);
            SdtEndCharProperties sdtEndCharProperties3 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock3 = new SdtContentBlock();

            Paragraph paragraph3 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run3 = new Run();

            RunProperties runProperties6 = new RunProperties();
            RunFonts runFonts5 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties6.Append(runFonts5);
            Text text3 = new Text();
            text3.Text = "Appearance1";

            run3.Append(runProperties6);
            run3.Append(text3);

            paragraph3.Append(run3);

            sdtContentBlock3.Append(paragraph3);

            sdtBlock3.Append(sdtProperties3);
            sdtBlock3.Append(sdtEndCharProperties3);
            sdtBlock3.Append(sdtContentBlock3);

            SdtBlock sdtBlock4 = new SdtBlock();

            SdtProperties sdtProperties4 = new SdtProperties();

            RunProperties runProperties7 = new RunProperties();
            RunFonts runFonts6 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties7.Append(runFonts6);
            SdtAlias sdtAlias4 = new SdtAlias(){ Val = "Test1.2.2" };
            Tag tag4 = new Tag(){ Val = "Test1.2.2" };
            SdtId sdtId4 = new SdtId(){ Val = 2096980748 };

            SdtPlaceholder sdtPlaceholder4 = new SdtPlaceholder();
            DocPartReference docPartReference4 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder4.Append(docPartReference4);
            W15.Appearance appearance1 = new W15.Appearance(){ Val = W15.SdtAppearance.Tags };
            SdtContentText sdtContentText4 = new SdtContentText();

            sdtProperties4.Append(runProperties7);
            sdtProperties4.Append(sdtAlias4);
            sdtProperties4.Append(tag4);
            sdtProperties4.Append(sdtId4);
            sdtProperties4.Append(sdtPlaceholder4);
            sdtProperties4.Append(appearance1);
            sdtProperties4.Append(sdtContentText4);
            SdtEndCharProperties sdtEndCharProperties4 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock4 = new SdtContentBlock();

            Paragraph paragraph4 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run4 = new Run();

            RunProperties runProperties8 = new RunProperties();
            RunFonts runFonts7 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties8.Append(runFonts7);
            Text text4 = new Text();
            text4.Text = "Appearance2";

            run4.Append(runProperties8);
            run4.Append(text4);

            paragraph4.Append(run4);

            sdtContentBlock4.Append(paragraph4);

            sdtBlock4.Append(sdtProperties4);
            sdtBlock4.Append(sdtEndCharProperties4);
            sdtBlock4.Append(sdtContentBlock4);

            SdtBlock sdtBlock5 = new SdtBlock();

            SdtProperties sdtProperties5 = new SdtProperties();

            RunProperties runProperties9 = new RunProperties();
            RunFonts runFonts8 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties9.Append(runFonts8);
            SdtAlias sdtAlias5 = new SdtAlias(){ Val = "Test1.2.3" };
            Tag tag5 = new Tag(){ Val = "Test1.2.3" };
            SdtId sdtId5 = new SdtId(){ Val = -343394056 };

            SdtPlaceholder sdtPlaceholder5 = new SdtPlaceholder();
            DocPartReference docPartReference5 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder5.Append(docPartReference5);
            W15.Appearance appearance2 = new W15.Appearance(){ Val = W15.SdtAppearance.Hidden };
            SdtContentText sdtContentText5 = new SdtContentText();

            sdtProperties5.Append(runProperties9);
            sdtProperties5.Append(sdtAlias5);
            sdtProperties5.Append(tag5);
            sdtProperties5.Append(sdtId5);
            sdtProperties5.Append(sdtPlaceholder5);
            sdtProperties5.Append(appearance2);
            sdtProperties5.Append(sdtContentText5);
            SdtEndCharProperties sdtEndCharProperties5 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock5 = new SdtContentBlock();

            Paragraph paragraph5 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run5 = new Run();

            RunProperties runProperties10 = new RunProperties();
            RunFonts runFonts9 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties10.Append(runFonts9);
            Text text5 = new Text();
            text5.Text = "Appearance3";

            run5.Append(runProperties10);
            run5.Append(text5);

            paragraph5.Append(run5);

            sdtContentBlock5.Append(paragraph5);

            sdtBlock5.Append(sdtProperties5);
            sdtBlock5.Append(sdtEndCharProperties5);
            sdtBlock5.Append(sdtContentBlock5);

            SdtBlock sdtBlock6 = new SdtBlock();

            SdtProperties sdtProperties6 = new SdtProperties();

            RunProperties runProperties11 = new RunProperties();
            RunFonts runFonts10 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties11.Append(runFonts10);
            SdtAlias sdtAlias6 = new SdtAlias(){ Val = "Test1.3.1" };
            Tag tag6 = new Tag(){ Val = "Test1.3.1" };
            SdtId sdtId6 = new SdtId(){ Val = 1119424041 };

            SdtPlaceholder sdtPlaceholder6 = new SdtPlaceholder();
            DocPartReference docPartReference6 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder6.Append(docPartReference6);
            SdtContentText sdtContentText6 = new SdtContentText();

            sdtProperties6.Append(runProperties11);
            sdtProperties6.Append(sdtAlias6);
            sdtProperties6.Append(tag6);
            sdtProperties6.Append(sdtId6);
            sdtProperties6.Append(sdtPlaceholder6);
            sdtProperties6.Append(sdtContentText6);
            SdtEndCharProperties sdtEndCharProperties6 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock6 = new SdtContentBlock();

            Paragraph paragraph6 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run6 = new Run();

            RunProperties runProperties12 = new RunProperties();
            RunFonts runFonts11 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties12.Append(runFonts11);
            Text text6 = new Text();
            text6.Text = "Color Content Control1";

            run6.Append(runProperties12);
            run6.Append(text6);

            paragraph6.Append(run6);

            sdtContentBlock6.Append(paragraph6);

            sdtBlock6.Append(sdtProperties6);
            sdtBlock6.Append(sdtEndCharProperties6);
            sdtBlock6.Append(sdtContentBlock6);

            SdtBlock sdtBlock7 = new SdtBlock();

            SdtProperties sdtProperties7 = new SdtProperties();

            RunProperties runProperties13 = new RunProperties();
            RunFonts runFonts12 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties13.Append(runFonts12);
            SdtAlias sdtAlias7 = new SdtAlias(){ Val = "Test1.3.2" };
            Tag tag7 = new Tag(){ Val = "Test1.3.2" };
            SdtId sdtId7 = new SdtId(){ Val = 550972260 };

            SdtPlaceholder sdtPlaceholder7 = new SdtPlaceholder();
            DocPartReference docPartReference7 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868558" };

            sdtPlaceholder7.Append(docPartReference7);
            W15.Color color1 = new W15.Color(){ Val = "0000FF" };
            SdtContentText sdtContentText7 = new SdtContentText();

            sdtProperties7.Append(runProperties13);
            sdtProperties7.Append(sdtAlias7);
            sdtProperties7.Append(tag7);
            sdtProperties7.Append(sdtId7);
            sdtProperties7.Append(sdtPlaceholder7);
            sdtProperties7.Append(color1);
            sdtProperties7.Append(sdtContentText7);
            SdtEndCharProperties sdtEndCharProperties7 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock7 = new SdtContentBlock();

            Paragraph paragraph7 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run7 = new Run();

            RunProperties runProperties14 = new RunProperties();
            RunFonts runFonts13 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties14.Append(runFonts13);
            Text text7 = new Text();
            text7.Text = "Color Content Control2";

            run7.Append(runProperties14);
            run7.Append(text7);

            paragraph7.Append(run7);

            sdtContentBlock7.Append(paragraph7);

            sdtBlock7.Append(sdtProperties7);
            sdtBlock7.Append(sdtEndCharProperties7);
            sdtBlock7.Append(sdtContentBlock7);

            SdtBlock sdtBlock8 = new SdtBlock();

            SdtProperties sdtProperties8 = new SdtProperties();

            RunProperties runProperties15 = new RunProperties();
            RunFonts runFonts14 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties15.Append(runFonts14);
            SdtAlias sdtAlias8 = new SdtAlias(){ Val = "Test1.4.1" };
            Tag tag8 = new Tag(){ Val = "Test1.4.1" };
            SdtId sdtId8 = new SdtId(){ Val = 1758249604 };
            W15.SdtRepeatedSection sdtRepeatedSection1 = new W15.SdtRepeatedSection();

            sdtProperties8.Append(runProperties15);
            sdtProperties8.Append(sdtAlias8);
            sdtProperties8.Append(tag8);
            sdtProperties8.Append(sdtId8);
            sdtProperties8.Append(sdtRepeatedSection1);
            SdtEndCharProperties sdtEndCharProperties8 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock8 = new SdtContentBlock();

            SdtBlock sdtBlock9 = new SdtBlock();

            SdtProperties sdtProperties9 = new SdtProperties();

            RunProperties runProperties16 = new RunProperties();
            RunFonts runFonts15 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties16.Append(runFonts15);
            SdtId sdtId9 = new SdtId(){ Val = 481433089 };

            SdtPlaceholder sdtPlaceholder8 = new SdtPlaceholder();
            DocPartReference docPartReference8 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868562" };

            sdtPlaceholder8.Append(docPartReference8);
            ShowingPlaceholder showingPlaceholder2 = new ShowingPlaceholder();
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem1 = new W15.SdtRepeatedSectionItem();

            sdtProperties9.Append(runProperties16);
            sdtProperties9.Append(sdtId9);
            sdtProperties9.Append(sdtPlaceholder8);
            sdtProperties9.Append(showingPlaceholder2);
            sdtProperties9.Append(sdtRepeatedSectionItem1);
            SdtEndCharProperties sdtEndCharProperties9 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock9 = new SdtContentBlock();

            Paragraph paragraph8 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };

            Run run8 = new Run(){ RsidRunProperties = "003E0DED" };

            RunProperties runProperties17 = new RunProperties();
            RunStyle runStyle2 = new RunStyle(){ Val = "PlaceholderText" };

            runProperties17.Append(runStyle2);
            Text text8 = new Text();
            text8.Text = "Enter any content that you want to repeat, including other content controls. You can also insert this control around table rows in order to repeat parts of a table.";

            run8.Append(runProperties17);
            run8.Append(text8);

            paragraph8.Append(run8);

            sdtContentBlock9.Append(paragraph8);

            sdtBlock9.Append(sdtProperties9);
            sdtBlock9.Append(sdtEndCharProperties9);
            sdtBlock9.Append(sdtContentBlock9);

            sdtContentBlock8.Append(sdtBlock9);

            sdtBlock8.Append(sdtProperties8);
            sdtBlock8.Append(sdtEndCharProperties8);
            sdtBlock8.Append(sdtContentBlock8);

            SdtBlock sdtBlock10 = new SdtBlock();

            SdtProperties sdtProperties10 = new SdtProperties();

            RunProperties runProperties18 = new RunProperties();
            RunFonts runFonts16 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties18.Append(runFonts16);
            SdtAlias sdtAlias9 = new SdtAlias(){ Val = "Test1.4.2" };
            Tag tag9 = new Tag(){ Val = "Test1.4.2" };
            SdtId sdtId10 = new SdtId(){ Val = -78606169 };
            W15.SdtRepeatedSection sdtRepeatedSection2 = new W15.SdtRepeatedSection();

            sdtProperties10.Append(runProperties18);
            sdtProperties10.Append(sdtAlias9);
            sdtProperties10.Append(tag9);
            sdtProperties10.Append(sdtId10);
            sdtProperties10.Append(sdtRepeatedSection2);
            SdtEndCharProperties sdtEndCharProperties10 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock10 = new SdtContentBlock();

            SdtBlock sdtBlock11 = new SdtBlock();

            SdtProperties sdtProperties11 = new SdtProperties();

            RunProperties runProperties19 = new RunProperties();
            RunFonts runFonts17 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties19.Append(runFonts17);
            SdtId sdtId11 = new SdtId(){ Val = -1356270719 };

            SdtPlaceholder sdtPlaceholder9 = new SdtPlaceholder();
            DocPartReference docPartReference9 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868562" };

            sdtPlaceholder9.Append(docPartReference9);
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem2 = new W15.SdtRepeatedSectionItem();

            sdtProperties11.Append(runProperties19);
            sdtProperties11.Append(sdtId11);
            sdtProperties11.Append(sdtPlaceholder9);
            sdtProperties11.Append(sdtRepeatedSectionItem2);
            SdtEndCharProperties sdtEndCharProperties11 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock11 = new SdtContentBlock();

            Paragraph paragraph9 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };
            ProofError proofError1 = new ProofError(){ Type = ProofingErrorValues.SpellStart };
            ProofError proofError2 = new ProofError(){ Type = ProofingErrorValues.GrammarStart };

            Run run9 = new Run();

            RunProperties runProperties20 = new RunProperties();
            RunFonts runFonts18 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties20.Append(runFonts18);
            Text text9 = new Text();
            text9.Text = "repeatingSectionItem";

            run9.Append(runProperties20);
            run9.Append(text9);
            ProofError proofError3 = new ProofError(){ Type = ProofingErrorValues.SpellEnd };
            ProofError proofError4 = new ProofError(){ Type = ProofingErrorValues.GrammarEnd };

            paragraph9.Append(proofError1);
            paragraph9.Append(proofError2);
            paragraph9.Append(run9);
            paragraph9.Append(proofError3);
            paragraph9.Append(proofError4);

            sdtContentBlock11.Append(paragraph9);

            sdtBlock11.Append(sdtProperties11);
            sdtBlock11.Append(sdtEndCharProperties11);
            sdtBlock11.Append(sdtContentBlock11);

            sdtContentBlock10.Append(sdtBlock11);

            sdtBlock10.Append(sdtProperties10);
            sdtBlock10.Append(sdtEndCharProperties10);
            sdtBlock10.Append(sdtContentBlock10);

            SdtBlock sdtBlock12 = new SdtBlock();

            SdtProperties sdtProperties12 = new SdtProperties();

            RunProperties runProperties21 = new RunProperties();
            RunFonts runFonts19 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties21.Append(runFonts19);
            SdtAlias sdtAlias10 = new SdtAlias(){ Val = "Test1.4.3" };
            Tag tag10 = new Tag(){ Val = "Test1.4.3" };
            SdtId sdtId12 = new SdtId(){ Val = -294221661 };

            W15.SdtRepeatedSection sdtRepeatedSection3 = new W15.SdtRepeatedSection();
            W15.DoNotAllowInsertDeleteSection doNotAllowInsertDeleteSection1 = new W15.DoNotAllowInsertDeleteSection(){ Val = true };

            sdtRepeatedSection3.Append(doNotAllowInsertDeleteSection1);

            sdtProperties12.Append(runProperties21);
            sdtProperties12.Append(sdtAlias10);
            sdtProperties12.Append(tag10);
            sdtProperties12.Append(sdtId12);
            sdtProperties12.Append(sdtRepeatedSection3);
            SdtEndCharProperties sdtEndCharProperties12 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock12 = new SdtContentBlock();

            SdtBlock sdtBlock13 = new SdtBlock();

            SdtProperties sdtProperties13 = new SdtProperties();

            RunProperties runProperties22 = new RunProperties();
            RunFonts runFonts20 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties22.Append(runFonts20);
            SdtId sdtId13 = new SdtId(){ Val = 2112001363 };
            Lock lock1 = new Lock(){ Val = LockingValues.SdtLocked };

            SdtPlaceholder sdtPlaceholder10 = new SdtPlaceholder();
            DocPartReference docPartReference10 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868562" };

            sdtPlaceholder10.Append(docPartReference10);
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem3 = new W15.SdtRepeatedSectionItem();

            sdtProperties13.Append(runProperties22);
            sdtProperties13.Append(sdtId13);
            sdtProperties13.Append(lock1);
            sdtProperties13.Append(sdtPlaceholder10);
            sdtProperties13.Append(sdtRepeatedSectionItem3);
            SdtEndCharProperties sdtEndCharProperties13 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock13 = new SdtContentBlock();

            Paragraph paragraph10 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };
            ProofError proofError5 = new ProofError(){ Type = ProofingErrorValues.SpellStart };
            ProofError proofError6 = new ProofError(){ Type = ProofingErrorValues.GrammarStart };

            Run run10 = new Run();

            RunProperties runProperties23 = new RunProperties();
            RunFonts runFonts21 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties23.Append(runFonts21);
            Text text10 = new Text();
            text10.Text = "doNotAllowInsertDeleteSection";

            run10.Append(runProperties23);
            run10.Append(text10);
            ProofError proofError7 = new ProofError(){ Type = ProofingErrorValues.SpellEnd };
            ProofError proofError8 = new ProofError(){ Type = ProofingErrorValues.GrammarEnd };

            paragraph10.Append(proofError5);
            paragraph10.Append(proofError6);
            paragraph10.Append(run10);
            paragraph10.Append(proofError7);
            paragraph10.Append(proofError8);

            sdtContentBlock13.Append(paragraph10);

            sdtBlock13.Append(sdtProperties13);
            sdtBlock13.Append(sdtEndCharProperties13);
            sdtBlock13.Append(sdtContentBlock13);

            sdtContentBlock12.Append(sdtBlock13);

            sdtBlock12.Append(sdtProperties12);
            sdtBlock12.Append(sdtEndCharProperties12);
            sdtBlock12.Append(sdtContentBlock12);

            SdtBlock sdtBlock14 = new SdtBlock();

            SdtProperties sdtProperties14 = new SdtProperties();

            RunProperties runProperties24 = new RunProperties();
            RunFonts runFonts22 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties24.Append(runFonts22);
            SdtAlias sdtAlias11 = new SdtAlias(){ Val = "Test1.4.4" };
            Tag tag11 = new Tag(){ Val = "Test1.4.4" };
            SdtId sdtId14 = new SdtId(){ Val = -248501389 };

            W15.SdtRepeatedSection sdtRepeatedSection4 = new W15.SdtRepeatedSection();
            W15.SectionTitle sectionTitle1 = new W15.SectionTitle(){ Val = "Section title string" };

            sdtRepeatedSection4.Append(sectionTitle1);

            sdtProperties14.Append(runProperties24);
            sdtProperties14.Append(sdtAlias11);
            sdtProperties14.Append(tag11);
            sdtProperties14.Append(sdtId14);
            sdtProperties14.Append(sdtRepeatedSection4);
            SdtEndCharProperties sdtEndCharProperties14 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock14 = new SdtContentBlock();

            SdtBlock sdtBlock15 = new SdtBlock();

            SdtProperties sdtProperties15 = new SdtProperties();

            RunProperties runProperties25 = new RunProperties();
            RunFonts runFonts23 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties25.Append(runFonts23);
            SdtId sdtId15 = new SdtId(){ Val = 1971018620 };

            SdtPlaceholder sdtPlaceholder11 = new SdtPlaceholder();
            DocPartReference docPartReference11 = new DocPartReference(){ Val = "DefaultPlaceholder_1081868562" };

            sdtPlaceholder11.Append(docPartReference11);
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem4 = new W15.SdtRepeatedSectionItem();

            sdtProperties15.Append(runProperties25);
            sdtProperties15.Append(sdtId15);
            sdtProperties15.Append(sdtPlaceholder11);
            sdtProperties15.Append(sdtRepeatedSectionItem4);
            SdtEndCharProperties sdtEndCharProperties15 = new SdtEndCharProperties();

            SdtContentBlock sdtContentBlock15 = new SdtContentBlock();

            Paragraph paragraph11 = new Paragraph(){ RsidParagraphAddition = "000010BA", RsidRunAdditionDefault = "000010BA" };
            ProofError proofError9 = new ProofError(){ Type = ProofingErrorValues.SpellStart };
            ProofError proofError10 = new ProofError(){ Type = ProofingErrorValues.GrammarStart };

            Run run11 = new Run();

            RunProperties runProperties26 = new RunProperties();
            RunFonts runFonts24 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties26.Append(runFonts24);
            Text text11 = new Text();
            text11.Text = "sectionTitle";

            run11.Append(runProperties26);
            run11.Append(text11);
            ProofError proofError11 = new ProofError(){ Type = ProofingErrorValues.SpellEnd };
            ProofError proofError12 = new ProofError(){ Type = ProofingErrorValues.GrammarEnd };

            paragraph11.Append(proofError9);
            paragraph11.Append(proofError10);
            paragraph11.Append(run11);
            paragraph11.Append(proofError11);
            paragraph11.Append(proofError12);

            sdtContentBlock15.Append(paragraph11);

            sdtBlock15.Append(sdtProperties15);
            sdtBlock15.Append(sdtEndCharProperties15);
            sdtBlock15.Append(sdtContentBlock15);

            sdtContentBlock14.Append(sdtBlock15);

            sdtBlock14.Append(sdtProperties14);
            sdtBlock14.Append(sdtEndCharProperties14);
            sdtBlock14.Append(sdtContentBlock14);

            Table table1 = new Table();

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

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

            tableBorders1.Append(topBorder1);
            tableBorders1.Append(leftBorder1);
            tableBorders1.Append(bottomBorder1);
            tableBorders1.Append(rightBorder1);
            tableBorders1.Append(insideHorizontalBorder1);
            tableBorders1.Append(insideVerticalBorder1);
            TableLayout tableLayout1 = new TableLayout(){ Type = TableLayoutValues.Fixed };
            TableLook tableLook1 = new TableLook(){ Val = "0000" };

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

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

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

            SdtRow sdtRow1 = new SdtRow();

            SdtProperties sdtProperties16 = new SdtProperties();
            SdtId sdtId16 = new SdtId(){ Val = 1391384564 };

            SdtPlaceholder sdtPlaceholder12 = new SdtPlaceholder();
            DocPartReference docPartReference12 = new DocPartReference(){ Val = "B207B2DF6D0E4E13956E6616811860CA" };

            sdtPlaceholder12.Append(docPartReference12);
            W15.DataBinding dataBinding1 = new W15.DataBinding(){ XPath = "/books[1]/book", StoreItemId = "{F6DB09CA-2A79-464E-B71A-D37E08A01059}" };
            W15.Appearance appearance3 = new W15.Appearance(){ Val = W15.SdtAppearance.Tags };
            W15.SdtRepeatedSection sdtRepeatedSection5 = new W15.SdtRepeatedSection();

            sdtProperties16.Append(sdtId16);
            sdtProperties16.Append(sdtPlaceholder12);
            sdtProperties16.Append(dataBinding1);
            sdtProperties16.Append(appearance3);
            sdtProperties16.Append(sdtRepeatedSection5);
            SdtEndCharProperties sdtEndCharProperties16 = new SdtEndCharProperties();

            SdtContentRow sdtContentRow1 = new SdtContentRow();

            SdtRow sdtRow2 = new SdtRow();

            SdtProperties sdtProperties17 = new SdtProperties();
            SdtId sdtId17 = new SdtId(){ Val = 1787311118 };
            W15.Appearance appearance4 = new W15.Appearance(){ Val = W15.SdtAppearance.Tags };
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem5 = new W15.SdtRepeatedSectionItem();

            sdtProperties17.Append(sdtId17);
            sdtProperties17.Append(appearance4);
            sdtProperties17.Append(sdtRepeatedSectionItem5);
            SdtEndCharProperties sdtEndCharProperties17 = new SdtEndCharProperties();

            SdtContentRow sdtContentRow2 = new SdtContentRow();

            TableRow tableRow1 = new TableRow(){ RsidTableRowAddition = "00E930A2", RsidTableRowProperties = "00242789" };

            SdtCell sdtCell1 = new SdtCell();

            SdtProperties sdtProperties18 = new SdtProperties();
            SdtAlias sdtAlias12 = new SdtAlias(){ Val = "Test1.5.1_1" };
            Tag tag12 = new Tag(){ Val = "Test1.5.1_1" };
            SdtId sdtId18 = new SdtId(){ Val = -1276551752 };

            SdtPlaceholder sdtPlaceholder13 = new SdtPlaceholder();
            DocPartReference docPartReference13 = new DocPartReference(){ Val = "B207B2DF6D0E4E13956E6616811860CA" };

            sdtPlaceholder13.Append(docPartReference13);
            DataBinding dataBinding2 = new DataBinding(){ XPath = "/books[1]/book[1]/title[1]", StoreItemId = "{F6DB09CA-2A79-464E-B71A-D37E08A01059}" };
            SdtContentText sdtContentText8 = new SdtContentText();

            sdtProperties18.Append(sdtAlias12);
            sdtProperties18.Append(tag12);
            sdtProperties18.Append(sdtId18);
            sdtProperties18.Append(sdtPlaceholder13);
            sdtProperties18.Append(dataBinding2);
            sdtProperties18.Append(sdtContentText8);
            SdtEndCharProperties sdtEndCharProperties18 = new SdtEndCharProperties();

            SdtContentCell sdtContentCell1 = new SdtContentCell();

            TableCell tableCell1 = new TableCell();

            TableCellProperties tableCellProperties1 = new TableCellProperties();
            TableCellWidth tableCellWidth1 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading1 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties1.Append(tableCellWidth1);
            tableCellProperties1.Append(shading1);

            Paragraph paragraph12 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00E86739", RsidRunAdditionDefault = "00E930A2" };

            Run run12 = new Run();

            RunProperties runProperties27 = new RunProperties();
            RunFonts runFonts25 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties27.Append(runFonts25);
            Text text12 = new Text();
            text12.Text = "Repeating Section,Row1";

            run12.Append(runProperties27);
            run12.Append(text12);

            Run run13 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties28 = new RunProperties();
            RunFonts runFonts26 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };

            runProperties28.Append(runFonts26);
            Text text13 = new Text();
            text13.Text = ",Cell1";

            run13.Append(runProperties28);
            run13.Append(text13);

            paragraph12.Append(run12);
            paragraph12.Append(run13);

            tableCell1.Append(tableCellProperties1);
            tableCell1.Append(paragraph12);

            sdtContentCell1.Append(tableCell1);

            sdtCell1.Append(sdtProperties18);
            sdtCell1.Append(sdtEndCharProperties18);
            sdtCell1.Append(sdtContentCell1);

            SdtCell sdtCell2 = new SdtCell();

            SdtProperties sdtProperties19 = new SdtProperties();

            RunProperties runProperties29 = new RunProperties();
            Kern kern1 = new Kern(){ Val = (UInt32Value)0U };

            runProperties29.Append(kern1);
            SdtAlias sdtAlias13 = new SdtAlias(){ Val = "Test1.5.1_2" };
            Tag tag13 = new Tag(){ Val = "Test1.5.1_2" };
            SdtId sdtId19 = new SdtId(){ Val = -1317331761 };

            SdtPlaceholder sdtPlaceholder14 = new SdtPlaceholder();
            DocPartReference docPartReference14 = new DocPartReference(){ Val = "B207B2DF6D0E4E13956E6616811860CA" };

            sdtPlaceholder14.Append(docPartReference14);
            DataBinding dataBinding3 = new DataBinding(){ XPath = "/books[1]/book[1]/author[1]", StoreItemId = "{F6DB09CA-2A79-464E-B71A-D37E08A01059}" };
            SdtContentText sdtContentText9 = new SdtContentText();

            sdtProperties19.Append(runProperties29);
            sdtProperties19.Append(sdtAlias13);
            sdtProperties19.Append(tag13);
            sdtProperties19.Append(sdtId19);
            sdtProperties19.Append(sdtPlaceholder14);
            sdtProperties19.Append(dataBinding3);
            sdtProperties19.Append(sdtContentText9);
            SdtEndCharProperties sdtEndCharProperties19 = new SdtEndCharProperties();

            SdtContentCell sdtContentCell2 = new SdtContentCell();

            TableCell tableCell2 = new TableCell();

            TableCellProperties tableCellProperties2 = new TableCellProperties();
            TableCellWidth tableCellWidth2 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading2 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties2.Append(tableCellWidth2);
            tableCellProperties2.Append(shading2);

            Paragraph paragraph13 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00E86739", RsidRunAdditionDefault = "00E930A2" };

            Run run14 = new Run();

            RunProperties runProperties30 = new RunProperties();
            Kern kern2 = new Kern(){ Val = (UInt32Value)0U };

            runProperties30.Append(kern2);
            Text text14 = new Text();
            text14.Text = "Repeating Section";

            run14.Append(runProperties30);
            run14.Append(text14);

            Run run15 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties31 = new RunProperties();
            RunFonts runFonts27 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern3 = new Kern(){ Val = (UInt32Value)0U };

            runProperties31.Append(runFonts27);
            runProperties31.Append(kern3);
            Text text15 = new Text();
            text15.Text = ",";

            run15.Append(runProperties31);
            run15.Append(text15);

            Run run16 = new Run();

            RunProperties runProperties32 = new RunProperties();
            Kern kern4 = new Kern(){ Val = (UInt32Value)0U };

            runProperties32.Append(kern4);
            Text text16 = new Text();
            text16.Text = "Row1";

            run16.Append(runProperties32);
            run16.Append(text16);

            Run run17 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties33 = new RunProperties();
            RunFonts runFonts28 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern5 = new Kern(){ Val = (UInt32Value)0U };

            runProperties33.Append(runFonts28);
            runProperties33.Append(kern5);
            Text text17 = new Text();
            text17.Text = ",Cell2";

            run17.Append(runProperties33);
            run17.Append(text17);

            paragraph13.Append(run14);
            paragraph13.Append(run15);
            paragraph13.Append(run16);
            paragraph13.Append(run17);

            tableCell2.Append(tableCellProperties2);
            tableCell2.Append(paragraph13);

            sdtContentCell2.Append(tableCell2);

            sdtCell2.Append(sdtProperties19);
            sdtCell2.Append(sdtEndCharProperties19);
            sdtCell2.Append(sdtContentCell2);

            tableRow1.Append(sdtCell1);
            tableRow1.Append(sdtCell2);

            sdtContentRow2.Append(tableRow1);

            sdtRow2.Append(sdtProperties17);
            sdtRow2.Append(sdtEndCharProperties17);
            sdtRow2.Append(sdtContentRow2);

            SdtRow sdtRow3 = new SdtRow();

            SdtProperties sdtProperties20 = new SdtProperties();
            SdtId sdtId20 = new SdtId(){ Val = 689805002 };
            W15.Appearance appearance5 = new W15.Appearance(){ Val = W15.SdtAppearance.Tags };
            W15.SdtRepeatedSectionItem sdtRepeatedSectionItem6 = new W15.SdtRepeatedSectionItem();

            sdtProperties20.Append(sdtId20);
            sdtProperties20.Append(appearance5);
            sdtProperties20.Append(sdtRepeatedSectionItem6);
            SdtEndCharProperties sdtEndCharProperties20 = new SdtEndCharProperties();

            SdtContentRow sdtContentRow3 = new SdtContentRow();

            TableRow tableRow2 = new TableRow(){ RsidTableRowAddition = "00E930A2", RsidTableRowProperties = "00242789" };

            SdtCell sdtCell3 = new SdtCell();

            SdtProperties sdtProperties21 = new SdtProperties();
            SdtAlias sdtAlias14 = new SdtAlias(){ Val = "Test1.5.1_3" };
            Tag tag14 = new Tag(){ Val = "Test1.5.1_3" };
            SdtId sdtId21 = new SdtId(){ Val = 880594776 };

            SdtPlaceholder sdtPlaceholder15 = new SdtPlaceholder();
            DocPartReference docPartReference15 = new DocPartReference(){ Val = "4B632797D8B1461898B8F461443A20E0" };

            sdtPlaceholder15.Append(docPartReference15);
            DataBinding dataBinding4 = new DataBinding(){ XPath = "/books[1]/book[4]/title[1]", StoreItemId = "{F6DB09CA-2A79-464E-B71A-D37E08A01059}" };
            SdtContentText sdtContentText10 = new SdtContentText();

            sdtProperties21.Append(sdtAlias14);
            sdtProperties21.Append(tag14);
            sdtProperties21.Append(sdtId21);
            sdtProperties21.Append(sdtPlaceholder15);
            sdtProperties21.Append(dataBinding4);
            sdtProperties21.Append(sdtContentText10);

            SdtEndCharProperties sdtEndCharProperties21 = new SdtEndCharProperties();

            RunProperties runProperties34 = new RunProperties();
            Kern kern6 = new Kern(){ Val = (UInt32Value)0U };

            runProperties34.Append(kern6);

            sdtEndCharProperties21.Append(runProperties34);

            SdtContentCell sdtContentCell3 = new SdtContentCell();

            TableCell tableCell3 = new TableCell();

            TableCellProperties tableCellProperties3 = new TableCellProperties();
            TableCellWidth tableCellWidth3 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading3 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties3.Append(tableCellWidth3);
            tableCellProperties3.Append(shading3);

            Paragraph paragraph14 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00E86739", RsidRunAdditionDefault = "00E930A2" };

            Run run18 = new Run();

            RunProperties runProperties35 = new RunProperties();
            Kern kern7 = new Kern(){ Val = (UInt32Value)0U };

            runProperties35.Append(kern7);
            Text text18 = new Text();
            text18.Text = "Repeating Section";

            run18.Append(runProperties35);
            run18.Append(text18);

            Run run19 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties36 = new RunProperties();
            RunFonts runFonts29 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern8 = new Kern(){ Val = (UInt32Value)0U };

            runProperties36.Append(runFonts29);
            runProperties36.Append(kern8);
            Text text19 = new Text();
            text19.Text = ",";

            run19.Append(runProperties36);
            run19.Append(text19);

            Run run20 = new Run();

            RunProperties runProperties37 = new RunProperties();
            Kern kern9 = new Kern(){ Val = (UInt32Value)0U };

            runProperties37.Append(kern9);
            Text text20 = new Text();
            text20.Text = "Row";

            run20.Append(runProperties37);
            run20.Append(text20);

            Run run21 = new Run();

            RunProperties runProperties38 = new RunProperties();
            RunFonts runFonts30 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern10 = new Kern(){ Val = (UInt32Value)0U };

            runProperties38.Append(runFonts30);
            runProperties38.Append(kern10);
            Text text21 = new Text();
            text21.Text = "2";

            run21.Append(runProperties38);
            run21.Append(text21);

            Run run22 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties39 = new RunProperties();
            RunFonts runFonts31 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern11 = new Kern(){ Val = (UInt32Value)0U };

            runProperties39.Append(runFonts31);
            runProperties39.Append(kern11);
            Text text22 = new Text();
            text22.Text = ",Cell1";

            run22.Append(runProperties39);
            run22.Append(text22);

            paragraph14.Append(run18);
            paragraph14.Append(run19);
            paragraph14.Append(run20);
            paragraph14.Append(run21);
            paragraph14.Append(run22);

            tableCell3.Append(tableCellProperties3);
            tableCell3.Append(paragraph14);

            sdtContentCell3.Append(tableCell3);

            sdtCell3.Append(sdtProperties21);
            sdtCell3.Append(sdtEndCharProperties21);
            sdtCell3.Append(sdtContentCell3);

            SdtCell sdtCell4 = new SdtCell();

            SdtProperties sdtProperties22 = new SdtProperties();

            RunProperties runProperties40 = new RunProperties();
            Kern kern12 = new Kern(){ Val = (UInt32Value)0U };

            runProperties40.Append(kern12);
            SdtAlias sdtAlias15 = new SdtAlias(){ Val = "Test1.5.1_4" };
            Tag tag15 = new Tag(){ Val = "Test1.5.1_4" };
            SdtId sdtId22 = new SdtId(){ Val = -1022928317 };

            SdtPlaceholder sdtPlaceholder16 = new SdtPlaceholder();
            DocPartReference docPartReference16 = new DocPartReference(){ Val = "4B632797D8B1461898B8F461443A20E0" };

            sdtPlaceholder16.Append(docPartReference16);
            DataBinding dataBinding5 = new DataBinding(){ XPath = "/books[1]/book[4]/author[1]", StoreItemId = "{F6DB09CA-2A79-464E-B71A-D37E08A01059}" };
            SdtContentText sdtContentText11 = new SdtContentText();

            sdtProperties22.Append(runProperties40);
            sdtProperties22.Append(sdtAlias15);
            sdtProperties22.Append(tag15);
            sdtProperties22.Append(sdtId22);
            sdtProperties22.Append(sdtPlaceholder16);
            sdtProperties22.Append(dataBinding5);
            sdtProperties22.Append(sdtContentText11);
            SdtEndCharProperties sdtEndCharProperties22 = new SdtEndCharProperties();

            SdtContentCell sdtContentCell4 = new SdtContentCell();

            TableCell tableCell4 = new TableCell();

            TableCellProperties tableCellProperties4 = new TableCellProperties();
            TableCellWidth tableCellWidth4 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading4 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties4.Append(tableCellWidth4);
            tableCellProperties4.Append(shading4);

            Paragraph paragraph15 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00E86739", RsidRunAdditionDefault = "009651D6" };

            Run run23 = new Run();

            RunProperties runProperties41 = new RunProperties();
            Kern kern13 = new Kern(){ Val = (UInt32Value)0U };

            runProperties41.Append(kern13);
            Text text23 = new Text();
            text23.Text = "Repeating Section";

            run23.Append(runProperties41);
            run23.Append(text23);

            Run run24 = new Run(){ RsidRunAddition = "00E86739" };

            RunProperties runProperties42 = new RunProperties();
            RunFonts runFonts32 = new RunFonts(){ Hint = FontTypeHintValues.EastAsia };
            Kern kern14 = new Kern(){ Val = (UInt32Value)0U };

            runProperties42.Append(runFonts32);
            runProperties42.Append(kern14);
            Text text24 = new Text();
            text24.Text = ",Row2,Cell2";

            run24.Append(runProperties42);
            run24.Append(text24);

            paragraph15.Append(run23);
            paragraph15.Append(run24);

            tableCell4.Append(tableCellProperties4);
            tableCell4.Append(paragraph15);

            sdtContentCell4.Append(tableCell4);

            sdtCell4.Append(sdtProperties22);
            sdtCell4.Append(sdtEndCharProperties22);
            sdtCell4.Append(sdtContentCell4);

            tableRow2.Append(sdtCell3);
            tableRow2.Append(sdtCell4);

            sdtContentRow3.Append(tableRow2);

            sdtRow3.Append(sdtProperties20);
            sdtRow3.Append(sdtEndCharProperties20);
            sdtRow3.Append(sdtContentRow3);

            sdtContentRow1.Append(sdtRow2);
            sdtContentRow1.Append(sdtRow3);

            sdtRow1.Append(sdtProperties16);
            sdtRow1.Append(sdtEndCharProperties16);
            sdtRow1.Append(sdtContentRow1);

            TableRow tableRow3 = new TableRow(){ RsidTableRowAddition = "00E930A2", RsidTableRowProperties = "00242789" };

            TableCell tableCell5 = new TableCell();

            TableCellProperties tableCellProperties5 = new TableCellProperties();
            TableCellWidth tableCellWidth5 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading5 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties5.Append(tableCellWidth5);
            tableCellProperties5.Append(shading5);
            Paragraph paragraph16 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00242789", RsidRunAdditionDefault = "00E930A2" };

            tableCell5.Append(tableCellProperties5);
            tableCell5.Append(paragraph16);

            TableCell tableCell6 = new TableCell();

            TableCellProperties tableCellProperties6 = new TableCellProperties();
            TableCellWidth tableCellWidth6 = new TableCellWidth(){ Width = "4788", Type = TableWidthUnitValues.Dxa };
            Shading shading6 = new Shading(){ Val = ShadingPatternValues.Clear, Color = "auto", Fill = "auto" };

            tableCellProperties6.Append(tableCellWidth6);
            tableCellProperties6.Append(shading6);
            Paragraph paragraph17 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidParagraphProperties = "00242789", RsidRunAdditionDefault = "00E930A2" };

            tableCell6.Append(tableCellProperties6);
            tableCell6.Append(paragraph17);

            tableRow3.Append(tableCell5);
            tableRow3.Append(tableCell6);

            table1.Append(tableProperties1);
            table1.Append(tableGrid1);
            table1.Append(sdtRow1);
            table1.Append(tableRow3);
            Paragraph paragraph18 = new Paragraph(){ RsidParagraphAddition = "00E930A2", RsidRunAdditionDefault = "00E930A2" };

            SectionProperties sectionProperties1 = new SectionProperties(){ RsidR = "00E930A2" };
            PageSize pageSize1 = new PageSize(){ Width = (UInt32Value)11906U, Height = (UInt32Value)16838U };
            PageMargin pageMargin1 = new PageMargin(){ Top = 1985, Right = (UInt32Value)1701U, Bottom = 1701, Left = (UInt32Value)1701U, Header = (UInt32Value)851U, Footer = (UInt32Value)992U, Gutter = (UInt32Value)0U };
            Columns columns1 = new Columns(){ Space = "425" };
            DocGrid docGrid1 = new DocGrid(){ Type = DocGridValues.Lines, LinePitch = 360 };

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

            body1.Append(sdtBlock1);
            body1.Append(sdtBlock2);
            body1.Append(sdtBlock3);
            body1.Append(sdtBlock4);
            body1.Append(sdtBlock5);
            body1.Append(sdtBlock6);
            body1.Append(sdtBlock7);
            body1.Append(sdtBlock8);
            body1.Append(sdtBlock10);
            body1.Append(sdtBlock12);
            body1.Append(sdtBlock14);
            body1.Append(table1);
            body1.Append(paragraph18);
            body1.Append(sectionProperties1);

            document1.Append(body1);

            mainDocumentPart1.Document = document1;
        }
コード例 #17
0
        private Paragraph MakePara4( )
        {
            Paragraph paragraph4 = new Paragraph( )
            {
                RsidParagraphAddition = "0036679D", RsidParagraphProperties = "004B00FE", RsidRunAdditionDefault = "0036679D"
            };

            ParagraphProperties paragraphProperties3 = new ParagraphProperties( );
            ParagraphStyleId    paragraphStyleId2    = new ParagraphStyleId( )
            {
                Val = "2"
            };

            paragraphProperties3.Append(paragraphStyleId2);

            //---------------------------------------------
            Run run2 = new Run( );

            RunProperties runProperties2 = new RunProperties( );
            RunFonts      runFonts3      = new RunFonts( )
            {
                Hint = FontTypeHintValues.EastAsia
            };

            runProperties2.Append(runFonts3);
            Text text2 = new Text( );

            text2.Text = "内容";

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

            //---------------------------------------------
            ProofError proofError1 = new ProofError( )
            {
                Type = ProofingErrorValues.GrammarStart
            };

            //---------------------------------------------
            Run run3 = new Run( );

            RunProperties runProperties3 = new RunProperties( );
            RunFonts      runFonts4      = new RunFonts( )
            {
                Hint = FontTypeHintValues.EastAsia
            };

            runProperties3.Append(runFonts4);
            Text text3 = new Text( );

            text3.Text = "内容";

            run3.Append(runProperties3);
            run3.Append(text3);

            //---------------------------------------------
            ProofError proofError2 = new ProofError( )
            {
                Type = ProofingErrorValues.GrammarEnd
            };

            //---------------------------------------------
            paragraph4.Append(paragraphProperties3);
            paragraph4.Append(run2);
            //paragraph4.Append( proofError1 );
            paragraph4.Append(run3);
            //paragraph4.Append( proofError2 );

            return(paragraph4);
        }