google_api_sheets v0.2.0 GoogleApi.Sheets.V4.Model.CellFormat View Source
The format of a cell.
Attributes
- backgroundColor (Color): The background color of the cell. Defaults to:
null
. - borders (Borders): The borders of the cell. Defaults to:
null
. horizontalAlignment (String.t): The horizontal alignment of the value in the cell. Defaults to:
null
.- Enum - one of [HORIZONTAL_ALIGN_UNSPECIFIED, LEFT, CENTER, RIGHT]
hyperlinkDisplayType (String.t): How a hyperlink, if it exists, should be displayed in the cell. Defaults to:
null
.- Enum - one of [HYPERLINK_DISPLAY_TYPE_UNSPECIFIED, LINKED, PLAIN_TEXT]
- numberFormat (NumberFormat): A format describing how number values should be represented to the user. Defaults to:
null
. - padding (Padding): The padding of the cell. Defaults to:
null
. textDirection (String.t): The direction of the text in the cell. Defaults to:
null
.- Enum - one of [TEXT_DIRECTION_UNSPECIFIED, LEFT_TO_RIGHT, RIGHT_TO_LEFT]
- textFormat (TextFormat): The format of the text in the cell (unless overridden by a format run). Defaults to:
null
. - textRotation (TextRotation): The rotation applied to text in a cell Defaults to:
null
. verticalAlignment (String.t): The vertical alignment of the value in the cell. Defaults to:
null
.- Enum - one of [VERTICAL_ALIGN_UNSPECIFIED, TOP, MIDDLE, BOTTOM]
wrapStrategy (String.t): The wrap strategy for the value in the cell. Defaults to:
null
.- Enum - one of [WRAP_STRATEGY_UNSPECIFIED, OVERFLOW_CELL, LEGACY_WRAP, CLIP, WRAP]
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Sheets.V4.Model.CellFormat{
backgroundColor: GoogleApi.Sheets.V4.Model.Color.t(),
borders: GoogleApi.Sheets.V4.Model.Borders.t(),
horizontalAlignment: any(),
hyperlinkDisplayType: any(),
numberFormat: GoogleApi.Sheets.V4.Model.NumberFormat.t(),
padding: GoogleApi.Sheets.V4.Model.Padding.t(),
textDirection: any(),
textFormat: GoogleApi.Sheets.V4.Model.TextFormat.t(),
textRotation: GoogleApi.Sheets.V4.Model.TextRotation.t(),
verticalAlignment: any(),
wrapStrategy: any()
}
t() :: %GoogleApi.Sheets.V4.Model.CellFormat{ backgroundColor: GoogleApi.Sheets.V4.Model.Color.t(), borders: GoogleApi.Sheets.V4.Model.Borders.t(), horizontalAlignment: any(), hyperlinkDisplayType: any(), numberFormat: GoogleApi.Sheets.V4.Model.NumberFormat.t(), padding: GoogleApi.Sheets.V4.Model.Padding.t(), textDirection: any(), textFormat: GoogleApi.Sheets.V4.Model.TextFormat.t(), textRotation: GoogleApi.Sheets.V4.Model.TextRotation.t(), verticalAlignment: any(), wrapStrategy: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.