Share via


DocumentTable interface

Table in a document, consisting table cells arranged in a rectangular layout.

Properties

caption

Table caption.

cells

Cells contained within the table.

columnCount

Number of columns in the table.

footnotes

List of table footnotes.

role

Semantic role of the table.

rowCount

Number of rows in the table.

source

Encoded source that identifies the position of the table in the content.

span

Span of the table in the markdown content.

Property Details

caption

Table caption.

caption?: DocumentCaption

Property Value

cells

Cells contained within the table.

cells: DocumentTableCell[]

Property Value

columnCount

Number of columns in the table.

columnCount: number

Property Value

number

footnotes

List of table footnotes.

footnotes?: DocumentFootnote[]

Property Value

role

Semantic role of the table.

role?: SemanticRole

Property Value

rowCount

Number of rows in the table.

rowCount: number

Property Value

number

source

Encoded source that identifies the position of the table in the content.

source?: string

Property Value

string

span

Span of the table in the markdown content.

span?: ContentSpan

Property Value