Tables

テーブル

テーブルを表す PageElement の種類。

JSON 表現
{
  "rows": integer,
  "columns": integer,
  "tableRows": [
    {
      object (TableRow)
    }
  ],
  "tableColumns": [
    {
      object (TableColumnProperties)
    }
  ],
  "horizontalBorderRows": [
    {
      object (TableBorderRow)
    }
  ],
  "verticalBorderRows": [
    {
      object (TableBorderRow)
    }
  ]
}
フィールド
rows

integer

テーブル内の行数。

columns

integer

テーブル内の列数。

tableRows[]

object (TableRow)

各行のプロパティと内容。

複数の行にまたがるセルは、これらの行のいずれか 1 つに含まれ、rowSpan は 1 より大きくなります。

tableColumns[]

object (TableColumnProperties)

各列のプロパティ。

horizontalBorderRows[]

object (TableBorderRow)

横方向のセルの枠線のプロパティ。

表の水平方向のセルの枠線はグリッドとして表示されます。グリッドには、テーブル内の行数より 1 行多く、表と同じ列数があります。たとえば、テーブルが 3 x 3 の場合、その横枠線は 4 行 3 列のグリッドとして表示されます。

verticalBorderRows[]

object (TableBorderRow)

垂直セルの枠線のプロパティ。

表の垂直セルの枠線はグリッドで表示されます。グリッドにはテーブルと同じ行数があり、テーブルの列数よりも 1 つ多い列があります。たとえば、テーブルが 3 x 3 の場合、その垂直の枠線は 3 行 4 列のグリッドとして表示されます。

TableRow

テーブルの各行のプロパティと内容。

JSON 表現
{
  "rowHeight": {
    object (Dimension)
  },
  "tableRowProperties": {
    object (TableRowProperties)
  },
  "tableCells": [
    {
      object (TableCell)
    }
  ]
}
フィールド
rowHeight

object (Dimension)

行の高さ。

tableRowProperties

object (TableRowProperties)

行のプロパティ。

tableCells[]

object (TableCell)

各セルのプロパティと内容。

複数の列にまたがるセルは、columnSpan が 1 より大きい場合、1 回だけ表示されます。そのため、このコレクションの長さは、テーブル全体の列の数と常に一致するわけではありません。

TableRowProperties

テーブル内の各行のプロパティ。

JSON 表現
{
  "minRowHeight": {
    object (Dimension)
  }
}
フィールド
minRowHeight

object (Dimension)

行の最小の高さ。行内のテキストをすべて表示するために、スライド エディタでは行がこの値以上になります。

TableCell

各テーブルセルのプロパティと内容。

JSON 表現
{
  "location": {
    object (TableCellLocation)
  },
  "rowSpan": integer,
  "columnSpan": integer,
  "text": {
    object (TextContent)
  },
  "tableCellProperties": {
    object (TableCellProperties)
  }
}
フィールド
location

object (TableCellLocation)

テーブル内のセルの位置。

rowSpan

integer

セルの行スパン。

columnSpan

integer

セルの列スパン。

text

object (TextContent)

セルのテキスト コンテンツ。

tableCellProperties

object (TableCellProperties)

テーブルセルのプロパティ。

TableCellLocation

テーブル内の単一のテーブルセルの場所。

JSON 表現
{
  "rowIndex": integer,
  "columnIndex": integer
}
フィールド
rowIndex

integer

0 ベースの行インデックス。

columnIndex

integer

0 ベースの列インデックス。

TableCellProperties

TableCell のプロパティ。

JSON 表現
{
  "tableCellBackgroundFill": {
    object (TableCellBackgroundFill)
  },
  "contentAlignment": enum (ContentAlignment)
}
フィールド
tableCellBackgroundFill

object (TableCellBackgroundFill)

表のセルの背景を塗りつぶします。デフォルトの塗りつぶしは、スライド エディタで新規作成した表のセルの塗りつぶしと一致します。

contentAlignment

enum (ContentAlignment)

表のセル内のコンテンツの配置。デフォルトの配置は、スライド エディタで新規作成した表のセルの配置と同じです。

TableCellBackgroundFill

表のセルの背景が塗りつぶされます。

JSON 表現
{
  "propertyState": enum (PropertyState),

  // Union field kind can be only one of the following:
  "solidFill": {
    object (SolidFill)
  }
  // End of list of possible types for union field kind.
}
フィールド
propertyState

enum (PropertyState)

背景を塗りつぶすプロパティの状態。

テーブルのセルの塗りつぶしを更新すると、同じリクエストで別の値が指定されていなければ、このフィールドは暗黙的に RENDERED に更新されます。表のセルを埋めない場合は、このフィールドを NOT_RENDERED に設定します。この場合、同じリクエストに設定された他の入力フィールドは無視されます。

共用体フィールド kind。背景の塗りつぶしの種類。 kind は次のいずれかになります。
solidFill

object (SolidFill)

無地一色

TableColumnProperties

テーブルの各列のプロパティ。

JSON 表現
{
  "columnWidth": {
    object (Dimension)
  }
}
フィールド
columnWidth

object (Dimension)

列の幅。

TableBorderRow

表の各行の枠線の内容。

JSON 表現
{
  "tableBorderCells": [
    {
      object (TableBorderCell)
    }
  ]
}
フィールド
tableBorderCells[]

object (TableBorderCell)

各枠線のセルのプロパティ。枠線の隣接するテーブルのセルが結合されても、そのデータはレスポンスに含まれません。

TableBorderCell

各境界セルのプロパティ。

JSON 表現
{
  "location": {
    object (TableCellLocation)
  },
  "tableBorderProperties": {
    object (TableBorderProperties)
  }
}
フィールド
location

object (TableCellLocation)

枠線テーブル内の枠線の位置。

tableBorderProperties

object (TableBorderProperties)

枠線のプロパティ。

TableBorderProperties

TableBorderCell の枠線のスタイル プロパティ。

JSON 表現
{
  "tableBorderFill": {
    object (TableBorderFill)
  },
  "weight": {
    object (Dimension)
  },
  "dashStyle": enum (DashStyle)
}
フィールド
tableBorderFill

object (TableBorderFill)

テーブルの枠線。

weight

object (Dimension)

枠線の太さ。

dashStyle

enum (DashStyle)

枠線の破線スタイル。

TableBorderFill

枠線の塗りつぶし。

JSON 表現
{

  // Union field kind can be only one of the following:
  "solidFill": {
    object (SolidFill)
  }
  // End of list of possible types for union field kind.
}
フィールド
共用体フィールド kind。塗りつぶしの種類。 kind は次のいずれかになります。
solidFill

object (SolidFill)

塗りつぶし