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 行 3 列の場合、水平方向の境界線は 4 行 3 列のグリッドとして表されます。

verticalBorderRows[]

object (TableBorderRow)

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

テーブルの縦方向のセル境界はグリッドとして表されます。グリッドの行数はテーブルと同じで、列数はテーブルの列数より 1 つ多くなっています。たとえば、テーブルが 3 × 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)

塗りつぶし。