A cell in a table.
Methods
Method | Return type | Brief description |
---|---|---|
get | Integer | Returns the 0-based column index of the table cell. |
get | Integer | Returns the column span of the table cell. |
get | Content | Returns the Content of the text in the table cell. |
get | Fill | Returns the fill of the table cell. |
get | Table | Returns the head cell of this table cell. |
get | Cell | Returns the merge state of the table cell. |
get | Table | Returns the table column containing the current cell. |
get | Table | Returns the table row containing the current cell. |
get | Table | Returns the table containing the current cell. |
get | Integer | Returns the 0-based row index of the table cell. |
get | Integer | Returns the row span of the table cell. |
get | Text | Returns the text content of the table cell. |
set | Table | Sets the Content of the text in the table cell. |
Detailed documentation
getColumnIndex()
Returns the 0-based column index of the table cell.
Return
Integer
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getColumnSpan()
Returns the column span of the table cell.
Return
Integer
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getContentAlignment()
Returns the Content
of the text in the table cell.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getFill()
getMergeState()
Returns the merge state of the table cell.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getParentColumn()
Returns the table column containing the current cell.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getParentRow()
getParentTable()
getRowIndex()
Returns the 0-based row index of the table cell.
Return
Integer
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getRowSpan()
Returns the row span of the table cell.
Return
Integer
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
getText()
Returns the text content of the table cell. Returns null
if the cell is merged but is not a head cell.
Text within a table cell always terminates with a newline character.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations
setContentAlignment(contentAlignment)
Sets the Content
of the text in the table cell.
Parameters
Name | Type | Description |
---|---|---|
content | Content |
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/presentations.currentonly
https://www.googleapis.com/auth/presentations