API Reference

Class

TableBlock

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Implements
IMarkdownBlock ISyntaxMarkdownBlock IChildMarkdownBlockContainer ISyntaxChildrenMarkdownBlock IOwnedSyntaxChildrenMarkdownBlock
Modifiers sealed

Pipe table with optional header row.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

Methods

public IEnumerable<TableCell> EnumerateCells() #
Returns: IEnumerable<TableCell>

Enumerates header and body cells in document order, preserving row/column metadata on each cell.

public IEnumerable<TableRow> EnumerateRows() #
Returns: IEnumerable<TableRow>

Enumerates header and body rows in document order.

public TableCell GetCell(Int32 rowIndex, Int32 columnIndex) #
Returns: TableCell

Gets a body cell by zero-based row and column index.

Parameters

rowIndex System.Int32 requiredposition: 0
columnIndex System.Int32 requiredposition: 1
public TableCell GetHeaderCell(Int32 columnIndex) #
Returns: TableCell

Gets a header cell by zero-based column index.

Parameters

columnIndex System.Int32 requiredposition: 0

Properties

public List<String> Headers { get; } #

Optional header cells.

public IReadOnlyList<TableCell> HeaderCells { get; } #

Typed header cell content.

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 List<IReadOnlyList<String>> Rows { get; } #

Data rows.

public IReadOnlyList<IReadOnlyList<TableCell>> RowCells { get; } #

Typed row cell content.

public IReadOnlyList<TableRow> BodyRows { get; } #

Typed body rows.

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<ColumnAlignment> Alignments { get; } #

Optional column alignments per column (used when headers are present).

public List<Nullable<Double>> ColumnWidthPoints { get; } #

Optional fixed column widths in points. 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 Int32 SkippedRowCount { get; set; } #

Number of rows skipped due to table limits.

public Int32 SkippedColumnCount { get; set; } #

Number of columns skipped due to table limits.