{}OPF
DocsObject referenceView source

Table Cell Style

Cell appearance. Sizes use reference pixels at a 720-pixel canvas short edge and scale with the slide.

Metadata

Definition

#/$defs/TableCellStyle

Type

object

Source

spec/schemas/opf.schema.json

Fields

FieldTypeReqDescription
fillstringExplicit RGB or RGBA color. Eight-digit colors include alpha; #00000000 is transparent.
colorstringDefault text color, overridden by individual rich run colors.
alignenumHorizontal text alignment inside the cell.
verticalAlignenumVertical alignment inside the padded cell box.
paddingref:TableCellPadding
bordersobjectIndependent cell edges. Omitted edges retain the table theme border; width 0 removes an edge.

fill

Type: string · Optional · Default: · Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$

Explicit RGB or RGBA color. Eight-digit colors include alpha; #00000000 is transparent.

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

color

Type: string · Optional · Default: · Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$

Default text color, overridden by individual rich run colors.

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

align

Type: enum · Optional · Default:

Horizontal text alignment inside the cell.

align.json
{
  "align": "left"
}

verticalAlign

Type: enum · Optional · Default:

Vertical alignment inside the padded cell box.

verticalAlign.json
{
  "verticalAlign": "top"
}

padding

Type: ref:TableCellPadding · Optional · Default:

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

borders

Type: object · Optional · Default:

Independent cell edges. Omitted edges retain the table theme border; width 0 removes an edge.

borders.json
{
  "borders": {}
}