Package | Description |
---|---|
com.google.api.services.sheets.v4.model |
Modifier and Type | Method and Description |
---|---|
CellFormat |
CellFormat.clone() |
CellFormat |
SpreadsheetProperties.getDefaultFormat()
The default format of all cells in the spreadsheet.
|
CellFormat |
CellData.getEffectiveFormat()
The effective format being used by the cell.
|
CellFormat |
BooleanRule.getFormat()
The format to apply.
|
CellFormat |
CellData.getUserEnteredFormat()
The format the user entered for the cell.
|
CellFormat |
CellFormat.set(String fieldName,
Object value) |
CellFormat |
CellFormat.setBackgroundColor(Color backgroundColor)
The background color of the cell.
|
CellFormat |
CellFormat.setBackgroundColorStyle(ColorStyle backgroundColorStyle)
The background color of the cell.
|
CellFormat |
CellFormat.setBorders(Borders borders)
The borders of the cell.
|
CellFormat |
CellFormat.setHorizontalAlignment(String horizontalAlignment)
The horizontal alignment of the value in the cell.
|
CellFormat |
CellFormat.setHyperlinkDisplayType(String hyperlinkDisplayType)
If one exists, how a hyperlink should be displayed in the cell.
|
CellFormat |
CellFormat.setNumberFormat(NumberFormat numberFormat)
A format describing how number values should be represented to the user.
|
CellFormat |
CellFormat.setPadding(Padding padding)
The padding of the cell.
|
CellFormat |
CellFormat.setTextDirection(String textDirection)
The direction of the text in the cell.
|
CellFormat |
CellFormat.setTextFormat(TextFormat textFormat)
The format of the text in the cell (unless overridden by a format run).
|
CellFormat |
CellFormat.setTextRotation(TextRotation textRotation)
The rotation applied to text in the cell.
|
CellFormat |
CellFormat.setVerticalAlignment(String verticalAlignment)
The vertical alignment of the value in the cell.
|
CellFormat |
CellFormat.setWrapStrategy(String wrapStrategy)
The wrap strategy for the value in the cell.
|
Modifier and Type | Method and Description |
---|---|
SpreadsheetProperties |
SpreadsheetProperties.setDefaultFormat(CellFormat defaultFormat)
The default format of all cells in the spreadsheet.
|
CellData |
CellData.setEffectiveFormat(CellFormat effectiveFormat)
The effective format being used by the cell.
|
BooleanRule |
BooleanRule.setFormat(CellFormat format)
The format to apply.
|
CellData |
CellData.setUserEnteredFormat(CellFormat userEnteredFormat)
The format the user entered for the cell.
|
Copyright © 2011–2024 Google. All rights reserved.