Interface SizeCellStyleValues

ICellStyle is an immutable object but values can be set via various updaters using the CellStyleValues.

interface SizeCellStyleValues {
    alignment: CellAlignmentValues;
    border: CellBorderValues;
    fill: AdjustedColor | SolidFillValues | GradientFillValues | PatternFillValues | NoneFillValues;
    font: FontValues;
    namedStyle: string;
    numberFormat: string;
    protection: CellProtectionValues;
    quotePrefix: boolean;
    size?: number;
}

Hierarchy (view full)

Properties

Alignment properties.

Border properties.

Fill properties for the background

Font properties.

namedStyle: string

The name of the namedStyle that is being referenced. For named styles this is null or ignored. If this is not specified then all unspecified fields will inherit from the normal style

numberFormat: string

Format used for

Protection properties.

quotePrefix: boolean

A boolean value indicating whether the text string in a cell should be prefixed by a single quote mark (e.g., 'text). In these cases, the quote is not stored in the Shared Strings Part.

size?: number

Only applied with type is

  • firstRowStripe
  • secondRowStripe
  • firstColumnStripe
  • secondColumnStripe

Default Value

1?