|
1 | 1 | note |
2 | | - description: "Summary description for {EG_CELL_FORMAT}." |
3 | | - author: "" |
| 2 | + description: "[ |
| 3 | + Object representing the format of a cell. |
| 4 | + |
| 5 | + { |
| 6 | + "numberFormat": { |
| 7 | + object (NumberFormat) |
| 8 | + }, |
| 9 | + "backgroundColor": { |
| 10 | + object (Color) |
| 11 | + }, |
| 12 | + "backgroundColorStyle": { |
| 13 | + object (ColorStyle) |
| 14 | + }, |
| 15 | + "borders": { |
| 16 | + object (Borders) |
| 17 | + }, |
| 18 | + "padding": { |
| 19 | + object (Padding) |
| 20 | + }, |
| 21 | + "horizontalAlignment": enum (HorizontalAlign), |
| 22 | + "verticalAlignment": enum (VerticalAlign), |
| 23 | + "wrapStrategy": enum (WrapStrategy), |
| 24 | + "textDirection": enum (TextDirection), |
| 25 | + "textFormat": { |
| 26 | + object (TextFormat) |
| 27 | + }, |
| 28 | + "hyperlinkDisplayType": enum (HyperlinkDisplayType), |
| 29 | + "textRotation": { |
| 30 | + object (TextRotation) |
| 31 | + } |
| 32 | + } |
| 33 | + ]" |
4 | 34 | date: "$Date$" |
5 | 35 | revision: "$Revision$" |
| 36 | + EIS: "name=Cell Format", "src=https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/cells#CellFormat", "protocol=uri" |
6 | 37 |
|
7 | 38 | class |
8 | 39 | EG_CELL_FORMAT |
9 | 40 |
|
| 41 | +inherit |
| 42 | + |
| 43 | + ANY |
| 44 | + redefine |
| 45 | + default_create |
| 46 | + end |
| 47 | + |
| 48 | +feature {NONE} -- Initialization |
| 49 | + |
| 50 | + default_create |
| 51 | + do |
| 52 | + create background_color |
| 53 | + create background_color_style |
| 54 | + create padding |
| 55 | + create vertical_alignment |
| 56 | + create text_format |
| 57 | + create wrap_strategy |
| 58 | + end |
| 59 | + |
| 60 | +feature -- Access |
| 61 | + |
| 62 | + number_format: detachable EG_NUMBER_FORMAT |
| 63 | + -- A format describing how number values should be represented to the user. |
| 64 | + |
| 65 | + background_color: EG_COLOR |
| 66 | + -- The background color of the cell. |
| 67 | + |
| 68 | + background_color_style: EG_COLOR_STYLE |
| 69 | + -- The background color of the cell. If backgroundColor is also set, this field takes precedence. |
| 70 | + |
| 71 | + borders: detachable EG_BORDERS |
| 72 | + -- The borders of the cell. |
| 73 | + |
| 74 | + padding: EG_PADDING |
| 75 | + -- The padding of the cell. |
| 76 | + |
| 77 | + horizontal_alignment: detachable EG_HORIZONTAL_ALIGN |
| 78 | + -- The horizontal alignment of the value in the cell. |
| 79 | + |
| 80 | + vertical_alignment: EG_VERTICAL_ALIGN |
| 81 | + -- The vertical alignment of the value in the cell. |
| 82 | + |
| 83 | + wrap_strategy: EG_WRAP_STRATEGY |
| 84 | + -- The wrap strategy for the value in the cell. |
| 85 | + |
| 86 | + text_direction: detachable EG_TEXT_DIRECTION |
| 87 | + -- The direction of the text in the cell. |
| 88 | + |
| 89 | + text_format: EG_TEXT_FORMAT |
| 90 | + -- The format of the text in the cell (unless overridden by a format run). |
| 91 | + |
| 92 | + hyperlinkDisplayType: detachable EG_HYPERLINK_DISPLAY_TYPE |
| 93 | + -- How a hyperlink, if it exists, should be displayed in the cell. |
| 94 | + |
| 95 | + text_rotation: detachable EG_TEXT_ROTATION |
| 96 | + -- The rotation applied to text in a cell |
10 | 97 | end |
0 commit comments