Table

class Table(val columns: List<Table.Column>, val caption: String? = null) : NestableNode, LocationTrackableNode, CaptionableNode

A table, consisting of columns, each of which has a header and multiple cells. A table is location-trackable since, if requested by the user, it may show a caption displaying its location-based label.

Parameters

columns

columns of the table. Each column has a header and multiple cells

caption

optional caption of the table (Quarkdown extension)

Constructors

Link copied to clipboard
constructor(columns: List<Table.Column>, caption: String? = null)

Types

Link copied to clipboard
Link copied to clipboard
data class Cell(val text: InlineContent)

A single cell of a table.

Link copied to clipboard
data class Column(val alignment: Table.Alignment, val header: Table.Cell, val cells: List<Table.Cell>)

A column of a table.

Properties

Link copied to clipboard

Whether this node should be tracked in the document's hierarchy.

Link copied to clipboard
open override val caption: String? = null
Link copied to clipboard
open override val children: List<Node>
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard

Registers the location of this node within the document handled by context.

Link copied to clipboard

Registers the formatted location of this node within the document handled by context, according to this node's NumberingFormat.

Link copied to clipboard