private static Table PresentRepresentationType(WordprocessingDocument document, RepresentationType representationType) { var classificationDetails = ModelMap.GetPropertySetRepresentationType(representationType); var classificationTable = new Table(); //representationType var repTypeRow = new TableRow(); var repTypeHeader = new TableCell(); var repTypeHeader2 = new TableCell(); var newRow1 = new TableRow(); var repTypeValue = new TableCell(); var repTypeExplained = new TableCell(); repTypeHeader.Append(new Paragraph(new Run(new Text("Property Set Representation Type")))); repTypeHeader.Append(new TableCellProperties(new TableCellWidth { Type = Pct, Width = "35" })); repTypeRow.Append(repTypeHeader); repTypeHeader2.Append(new Paragraph(new Run(new Text("Description")))); repTypeHeader2.Append(new TableCellProperties(new TableCellWidth { Type = Pct, Width = "65" })); repTypeRow.Append(repTypeHeader2); classificationTable.Append(repTypeRow); repTypeValue.Append(new Paragraph(new Run(new Text(representationType.ToString())))); repTypeValue.Append(new TableCellProperties(new TableCellWidth { Type = Pct, Width = "35" })); repTypeExplained.Append(new Paragraph(new Run( new Text(classificationDetails[representationType.ToString()].ToString())))); repTypeExplained.Append(new TableCellProperties(new TableCellWidth { Type = Pct, Width = "65" })); newRow1.Append(repTypeValue); newRow1.Append(repTypeExplained); classificationTable.Append(newRow1); Utils.ApplyStyleTable(document, "GridTable4-Accent1", "GridTable4-Accent1", classificationTable); return(classificationTable); }