API reference / Common / Engine types / TableRegularCell
Interface: TableRegularCell
One cell of the dense grid: its merge state on each axis, its properties, and its [TextBody].
A cell has no id of its own. It is addressed by (TableRowId, TableColumnId) — the pair survives a concurrent insert or reorder on either axis, which neither an index pair nor a lone cell id does — and the thing co-editing actually merges into, its content, already has a stable TextStoryId.
Properties
| Property | Description |
|---|---|
horizontal?TableCellMerge | @gridSpan |
vertical?TableCellMerge | @rowSpan |
properties?TableCellProperties | a:tcPr / w:tcPr. |
bodyTextBody | a:tc/a:txBody, or the block-level children of w:tc. Kept even when the cell is Merged: both Word and PowerPoint write a paragraph into a merged-away cell, so dropping it would lose content on round-trip. The layout skips it. A docx cell leaves the body's own properties and list_style empty — w:tc has no a:bodyPr counterpart, and the knobs it would carry live in [TableCellProperties] instead, resolved into body properties by the compose rather than synthesized here. |