API Reference

Class

TableCell

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

Typed table cell containing one or more markdown blocks.

Inheritance

Usage

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

Constructors

public TableCell(IEnumerable<IMarkdownBlock> blocks = null) #

Creates a typed table cell.

Parameters

blocks System.Collections.Generic.IEnumerable{OfficeIMO.Markdown.IMarkdownBlock} = null optionalposition: 0

Properties

public List<IMarkdownBlock> Blocks { get; } #

Structured cell content.

SyntaxChildren #

Owned syntax nodes for the structured cell body.

public Boolean IsHeader { get; set; } #

Whether this cell belongs to the header row.

public Int32 RowIndex { get; set; } #

Zero-based data-row index for body cells; -1 for header cells.

public Int32 ColumnIndex { get; set; } #

Zero-based column index within the row.

public ColumnAlignment Alignment { get; set; } #

Optional cell-level horizontal alignment override.

public String BackgroundColor { get; set; } #

Optional CSS-compatible cell background color token.

public String TextColor { get; set; } #

Optional CSS-compatible cell text color token.

public Boolean Bold { get; set; } #

Whether cell text should be rendered with bold emphasis.

public Boolean Italic { get; set; } #

Whether cell text should be rendered with italic emphasis.

public Boolean Underline { get; set; } #

Whether cell text should be rendered with underline decoration.

public Boolean Strikethrough { get; set; } #

Whether cell text should be rendered with strikethrough decoration.

public Int32 ColumnSpan { get; set; } #

Number of logical table columns covered by this cell.

public Int32 RowSpan { get; set; } #

Number of logical table rows covered by this cell.

public String Markdown { get; } #

Markdown representation of the full cell body.