Table Cell Style
Cell appearance. Sizes use reference pixels at a 720-pixel canvas short edge and scale with the slide.
Metadata
#/$defs/TableCellStyle
object
spec/schemas/opf.schema.json
Fields
| Field | Type | Req | Description |
|---|---|---|---|
| fill | string | — | Explicit RGB or RGBA color. Eight-digit colors include alpha; #00000000 is transparent. |
| color | string | — | Default text color, overridden by individual rich run colors. |
| align | enum | — | Horizontal text alignment inside the cell. |
| verticalAlign | enum | — | Vertical alignment inside the padded cell box. |
| padding | ref:TableCellPadding | — | |
| borders | object | — | Independent 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": "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": "color-value"
}align
Type: enum · Optional · Default: —
Horizontal text alignment inside the cell.
{
"align": "left"
}verticalAlign
Type: enum · Optional · Default: —
Vertical alignment inside the padded cell box.
{
"verticalAlign": "top"
}padding
Type: ref:TableCellPadding · Optional · Default: —
{
"padding": "padding-value"
}borders
Type: object · Optional · Default: —
Independent cell edges. Omitted edges retain the table theme border; width 0 removes an edge.
{
"borders": {}
}