Skip to content

Interface: TableCell3DProps ​

A cell's 3-D bevel (a:tcPr/a:cell3D).

A minimal surface over CT_Cell3D, which is a required a:bevel plus an optional a:lightRig. PowerPoint's table UI exposes no control for it — it reaches a deck through a theme's table style or through another producer — so this exists to author and reproduce one, not as a general 3-D model.

Properties ​

height? ​

optional height?: number

Bevel height in points (a:bevel/@h; the attribute is EMU).

Default ​

ts
6 // 76200 EMU

lightRig? ​

optional lightRig?: object

Scene lighting (a:cell3D/a:lightRig). Both fields are required by the schema, so either give both or omit the whole object and let the renderer light the bevel.

dir ​

dir: "r" | "b" | "br" | "tr" | "t" | "l" | "tl" | "bl"

rig ​

rig: "flat" | "balanced" | "legacyFlat1" | "legacyFlat2" | "legacyFlat3" | "legacyFlat4" | "legacyNormal1" | "legacyNormal2" | "legacyNormal3" | "legacyNormal4" | "legacyHarsh1" | "legacyHarsh2" | "legacyHarsh3" | "legacyHarsh4" | "threePt" | "soft" | "harsh" | "flood" | "contrasting" | "morning" | "sunrise" | "sunset" | "chilly" | "freezing" | "twoPt" | "glow" | "brightRoom"

Example ​

ts
lightRig: { rig: 'threePt', dir: 't' }

material? ​

optional material?: "flat" | "clear" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "softmetal"

Surface material (a:cell3D/@prstMaterial), which decides how the bevel takes light.

Default ​

ts
'plastic'

preset? ​

optional preset?: "angle" | "circle" | "relaxedInset" | "slope" | "cross" | "softRound" | "convex" | "coolSlant" | "divot" | "riblet" | "hardEdge" | "artDeco"

The bevel's preset shape (a:bevel/@prst).

Default ​

ts
'circle'

width? ​

optional width?: number

Bevel width in points (a:bevel/@w; the attribute is EMU).

Default ​

ts
6 // 76200 EMU