public TablixRow(TablixRow tablixRow) { TablixCells = new TablixCells(tablixRow.TablixCells); Name = tablixRow.Name; Style = tablixRow.Style; Tag = tablixRow.Tag; }
public TablixRow(TablixCells tablixCells, String name, String style, String tag) { TablixCells = tablixCells; Name = name; Style = style; Tag = tag; }
private static TablixBody CreateTablixBody(string dataSetName) { var rectangle = new Rectangle(); //rectangle.AddReportItem(ElementCell.Create(dataSetName)); var tablixColumns = new TablixColumns(new TablixColumn(new Width(new Inch(1.05)))); var tablixCells = new TablixCells(new TablixCell(new CellContents(rectangle))); var tablixRows = new TablixRows(new TablixRow(new Inch(0.85), tablixCells)); return(new TablixBody(tablixColumns, tablixRows)); }
private static TablixRow CreateThirdTablixRow() { var textRun = new TextRun { Value = CreateHyperLinkExpression(), MarkupType = MarkupType.HTML }; var paragraph = new Paragraph(new TextRuns(textRun)) { TextAlign = TextAlign.Center }; var textbox = new Textbox(paragraph) { TextboxStyle = new TextboxStyle() }; var tablixCells = new TablixCells(new TablixCell(new CellContents(textbox))); return(new TablixRow(new Inch(0.18), tablixCells)); }
private static TablixRow CreateFourthTablixRow() { var textRun = new TextRun { Value = CreateRelativeAtomicMassExpression() }; var paragraph = new Paragraph(new TextRuns(textRun)) { TextAlign = TextAlign.Right }; var textbox = new Textbox(paragraph) { TextboxStyle = new TextboxStyle() }; var tablixCells = new TablixCells(new TablixCell(new CellContents(textbox))); return(new TablixRow(new Inch(0.15), tablixCells)); }
private static TablixRow CreateFirstTablixRow() { var textRun = new TextRun { Value = "=" + Expression.FieldsValue(ElementProperty.AtomicNumber), FontSize = new Point(12) }; var paragraph = new Paragraph(new TextRuns(textRun)) { TextAlign = TextAlign.Center }; var textbox = new Textbox(paragraph) { TextboxStyle = new TextboxStyle() }; var tablixCells = new TablixCells(new TablixCell(new CellContents(textbox))); return(new TablixRow(new Inch(0.2), tablixCells)); }
private static TablixRow CreateSecondTablixRow() { var textRun = new TextRun { Value = "=" + Expression.FieldsValue(ElementProperty.ChemicalSymbol), FontSize = new Point(16), FontWeight = FontWeight.Bold, Color = CreateTextColorExpressionForChemicalSymbol() }; var paragraph = new Paragraph(new TextRuns(textRun)) { TextAlign = TextAlign.Center }; var textbox = new Textbox(paragraph) { TextboxStyle = new TextboxStyle() }; var tablixCells = new TablixCells(new TablixCell(new CellContents(textbox))); return(new TablixRow(new Inch(0.28), tablixCells)); }
public TablixRow(TablixCells tablixCells, String name, String style) : this(tablixCells, name, style, null) { }
public TablixRow(TablixCells tablixCells) : this(tablixCells, null) { }