Skip to content

API reference / Common / Engine types / TableCellBorders

Interface: TableCellBorders ​

A cell's edge set — its four sides, its two diagonals, and the interiors a merged region draws inside itself.

One type for four positions: a docx cell's w:tcBorders, a pptx cell's six a:ln* children, and both dialects' style-side cell borders (a:tcStyle/a:tcBdr, w:tblStylePr/w:tcPr/w:tcBorders). Three of the four carry the interiors; only pptx's instance a:tcPr leaves them unset, which is why they live here rather than in a separate style-only type.

Properties ​

PropertyDescription
top?
TableBorder
a:lnT / w:top.
bottom?
TableBorder
a:lnB / w:bottom.
left?
TableBorder
a:lnL / w:left / w:start.
right?
TableBorder
a:lnR / w:right / w:end.
insideHorizontal?
TableBorder
a:insideH / w:insideH — drawn between the rows a merged cell spans.
insideVertical?
TableBorder
a:insideV / w:insideV.
diagonalDown?
TableBorder
a:lnTlToBr / w:tl2br — the top-left to bottom-right diagonal.
diagonalUp?
TableBorder
a:lnBlToTr / w:tr2bl — the bottom-left to top-right diagonal.