Enum CellMergeState
CellMergeState
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)|
-------------------
If the first two cells are merged to form the following table, cell (0,0) is the head cell and
(0,1) is a merged cell.
-------------------
|(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)|
-------------------
If the first two cells are merged to form the following table, cell (0,0) is the head cell and
(0,1) is a merged cell.
-------------------
|(0,0) |(0,2)|
-------------------
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-26 UTC.
[null,null,["Last updated 2024-11-26 UTC."],[[["`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, and `MERGED` for other cells within a merged range."],["To reference a specific state, use the syntax `SlidesApp.CellMergeState.STATE_NAME`, replacing `STATE_NAME` with the desired state (e.g., `SlidesApp.CellMergeState.NORMAL`)."]]],[]]