OPF
DocsObject referenceView source

Table Cell Border

One explicit cell border.

Metadata

Definition
#/$defs/TableCellBorder
Type
object
Source
spec/schemas/opf.schema.json

Field index

FieldTypeReq.Description
colorref:ColorRefyesBorder color: 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.
widthnumberyesBorder width in reference pixels; 0 removes this edge.
dashenum—Default solid.

color

typeref:ColorRefrequiredyesdefault—

Border color: 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.

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

width

typenumberrequiredyesdefault—

Border width in reference pixels; 0 removes this edge.

width.json
{
  "width": 1
}

dash

typeenumrequirednodefault—

Default solid.

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