AI-generated Key Takeaways
-
CellMergeState
defines the merge state of a table cell in Google Slides. -
There are three possible states:
NORMAL
for unmerged cells,HEAD
for the top-left cell of a merged range, andMERGED
for other cells within a merged range. -
To reference a specific state, use the syntax
SlidesApp.CellMergeState.STATE_NAME
, replacingSTATE_NAME
with the desired state (e.g.,SlidesApp.CellMergeState.NORMAL
).
The table cell merge states.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.CellMergeState.NORMAL
.
Properties
Property | Type | Description |
---|---|---|
NORMAL | Enum | The cell is not merged. |
HEAD | Enum | The cell is merged and it is the head (i.e. upper left) cell within the merged set of cells.
As an example, assume the following table. ------------------- |(0,0)|(0,1)|(0,2)| ------------------- ------------------- |(0,0) |(0,2)| ------------------- |
MERGED | Enum | The cell is merged but is not the head (i.e. upper left) cell.
As an example, assume the following table. ------------------- |(0,0)|(0,1)|(0,2)| ------------------- ------------------- |(0,0) |(0,2)| ------------------- |