cupertino-files / CellFormatting
Interface: CellFormatting
Defined in: src/tst/styles.ts:99
Properties
borders?
optionalborders?:object
Defined in: src/tst/styles.ts:103
Per-side borders. A side set to null removes that border.
bottom?
optionalbottom?:Stroke|null
left?
optionalleft?:Stroke|null
right?
optionalright?:Stroke|null
top?
optionaltop?:Stroke|null
fill?
optionalfill?:Fill
Defined in: src/tst/styles.ts:101
Background: a colour, gradient or image.
horizontalAlignment?
optionalhorizontalAlignment?:number|TextAlignmentName|null
Defined in: src/tst/styles.ts:113
Horizontal alignment of the cell's text — a TextAlignment value or its name. Rides the text layer: the cell gets an anonymous paragraph style carrying the alignment, which is where the corpus keeps it. null drops the cell's own text style so the band default applies.
padding?
optionalpadding?:Padding
Defined in: src/tst/styles.ts:104
textWrap?
optionaltextWrap?:boolean
Defined in: src/tst/styles.ts:115
Wrap text within the cell rather than clipping it.
verticalAlignment?
optionalverticalAlignment?:number
Defined in: src/tst/styles.ts:106
0 top, 1 middle, 2 bottom — see VerticalAlignment.