{}OPF
DocsObject referenceView source

Styled Table Cell

A cell with explicit visual style or merged geometry. Its position remains its array column index; use null placeholders for every covered grid position.

Metadata

Definition

#/$defs/StyledTableCell

Type

object

Source

spec/schemas/opf.schema.json

Fields

FieldTypeReqDescription
valueref:TableCellValueyesEditable cell content; styling and spans do not change its scalar type or rich runs.
styleref:TableCellStyle
colSpanintegerNumber of grid columns covered, starting at this cell. Covered positions must contain null. Default 1.
rowSpanintegerNumber of grid rows covered, starting at this cell. Covered positions must contain null. Header cells cannot span into body rows. Default 1.

value

Type: ref:TableCellValue · Required · Default:

Editable cell content; styling and spans do not change its scalar type or rich runs.

value.json
{
  "value": "value-value"
}

style

Type: ref:TableCellStyle · Optional · Default:

style.json
{
  "style": "style-value"
}

colSpan

Type: integer · Optional · Default:

Number of grid columns covered, starting at this cell. Covered positions must contain null. Default 1.

colSpan.json
{
  "colSpan": 1
}

rowSpan

Type: integer · Optional · Default:

Number of grid rows covered, starting at this cell. Covered positions must contain null. Header cells cannot span into body rows. Default 1.

rowSpan.json
{
  "rowSpan": 1
}