TableBlock
OfficeIMO.Markdown
Pipe table with optional header row.
Inheritance
- MarkdownObject
- MarkdownBlock
- TableBlock
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method MarkdownDocument.AddTable
- Method MarkdownDocument.AddTable``1
- Method MarkdownDocument.DescendantTables
- Property MarkdownNativeTableBlock.Table
Constructors
public TableBlock() #Methods
public IEnumerable<TableCell> EnumerateCells() #Enumerates header and body cells in document order, preserving row/column metadata on each cell.
Returns
IEnumerable<TableCell>public IEnumerable<TableRow> EnumerateRows() #Enumerates header and body rows in document order.
Returns
IEnumerable<TableRow>public TableCell? GetCell(int rowIndex, int columnIndex) #Gets a body cell by zero-based row and column index.
Parameters
- rowIndex int
- columnIndex int
Returns
TableCell?Inherited Methods
public void Accept(MarkdownVisitor visitor) #Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns
IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns
IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Type Parameters
- TObject
Returns
IEnumerable<TObject>public IEnumerable<MarkdownObject> Descendants() #Returns
IEnumerable<MarkdownObject>Properties
public TableRow? HeaderRow { get; } #Typed header row, or null when the table has no header.
public IReadOnlyList<InlineSequence> HeaderInlines { get; } #Parsed inline representation of the current header cells.
public IReadOnlyList<IReadOnlyList<TableCell>> RowCells { get; } #Typed row cell content.
public IReadOnlyList<IMarkdownBlock> ChildBlocks { get; } #Structured child blocks flattened from header and body cells in table order.
public IReadOnlyList<IReadOnlyList<InlineSequence>> RowInlines { get; } #Parsed inline representation of the current data rows.
public List<MarkdownColumnAlignment> Alignments { get; } #Optional column alignments per column (used when headers are present).
public List<OfficeLength?> ColumnWidths { get; } #Optional fixed physical column widths. Null entries are sized by weights or defaults.
public List<double> ColumnWidthWeights { get; } #Optional relative column width weights. Missing columns default to 1.0 in consumers that support widths.
public int SkippedRowCount { get; internal set; } #Number of rows skipped due to table limits.
public int SkippedColumnCount { get; internal set; } #Number of columns skipped due to table limits.
Inherited Properties
public MarkdownSourceSpan? SourceSpan { get; internal set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #