Skip to content

Interface: CellBorder ​

One edge border of a table cell (a:tcPr/a:lnL|lnR|lnT|lnB|lnTlToBr|lnBlToTr). Mirrors the a:ln-style decode used for shape strokes: widthPt from @w (EMU → points), dash from a:prstDash/@val, and the stroke colour as a ColorRef — the cell-border counterpart of a shape's line accessors.

Properties ​

colorRef ​

colorRef: ColorRef

The stroke's solid colour, as written and resolved against the slide theme; every field is null when the edge carries no solid fill. resolved.effectiveHex is what a renderer paints, and resolved.transforms is what to carry when re-authoring a border against a different theme: a lumMod-darkened accent carried forward as a literal hex stops tracking its theme.


dash ​

dash: string | null

Dash style (a:prstDash/@val, e.g. solid/sysDash), or null when unset.


noFill ​

noFill: boolean

true when the edge is an explicit no-border (a:noFill) — a deliberately suppressed side.


widthPt ​

widthPt: number | null

Border width in points (@w is EMU; 12700 EMU = 1pt), or null when unset.