Skip to content

Interface: TableCellBorderEdit ​

One border as TableCell.setBorder takes it — the write-side mirror of CellBorder, which is what reading one gives back.

Deliberately not CellBorder itself: that type reports every field, null included, so passing one back would make "leave this alone" unsayable. Here an omitted field is simply not written, which is what an edit usually means.

Properties ​

color? ​

optional color?: string

Explicit colour as 6-hex (# optional). Ignored when schemeColor is given.


dash? ​

optional dash?: string

Dash preset (a:prstDash/@val, e.g. sysDash); omitted leaves the border solid.


noFill? ​

optional noFill?: boolean

Write an explicit a:noFill — a deliberately suppressed edge, not an absent one.


schemeColor? ​

optional schemeColor?: string

Theme colour token (e.g. accent1); preferred over color when both are set.


widthPt? ​

optional widthPt?: number | null

Border width in points; omitted leaves @w unset, which renders as a hairline.