Table of Contents

Class MergedCellList

Namespace
MigraDoc.DocumentObjectModel.Visitors
Assembly
MigraDoc.DocumentObjectModel.dll

Represents a merged list of cells of a table.

public class MergedCellList : List<Cell>
Inheritance
object
List<Cell>
MergedCellList
Extension Methods

Constructors

MergedCellList(Table)

Initializes a new instance of the MergedCellList class.

Properties

this[int]

Gets the cell at the specified position.

Methods

AddHeaderInsertionRowIndex(int)

After a heading has been inserted in PDF rendering, the index of the first following content row should be added here to consider this heading when determining the effective borders.

GetCoveringCell(Cell)

Gets the cell that covers the given cell by merging. Usually the cell itself if not merged.

GetEffectiveBordersPdf(Cell, int)

Gets a borders object that should be used for PDF rendering. In PDF heading rows must be considered, as repeated heading row rendering is done in PDF rendering Therefore the index of the last heading row (original, not repetition) must be committed.

GetEffectiveBordersRtf(Cell)

Gets a borders object that should be used for RTF rendering. In RTF heading rows must not be considered, as repeated heading row rendering is done in the RTF application. Further, inserting rows later in the RTF application should not move or duplicate any heading row border formatting, that could otherwise be assigned here to the following row, down to the table content.