{}OPF
DocsObject referenceView source

Table Cell Border

One explicit cell border.

Metadata

Definition

#/$defs/TableCellBorder

Type

object

Source

spec/schemas/opf.schema.json

Fields

FieldTypeReqDescription
colorstringyesExplicit RGB or RGBA color. Eight-digit colors include alpha; #00000000 is transparent.
widthnumberyesBorder width in reference pixels; 0 removes this edge.
dashenumDefault solid.

color

Type: string · Required · 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.

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

width

Type: number · Required · Default:

Border width in reference pixels; 0 removes this edge.

width.json
{
  "width": 1
}

dash

Type: enum · Optional · Default:

Default solid.

dash.json
{
  "dash": "solid"
}