Table
A
PageElement
kind representing a table.
JSON representation |
---|
{ "rows": integer, "columns": integer, "tableRows": [ { object ( |
Fields | |
---|---|
rows
|
Number of rows in the table. |
columns
|
Number of columns in the table. |
tableRows[]
|
Properties and contents of each row.
Cells that span multiple rows are contained in only one of these rows and have a
|
tableColumns[]
|
Properties of each column. |
horizontalBorderRows[]
|
Properties of horizontal cell borders. A table's horizontal cell borders are represented as a grid. The grid has one more row than the number of rows in the table and the same number of columns as the table. For example, if the table is 3 x 3, its horizontal borders will be represented as a grid with 4 rows and 3 columns. |
verticalBorderRows[]
|
Properties of vertical cell borders. A table's vertical cell borders are represented as a grid. The grid has the same number of rows as the table and one more column than the number of columns in the table. For example, if the table is 3 x 3, its vertical borders will be represented as a grid with 3 rows and 4 columns. |
TableRow
Properties and contents of each row in a table.
JSON representation |
---|
{ "rowHeight": { object ( |
Fields | |
---|---|
rowHeight
|
Height of a row. |
tableRowProperties
|
Properties of the row. |
tableCells[]
|
Properties and contents of each cell.
Cells that span multiple columns are represented only once with a
|
TableRowProperties
Properties of each row in a table.
JSON representation |
---|
{
"minRowHeight": {
object ( |
Fields | |
---|---|
minRowHeight
|
Minimum height of the row. The row will be rendered in the Slides editor at a height equal to or greater than this value in order to show all the text in the row's cell(s). |
TableCell
Properties and contents of each table cell.
JSON representation |
---|
{ "location": { object ( |
Fields | |
---|---|
location
|
The location of the cell within the table. |
rowSpan
|
Row span of the cell. |
columnSpan
|
Column span of the cell. |
text
|
The text content of the cell. |
tableCellProperties
|
The properties of the table cell. |
TableCellLocation
A location of a single table cell within a table.
JSON representation |
---|
{ "rowIndex": integer, "columnIndex": integer } |
Fields | |
---|---|
rowIndex
|
The 0-based row index. |
columnIndex
|
The 0-based column index. |
TableCellProperties
The properties of the
TableCell
.
JSON representation |
---|
{ "tableCellBackgroundFill": { object ( |
Fields | |
---|---|
tableCellBackgroundFill
|
The background fill of the table cell. The default fill matches the fill for newly created table cells in the Slides editor. |
contentAlignment
|
The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Slides editor. |
TableCellBackgroundFill
The table cell background fill.
JSON representation |
---|
{ "propertyState": enum ( |
Fields | |
---|---|
propertyState
|
The background fill property state.
Updating the fill on a table cell will implicitly update this field to
|
Union field
kind . The kind of background fill.
kind
can be only one of the following:
|
|
solidFill
|
Solid color fill. |
TableColumnProperties
Properties of each column in a table.
JSON representation |
---|
{
"columnWidth": {
object ( |
Fields | |
---|---|
columnWidth
|
Width of a column. |
TableBorderRow
Contents of each border row in a table.
JSON representation |
---|
{
"tableBorderCells": [
{
object ( |
Fields | |
---|---|
tableBorderCells[]
|
Properties of each border cell. When a border's adjacent table cells are merged, it is not included in the response. |
TableBorderCell
The properties of each border cell.
JSON representation |
---|
{ "location": { object ( |
Fields | |
---|---|
location
|
The location of the border within the border table. |
tableBorderProperties
|
The border properties. |
TableBorderProperties
The border styling properties of the
TableBorderCell
.
JSON representation |
---|
{ "tableBorderFill": { object ( |
Fields | |
---|---|
tableBorderFill
|
The fill of the table border. |
weight
|
The thickness of the border. |
dashStyle
|
The dash style of the border. |
TableBorderFill
The fill of the border.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
kind . The kind of fill.
kind
can be only one of the following:
|
|
solidFill
|
Solid fill. |