Table Cell
A cell within a `Table`.
Properties
The TableCell
type has these properties:
Name | Description | Type | Inherited from | JSON-LD @id |
Aliases |
---|---|---|---|---|---|
id |
The identifier for this item. | String |
Entity |
schema:id |
- |
cellType |
The type of cell. | TableCellType |
- | stencila:cellType |
cell-type , cell_type |
name |
The name of the cell. | String |
- | schema:name |
- |
columnSpan |
How many columns the cell extends. | Integer |
- | stencila:colspan |
column-span , column_span |
rowSpan |
How many columns the cell extends. | Integer |
- | stencila:rowspan |
row-span , row_span |
horizontalAlignment |
The horizontal alignment of the content of a table cell. | HorizontalAlignment |
- | stencila:horizontalAlignment |
horizontal-alignment , horizontal_alignment |
horizontalAlignmentCharacter |
The character to be used in horizontal alignment of the content of a table cell. | String |
- | stencila:horizontalAlignmentCharacter |
horizontal-alignment-character , horizontal_alignment_character |
verticalAlignment |
The vertical alignment of the content of a table cell. | VerticalAlignment |
- | stencila:verticalAlignment |
vertical-alignment , vertical_alignment |
content |
Contents of the table cell. | Block * |
- | stencila:content |
- |
Related
The TableCell
type is related to these types:
- Parents:
Entity
- Children: none
Formats
The TableCell
type can be encoded (serialized) to, and/or decoded (deserialized) from, these formats:
Format | Encoding | Decoding | Support | Notes |
---|---|---|---|---|
DOM HTML | 🟢 No loss | |||
HTML | 🔷 Low loss | Encoded as <td> |
||
JATS | Encoded using special function | |||
Markdown | 🔷 Low loss | 🔷 Low loss | ||
Stencila Markdown | 🔷 Low loss | 🔷 Low loss | ||
Quarto Markdown | 🔷 Low loss | 🔷 Low loss | ||
MyST Markdown | 🔷 Low loss | 🔷 Low loss | ||
LLM Markdown | 🔷 Low loss | 🔷 Low loss | ||
LaTeX | 🔷 Low loss | 🔷 Low loss | ||
🔷 Low loss | ||||
Plain text | ⚠️ High loss | |||
IPYNB | 🔷 Low loss | 🔷 Low loss | ||
Microsoft Word DOCX | 🔷 Low loss | 🔷 Low loss | ||
OpenDocument ODT | 🔷 Low loss | 🔷 Low loss | ||
TeX | 🔷 Low loss | 🔷 Low loss | ||
JSON | 🟢 No loss | 🟢 No loss | ||
JSON+Zip | 🟢 No loss | 🟢 No loss | ||
JSON5 | 🟢 No loss | 🟢 No loss | ||
JSON-LD | 🟢 No loss | 🟢 No loss | ||
CBOR | 🟢 No loss | 🟢 No loss | ||
CBOR+Zstandard | 🟢 No loss | 🟢 No loss | ||
YAML | 🟢 No loss | 🟢 No loss | ||
Lexical JSON | 🔷 Low loss | 🔷 Low loss | ||
Koenig JSON | 🔷 Low loss | 🔷 Low loss | ||
Pandoc AST | 🔷 Low loss | 🔷 Low loss | ||
Directory | ||||
Stencila Web Bundle | ||||
Debug | 🔷 Low loss |
Bindings
The TableCell
type is represented in:
- JSON-LD
- JSON Schema
- Python class
TableCell
- Rust struct
TableCell
- TypeScript class
TableCell
Testing
During property-based (a.k.a generative) testing, the properties of the TableCell
type are generated using the following strategies for each complexity level. Any optional properties that are not in this table are set to None
.
Property | Complexity | Description | Strategy |
---|---|---|---|
content |
Min+ | Generate a single, arbitrary, paragraph | table_cell_content(1) |
Source
This documentation was generated from TableCell.yaml
by docs_types.rs
.