Tables

Table

A PageElement kind representing a table.

JSON representation
{
  "rows": number,
  "columns": number,
  "tableRows": [
    {
      object(TableRow)
    }
  ],
  "tableColumns": [
    {
      object(TableColumnProperties)
    }
  ],
  "horizontalBorderRows": [
    {
      object(TableBorderRow)
    }
  ],
  "verticalBorderRows": [
    {
      object(TableBorderRow)
    }
  ]
}
Fields
rows

number

Number of rows in the table.

columns

number

Number of columns in the table.

tableRows[]

object( TableRow )

Properties and contents of each row.

Cells that span multiple rows are contained in only one of these rows and have a rowSpan greater than 1.

tableColumns[]

object( TableColumnProperties )

Properties of each column.

horizontalBorderRows[]

object( TableBorderRow )

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[]

object( TableBorderRow )

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(Dimension)
  },
  "tableRowProperties": {
    object(TableRowProperties)
  },
  "tableCells": [
    {
      object(TableCell)
    }
  ]
}
Fields
rowHeight

object( Dimension )

Height of a row.

tableRowProperties

object( TableRowProperties )

Properties of the row.

tableCells[]

object( TableCell )

Properties and contents of each cell.

Cells that span multiple columns are represented only once with a columnSpan greater than 1. As a result, the length of this collection does not always match the number of columns of the entire table.

TableRowProperties

Properties of each row in a table.

JSON representation
{
  "minRowHeight": {
    object(Dimension)
  }
}
Fields
minRowHeight

object( Dimension )

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(TableCellLocation)
  },
  "rowSpan": number,
  "columnSpan": number,
  "text": {
    object(TextContent)
  },
  "tableCellProperties": {
    object(TableCellProperties)
  }
}
Fields
location

object( TableCellLocation )

The location of the cell within the table.

rowSpan

number

Row span of the cell.

columnSpan

number

Column span of the cell.

text

object( TextContent )

The text content of the cell.

tableCellProperties

object( TableCellProperties )

The properties of the table cell.

TableCellLocation

A location of a single table cell within a table.

JSON representation
{
  "rowIndex": number,
  "columnIndex": number
}
Fields
rowIndex

number

The 0-based row index.

columnIndex

number

The 0-based column index.

TableCellProperties

The properties of the TableCell .

JSON representation
{
  "tableCellBackgroundFill": {
    object(TableCellBackgroundFill)
  },
  "contentAlignment": enum(ContentAlignment)
}
Fields
tableCellBackgroundFill

object( TableCellBackgroundFill )

The background fill of the table cell. The default fill matches the fill for newly created table cells in the Slides editor.

contentAlignment

enum( 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(PropertyState),
  "solidFill": {
    object(SolidFill)
  }
}
Fields
propertyState

enum( PropertyState )

The background fill property state.

Updating the fill on a table cell will implicitly update this field to RENDERED , unless another value is specified in the same request. To have no fill on a table cell, set this field to NOT_RENDERED . In this case, any other fill fields set in the same request will be ignored.

solidFill

object( SolidFill )

Solid color fill.

TableColumnProperties

Properties of each column in a table.

JSON representation
{
  "columnWidth": {
    object(Dimension)
  }
}
Fields
columnWidth

object( Dimension )

Width of a column.

TableBorderRow

Contents of each border row in a table.

JSON representation
{
  "tableBorderCells": [
    {
      object(TableBorderCell)
    }
  ]
}
Fields
tableBorderCells[]

object( TableBorderCell )

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(TableCellLocation)
  },
  "tableBorderProperties": {
    object(TableBorderProperties)
  }
}
Fields
location

object( TableCellLocation )

The location of the border within the border table.

tableBorderProperties

object( TableBorderProperties )

The border properties.

TableBorderProperties

The border styling properties of the TableBorderCell .

JSON representation
{
  "tableBorderFill": {
    object(TableBorderFill)
  },
  "weight": {
    object(Dimension)
  },
  "dashStyle": enum(DashStyle)
}
Fields
tableBorderFill

object( TableBorderFill )

The fill of the table border.

weight

object( Dimension )

The thickness of the border.

dashStyle

enum( DashStyle )

The dash style of the border.

TableBorderFill

The fill of the border.

JSON representation
{
  "solidFill": {
    object(SolidFill)
  }
}
Fields
solidFill

object( SolidFill )

Solid fill.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.