Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.69 KB | None | 0 0
  1.             TableCell tableCell5 = new TableCell();
  2.  
  3.             TableCellProperties tableCellProperties5 = new TableCellProperties();
  4.             TableCellWidth tableCellWidth5 = new TableCellWidth(){ Width = "1193", Type = TableWidthUnitValues.Dxa };
  5.  
  6.             TableCellBorders tableCellBorders5 = new TableCellBorders();
  7.             TopBorder topBorder4 = new TopBorder(){ Val = BorderValues.Single, Color = "000001", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
  8.             LeftBorder leftBorder4 = new LeftBorder(){ Val = BorderValues.Single, Color = "000001", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
  9.             BottomBorder bottomBorder4 = new BottomBorder(){ Val = BorderValues.Single, Color = "000001", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
  10.             InsideHorizontalBorder insideHorizontalBorder4 = new InsideHorizontalBorder(){ Val = BorderValues.Single, Color = "000001", Size = (UInt32Value)4U, Space = (UInt32Value)0U };
  11.  
  12.             tableCellBorders5.Append(topBorder4);
  13.             tableCellBorders5.Append(leftBorder4);
  14.             tableCellBorders5.Append(bottomBorder4);
  15.             tableCellBorders5.Append(insideHorizontalBorder4);
  16.             Shading shading5 = new Shading(){ Val = ShadingPatternValues.Clear, Fill = "auto" };
  17.  
  18.             TableCellMargin tableCellMargin3 = new TableCellMargin();
  19.             LeftMargin leftMargin3 = new LeftMargin(){ Width = "98", Type = TableWidthUnitValues.Dxa };
  20.  
  21.             tableCellMargin3.Append(leftMargin3);
  22.             TableCellVerticalAlignment tableCellVerticalAlignment3 = new TableCellVerticalAlignment(){ Val = TableVerticalAlignmentValues.Center };
  23.  
  24.             tableCellProperties5.Append(tableCellWidth5);
  25.             tableCellProperties5.Append(tableCellBorders5);
  26.             tableCellProperties5.Append(shading5);
  27.             tableCellProperties5.Append(tableCellMargin3);
  28.             tableCellProperties5.Append(tableCellVerticalAlignment3);
  29.  
  30.             Paragraph paragraph15 = new Paragraph();
  31.  
  32.             ParagraphProperties paragraphProperties15 = new ParagraphProperties();
  33.             ParagraphStyleId paragraphStyleId15 = new ParagraphStyleId(){ Val = "Normal" };
  34.             WidowControl widowControl15 = new WidowControl(){ Val = false };
  35.             SpacingBetweenLines spacingBetweenLines15 = new SpacingBetweenLines(){ Before = "0", After = "0", Line = "240", LineRule = LineSpacingRuleValues.Auto };
  36.             Justification justification11 = new Justification(){ Val = JustificationValues.Center };
  37.  
  38.             ParagraphMarkRunProperties paragraphMarkRunProperties15 = new ParagraphMarkRunProperties();
  39.             RunFonts runFonts27 = new RunFonts(){ Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "Times New Roman", ComplexScript = "Times New Roman" };
  40.             FontSize fontSize27 = new FontSize(){ Val = "24" };
  41.             FontSizeComplexScript fontSizeComplexScript27 = new FontSizeComplexScript(){ Val = "24" };
  42.             Languages languages27 = new Languages(){ EastAsia = "ru-RU" };
  43.  
  44.             paragraphMarkRunProperties15.Append(runFonts27);
  45.             paragraphMarkRunProperties15.Append(fontSize27);
  46.             paragraphMarkRunProperties15.Append(fontSizeComplexScript27);
  47.             paragraphMarkRunProperties15.Append(languages27);
  48.  
  49.             paragraphProperties15.Append(paragraphStyleId15);
  50.             paragraphProperties15.Append(widowControl15);
  51.             paragraphProperties15.Append(spacingBetweenLines15);
  52.             paragraphProperties15.Append(justification11);
  53.             paragraphProperties15.Append(paragraphMarkRunProperties15);
  54.  
  55.             Run run23 = new Run();
  56.  
  57.             RunProperties runProperties23 = new RunProperties();
  58.             RunFonts runFonts28 = new RunFonts(){ Ascii = "Times New Roman", HighAnsi = "Times New Roman", EastAsia = "Times New Roman", ComplexScript = "Times New Roman" };
  59.             FontSize fontSize28 = new FontSize(){ Val = "24" };
  60.             FontSizeComplexScript fontSizeComplexScript28 = new FontSizeComplexScript(){ Val = "24" };
  61.             Languages languages28 = new Languages(){ EastAsia = "ru-RU" };
  62.  
  63.             runProperties23.Append(runFonts28);
  64.             runProperties23.Append(fontSize28);
  65.             runProperties23.Append(fontSizeComplexScript28);
  66.             runProperties23.Append(languages28);
  67.             Text text12 = new Text();
  68.             text12.Text = "Номер зачётной книжки";
  69.  
  70.             run23.Append(runProperties23);
  71.             run23.Append(text12);
  72.  
  73.             paragraph15.Append(paragraphProperties15);
  74.             paragraph15.Append(run23);
  75.  
  76.             tableCell5.Append(tableCellProperties5);
  77.             tableCell5.Append(paragraph15);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement