public void WriteTableCellEnd(int cellIndex, BorderContext borderContext) { int offset = this.GetTcLocation(this.m_numColumns, cellIndex) + 4; this.UpdateBorderColor(Positions.Top, offset, cellIndex, borderContext.Top); this.UpdateBorderColor(Positions.Left, offset, cellIndex, borderContext.Left); this.UpdateBorderColor(Positions.Bottom, offset, cellIndex, borderContext.Bottom); this.UpdateBorderColor(Positions.Right, offset, cellIndex, borderContext.Right); }
public void WriteTableCellEnd(int cellIndex, BorderContext borderContext, bool emptyLayoutCell) { this.m_currentRow.WriteTableCellEnd(cellIndex, borderContext); string parEnd = "\a"; if (this.m_nestingLevel > 1) { this.m_parFormat.AddSprm(9291, 1, null); parEnd = "\r"; } if (emptyLayoutCell) { this.m_parFormat.StyleIndex = 16; } this.WriteCurrentListData(); this.WriteParagraphEnd(parEnd, false); }
public void SetTableContext(BorderContext borderContext) { if (borderContext.Top) { this.m_tableBorders[0] = new BorderCode(); } if (borderContext.Left) { this.m_tableBorders[1] = new BorderCode(); } if (borderContext.Bottom) { this.m_tableBorders[2] = new BorderCode(); } if (borderContext.Right) { this.m_tableBorders[3] = new BorderCode(); } }
public void ApplyCellBorderContext(BorderContext borderContext) { }
public void SetTableContext(BorderContext borderContext) { this.m_currentRow.SetTableContext(borderContext); }
protected override void RenderRPLContainer(RPLElement element, bool inTablix, RPLItemMeasurement measurement, int cellIndex, BorderContext borderContext, bool hasBorder) { base.RenderRPLContainerContents(element, measurement, borderContext, inTablix, hasBorder); base.RenderRPLContainerProperties(element, inTablix, cellIndex); }
protected override void RenderTablixCell(RPLTablix tablix, float left, float[] widths, TablixGhostCell[] ghostCells, BorderContext borderContext, int nextCell, RPLTablixCell cell, List <RPLTablixMemberCell> .Enumerator omittedCells, bool lastCell) { RPLItemMeasurement tablixCellMeasurement = base.GetTablixCellMeasurement(cell, nextCell, widths, ghostCells, omittedCells, lastCell, tablix); base.RenderTablixCellItem(cell, widths, tablixCellMeasurement, left, borderContext); base.ClearTablixCellBorders(cell); base.FinishRenderingTablixCell(cell, widths, ghostCells, borderContext); }
protected override void RenderTextBox(RPLTextBox textBox, RPLItemMeasurement measurement, int cellIndex, float left, BorderContext borderContext, bool inTablix, bool hasBorder) { RPLTextBoxPropsDef textBoxPropsDef = default(RPLTextBoxPropsDef); bool isSimple = default(bool); string textBoxValue = default(string); bool notCanGrow = default(bool); bool needsTable = default(bool); RPLElementStyle style = default(RPLElementStyle); int oldCellIndex = default(int); RPLTextBoxProps textBoxProperties = base.GetTextBoxProperties(textBox, out textBoxPropsDef, out isSimple, out textBoxValue, inTablix, out notCanGrow, hasBorder, cellIndex, out needsTable, out style, out oldCellIndex); base.RenderTextBox(textBox, inTablix, cellIndex, needsTable, style, measurement, notCanGrow, textBoxPropsDef, textBoxProperties, isSimple, textBoxValue, borderContext, oldCellIndex); base.RenderTextBoxProperties(inTablix, cellIndex, needsTable, style); }
protected override bool RenderRectangleItemAndLines(RPLContainer rectangle, BorderContext borderContext, int y, PageTableCell cell, string linkToChildId, float runningLeft, bool rowUsed) { rowUsed = base.RenderRectangleItem(y, cell, borderContext, linkToChildId, rectangle, runningLeft, rowUsed); base.RenderLines(y, cell, borderContext); return(rowUsed); }