interface SheetStyleJSON { cells?: Partial<{ alignment: string | CellAlignmentValues | Partial<{ horizontal: string; indent: string | number; justifyLastLine: string | Partial<boolean>; overflow: string; readingDirection: string; relativeIndent: string | number; rotation: string | number; stacked: string | Partial<boolean>; vertical: string; }>; border: string | CellBorderValues | Partial<{ bottom: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalDown: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalUp: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; horizontal: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; left: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; right: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; top: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; vertical: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; }>; fill: string | AdjustedColor | SolidFillValues | GradientFillValues | PatternFillValues | NoneFillValues | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; } | { color: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; } | { angle: string | number; fillTo: string | Rectangle | Partial<{ bottom: (...
) | (...
); left: (...
) | (...
); right: (...
) | (...
); top: (...
) | (...
); }>; fillType: string; gradientType: string; stops: string | GradientStop[] | (string | GradientStop | Partial<(...
)>)[]; } | { background: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; foreground: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; patternType: string; } | { fillType: string; }>; font: string | FontValues | Partial<{ extend: string | Partial<boolean>; family: string; familyFallbacks: string | string[]; fill: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; letterSpacing: string | number; outline: string | Partial<boolean>; scheme: string; shadow: string | Partial<boolean>; size: string | number; strike: string | Partial<boolean>; style: string; underline: string | boolean; verticalAlign: string; weight: string | number; }>; namedStyle: string; numberFormat: string; protection: string | CellProtectionValues | Partial<{ formulaHidden: string | Partial<boolean>; locked: string | Partial<boolean>; }>; quotePrefix: string | Partial<boolean>; }>[]; indexedColors?: string[]; mruColors?: string[]; named?: Record<string, Partial<{ alignment: string | CellAlignmentValues | Partial<{ horizontal: string; indent: string | number; justifyLastLine: string | Partial<boolean>; overflow: string; readingDirection: string; relativeIndent: string | number; rotation: string | number; stacked: string | Partial<boolean>; vertical: string; }>; border: string | CellBorderValues | Partial<{ bottom: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalDown: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalUp: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; horizontal: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; left: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; right: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; top: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; vertical: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; }>; fill: string | AdjustedColor | SolidFillValues | GradientFillValues | PatternFillValues | NoneFillValues | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; } | { color: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; } | { angle: string | number; fillTo: string | Rectangle | Partial<{ bottom: (...
) | (...
); left: (...
) | (...
); right: (...
) | (...
); top: (...
) | (...
); }>; fillType: string; gradientType: string; stops: string | GradientStop[] | (string | GradientStop | Partial<(...
)>)[]; } | { background: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; foreground: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; patternType: string; } | { fillType: string; }>; font: string | FontValues | Partial<{ extend: string | Partial<boolean>; family: string; familyFallbacks: string | string[]; fill: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; letterSpacing: string | number; outline: string | Partial<boolean>; scheme: string; shadow: string | Partial<boolean>; size: string | number; strike: string | Partial<boolean>; style: string; underline: string | boolean; verticalAlign: string; weight: string | number; }>; hidden: string | Partial<boolean>; iLevel: string | number; namedStyle: string; numberFormat: string; protection: string | CellProtectionValues | Partial<{ formulaHidden: string | Partial<boolean>; locked: string | Partial<boolean>; }>; quotePrefix: string | Partial<boolean>; }>>; tables?: TableStylesJSON; } Properties
Optional
cells
cells?: Partial<{ alignment: string | CellAlignmentValues | Partial<{ horizontal: string; indent: string | number; justifyLastLine: string | Partial<boolean>; overflow: string; readingDirection: string; relativeIndent: string | number; rotation: string | number; stacked: string | Partial<boolean>; vertical: string; }>; border: string | CellBorderValues | Partial<{ bottom: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalDown: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalUp: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; horizontal: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; left: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; right: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; top: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; vertical: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; }>; fill: string | AdjustedColor | SolidFillValues | GradientFillValues | PatternFillValues | NoneFillValues | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; } | { color: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; } | { angle: string | number; fillTo: string | Rectangle | Partial<{ bottom: (...
) | (...
); left: (...
) | (...
); right: (...
) | (...
); top: (...
) | (...
); }>; fillType: string; gradientType: string; stops: string | GradientStop[] | (string | GradientStop | Partial<(...
)>)[]; } | { background: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; foreground: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; patternType: string; } | { fillType: string; }>; font: string | FontValues | Partial<{ extend: string | Partial<boolean>; family: string; familyFallbacks: string | string[]; fill: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; letterSpacing: string | number; outline: string | Partial<boolean>; scheme: string; shadow: string | Partial<boolean>; size: string | number; strike: string | Partial<boolean>; style: string; underline: string | boolean; verticalAlign: string; weight: string | number; }>; namedStyle: string; numberFormat: string; protection: string | CellProtectionValues | Partial<{ formulaHidden: string | Partial<boolean>; locked: string | Partial<boolean>; }>; quotePrefix: string | Partial<boolean>; }>[] Optional
indexedColors
indexedColors?: string[]
Optional
mruColors
mruColors?: string[]
Optional
named
named?: Record<string, Partial<{ alignment: string | CellAlignmentValues | Partial<{ horizontal: string; indent: string | number; justifyLastLine: string | Partial<boolean>; overflow: string; readingDirection: string; relativeIndent: string | number; rotation: string | number; stacked: string | Partial<boolean>; vertical: string; }>; border: string | CellBorderValues | Partial<{ bottom: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalDown: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; diagonalUp: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; horizontal: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; left: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; right: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; top: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; vertical: string | BorderStroke | Partial<{ color: string | AdjustedColor | Partial<(...
)>; style: string; }>; }>; fill: string | AdjustedColor | SolidFillValues | GradientFillValues | PatternFillValues | NoneFillValues | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; } | { color: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; } | { angle: string | number; fillTo: string | Rectangle | Partial<{ bottom: (...
) | (...
); left: (...
) | (...
); right: (...
) | (...
); top: (...
) | (...
); }>; fillType: string; gradientType: string; stops: string | GradientStop[] | (string | GradientStop | Partial<(...
)>)[]; } | { background: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; fillType: string; foreground: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; patternType: string; } | { fillType: string; }>; font: string | FontValues | Partial<{ extend: string | Partial<boolean>; family: string; familyFallbacks: string | string[]; fill: string | AdjustedColor | Partial<{ val: string; adjustments: any; asCSS: any; isEqual: any; isImmutable: any; toHSLA: any; toHex: any; toJSON: any; toRGBA: any; toString: any; }>; letterSpacing: string | number; outline: string | Partial<boolean>; scheme: string; shadow: string | Partial<boolean>; size: string | number; strike: string | Partial<boolean>; style: string; underline: string | boolean; verticalAlign: string; weight: string | number; }>; hidden: string | Partial<boolean>; iLevel: string | number; namedStyle: string; numberFormat: string; protection: string | CellProtectionValues | Partial<{ formulaHidden: string | Partial<boolean>; locked: string | Partial<boolean>; }>; quotePrefix: string | Partial<boolean>; }>>