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

Field index

FieldTypeReq.Description
fillref:ColorRef—Cell background: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.
colorref:ColorRef—Default text color, overridden by individual rich run colors. Accepts a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference.
alignenum—Horizontal text alignment inside the cell.
verticalAlignenum—Vertical alignment inside the padded cell box.
paddingref:TableCellPadding—
bordersobject—Independent cell edges. Omitted edges retain the table theme border; width 0 removes an edge.

fill

typeref:ColorRefrequirednodefault—

Cell background: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.

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

color

typeref:ColorRefrequirednodefault—

Default text color, overridden by individual rich run colors. Accepts a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference.

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

align

typeenumrequirednodefault—

Horizontal text alignment inside the cell.

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

verticalAlign

typeenumrequirednodefault—

Vertical alignment inside the padded cell box.

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

padding

typeref:TableCellPaddingrequirednodefault—

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

borders

typeobjectrequirednodefault—

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

borders.json
{
  "borders": {}
}